CN110753098A - Download request execution method and device, server and storage medium - Google Patents

Download request execution method and device, server and storage medium Download PDF

Info

Publication number
CN110753098A
CN110753098A CN201910970059.6A CN201910970059A CN110753098A CN 110753098 A CN110753098 A CN 110753098A CN 201910970059 A CN201910970059 A CN 201910970059A CN 110753098 A CN110753098 A CN 110753098A
Authority
CN
China
Prior art keywords
data
priority
downloading request
request
downloaded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910970059.6A
Other languages
Chinese (zh)
Other versions
CN110753098B (en
Inventor
沈坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910970059.6A priority Critical patent/CN110753098B/en
Publication of CN110753098A publication Critical patent/CN110753098A/en
Application granted granted Critical
Publication of CN110753098B publication Critical patent/CN110753098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Abstract

The disclosure relates to a download request execution method and apparatus, a server and a storage medium. The method for executing the download request is applied to a server and comprises the following steps: receiving at least one data downloading request sent by at least one client, wherein the at least one data downloading request is used for requesting to download data with different attributes; determining the priority of each data downloading request based on the attributes of the data requested to be downloaded, wherein different data correspond to different priorities and different priorities correspond to different execution sequences; and executing at least one data downloading request according to the execution sequence determined by the priority, and returning an execution result to the corresponding client. According to the embodiment of the disclosure, the data reading requirement of the high-priority data downloading request can be met preferentially, the jamming is reduced, the data reading requirement of the low-priority data downloading request is met later, and the resource waste is reduced.

Description

Download request execution method and device, server and storage medium
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method and an apparatus for executing a download request, a server, and a storage medium.
Background
With the development of multimedia technology and network technology, various services, such as on-demand services, have emerged. The on-demand files have different code rates, the smooth playing of the files with different code rates needs different downloading speeds, and the higher the code rate is, the higher the required downloading speed is, so that the playing experience can be ensured. In addition, from the view of the playing process, the downloading process of the on-demand file can be divided into two parts of downloading the first screen data and downloading the subsequent data. The time consumed for downloading the first screen data directly determines the waiting time from the time of clicking the play button to the time of rendering the first frame of picture, which has an important influence on the user experience.
Because many files are requested, the storage capacity is large, and many requests need to acquire files from a disk, a processing mode of disk reading and writing (input output, abbreviated as IO) has a crucial influence on the downloading speed.
In the related art, a server of a Content Delivery Network (CDN) processes a download request of an on-demand file in the same manner.
However, this processing method may cause resource waste for low bitrate files, cause deadlock for high bitrate files, and cause the waiting time of the first screen picture to be too long.
Disclosure of Invention
The present disclosure provides a download request execution method and apparatus, a server, and a storage medium, to at least solve the problems of resource waste and jamming in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for executing a download request, which is applied to a server, and includes:
receiving at least one data downloading request sent by at least one client, wherein the at least one data downloading request is used for requesting to download data with different attributes;
determining the priority of each data downloading request based on the attribute of the data requested to be downloaded, wherein different data correspond to different priorities and different priorities correspond to different execution sequences;
and executing at least one data downloading request according to the execution sequence determined by the priority, and returning an execution result to the corresponding client.
In an embodiment, after the determining the priority of each of the data download requests, the download request execution method further includes:
adding each data downloading request to a queue with corresponding priority;
the executing at least one data downloading request according to the execution sequence determined by the priority comprises:
determining an execution sequence according to the high and low priorities, wherein the queue with the high priority has the priority to be prior to the queue with the low priority;
in the process of executing the data downloading request in the queue, after the data downloading request in the queue with high priority is executed or partially executed, the data downloading request in the queue with low priority is executed.
In an embodiment, the adding each data download request to the queue of the corresponding priority includes:
if a plurality of data downloading requests which request to download the same data or adjacent data and have the same priority exist, combining the plurality of data downloading requests into one data downloading request, wherein the adjacent data are data with adjacent storage positions;
and adding the merged data downloading request into a queue with corresponding priority.
In an embodiment, the adding each data download request to the queue of the corresponding priority includes:
judging whether the storage area of the data which is requested to be downloaded currently has subsequent continuous data of the data which is requested to be downloaded currently;
if the subsequent continuous data exist, generating a new data downloading request, wherein the data requested to be downloaded by the new data downloading request is the subsequent continuous data with the set size of the data requested to be downloaded currently;
and adding the new data downloading request into a queue with corresponding priority.
In an embodiment, in the process of executing at least one data download request, the download request execution method further includes:
detecting the waiting time of a data downloading request in a queue with low priority;
if the data downloading request with the waiting time length exceeding the preset waiting time length exists in the queue with the low priority, changing the preset execution sequence of the data downloading data to execute the data downloading request preferentially.
In an embodiment, the receiving at least one data download request sent by at least one client includes:
receiving at least one data download request through at least one business thread;
the determining the priority of each data downloading request based on the attributes of the data requested to be downloaded comprises:
judging a target storage area where data requested to be downloaded by each data downloading request received by each service thread is located, and sending a corresponding data downloading request to an IO thread corresponding to each target storage area;
determining the priority of each data downloading request through each IO thread based on the attribute of the data requested to be downloaded;
the executing at least one data downloading request according to the execution sequence determined by the priority comprises:
executing at least one data downloading request according to the execution sequence determined by each IO thread according to the priority, and storing the execution result in a memory;
the returning of the execution result to the corresponding client includes:
and sending a notification of reading an execution result to the service thread sending the corresponding data downloading request through each IO thread, reading the execution result from the memory through the corresponding service thread according to the notification, and returning the read execution result to the client.
In one embodiment, the determining the priority of each data download request based on the attribute of the data requested to be downloaded includes:
detecting whether the data requested to be downloaded is first screen data, wherein the first screen data is data of a first page displayed when an application program is used;
if the data requested to be downloaded is first screen data, determining the data downloading request as a downloading request with the highest priority;
if the data requested to be downloaded is not the first screen data, determining that the priority of the data downloading request is lower than that of the data requested to be downloaded which is the first screen data, and determining the priority of the data downloading request based on the code rate of the data requested to be downloaded, wherein the priority of the data downloading request with high code rate of the data requested to be downloaded is higher than that of the data downloading request with low code rate of the data requested to be downloaded.
According to a second aspect of the embodiments of the present disclosure, there is provided a download request execution apparatus, applied to a server, including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is configured to receive at least one data downloading request sent by at least one client, and the at least one data downloading request is used for requesting to download data with different attributes;
the determining module is configured to determine the priority of each data downloading request based on the attribute of the data requested to be downloaded by the data downloading request received by the receiving module, wherein different data correspond to different priorities, and different priorities correspond to different execution sequences;
and the execution returning module is configured to execute at least one data downloading request according to the execution sequence determined by the priority determined by the determining module and return the execution result to the corresponding client.
In one embodiment, the download request execution device further includes:
an adding module configured to add each data download request to a queue of a corresponding priority after the determining module determines the priority of each data download request;
the execution return module includes:
the determining submodule is configured to determine an execution order according to the high priority level and the low priority level, wherein the execution order of the queue with the high priority level is prior to that of the queue with the low priority level;
and the execution sub-module is configured to execute the data downloading requests in the queues with low priorities after the data downloading requests in the queues with high priorities are executed or partially executed according to the execution sequence determined by the determination sub-module in the process of executing the data downloading requests in the queues.
In one embodiment, the adding module comprises:
the merging submodule is configured to merge a plurality of data downloading requests into one data downloading request if the data downloading requests which request to download the same data or adjacent data and have the same priority are available, wherein the adjacent data are data with adjacent storage positions;
and the first adding submodule is configured to add the data downloading requests merged by the merging submodule into the queue with the corresponding priority.
In one embodiment, the adding module comprises:
the judging submodule is configured to judge whether the storage area where the data requested to be downloaded currently exists is provided with subsequent continuous data of the data requested to be downloaded currently;
the generating submodule is configured to generate a new data downloading request if the judging submodule judges that subsequent continuous data exist, wherein the data requested to be downloaded by the new data downloading request is the subsequent continuous data with the set size of the data requested to be downloaded currently;
and the second adding submodule is configured to add the new data downloading request generated by the generating submodule into a queue with a corresponding priority.
In one embodiment, the download request execution device further includes:
the detection module is configured to detect the waiting duration of the data downloading request in the queue with low priority in the process of executing at least one data downloading request by the execution return module;
and the changing module is configured to change the preset execution sequence of the data downloading data to preferentially execute the data downloading request if the detecting module detects that the data downloading request with the waiting time length exceeding the preset waiting time length exists in the queue with the low priority.
In an embodiment, the receiving module is configured to:
receiving at least one data download request through at least one business thread;
the determination module configured to:
judging a target storage area where data requested to be downloaded by each data downloading request received by each service thread is located, and sending a corresponding data downloading request to an IO thread corresponding to each target storage area;
determining the priority of each data downloading request through each IO thread based on the attribute of the data requested to be downloaded;
the execution return module configured to:
executing at least one data downloading request according to the execution sequence determined by each IO thread according to the priority, and storing the execution result in a memory;
and sending a notification of reading an execution result to the service thread sending the corresponding data downloading request through each IO thread, reading the execution result from the memory through the corresponding service thread according to the notification, and returning the read execution result to the client.
In one embodiment, the determining module comprises:
the detection submodule is configured to detect whether data requested to be downloaded is first screen data, wherein the first screen data is data of a first page displayed when an application program is used;
the first determining submodule is configured to determine the data downloading request as a downloading request with the highest priority if the detection submodule detects that the data requested to be downloaded is the first screen data;
the second determining submodule is configured to determine that the priority of the data downloading request is lower than that of the data downloading request that the data requested to be downloaded is the first screen data if the detecting submodule detects that the data requested to be downloaded is not the first screen data, and determine the priority of the data downloading request based on the code rate of the data requested to be downloaded, wherein the priority of the data downloading request that the code rate of the data requested to be downloaded is higher than that of the data downloading request that the code rate of the data requested to be downloaded is lower.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the download request execution method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having instructions that, when executed by a processor of a server, enable the server to perform the above-described download request execution method.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, which, when run on an electronic device, causes the electronic device to execute the above-mentioned download request execution method.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the priority of each data downloading request is determined based on the attribute of the data requested to be downloaded, at least one data downloading request is executed according to the execution sequence determined by the priority, the execution result is returned to the corresponding client, the data reading requirement of the high-priority data downloading request can be met preferentially, the jamming is reduced, the data reading requirement of the low-priority data downloading request is met later, and the resource waste is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a flowchart illustrating a download request execution method according to an exemplary embodiment of the present disclosure.
Fig. 2 is a scene diagram illustrating a download request execution method according to an exemplary embodiment of the present disclosure.
Fig. 3 is a diagram illustrating a download request execution process according to an exemplary embodiment of the disclosure.
Fig. 4 is a diagram illustrating another download request execution process according to an exemplary embodiment of the present disclosure.
Fig. 5 is a diagram illustrating another download request execution process according to an exemplary embodiment of the present disclosure.
Fig. 6 is a block diagram illustrating a download request execution apparatus according to an exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating another download request execution apparatus according to an exemplary embodiment of the present disclosure.
Fig. 8 is a block diagram illustrating another download request execution apparatus according to an exemplary embodiment of the present disclosure.
Fig. 9 is a block diagram illustrating another download request execution apparatus according to an exemplary embodiment of the present disclosure.
Fig. 10A is a block diagram illustrating another download request execution apparatus according to an exemplary embodiment of the present disclosure.
Fig. 10B is a block diagram illustrating another download request execution apparatus according to an exemplary embodiment of the present disclosure.
Fig. 11 is a block diagram of a server shown in an exemplary embodiment of the present disclosure.
Fig. 12 is a block diagram illustrating an apparatus adapted to perform a method of a download request according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a download request execution method according to an exemplary embodiment of the present disclosure, where the download request execution method is used in a server, as shown in fig. 1, and the download request execution method includes the following steps:
in step S101, at least one data download request sent by at least one client is received, where the at least one data download request is used to request to download data with different attributes.
When a user requests a file at a client, the client sends a data downloading request to a corresponding server. The files on demand may include, but are not limited to, video, audio, images, installation package files, and the like.
In this embodiment, the attribute of the data may include, but is not limited to, whether the data is top screen data and a code rate of the data, wherein the top screen data is data of a top page displayed when the application is used.
In this embodiment, the server may have at least one business thread, and the server may receive at least one data download request through the at least one business thread.
For example, data download request 1 and data download request 4 may be received by business thread 1, data download request 2 may be received by business thread 2, and data download request 3 may be received by business thread 3.
In step S102, a priority of each data download request is determined based on the attribute of the data requested to be downloaded, wherein different data correspond to different priorities and different priorities correspond to different execution orders.
In this embodiment, determining the priority of each data download request based on the attributes of the data requested to be downloaded may include: detecting whether the data requested to be downloaded is first-screen data, if the data requested to be downloaded is the first-screen data, determining the data downloading request as a downloading request with the highest priority, if the data requested to be downloaded is not the first-screen data, determining that the priority of the data downloading request is lower than that of the data requested to be downloaded as the first-screen data, and determining the priority of the data downloading request based on the code rate of the data requested to be downloaded, wherein the priority of the data downloading request with the high code rate of the data requested to be downloaded is higher than that of the data downloading request with the low code rate of the data requested to be downloaded.
For example, the data download request 1 is used for requesting to download the first screen data, the data download request 2 is used for requesting to download the non-first screen data with the code rate of M, and the data download request 3 is used for requesting to download the non-first screen data with the code rate of N, where M is greater than N, the priority of the data download request 1 is the highest, the priority of the data download request 2 is the second, and the priority of the data download request 3 is the lowest.
Optionally, after determining the priority of each data download request, the download request execution method may further include: each data download request is added to the queue of the corresponding priority.
Optionally, since the plurality of data download requests received by the server may include a plurality of data download requests requesting the same data or adjacent data, adding each data download request to the queue of the corresponding priority may include: if a plurality of data downloading requests which request to download the same data or adjacent data and have the same priority exist, combining the plurality of data downloading requests into one data downloading request, wherein the adjacent data are data with adjacent storage positions; and adding the merged data downloading request into a queue with corresponding priority to reduce the reading times of the data.
In addition, optionally, adding at least one data download request to queues with different priorities may include: judging whether the storage area where the data requested to be downloaded currently is located, such as a magnetic disk, has subsequent continuous data of the data requested to be downloaded currently; and if the subsequent continuous data exist, generating a new data downloading request, wherein the data requested to be downloaded by the new data downloading request is the subsequent continuous data with the set size of the data requested to be downloaded currently, and adding the new data downloading request into the queue with the corresponding priority. In this way, data can be directly obtained when a subsequent data download request is received, thereby reducing data read delay.
For example, after receiving a data download request requesting 1 st million data of a certain video, if it is determined that subsequent continuous data of the video exists in a storage area, such as a magnetic disk, where the data currently requested to be downloaded is located, a server may generate a new data download request for requesting 2 nd million data of the video, and add the new data download request to a queue with a corresponding priority. Therefore, when a subsequent data downloading request is received, data can be directly obtained, data reading delay is reduced, and video on demand experience of a user is improved.
In this embodiment, the server may include multiple storage areas, such as disks, where each storage area corresponds to an Input Output (IO) thread, for example, each disk corresponds to a read and write IO thread, and the IO thread is separate from the business thread.
When a service thread receives a data downloading request, a target storage area, such as a target disk, where data requested to be downloaded by the data downloading request is located is judged, the data downloading request is sent to an IO thread corresponding to the target disk, and then other data downloading requests can be processed, so that the processing efficiency of the data downloading request is improved.
After receiving the data download request, the IO thread may determine the priority of each data download request based on the attribute of the data requested to be downloaded.
In step S103, at least one data download request is executed according to the execution sequence determined by the priority, and the execution result is returned to the corresponding client.
For example, if the priority of the data download request 1 is the highest, the priority of the data download request 2 is the next highest, and the priority of the data download request 3 is the lowest, the data download request 1, the data download request 2, and the data download request 3 are sequentially executed, and the execution result is returned to the corresponding client.
Optionally, if each data download request is added to the queue with the corresponding priority in step S102, executing at least one data download request according to the execution sequence determined by the priority may include: and determining an execution sequence according to the priority, wherein the execution sequence of the queue with the high priority is prior to the queue with the low priority, and in the process of executing the data downloading request in the queue, if the data downloading request in the queue with the high priority is completely or partially executed, executing the data downloading request in the queue with the low priority.
In this embodiment, in the process of executing the data download requests in the queue, the data download requests in the priority low queue may be executed after all the data download requests in the priority high queue are executed, or the data download requests in the priority high queue may be executed after part of the data download requests in the priority high queue are executed, so as to prevent the data download requests in the priority low queue from being unprocessed for a long time.
For example, if there are 3 data download requests in the first queue, 2 data download requests in the second queue, and 1 data download request in the third queue, where the priority of the first queue is higher than the priority of the second queue, and the priority of the second queue is higher than the priority of the third queue, then 3 data download requests in the first queue may be executed first, then 2 data download requests in the second queue may be executed, and finally 1 data download request in the third queue may be executed.
For another example, P data download requests are in the first queue, Q data download requests are in the second queue, wherein the priority of the first queue is higher than the priority of the second queue, and if P is greater than a first preset threshold, for example, 500, Q is smaller than a second preset threshold, and the second preset threshold is smaller than the first preset threshold, a set number of data download requests in the first queue may be executed first, and then Q data download requests in the second queue are executed, wherein the set number is smaller than P.
In addition, optionally, in order to avoid that too many data download requests with high priority result in that data download requests with low priority are not processed all the time, in the process of executing at least one data download request, the method may further include: and detecting the waiting time of the data downloading request in the queue with low priority, and if the data downloading request with the waiting time exceeding the preset waiting time exists in the queue with low priority, changing the preset execution sequence of the data downloading data to execute the data downloading request preferentially, thereby ensuring fairness.
In this embodiment, at least one data download request may be executed by the IO thread according to the execution sequence determined by the priority, and the execution result is saved in the memory, for example, a fixed area of the memory.
In this embodiment, a notification of reading the execution result may be sent to the service thread that sends the corresponding data download request through each IO thread, so that the execution result is read from the memory according to the notification through the corresponding service thread, and the read execution result is returned to the client.
According to the embodiment, the execution efficiency of the downloading request can be improved by adopting a mode of separating the service thread and the IO thread.
In the embodiment, the priority of each data downloading request is determined based on the attribute of the data requested to be downloaded, at least one data downloading request is executed according to the execution sequence determined by the priority, and the execution result is returned to the corresponding client, so that the data reading requirement of the high-priority data downloading request can be met preferentially, the jamming is reduced, the data reading requirement of the low-priority data downloading request is met later, and the resource waste is reduced.
The following describes an embodiment of the present disclosure with reference to fig. 2, fig. 3, fig. 4, and fig. 5, as shown in fig. 2, the embodiment is described from the perspective of interaction between a client 21 and a CDN server 22, where the client 21 may be a video Application (APP) running on a mobile terminal, as shown in fig. 3, the CDN server may include a plurality of service threads 221 and a plurality of IO threads 222, the plurality of clients send a plurality of data download requests to the CDN server, the plurality of service threads 221 located in the CDN server receive the plurality of data download requests, and determine a target disk where data requested to be downloaded by each currently and respectively received data download request is located, then send a corresponding data download request to the IO thread 222 corresponding to each target disk, each IO thread 222 adds all currently and respectively received data download requests to a queue 223 with different priorities, and reads data from the disk 224 according to the data download request in each queue 223 in sequence from high to low in priority, and then stores the read data to a fixed area in the memory. Then, each IO thread 222 sends a notification of reading data to the service thread 221 that sends the corresponding data download request, and the corresponding service thread 221 reads data from the fixed area in the memory according to the notification, and returns the read data to the client 21.
For example, a certain service thread 221 receives a first data download request for reading first screen data, a second data download request for reading non-first screen data with a code rate higher than a first threshold and a third data download request for reading non-first screen data with a code rate higher than a second threshold and lower than the first threshold, where the first threshold is greater than the second threshold, and since data requested by the first data download request, the second data download request, and the third data download request are all located on the same disk, the service thread sends the three data download requests to an IO thread corresponding to the disk, the IO thread adds the first data download request to a first queue, adds the second data download request to a second queue, adds the third data download request to a third queue, and preferentially reads data from the disk according to the first data download request in the first queue, and storing the data into a fixed area in the memory, reading the data from the disk according to the second data downloading request in the second queue, storing the data into the fixed area in the memory, and finally reading the data from the disk according to the third data downloading request in the third queue and storing the data into the fixed area in the memory. And then, the IO thread sends a data reading notification to the service thread which sends the corresponding data downloading request, and the corresponding service thread reads data from the fixed area in the memory according to the notification and returns the read data to the client.
According to the embodiment, an asynchronous operation mode that a service thread and an IO thread are separated is adopted, the execution efficiency of data downloading requests can be improved, all data downloading requests received by the IO thread at present are added into queues with different priorities, the execution sequence is determined according to the priority, after the data downloading requests in the queues with the high priorities are executed, the data downloading requests in the queues with the low priorities are executed, the downloading speed of files with low code rates can be prevented from exceeding the required speed, the resource waste is reduced, the downloading speed of files with high code rates is prevented from being lower than the required speed, the jamming is reduced, the downloading speed of head screen requests is prevented from being too low, and therefore the waiting time of head screen images is shortened.
As shown in fig. 4, if there are multiple data download requests with the same priority that request to download the same data or adjacent data in the multiple data download requests received by a certain IO thread 222, the multiple data download requests are merged into one data download request, and the merged data download request is added to the queue 223 with the corresponding priority, so as to reduce the number of reads of the disk 224 and reduce the delay caused by seek on the disk 224, thereby improving the service quality.
As shown in fig. 5, if a certain IO thread 222 receives a certain data download request, and if it is determined that subsequent continuous data of the data requested to be downloaded by the data download request exists in the disk where the data download request is located, a new data download request may be generated, where the data requested to be downloaded by the new data download request is the subsequent continuous data of the data requested to be downloaded by the data download request with a set size, and the IO thread 222 may add the new data download request to a queue 223 with a corresponding priority, so as to read more data in advance, and thus, when the subsequent data download request is received, the data may be directly obtained, thereby reducing the number of reads of the disk 224, reducing the delay caused by track seeking on the disk 224, and improving the service quality.
Fig. 6 is a block diagram illustrating a download request execution apparatus according to an exemplary embodiment of the present disclosure. Referring to fig. 6, the apparatus includes: a receiving module 61, a determining module 62 and an execution returning module 63.
The receiving module 61 is configured to receive at least one data downloading request sent by at least one client, where the at least one data downloading request is used for requesting to download data with different attributes.
The determining module 62 is configured to determine a priority of each data download request based on the attribute of the data requested to be downloaded by the data download request received by the receiving module 61, wherein different data correspond to different priorities and different priorities correspond to different execution orders.
The execution returning module 63 is configured to execute the at least one data download request in the execution order determined by the priority determined by the determining module 62, and return the execution result to the corresponding client.
In this embodiment, the receiving module 61 may be configured to: at least one data download request is received by at least one business thread.
The determination module 62 may be configured to: judging a target storage area where data requested to be downloaded by each data downloading request received by each service thread is located, and sending a corresponding data downloading request to an IO thread corresponding to each target storage area; determining, by each IO thread, a priority for each data download request based on an attribute of the data requested to be downloaded.
The execution return module 63 may be configured to: executing at least one data downloading request according to the execution sequence determined by each IO thread according to the priority, and storing the execution result in a memory; and sending a notification of reading the execution result to the service thread sending the corresponding data downloading request through each IO thread, reading the execution result from the memory through the corresponding service thread according to the notification, and returning the read execution result to the client.
According to the embodiment, the execution efficiency of the downloading request can be improved by adopting a mode of separating the service thread and the IO thread.
In the embodiment, the priority of each data downloading request is determined based on the attribute of the data requested to be downloaded, at least one data downloading request is executed according to the execution sequence determined by the priority, and the execution result is returned to the corresponding client, so that the data reading requirement of the high-priority data downloading request can be met preferentially, the jamming is reduced, the data reading requirement of the low-priority data downloading request is met later, and the resource waste is reduced.
Fig. 7 is a block diagram of another download request execution device according to an exemplary embodiment of the disclosure, and as shown in fig. 7, on the basis of the embodiment shown in fig. 6, the download request execution device may further include: a module 64 is added.
The adding module 64 is configured to add each data download request to the queue of the corresponding priority after the determining module 62 determines the priority of each data download request.
The execution return module 63 may include:
the determination submodule 631 is configured to determine the execution order according to the priority level, wherein the queue with the higher priority level has higher execution order than the queue with the lower priority level.
The execution sub-module 632 is configured to execute the data download requests in the queue with a lower priority after the data download requests in the queue with a higher priority are executed or partially executed according to the execution order determined by the determination sub-module 631 during the process of executing the data download requests in the queue.
According to the embodiment, each data downloading request is added to the queue with the corresponding priority, and the data downloading request is executed according to the priority of the queue, so that the execution efficiency of the data downloading request is improved.
Fig. 8 is a block diagram of another download request execution apparatus according to an exemplary embodiment of the disclosure, and as shown in fig. 8, on the basis of the embodiment shown in fig. 7, the adding module 64 may include: a merge sub-module 641 and a first add sub-module 642.
The merge sub-module 641 is configured to merge a plurality of data download requests into one data download request if there are a plurality of data download requests requesting to download the same data or adjacent data and having the same priority, where the adjacent data are data whose storage locations are adjacent.
The first adding sub-module 642 is configured to add the merged data download request of the merging sub-module 641 to the queue of the corresponding priority.
In the above embodiment, the plurality of data download requests are merged into one data download request, and the merged data download request is added to the queue with the corresponding priority, so as to reduce the number of data reading times.
Fig. 9 is a block diagram of another download request execution apparatus according to an exemplary embodiment of the disclosure, and as shown in fig. 9, on the basis of the embodiment shown in fig. 7, the adding module 64 may include:
the judging sub-module 643 is configured to judge whether subsequent continuous data of the currently requested data exists in the storage area where the currently requested data exists.
The generating sub-module 644 is configured to generate a new data downloading request if the determining sub-module 643 determines that there is subsequent continuous data, where the data requested to be downloaded by the new data downloading request is the subsequent continuous data with the set size of the data currently requested to be downloaded.
The second adding sub-module 645 is configured to add the new data download request generated by the generating sub-module 644 to the queue of the corresponding priority.
In the embodiment, the new data downloading request is generated, the data requested to be downloaded by the new data downloading request is the subsequent continuous data with the set size of the data requested to be downloaded by the data downloading request, and the new data downloading request is added into the queue with the corresponding priority, so that the server can read more data in advance.
Fig. 10A is a block diagram of another download request execution apparatus according to an exemplary embodiment of the disclosure, and as shown in fig. 10A, on the basis of the embodiment shown in fig. 7, the apparatus may further include:
the detection module 65 is configured to detect the waiting time of the data download request in the queue with low priority in the process of executing the at least one data download request by the return module 63.
The altering module 66 is configured to alter the predetermined execution order of the data download data to preferentially execute the data download request if the detecting module 65 detects that the data download request with the waiting time length exceeding the preset waiting time length exists in the queue with the low priority.
In the embodiment, the waiting time of the data downloading request in the queue with low priority is detected, and when the data downloading request with the waiting time exceeding the preset waiting time is detected in the queue with low priority, the preset execution sequence of the data downloading data is changed to execute the data downloading request preferentially, so that the fairness is ensured.
Fig. 10B is a block diagram of another download request execution device according to an exemplary embodiment of the disclosure, and as shown in fig. 10B, on the basis of the embodiment shown in fig. 6, the determining module 62 may include:
the detecting sub-module 621 is configured to detect whether the data requested to be downloaded is first screen data, where the first screen data is data of a first page displayed when the application is used.
The first determining sub-module 622 is configured to determine the data download request as the highest priority download request if the detecting sub-module 621 detects that the data requested to be downloaded is the first screen data.
The second determining sub-module 623 is configured to determine that the priority of the data downloading request is lower than that of the data downloading request in which the data requested to be downloaded is the top screen data if the detecting sub-module 621 detects that the data requested to be downloaded is not the top screen data, and determine the priority of the data downloading request based on the code rate of the data requested to be downloaded, wherein the priority of the data downloading request in which the code rate of the data requested to be downloaded is higher than that of the data downloading request in which the code rate of the data requested to be downloaded is lower.
In the embodiment, the condition is provided for determining the execution sequence according to the priority in the following process by detecting whether the data requested to be downloaded is the first screen data or not and determining the priority of the data downloading request according to the data code rate requested to be downloaded.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram of a server shown in an exemplary embodiment of the present disclosure. As shown in fig. 11, the server includes a processor 1110, a memory 1120 for storing instructions executable by the processor 1110; wherein, the processor is configured to execute the above instructions to implement the above download request execution method. In addition to the processor 1110 and the memory 1120 shown in fig. 11, the service server may also include other hardware according to the actual function of information transmission, which is not described in detail herein.
In an exemplary embodiment, a storage medium including instructions, such as the memory 1120 including instructions, executable by the processor 1110 to perform the download request execution method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product which, when run on an electronic device, causes the electronic device to execute the above-described download request execution method.
In an embodiment of the present disclosure, as shown in fig. 12, a block diagram of an apparatus adapted to perform a method for a download request is provided in an embodiment of the present disclosure, where the apparatus 1200 includes: radio Frequency (RF) circuit 1210, power supply 1220, processor 1230, memory 1240, input unit 1250, display unit 1260, camera 1270, communication interface 1280, and Wireless Fidelity (Wi-Fi) module 1290. Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 12 is not intended to be limiting, and that embodiments of the present application provide apparatus that may include more or less components than those shown, or that certain components may be combined, or that a different arrangement of components may be used.
The various components of the apparatus 1200 are described in detail below with reference to FIG. 12:
the RF circuit 1210 may be used for receiving and transmitting data during a communication or conversation. In particular, RF circuit 1210, after receiving downlink data from the base station, sends the downlink data to processor 1230 for processing; and in addition, sending the uplink data to be sent to the base station. In general, RF circuit 1210 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
In addition, the RF circuit 1210 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
Wi-Fi technology belongs to short-distance wireless transmission technology, and the device 1200 can connect with an Access Point (AP) through a Wi-Fi module 1290, so as to realize Access to a data network. Wi-Fi module 1290 may be used for receiving and transmitting data during communication.
Device 1200 may be physically connected to other devices via communications interface 1280. Optionally, the communication interface 1280 is connected to a communication interface of another device through a cable, so as to implement data transmission between the device 1200 and the other device.
In the embodiment of the present application, the device 1200 is capable of implementing a communication service to send information to other contacts, so that the device 1200 needs to have a data transmission function, that is, the device 1200 needs to include a communication module inside. Although fig. 12 illustrates communication modules, such as RF circuit 1210, Wi-Fi module 1290, and communication interface 1280, it is to be understood that at least one of the above described components or other communication modules (e.g., bluetooth module) for enabling communication may be present in device 1200 for data transmission.
For example, when device 1200 is a cellular telephone, device 1200 may include RF circuitry 1210 and may also include a Wi-Fi module 1290; when device 1200 is a computer, device 1200 may include a communications interface 1280, and may also include a Wi-Fi module 1290; when the device 1200 is a tablet, the device 1200 may include a Wi-Fi module.
Memory 1240 may be used to store software programs and modules. Processor 1230 executes software programs and modules stored in memory 1240 to perform various functional applications and data processing of device 1200, and when processor 1230 executes the program codes in memory 1240, some or all of the processes of fig. 1, 2, 3 and 4 of the embodiments of the disclosure can be implemented.
Alternatively, the memory 1240 may mainly include a program storage area and a data storage area. The storage program area can store an operating system, various application programs (such as communication application), a face recognition module and the like; the storage data area may store data created according to the use of the device (such as various multimedia files like pictures, video files, etc., and face information templates), etc.
Further, memory 1240 may include high-speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1250 may be used to receive numeric or character information input by a user and generate key signal inputs related to user settings and function control of the apparatus 1200.
Alternatively, the input unit 1250 may include a touch panel 1251 and other input devices 1252.
Among other things, the touch panel 1251, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1251 (for example, operations of the user on or near the touch panel 1251 by using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1251 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1230, and can receive and execute commands sent by the processor 1230. In addition, the touch panel 1251 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
Alternatively, other input devices 1252 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1260 may be used to display information input by or provided to the user as well as various menus of the device 1200. The display unit 1260 is a display system of the device 1200, and is used for presenting an interface to realize human-computer interaction.
The display unit 1260 may include a display panel 1261. Alternatively, the Display panel 1261 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 1251 can overlay the display panel 1261, and when the touch panel 1251 detects a touch operation thereon or nearby, the touch panel 1251 can transmit the touch operation to the processor 1230 to determine the type of the touch event, and then the processor 1230 can provide a corresponding visual output on the display panel 1261 according to the type of the touch event.
Although in FIG. 12, touch panel 1251 and display panel 1261 are implemented as two separate components to implement input and output functions of device 1200, in some embodiments, touch panel 1251 and display panel 1261 may be integrated to implement input and output functions of device 1200.
The processor 1230 is a control center of the apparatus 1200, connects the respective components using various interfaces and lines, performs various functions of the apparatus 1200 and processes data by operating or executing software programs and/or modules stored in the memory 1240 and calling data stored in the memory 1240, thereby implementing various services based on the apparatus.
Processor 1230 may optionally include one or more processing units. Optionally, processor 1230 may integrate an application processor, which handles primarily the operating system, user interfaces, applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1230.
The camera 1270 is used for implementing a shooting function of the apparatus 1200 and shooting pictures or videos. The camera 1270 may also be used to implement a scanning function of the apparatus 1200 to scan a scanning object (two-dimensional code/barcode).
The device 1200 also includes a power supply 1220 (such as a battery) for powering the various components. Optionally, the power source 1220 may be logically connected to the processor 1230 through a power management system, so that the power management system may manage charging, discharging, and power consumption functions.
It is to be noted that, in the embodiment of the present disclosure, the processor 1230 may execute the functions of the processor 1110 in fig. 11, and the memory 1240 stores the contents of the processor 1120.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described download request execution method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for executing a download request, applied to a server, includes:
receiving at least one data downloading request sent by at least one client, wherein the at least one data downloading request is used for requesting to download data with different attributes;
determining the priority of each data downloading request based on the attribute of the data requested to be downloaded, wherein different data correspond to different priorities and different priorities correspond to different execution sequences;
and executing at least one data downloading request according to the execution sequence determined by the priority, and returning an execution result to the corresponding client.
2. The method of claim 1, wherein after said determining the priority of each of said data download requests, said method further comprises:
adding each data downloading request to a queue with corresponding priority;
the executing at least one data downloading request according to the execution sequence determined by the priority comprises:
determining an execution sequence according to the high and low priorities, wherein the queue with the high priority has the priority to be prior to the queue with the low priority;
in the process of executing the data downloading request in the queue, after the data downloading request in the queue with high priority is executed or partially executed, the data downloading request in the queue with low priority is executed.
3. The method of claim 2, wherein the adding each data download request to a queue of a corresponding priority comprises:
if a plurality of data downloading requests which request to download the same data or adjacent data and have the same priority exist, combining the plurality of data downloading requests into one data downloading request, wherein the adjacent data are data with adjacent storage positions;
and adding the merged data downloading request into a queue with corresponding priority.
4. The method of claim 2, wherein the adding each data download request to a queue of a corresponding priority comprises:
judging whether the storage area of the data which is requested to be downloaded currently has subsequent continuous data of the data which is requested to be downloaded currently;
if the subsequent continuous data exist, generating a new data downloading request, wherein the data requested to be downloaded by the new data downloading request is the subsequent continuous data with the set size of the data requested to be downloaded currently;
and adding the new data downloading request into a queue with corresponding priority.
5. The method of claim 2, wherein during the step of executing at least one of the data download requests, the method further comprises:
detecting the waiting time of a data downloading request in a queue with low priority;
if the data downloading request with the waiting time length exceeding the preset waiting time length exists in the queue with the low priority, changing the preset execution sequence of the data downloading data to execute the data downloading request preferentially.
6. The method for executing a download request according to claim 1, wherein the receiving at least one data download request sent by at least one client comprises:
receiving at least one data download request through at least one business thread;
the determining the priority of each data downloading request based on the attributes of the data requested to be downloaded comprises:
judging a target storage area where data requested to be downloaded by each data downloading request received by each service thread is located, and sending a corresponding data downloading request to an IO thread corresponding to each target storage area;
determining the priority of each data downloading request through each IO thread based on the attribute of the data requested to be downloaded;
the executing at least one data downloading request according to the execution sequence determined by the priority comprises:
executing at least one data downloading request according to the execution sequence determined by each IO thread according to the priority, and storing the execution result in a memory;
the returning of the execution result to the corresponding client includes:
and sending a notification of reading an execution result to the service thread sending the corresponding data downloading request through each IO thread, reading the execution result from the memory through the corresponding service thread according to the notification, and returning the read execution result to the client.
7. The download request execution method according to any of claims 1 to 6, wherein the determining the priority of each of the data download requests based on the attribute of the data requested to be downloaded comprises:
detecting whether the data requested to be downloaded is first screen data, wherein the first screen data is data of a first page displayed when an application program is used;
if the data requested to be downloaded is first screen data, determining the data downloading request as a downloading request with the highest priority;
if the data requested to be downloaded is not the first screen data, determining that the priority of the data downloading request is lower than that of the data requested to be downloaded which is the first screen data, and determining the priority of the data downloading request based on the code rate of the data requested to be downloaded, wherein the priority of the data downloading request with high code rate of the data requested to be downloaded is higher than that of the data downloading request with low code rate of the data requested to be downloaded.
8. A download request execution apparatus, applied to a server, comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is configured to receive at least one data downloading request sent by at least one client, and the at least one data downloading request is used for requesting to download data with different attributes;
the determining module is configured to determine the priority of each data downloading request based on the attribute of the data requested to be downloaded by the data downloading request received by the receiving module, wherein different data correspond to different priorities, and different priorities correspond to different execution sequences;
and the execution returning module is configured to execute at least one data downloading request according to the execution sequence determined by the priority determined by the determining module and return the execution result to the corresponding client.
9. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the download request execution method as claimed in any one of claims 1 to 7.
10. A storage medium in which instructions, when executed by a processor of a server, enable the server to perform the download request execution method according to any one of claims 1 to 7.
CN201910970059.6A 2019-10-12 2019-10-12 Download request execution method and device, server and storage medium Active CN110753098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910970059.6A CN110753098B (en) 2019-10-12 2019-10-12 Download request execution method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910970059.6A CN110753098B (en) 2019-10-12 2019-10-12 Download request execution method and device, server and storage medium

Publications (2)

Publication Number Publication Date
CN110753098A true CN110753098A (en) 2020-02-04
CN110753098B CN110753098B (en) 2022-11-08

Family

ID=69278217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910970059.6A Active CN110753098B (en) 2019-10-12 2019-10-12 Download request execution method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110753098B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371705A (en) * 2020-02-24 2020-07-03 维沃移动通信有限公司 Download task execution method and electronic equipment
CN111861252A (en) * 2020-07-29 2020-10-30 北京达佳互联信息技术有限公司 Electronic resource transmission method and device and server
CN112000446A (en) * 2020-07-13 2020-11-27 深圳市优必选科技股份有限公司 Data transmission method and robot
CN112256417A (en) * 2020-10-23 2021-01-22 上海豹云网络信息服务有限公司 Data request processing method and device and computer readable storage medium
CN114490090A (en) * 2022-04-02 2022-05-13 广东茉莉数字科技集团股份有限公司 Internet data center demand response optimization method based on multi-objective evolutionary algorithm
CN114706820A (en) * 2022-05-18 2022-07-05 北京卡普拉科技有限公司 Scheduling method, system, electronic device and medium for asynchronous I/O request

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060074750A1 (en) * 2004-10-01 2006-04-06 E-Cast, Inc. Prioritized content download for an entertainment device
CN106339414A (en) * 2016-08-12 2017-01-18 合网络技术(北京)有限公司 Webpage rendering method and device
EP3142335A1 (en) * 2015-09-11 2017-03-15 Thomson Licensing Method and cache for caching multimedia content
CN107690073A (en) * 2016-08-05 2018-02-13 阿里巴巴集团控股有限公司 A kind of net cast method and Living streaming server
CN108037987A (en) * 2017-12-07 2018-05-15 北京小米移动软件有限公司 application control method, device, storage medium
CN109347967A (en) * 2018-11-02 2019-02-15 网宿科技股份有限公司 A kind of method and device obtaining audio, video data
CN109729386A (en) * 2019-01-03 2019-05-07 深圳市网心科技有限公司 A kind of video file opens broadcasting method, system and electronic equipment and storage medium
CN110020304A (en) * 2017-11-29 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of loading page
CN110300189A (en) * 2019-07-25 2019-10-01 北京达佳互联信息技术有限公司 A kind of resource downloading method, device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060074750A1 (en) * 2004-10-01 2006-04-06 E-Cast, Inc. Prioritized content download for an entertainment device
EP3142335A1 (en) * 2015-09-11 2017-03-15 Thomson Licensing Method and cache for caching multimedia content
CN107690073A (en) * 2016-08-05 2018-02-13 阿里巴巴集团控股有限公司 A kind of net cast method and Living streaming server
CN106339414A (en) * 2016-08-12 2017-01-18 合网络技术(北京)有限公司 Webpage rendering method and device
CN110020304A (en) * 2017-11-29 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of loading page
CN108037987A (en) * 2017-12-07 2018-05-15 北京小米移动软件有限公司 application control method, device, storage medium
CN109347967A (en) * 2018-11-02 2019-02-15 网宿科技股份有限公司 A kind of method and device obtaining audio, video data
CN109729386A (en) * 2019-01-03 2019-05-07 深圳市网心科技有限公司 A kind of video file opens broadcasting method, system and electronic equipment and storage medium
CN110300189A (en) * 2019-07-25 2019-10-01 北京达佳互联信息技术有限公司 A kind of resource downloading method, device and electronic equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371705A (en) * 2020-02-24 2020-07-03 维沃移动通信有限公司 Download task execution method and electronic equipment
CN111371705B (en) * 2020-02-24 2023-09-12 维沃移动通信有限公司 Download task execution method and electronic device
CN112000446A (en) * 2020-07-13 2020-11-27 深圳市优必选科技股份有限公司 Data transmission method and robot
CN111861252A (en) * 2020-07-29 2020-10-30 北京达佳互联信息技术有限公司 Electronic resource transmission method and device and server
CN112256417A (en) * 2020-10-23 2021-01-22 上海豹云网络信息服务有限公司 Data request processing method and device and computer readable storage medium
CN112256417B (en) * 2020-10-23 2024-03-29 上海豹云网络信息服务有限公司 Data request processing method and device and computer readable storage medium
CN114490090A (en) * 2022-04-02 2022-05-13 广东茉莉数字科技集团股份有限公司 Internet data center demand response optimization method based on multi-objective evolutionary algorithm
CN114490090B (en) * 2022-04-02 2022-07-01 广东茉莉数字科技集团股份有限公司 Internet data center demand response optimization method based on multi-objective evolutionary algorithm
CN114706820A (en) * 2022-05-18 2022-07-05 北京卡普拉科技有限公司 Scheduling method, system, electronic device and medium for asynchronous I/O request

Also Published As

Publication number Publication date
CN110753098B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
CN110753098B (en) Download request execution method and device, server and storage medium
CN111240837B (en) Resource allocation method, device, terminal and storage medium
US10419823B2 (en) Method for controlling multimedia playing, apparatus thereof and storage medium
US20170302990A1 (en) Method, terminal, and system for processing data of video stream
CN110333947B (en) Method, device, equipment and medium for loading subcontracting resources of game application
US10327015B2 (en) Picture combining method, terminal, and picture combining system
US11785304B2 (en) Video preview method and electronic device
CN105141496A (en) Instant communication message playback method and device
CN110418207B (en) Information processing method, device and storage medium
US10097292B2 (en) Method, device, terminal and storage medium for adjusting broadcast message queue
CN112104897B (en) Video acquisition method, terminal and storage medium
US20220311859A1 (en) Do-not-disturb method and terminal
US20140244805A1 (en) Bandwidth estimation-based streaming content processing method and apparatus of terminal
CN106507204A (en) A kind of video play-reverse method and apparatus
WO2018161788A1 (en) Multimedia data sharing method and device
CN106330681B (en) Method, system and related equipment for sharing film watching information
CN107622234B (en) Method and device for displaying budding face gift
US20200252497A1 (en) Switching to a Single Radio Chain for Voice Communications
CN110796034B (en) Target object identification method, device, equipment and medium
CN109600409B (en) Resource management method and terminal for application
WO2015096781A1 (en) Network product display method, apparatus, system, server and terminal
CN110096190B (en) Method and terminal for displaying two-dimensional code
CN109657173B (en) Network resource loading method and device
CN108353321A (en) A kind of method and relevant device of network hotspot control
CN106358070B (en) Multimedia file uploading method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant