Home > News list > Data >> Blockchain

Wanxiang Blockchain Applies for a "Bulk Download" Patent to Solve API Platform Download Challenges

Blockchain 2024-09-10 15:34:21 Source:

Wanxiang Blockchain Applies for a "Bulk Download" Patent to Solve API Platform Download ChallengesWanxiang Blockchain, a Shanghai-based company, filed a patent in June 2024 for a "Method, system, medium and device for implementing batch downloading through file stream creation based on front-end data," with a publication number of CN202410761880.8

Wanxiang Blockchain Applies for a "Bulk Download" Patent to Solve API Platform Download Challenges

Wanxiang Blockchain, a Shanghai-based company, filed a patent in June 2024 for a "Method, system, medium and device for implementing batch downloading through file stream creation based on front-end data," with a publication number of CN202410761880.8. The patent aims to address the current issue of most API platforms not being able to statically download data in bulk, providing a front-end data-based bulk download solution.

The patent describes a method for implementing bulk downloads using front-end data to create a file stream. The specific steps are as follows:

Step 1: Acquire all interface JSON data

Firstly, the method requires obtaining JSON data from all interfaces. This could be achieved through API calls or retrieval from other data sources.

Step 2: Display data on the web client and use it as a data source

After acquiring all interface JSON data, the web client displays this data on the page and uses it as the data source for export.

Step 3: Convert the data source into local Blob file links

For the acquired data source, the method processes it on the front end to convert it into the desired format and generates multiple local Blob file links in bulk. Blob files refer to binary large objects used to store binary data, such as images, audio, video, etc.

Step 4: Use jszip to save files and implement bulk download

Finally, the method employs the generateAsync method from the jszip library to save the generated Blob file links as files, enabling bulk downloads. jszip is a JavaScript library for creating, reading, and manipulating ZIP files.

By looping to create multiple local Blob file links, the patent leverages XMLHttpRequest to download these links simultaneously, obtaining the downloaded files at once. Ultimately, it utilizes the generateAsync method from jszip to save the files. This enables the functionality of acquiring multiple data files from an API platform and performing bulk downloads, resolving the issue of most API platforms not supporting static bulk downloads.

The filing of this patent demonstrates Wanxiang Blockchain's ongoing commitment to technological innovation and provides a new solution for the challenge of bulk data downloading from API platforms. As API interface applications continue to become more prevalent, the technical solution offered by this patent will have broader applications in the future.

Tag: Download Wanxiang Blockchain Applies for Bulk Patent to Solve


Disclaimer: The content of this article is sourced from the internet. The copyright of the text, images, and other materials belongs to the original author. The platform reprints the materials for the purpose of conveying more information. The content of the article is for reference and learning only, and should not be used for commercial purposes. If it infringes on your legitimate rights and interests, please contact us promptly and we will handle it as soon as possible! We respect copyright and are committed to protecting it. Thank you for sharing.

AdminSo

http://www.adminso.com

Copyright @ 2007~2024 All Rights Reserved.

Powered By AdminSo

Open your phone and scan the QR code on it to open the mobile version


Scan WeChat QR code

Follow us for more hot news

AdminSo Technical Support