CN105554533A - Asynchronous progress updating method and device - Google Patents
Asynchronous progress updating method and device Download PDFInfo
- Publication number
- CN105554533A CN105554533A CN201510937127.0A CN201510937127A CN105554533A CN 105554533 A CN105554533 A CN 105554533A CN 201510937127 A CN201510937127 A CN 201510937127A CN 105554533 A CN105554533 A CN 105554533A
- Authority
- CN
- China
- Prior art keywords
- video
- video information
- progress
- data amount
- progress value
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 93
- 230000008569 process Effects 0.000 claims description 74
- 238000003672 processing method Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
- H04N21/2743—Video hosting of uploaded data from client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26291—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an asynchronous progress updating method and device. The method comprises: receiving a first download request; generating a first progress value according to the first download request, acquiring a video address corresponding to a video information identifier to be downloaded, and sending a second download request carrying the video address to a video library platform; if video information returned by the video library platform is being received, acquiring a first download data volume of the received video information in real time, and updating the first progress value according to a first update value corresponding to the first download data volume till accomplishing downloading to obtain a corresponding second progress value; and when the video information is uploaded to a cloud disk corresponding to a destination address, acquiring a first upload data volume of the uploaded video information in real time, and updating the second progress value according to a second update value corresponding to the first upload data volume till accomplishing uploading to obtain a corresponding third progress value. The invention further discloses a device for implementing the method.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of progress asynchronous refresh processing method and device.
Background technology
Cloud dish, as the Internet storage tool, more and more obtains widely using of users.At present, user by the video resource of search, after being downloaded to server, can also being uploaded to Yun Panzhong and preserving, can again watch after facilitating.
But the download for video resource of the prior art and uploading, user could determine whether video resource is uploaded successfully after being only used in and logging in cloud dish, thus brings great inconvenience to the use of user.
Summary of the invention
The embodiment of the present invention provides a kind of progress asynchronous refresh processing method and device, for to solve in prior art for the download of video resource and upload, after user is only used in and logs in cloud dish, could determine whether video resource is uploaded successfully, thus bring the problem of inconvenience greatly to the use of user.
A kind of progress asynchronous refresh processing method, comprises the following steps:
Receive the first download request, described first download request comprises: the destination address of cloud dish and the mark of corresponding video information to be downloaded;
According to described first download request, generate the first progress value, and acquisition identifies corresponding video address with described video information to be downloaded, described video address is carried in the second download request and sends to video library platform, for described video library platform according to described second download request, obtain the video information corresponding with described video address;
If receiving the described video information that described video library platform returns, then the first downloading data amount of described video information of receiving of Real-time Obtaining, and first updated value corresponding according to described first downloading data amount, update process is carried out to described first progress value, until downloaded, to obtain the second corresponding progress value;
When described video information being uploaded to Yun Panzhong corresponding to described destination address, Real-time Obtaining uploads the first uploading data amount of described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value.
By the first download request that basis receives, generate the first progress value, and acquisition identifies corresponding video address with the video information to be downloaded in the first download request, video address is carried in the second download request and sends to video library platform, for video library platform according to the second download request, obtain the video information corresponding with video address, if just in the video information that receiver, video storehouse platform returns, then the first downloading data amount of video information of receiving of Real-time Obtaining, and first updated value corresponding according to the first downloading data amount, update process is carried out to this first progress value, until downloaded, to obtain the second corresponding progress value, in addition, when video information being uploaded to Yun Panzhong corresponding to destination address, Real-time Obtaining is uploaded to the first uploading data amount of this video information, and second updated value corresponding according to this first uploading data amount, update process is carried out to the second progress value, and when having uploaded, to obtain the 3rd corresponding progress value, progress record and displaying is carried out respectively owing to downloading video and upload, therefore can to efficiently solve in prior art for the download of video resource and upload, after user is only used in and logs in cloud dish, could determine whether video resource is uploaded successfully, thus bring the problem of inconvenience greatly to the use of user, thus effectively improve user experience.
Further, if the video format of described video information to be downloaded comprises N kind, if the then described described video information receiving described video library platform and return, then obtain the first downloading data amount of the described video information received, and first updated value corresponding according to described first downloading data amount, update process is carried out, until downloaded to described first progress value, to obtain the second corresponding progress value, comprising:
When receiving the 1st kind of video information that video format is corresponding that described video library platform returns, first number of downloads of the 1st kind of video information that video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to described first progress value;
When the video information that the N kind video information form that the described video platform of reception returns is corresponding, first number of downloads of the video information that N kind video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to the first progress value upgraded, when completing video information corresponding to N kind video format and downloading, N is added 1, repeat this step, until video information corresponding to N kind video format has been downloaded, using by the first progress value of final updating as described second progress value;
Wherein, N is positive integer, and is 2 when N is initial.
Due to for the downloading data amount of the video information of different video formats, the update process of the download progress of its correspondence can be carried out, therefore, it is possible to obtain the progress situation of download more accurately.
Further, described described video address is carried in the second download request send to video library platform before, described method also comprises:
The video information corresponding to N kind video format carries out sequence process, and acquisition puts in order;
Then described being carried in the second download request by described video address sends to video library platform, comprising:
To put in order and described video address is carried in the second download request and sends to described video library platform, for described video library platform according to receiving the second download request, put in order according to described, send video information corresponding to the N kind video format corresponding with described video address successively.
Due to the second download request can be sent to video library platform successively according to clooating sequence, therefore can realize video library platform and can download video information corresponding to N kind video format successively, thus be convenient to the update process successively of subsequent download progress value.
Further, if the video format of described video information to be downloaded comprises N kind, then described when described video information being uploaded to Yun Panzhong corresponding to described destination address, obtain the first uploading data amount uploading described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value, comprising:
When sending the 1st kind of video information that video format is corresponding to described cloud hair updo, obtain the second uploading data amount of the described 1st kind of video information that video format is corresponding, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value;
When the video information sending N kind video format corresponding to described cloud hair updo, obtain the second uploading data amount of video information corresponding to described N kind video format, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value upgraded, when completing video information corresponding to N kind video format and uploading, N is added 1, repeat this step, until video information corresponding to N kind video format has been uploaded, using by the second progress value of final updating as described 3rd progress value;
Wherein, N is positive integer, and is 2 when N is initial.
Due to for the uploading data amount of the video information of different video formats, the update process of the upload progress of its correspondence can be carried out, therefore, it is possible to obtain the progress situation uploaded more accurately.
Further, described send to described cloud hair updo the video information that N kind video format is corresponding successively before, described method also comprises:
The video information corresponding to N kind video format carries out sequence process, and acquisition puts in order;
Send to described cloud hair updo the video information that N kind video format is corresponding successively then, comprising:
Put in order according to described, send to described cloud hair updo the video information that N kind video format is corresponding successively.
Send video information corresponding to N kind video format owing to can send to cloud hair updo successively according to clooating sequence, be therefore convenient to the update process successively of follow-up upload progress value.
A kind of progress asynchronous refresh processing unit, comprising:
Transceiver module, for receiving the first download request, described first download request comprises: the destination address of cloud dish and the mark of corresponding video information to be downloaded;
Acquisition module, for according to described first download request, generates the first progress value, and acquisition identifies corresponding video address with described video information to be downloaded;
Described transceiver module also sends to video library platform for being carried in the second download request by described video address, for described video library platform according to described second download request, obtains the video information corresponding with described video address;
Progress update module, if receiving for described transceiver module the described video information that described video library platform returns, then the first downloading data amount of described video information of receiving of Real-time Obtaining, and first updated value corresponding according to described first downloading data amount, update process is carried out to described first progress value, until downloaded, to obtain the second corresponding progress value;
Described progress update module is also for being uploaded to Yun Panzhong corresponding to described destination address by described video information during at described transceiver module, Real-time Obtaining uploads the first uploading data amount of described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value.
By the first download request that basis receives, generate the first progress value, and acquisition identifies corresponding video address with the video information to be downloaded in the first download request, video address is carried in the second download request and sends to video library platform, for video library platform according to the second download request, obtain the video information corresponding with video address, if just in the video information that receiver, video storehouse platform returns, then the first downloading data amount of video information of receiving of Real-time Obtaining, and first updated value corresponding according to the first downloading data amount, update process is carried out to this first progress value, until downloaded, to obtain the second corresponding progress value, in addition, when video information being uploaded to Yun Panzhong corresponding to destination address, Real-time Obtaining is uploaded to the first uploading data amount of this video information, and second updated value corresponding according to this first uploading data amount, update process is carried out to the second progress value, and when having uploaded, to obtain the 3rd corresponding progress value, progress record and displaying is carried out respectively owing to downloading video and upload, therefore can to efficiently solve in prior art for the download of video resource and upload, after user is only used in and logs in cloud dish, could determine whether video resource is uploaded successfully, thus bring the problem of inconvenience greatly to the use of user, thus effectively improve user experience.
Further, if the video format of described video information to be downloaded comprises N kind, then described progress update module specifically for receive described video library platform at transceiver module and return the 1st kind of video information that video format is corresponding time, first number of downloads of the 1st kind of video information that video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to described first progress value;
Described progress update module is also specifically for receiving video information corresponding to N kind video information form that described video platform returns during at transceiver module, first number of downloads of the video information that N kind video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to the first progress value upgraded, when completing video information corresponding to N kind video format and downloading, N is added 1, repeat this step, until video information corresponding to N kind video format has been downloaded, using by the first progress value of final updating as described second progress value,
Wherein, N is positive integer, and is 2 when N is initial.
Due to for the downloading data amount of the video information of different video formats, the update process of the download progress of its correspondence can be carried out, therefore, it is possible to obtain the progress situation of download more accurately.
Further, also comprise:
Order module, carry out sequence process for the video information corresponding to N kind video format, acquisition puts in order;
Then described transceiver module will be specifically for will to put in order and described video address is carried in the second download request and sends to described video library platform, for described video library platform according to receiving the second download request, put in order according to described, send video information corresponding to the N kind video format corresponding with described video address successively.
Due to the second download request can be sent to video library platform successively according to clooating sequence, therefore can realize video library platform and can download video information corresponding to N kind video format successively, thus be convenient to the update process successively of subsequent download progress value.
Further, if the video format of described video information to be downloaded comprises N kind, then described progress update module specifically at described transceiver module when sending the 1st kind of video information that video format is corresponding to described cloud hair updo, obtain the second uploading data amount of the described 1st kind of video information that video format is corresponding, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value;
Described progress update module also specifically for send N kind video format corresponding at video information from described transceiver module to described cloud hair updo time, obtain the second uploading data amount of video information corresponding to described N kind video format, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value upgraded, when completing video information corresponding to N kind video format and uploading, N is added 1, repeat this step, until video information corresponding to N kind video format has been uploaded, using by the second progress value of final updating as described 3rd progress value,
Wherein, N is positive integer, and is 2 when N is initial.
Due to for the uploading data amount of the video information of different video formats, the update process of the upload progress of its correspondence can be carried out, therefore, it is possible to obtain the progress situation uploaded more accurately.
Further, also comprise:
Order module, carry out sequence process for the video information corresponding to N kind video format, acquisition puts in order;
Then described transceiver module is specifically for putting in order according to described, send the video information that N kind video format is corresponding successively to described cloud hair updo.
Send video information corresponding to N kind video format owing to can send to cloud hair updo successively according to clooating sequence, be therefore convenient to the update process successively of follow-up upload progress value.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
The schematic flow sheet of the progress asynchronous refresh processing method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the progress asynchronous refresh processing method that Fig. 2 provides for the embodiment of the present invention two;
The schematic flow sheet of the progress asynchronous refresh processing method that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the progress asynchronous refresh processing unit that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of the progress asynchronous refresh processing unit that Fig. 5 provides for the embodiment of the present invention five.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
The schematic flow sheet of the progress asynchronous refresh processing method that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, the method comprises the following steps:
Step 101, receive the first download request, described first download request comprises: the destination address of cloud dish and the mark of corresponding video information to be downloaded.
Step 102, according to described first download request, generate the first progress value, and acquisition identifies corresponding video address with described video information to be downloaded, described video address is carried in the second download request and sends to video library platform, for described video library platform according to described second download request, obtain the video information corresponding with described video address.
In the present embodiment, this first progress value can be 0%.
If step 103 is receiving the described video information that described video library platform returns, then the first downloading data amount of described video information of receiving of Real-time Obtaining, and first updated value corresponding according to described first downloading data amount, update process is carried out to described first progress value, until downloaded, to obtain the second corresponding progress value.
In the present embodiment, for example, when the first downloading data amount is a half of the quantity of whole video information, the first updated value of its correspondence can be 25%.
Optionally, the second progress value can be 50%.
Step 104, when described video information being uploaded to Yun Panzhong corresponding to described destination address, Real-time Obtaining uploads the first uploading data amount of described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value.
In the present embodiment, for example, when the first uploading data amount is a half of the quantity of whole video information, the second updated value of its correspondence can be 25%.
Optionally, the 3rd progress value can be 100%.
In the present embodiment, by the first download request that basis receives, generate the first progress value, and acquisition identifies corresponding video address with the video information to be downloaded in the first download request, video address is carried in the second download request and sends to video library platform, for video library platform according to the second download request, obtain the video information corresponding with video address, if just in the video information that receiver, video storehouse platform returns, then the first downloading data amount of video information of receiving of Real-time Obtaining, and first updated value corresponding according to the first downloading data amount, update process is carried out to this first progress value, until downloaded, to obtain the second corresponding progress value, in addition, when video information being uploaded to Yun Panzhong corresponding to destination address, Real-time Obtaining is uploaded to the first uploading data amount of this video information, and second updated value corresponding according to this first uploading data amount, update process is carried out to the second progress value, and when having uploaded, to obtain the 3rd corresponding progress value, progress record and displaying is carried out respectively owing to downloading video and upload, therefore can to efficiently solve in prior art for the download of video resource and upload, after user is only used in and logs in cloud dish, could determine whether video resource is uploaded successfully, thus bring the problem of inconvenience greatly to the use of user, thus effectively improve user experience.
The schematic flow sheet of the progress asynchronous refresh processing method that Fig. 2 provides for the embodiment of the present invention two, on above-mentioned basis embodiment illustrated in fig. 1, as shown in Figure 2, if the video format of described video information to be downloaded comprises N kind, then a kind of specific implementation of step 103 is:
Step 201, receive described video library platform return the 1st kind of video information that video format is corresponding time, first number of downloads of the 1st kind of video information that video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to described first progress value.
Step 202, when receiving video information corresponding to the N kind video information form that returns of described video platform, first number of downloads of the video information that N kind video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to the first progress value upgraded, when completing video information corresponding to N kind video format and downloading, N is added 1, repeat this step, until video information corresponding to N kind video format has been downloaded, using by the first progress value of final updating as described second progress value.
Wherein, N is positive integer, and is 2 when N is initial.
Alternatively, a kind of specific implementation of step 102 is:
Step 203, according to described first download request, generate the first progress value, and obtain and identify corresponding video address with described video information to be downloaded, the video information corresponding to N kind video format is carried out sequence and is processed, and acquisition puts in order.
Step 204, will to put in order and described video address is carried in the second download request and sends to described video library platform, for described video library platform according to receiving the second download request, put in order according to described, send video information corresponding to the N kind video format corresponding with described video address successively.
In the present embodiment, when the video format of video information to be downloaded comprises N kind, can according to the video format of N video information to be downloaded, be downloaded into angle value respectively according to first its correspondence of number of downloads record of its correspondence, thus the progress situation of download can be obtained more accurately.
The schematic flow sheet of the progress asynchronous refresh processing method that Fig. 3 provides for the embodiment of the present invention three, on above-mentioned Fig. 1 or basis embodiment illustrated in fig. 2, as shown in Figure 3, in the present embodiment, on basis embodiment illustrated in fig. 1:
If the video format of described video information to be downloaded comprises N kind, then a kind of specific implementation of step 104 is:
Step 301, when sending the 1st kind of video information that video format is corresponding to described cloud hair updo, obtain the second uploading data amount of the described 1st kind of video information that video format is corresponding, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value.
Step 302, when the video information sending N kind video format corresponding to described cloud hair updo, obtain the second uploading data amount of video information corresponding to described N kind video format, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value upgraded, when completing video information corresponding to N kind video format and uploading, N is added 1, repeat this step, until video information corresponding to N kind video format has been uploaded, using by the second progress value of final updating as described 3rd progress value.
Wherein, N is positive integer, and is 2 when N is initial.
Optionally, before step 301, the method can also comprise:
Step 303, the video information corresponding to N kind video format carry out sequence process, and acquisition puts in order;
Step 304, to put in order according to described, send to described cloud hair updo the video information that N kind video format is corresponding successively.
In the present embodiment, when the video format of video information to be downloaded comprises N kind, according to the video format of N video information to be downloaded, the upload progress value of its correspondence of quantity record can be uploaded respectively according to first of its correspondence, thus the progress situation uploaded can be obtained more accurately.
The structural representation of the progress asynchronous refresh processing unit that Fig. 4 provides for the embodiment of the present invention four, as shown in Figure 4, this progress asynchronous refresh processing unit comprises: transceiver module 11, acquisition module 12 and progress update module 13; Wherein, transceiver module 11 is for receiving the first download request, and described first download request comprises: the destination address of cloud dish and the mark of corresponding video information to be downloaded; Acquisition module 12, for according to described first download request, generates the first progress value, and acquisition identifies corresponding video address with described video information to be downloaded; Described transceiver module 11 also sends to video library platform for being carried in the second download request by described video address, for described video library platform according to described second download request, obtains the video information corresponding with described video address; If progress update module 13 is receiving for described transceiver module 11 the described video information that described video library platform returns, then the first downloading data amount of described video information of receiving of Real-time Obtaining, and first updated value corresponding according to described first downloading data amount, update process is carried out to described first progress value, until downloaded, to obtain the second corresponding progress value; Described progress update module 13 is also for being uploaded to Yun Panzhong corresponding to described destination address by described video information during at described transceiver module 11, Real-time Obtaining uploads the first uploading data amount of described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value.
The progress asynchronous refresh processing unit of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 1, and it realizes principle and beneficial effect is similar, repeats no more herein.
The structural representation of the progress asynchronous refresh processing unit that Fig. 5 provides for the embodiment of the present invention five, on above-mentioned basis embodiment illustrated in fig. 4, as shown in Figure 5, if the video format of described video information to be downloaded comprises N kind, then described progress update module 13 specifically for receive described video library platform at transceiver module 11 and return the 1st kind of video information that video format is corresponding time, first number of downloads of the 1st kind of video information that video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to described first progress value, described progress update module 13 is also specifically for receiving video information corresponding to N kind video information form that described video platform returns during at transceiver module 11, first number of downloads of the video information that N kind video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to the first progress value upgraded, when completing video information corresponding to N kind video format and downloading, N is added 1, repeat this step, until video information corresponding to N kind video format has been downloaded, using by the first progress value of final updating as described second progress value, wherein, N is positive integer, and is 2 when N is initial.
Alternatively, this device can also comprise: order module 21, and carry out sequence process for the video information corresponding to N kind video format, acquisition puts in order; Then described transceiver module 11 will be specifically for will to put in order and described video address is carried in the second download request and sends to described video library platform, for described video library platform according to receiving the second download request, put in order according to described, send video information corresponding to the N kind video format corresponding with described video address successively.
The progress asynchronous refresh processing unit of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 2, and it realizes principle and beneficial effect is similar, repeats no more herein.
Further, in the embodiment of the present invention six, on above-mentioned Fig. 4 or basis embodiment illustrated in fig. 5, if the video format of described video information to be downloaded comprises N kind, then described progress update module 13 specifically at described transceiver module 11 when sending the 1st kind of video information that video format is corresponding to described cloud hair updo, obtain the second uploading data amount of the described 1st kind of video information that video format is corresponding, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value, described progress update module 13 also specifically for send N kind video format corresponding at video information from described transceiver module 11 to described cloud hair updo time, obtain the second uploading data amount of video information corresponding to described N kind video format, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value upgraded, when completing video information corresponding to N kind video format and uploading, N is added 1, repeat this step, until video information corresponding to N kind video format has been uploaded, using by the second progress value of final updating as described 3rd progress value, wherein, N is positive integer, and is 2 when N is initial.
Alternatively, this device also comprises: order module, and carry out sequence process for the video information corresponding to N kind video format, acquisition puts in order; Then described transceiver module 11 is specifically for putting in order according to described, send the video information that N kind video format is corresponding successively to described cloud hair updo.
The progress asynchronous refresh processing unit of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 3, and it realizes principle and beneficial effect is similar, repeats no more herein.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a progress asynchronous refresh processing method, is characterized in that, comprises the following steps:
Receive the first download request, described first download request comprises: the destination address of cloud dish and the mark of corresponding video information to be downloaded;
According to described first download request, generate the first progress value, and acquisition identifies corresponding video address with described video information to be downloaded, described video address is carried in the second download request and sends to video library platform, for described video library platform according to described second download request, obtain the video information corresponding with described video address;
If receiving the described video information that described video library platform returns, then the first downloading data amount of described video information of receiving of Real-time Obtaining, and first updated value corresponding according to described first downloading data amount, update process is carried out to described first progress value, until downloaded, to obtain the second corresponding progress value;
When described video information being uploaded to Yun Panzhong corresponding to described destination address, Real-time Obtaining uploads the first uploading data amount of described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value.
2. method according to claim 1, it is characterized in that, if the video format of described video information to be downloaded comprises N kind, then if the described described video information receiving described video library platform and return, then obtain the first downloading data amount of the described video information received, and first updated value corresponding according to described first downloading data amount, update process is carried out to described first progress value, until downloaded, to obtain the second corresponding progress value, comprising:
When receiving the 1st kind of video information that video format is corresponding that described video library platform returns, first number of downloads of the 1st kind of video information that video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to described first progress value;
When the video information that the N kind video information form that the described video platform of reception returns is corresponding, first number of downloads of the video information that N kind video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to the first progress value upgraded, when completing video information corresponding to N kind video format and downloading, N is added 1, repeat this step, until video information corresponding to N kind video format has been downloaded, using by the first progress value of final updating as described second progress value;
Wherein, N is positive integer, and is 2 when N is initial.
3. method according to claim 2, is characterized in that, described described video address is carried in the second download request send to video library platform before, described method also comprises:
The video information corresponding to N kind video format carries out sequence process, and acquisition puts in order;
Then described being carried in the second download request by described video address sends to video library platform, comprising:
To put in order and described video address is carried in the second download request and sends to described video library platform, for described video library platform according to receiving the second download request, put in order according to described, send video information corresponding to the N kind video format corresponding with described video address successively.
4. method according to claim 1 and 2, it is characterized in that, if the video format of described video information to be downloaded comprises N kind, then describedly obtain when described video information being uploaded to Yun Panzhong corresponding to described destination address the first uploading data amount uploading described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value, comprising:
When sending the 1st kind of video information that video format is corresponding to described cloud hair updo, obtain the second uploading data amount of the described 1st kind of video information that video format is corresponding, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value;
When the video information sending N kind video format corresponding to described cloud hair updo, obtain the second uploading data amount of video information corresponding to described N kind video format, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value upgraded, when completing video information corresponding to N kind video format and uploading, N is added 1, repeat this step, until video information corresponding to N kind video format has been uploaded, using by the second progress value of final updating as described 3rd progress value;
Wherein, N is positive integer, and is 2 when N is initial.
5. method according to claim 4, is characterized in that, described send to described cloud hair updo the video information that N kind video format is corresponding successively before, described method also comprises:
The video information corresponding to N kind video format carries out sequence process, and acquisition puts in order;
Send to described cloud hair updo the video information that N kind video format is corresponding successively then, comprising:
Put in order according to described, send to described cloud hair updo the video information that N kind video format is corresponding successively.
6. a progress asynchronous refresh processing unit, is characterized in that, comprising:
Transceiver module, for receiving the first download request, described first download request comprises: the destination address of cloud dish and the mark of corresponding video information to be downloaded;
Acquisition module, for according to described first download request, generates the first progress value, and acquisition identifies corresponding video address with described video information to be downloaded;
Described transceiver module also sends to video library platform for being carried in the second download request by described video address, for described video library platform according to described second download request, obtains the video information corresponding with described video address;
Progress update module, if receiving for described transceiver module the described video information that described video library platform returns, then the first downloading data amount of described video information of receiving of Real-time Obtaining, and first updated value corresponding according to described first downloading data amount, update process is carried out to described first progress value, until downloaded, to obtain the second corresponding progress value;
Described progress update module is also for being uploaded to Yun Panzhong corresponding to described destination address by described video information during at described transceiver module, Real-time Obtaining uploads the first uploading data amount of described video information, and second updated value corresponding according to described first uploading data amount, update process is carried out to described second progress value, and when having uploaded, to obtain the 3rd corresponding progress value.
7. device according to claim 6, it is characterized in that, if the video format of described video information to be downloaded comprises N kind, then described progress update module specifically for receive described video library platform at transceiver module and return the 1st kind of video information that video format is corresponding time, first number of downloads of the 1st kind of video information that video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to described first progress value;
Described progress update module is also specifically for receiving video information corresponding to N kind video information form that described video platform returns during at transceiver module, first number of downloads of the video information that N kind video information form is corresponding described in Real-time Obtaining, and first updated value corresponding according to described first number of downloads, update process is carried out to the first progress value upgraded, when completing video information corresponding to N kind video format and downloading, N is added 1, repeat this step, until video information corresponding to N kind video format has been downloaded, using by the first progress value of final updating as described second progress value,
Wherein, N is positive integer, and is 2 when N is initial.
8. device according to claim 7, is characterized in that, also comprises:
Order module, carry out sequence process for the video information corresponding to N kind video format, acquisition puts in order;
Then described transceiver module will be specifically for will to put in order and described video address is carried in the second download request and sends to described video library platform, for described video library platform according to receiving the second download request, put in order according to described, send video information corresponding to the N kind video format corresponding with described video address successively.
9. the device according to claim 6 or 7, it is characterized in that, if the video format of described video information to be downloaded comprises N kind, then described progress update module specifically at described transceiver module when sending the 1st kind of video information that video format is corresponding to described cloud hair updo, obtain the second uploading data amount of the described 1st kind of video information that video format is corresponding, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value;
Described progress update module also specifically for send N kind video format corresponding at video information from described transceiver module to described cloud hair updo time, obtain the second uploading data amount of video information corresponding to described N kind video format, and four updated value corresponding according to described second uploading data amount, to the capable update process of the second progress value upgraded, when completing video information corresponding to N kind video format and uploading, N is added 1, repeat this step, until video information corresponding to N kind video format has been uploaded, using by the second progress value of final updating as described 3rd progress value,
Wherein, N is positive integer, and is 2 when N is initial.
10. device according to claim 9, is characterized in that, also comprises:
Order module, carry out sequence process for the video information corresponding to N kind video format, acquisition puts in order;
Then described transceiver module is specifically for putting in order according to described, send the video information that N kind video format is corresponding successively to described cloud hair updo.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510937127.0A CN105554533B (en) | 2015-12-15 | 2015-12-15 | A kind of progress asynchronous refresh treating method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510937127.0A CN105554533B (en) | 2015-12-15 | 2015-12-15 | A kind of progress asynchronous refresh treating method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105554533A true CN105554533A (en) | 2016-05-04 |
CN105554533B CN105554533B (en) | 2018-06-19 |
Family
ID=55833438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510937127.0A Expired - Fee Related CN105554533B (en) | 2015-12-15 | 2015-12-15 | A kind of progress asynchronous refresh treating method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105554533B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872641A (en) * | 2016-04-26 | 2016-08-17 | 无锡天脉聚源传媒科技有限公司 | Method and device for progress asynchronous update processing |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148843A (en) * | 2010-02-05 | 2011-08-10 | 腾讯科技(深圳)有限公司 | Asynchronous downloading system and method |
CN102306189A (en) * | 2011-08-31 | 2012-01-04 | 珠海金山办公软件有限公司 | Client and method for client to show status of network disk file |
US20130091188A1 (en) * | 2011-09-26 | 2013-04-11 | Gladinet, Inc. | System and method for providing access to a file in real time during a cloud storage upload process |
CN103559029A (en) * | 2013-10-24 | 2014-02-05 | 北京奇虎科技有限公司 | Method and device for displaying cloud disk file statuses |
US20140289288A1 (en) * | 2013-03-21 | 2014-09-25 | Fuji Xerox Co., Ltd. | Relay apparatus, system, and non-transitory computer readable medium |
CN104518955A (en) * | 2013-09-27 | 2015-04-15 | 广州市千钧网络科技有限公司 | Video uploading method and system |
-
2015
- 2015-12-15 CN CN201510937127.0A patent/CN105554533B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102148843A (en) * | 2010-02-05 | 2011-08-10 | 腾讯科技(深圳)有限公司 | Asynchronous downloading system and method |
CN102306189A (en) * | 2011-08-31 | 2012-01-04 | 珠海金山办公软件有限公司 | Client and method for client to show status of network disk file |
US20130091188A1 (en) * | 2011-09-26 | 2013-04-11 | Gladinet, Inc. | System and method for providing access to a file in real time during a cloud storage upload process |
US20140289288A1 (en) * | 2013-03-21 | 2014-09-25 | Fuji Xerox Co., Ltd. | Relay apparatus, system, and non-transitory computer readable medium |
CN104518955A (en) * | 2013-09-27 | 2015-04-15 | 广州市千钧网络科技有限公司 | Video uploading method and system |
CN103559029A (en) * | 2013-10-24 | 2014-02-05 | 北京奇虎科技有限公司 | Method and device for displaying cloud disk file statuses |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872641A (en) * | 2016-04-26 | 2016-08-17 | 无锡天脉聚源传媒科技有限公司 | Method and device for progress asynchronous update processing |
Also Published As
Publication number | Publication date |
---|---|
CN105554533B (en) | 2018-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105487881A (en) | Software installation package packaging method, device and system | |
CN110011952B (en) | Data transmission method, service cluster and client | |
CN104317914A (en) | Data acquiring method and device | |
CN104317749A (en) | Information writing method and device | |
CN109101244B (en) | Integrated automatic packaging method for ios system | |
CN106326062B (en) | The operating status control method and device of application program | |
US10223435B2 (en) | Data transfer between multiple databases | |
CN109800005A (en) | A kind of hot update method of client and device | |
CN105141672A (en) | Method, device and system for data storage | |
WO2014022555A3 (en) | Image repository systems and methods | |
CN105335186B (en) | Data downloading management method and system | |
CN104133767A (en) | Software development process supervising method and software development process supervising device | |
JP2020515929A5 (en) | ||
CN105373545A (en) | Picture display method and device | |
CN104023087A (en) | Polling method and device among multiple servers | |
CN103701867A (en) | Method, system and central server for processing call requests | |
CN105117499A (en) | File display method and device based on cloud disk | |
CN103677814A (en) | Procedure acquiring method, procedure acquiring device and procedure acquiring system | |
CN104133607A (en) | Handwriting sharing method and handwriting sharing device | |
CN105991700A (en) | Voice data processing method, cloud server system and terminal equipment | |
CN103297482A (en) | Information processing method and device | |
CN104834723A (en) | Display processing method and device of map | |
CN105554533A (en) | Asynchronous progress updating method and device | |
CN104753811A (en) | Streaming medium service optimizing method, device and system | |
CN105704207A (en) | Method for generating unique identifier, terminal and network side |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A processing method and device for progress asynchronous update Effective date of registration: 20210104 Granted publication date: 20180619 Pledgee: Inner Mongolia Huipu Energy Co.,Ltd. Pledgor: WUXI TVMINING MEDIA SCIENCE & TECHNOLOGY Co.,Ltd. Registration number: Y2020990001517 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180619 |