Data request processing method and device and computer readable storage medium
A data request processing and data block technology, applied in the field of distributed services, can solve problems such as service output decline, affect user usability, and stop services, so as to improve service availability, ensure service stability, and reduce resource occupation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] An embodiment of the present invention provides a data request processing method, which can be applied to a data request processing device. The data request processing device communicates with each service in the distributed service. The data request processing device can use an independent server or Server clusters are implemented. Such as figure 1 As shown, the data request processing method may include steps:
[0069] 101. Receive a task request sent by a target service among multiple services, where the task request is generated by the target service in response to a download request of a client for a target data file.
[0070] In this embodiment, the target service may be any one of multiple services included in the distributed service. The user can request the target service to download the target data file through the client, wherein the data download request includes one or more parameters related to the data to be downloaded, including but not limited to the ...
Embodiment 2
[0108] An embodiment of the present invention provides a data request processing device, such as Figure 4 As shown, the device includes:
[0109] The receiving module 401 is configured to receive a task request sent by a target service among multiple services, wherein the task request is generated by the target service in response to a download request of a client for a target data file;
[0110] Creating module 402, for creating the task for downloading the target data file according to the task request;
[0111] The adding module 403 is configured to determine the task weight of the task, and add the task to the task queue according to the task weight of the task;
[0112] A processing module 404, configured to asynchronously process the tasks in the task queue to download the target data file;
[0113] The sending module 405 is configured to return the storage path of the target data file to the client.
[0114] Further, the task request includes one or more relevant pa...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com