CN110471989A - Downloading task progress regulation method, system and storage medium based on block chain - Google Patents

Downloading task progress regulation method, system and storage medium based on block chain Download PDF

Info

Publication number
CN110471989A
CN110471989A CN201910757836.9A CN201910757836A CN110471989A CN 110471989 A CN110471989 A CN 110471989A CN 201910757836 A CN201910757836 A CN 201910757836A CN 110471989 A CN110471989 A CN 110471989A
Authority
CN
China
Prior art keywords
task
unit
downloading
block chain
task unit
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.)
Pending
Application number
CN201910757836.9A
Other languages
Chinese (zh)
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 Lajin Zhongbo Technology Co ltd
Original Assignee
Tianmai Juyuan (hangzhou) Media 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 Tianmai Juyuan (hangzhou) Media Technology Co Ltd filed Critical Tianmai Juyuan (hangzhou) Media Technology Co Ltd
Priority to CN201910757836.9A priority Critical patent/CN110471989A/en
Publication of CN110471989A publication Critical patent/CN110471989A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses downloading task progress regulation method, system and storage medium based on block chain, method includes: to obtain downloading task set, and distribute corresponding timer for each downloading task;It identifies the TU task unit in each downloading task, obtains the identification information of TU task unit;The identification information of each TU task unit is broadcasted to block chain;The processing speed for whether having the TU task unit in the node of block chain is judged, if so, then directly acquiring the processing speed of TU task unit;Conversely, in the processing speed of the local computing TU task unit and processing speed is then uploaded to block chain;According to the processing completeness of the processing speed of TU task unit and TU task unit, the progress status of each downloading task is determined;Timer data and progress status to each downloading task carry out real-time exhibition.The present invention gets accurately and reliably processing speed data using block chain technology, improves the calculating accuracy rate of progress status, can be widely applied to field of computer technology.

Description

Downloading task progress regulation method, system and storage medium based on block chain
Technical field
The present invention relates to field of computer technology, are based especially on downloading task progress the regulation method, system of block chain And storage medium.
Background technique
Progress bar (sometimes referred to as status bar or completion status item etc.) is usually used to the complete of reception and registration task or process At state, such as webpage load, file download, data transmission etc..Different application programs can be in various varying environments Use progress bar.For example, progress bar can be used to indicate the completion for being loaded the webpage to show to user in browser application State.As the response for the uniform resource locator (URL) for selecting user webpage, browser application can show reception and registration load The progress bar of the completion status of webpage.Progress bar can be updated with the variation of the completion status of added support grid page.Therefore, By progress bar, user can load total deadline of webpage with rough estimate.
Currently, in order to better grasp a certain task of software processing (such as document format conversion, CD burning or from Dynamicization handle e-book) during processing progress and complete the task needs time, so as to preferably according to task Progress is handled to carry out subsequent scheduling of resource or other tasks, in a certain flow of task of software processing, generally will The flow of task is divided into multiple tasks unit, as soon as it is every handled a TU task unit after, calculate current task progress with it is untreated Percentage between Task Progress, wherein the prior art for the processing speed of each TU task unit be all considered as unification, cause into It is lower to spend the accuracy rate calculated.For example, some flow of task needs to handle 100 TU task units, wherein preceding 50 TU task units The processing time of required cost is 2 minutes, and the processing time spent required for remaining 50 TU task units is 2 seconds Clock can show that " currently processed progress is according to the progress bar that the prior art calculates after having executed preceding 50 TU task units 50% ", and the processing time spent needed for practical remaining 50 TU task units has altogether just 100 seconds, actual progress item should be shown Show " currently processed progress is 98% ", it can be seen that, the progress calculation method accuracy rate of the prior art is lower.
Block chain (Block chain) refers to through decentralization and collective safeguards an authentic data by way of going to trust The technical solution in library, at present not by block chain technical application to the relevant report of progress bar management.
Summary of the invention
In view of this, the embodiment of the present invention provides, a kind of accuracy rate is high, the downloading task progress regulation based on block chain Method, system and storage medium.
In a first aspect, the embodiment of the invention provides a kind of, the downloading task progress based on block chain regulates and controls method, including Following steps:
Downloading task set is obtained, and distributes corresponding timer for each downloading task;
It identifies the TU task unit in each downloading task, obtains the identification information of TU task unit;
The identification information of each TU task unit is broadcasted to block chain;
For each TU task unit, the processing speed for whether having the TU task unit in the node of block chain is judged, if so, Then directly acquire the processing speed of TU task unit;Conversely, then in the processing speed of the local computing TU task unit and will processing speed Rate is uploaded to block chain;
According to the processing completeness of the processing speed of TU task unit and TU task unit, the progress shape of each downloading task is determined State;
Timer data and progress status to each downloading task carry out real-time exhibition.
Further, further comprising the steps of:
According to the timer data and progress status of downloading task, determines and show content;
Wherein, the displaying content includes progress bar colouring information, progress text message and progress bar style information.
Further, the TU task unit in each downloading task of identification, obtains this step of the identification information of TU task unit Suddenly, comprising the following steps:
The filename of identification mission unit;
The download link of identification mission unit;
The downloading page address of identification mission unit;
The file type of identification mission unit;
The file size of identification mission unit;
The filename of TU task unit, download link, downloading page address, file type and file size are summarized, obtained To the identification information of TU task unit.
It is further, described the processing speed of the local computing TU task unit the step for, comprising the following steps:
The processing time of TU task unit is determined by timer;
The downloaded file size of calculating task unit;
According to the processing time of TU task unit and downloaded file size, the processing speed of calculating task unit.
Further, described according to the processing speed of TU task unit and the processing completeness of TU task unit, determine each downloading The step for progress status of task, comprising the following steps:
Ratio between the downloaded file size and pre-download file size of calculating task unit, determines TU task unit Handle completeness;
According to the processing completeness of the processing speed of TU task unit and TU task unit, the progress shape of each downloading task is determined State;Wherein, the progress status includes the state that is completed, unfinished state and beginning state.
Further, further comprising the steps of:
For having completed the downloading task of downloading, the corresponding timer of the downloading task is destroyed, and be somebody's turn to do in locally release The memory that timer occupies.
Second aspect, the embodiment of the invention also provides a kind of downloading task progress regulator control system based on block chain, packet It includes:
Module is obtained, distributes corresponding timer for obtaining downloading task set, and for each downloading task;
Identification module, the TU task unit in each downloading task, obtains the identification information of TU task unit for identification;
Broadcast module, for broadcasting the identification information of each TU task unit to block chain;
Processing speed obtains module, for judging whether have this in the node of block chain for each TU task unit The processing speed of business unit, if so, then directly acquiring the processing speed of TU task unit;Conversely, then in the local computing job order Processing speed is simultaneously uploaded to block chain by the processing speed of member;
State confirmation module, for determining every according to the processing speed of TU task unit and the processing completeness of TU task unit The progress status of a downloading task;
Display module, for the timer data and progress status progress real-time exhibition to each downloading task;
Local management module destroys the corresponding timing of the downloading task for the downloading task for having completed downloading Device, and in the memory for locally discharging timer occupancy.
Further, the identification module includes:
First recognition unit, for identification filename of TU task unit;
Second recognition unit, for identification download link of TU task unit;
Third recognition unit, for identification the downloading page address of TU task unit;
4th recognition unit, for identification file type of TU task unit;
5th recognition unit, for identification file size of TU task unit;
Collection unit, for the filename of TU task unit, download link, downloading page address, file type and file is big It is small to be summarized, obtain the identification information of TU task unit.
The third aspect, the embodiment of the invention also provides a kind of downloading task progress regulator control system based on block chain, packet It includes:
At least one processor;
At least one processor, for storing at least one program;
When at least one described program is executed by least one described processor, so that at least one described processor is realized The downloading task progress based on block chain regulates and controls method.
Fourth aspect, the embodiment of the invention also provides a kind of storage mediums, wherein being stored with the executable finger of processor Enable, the executable instruction of the processor when executed by the processor for execute the downloading task based on block chain into Spend regulation method.
One or more technical solutions in the embodiments of the present invention have the advantages that the embodiment of the present invention is being known After being clipped to the identification information of each TU task unit, the processing speed of TU task unit is obtained by block chain, under then determining each The progress status of load task, finally the timer data to each downloading task and progress status carry out real-time exhibition, this hair It is bright to get accurately and reliably processing speed data using block chain technology, improve the calculating accuracy rate of progress status.
Detailed description of the invention
Fig. 1 is the overall step flow chart of the embodiment of the present invention.
Specific embodiment
The present invention is further explained and is illustrated with specific embodiment with reference to the accompanying drawings of the specification.For of the invention real The step number in example is applied, is arranged only for the purposes of illustrating explanation, any restriction is not done to the sequence between step, is implemented The execution sequence of each step in example can be adaptively adjusted according to the understanding of those skilled in the art.
Referring to Fig.1, the downloading task progress regulation method based on block chain that the embodiment of the invention provides a kind of, including with Lower step:
Downloading task set is obtained, and distributes corresponding timer for each downloading task;
It identifies the TU task unit in each downloading task, obtains the identification information of TU task unit;
The identification information of each TU task unit is broadcasted to block chain;
For each TU task unit, the processing speed for whether having the TU task unit in the node of block chain is judged, if so, Then directly acquire the processing speed of TU task unit;Conversely, then in the processing speed of the local computing TU task unit and will processing speed Rate is uploaded to block chain;
According to the processing completeness of the processing speed of TU task unit and TU task unit, the progress shape of each downloading task is determined State;
Timer data and progress status to each downloading task carry out real-time exhibition.
It is further used as preferred embodiment, further comprising the steps of:
According to the timer data and progress status of downloading task, determines and show content;
Wherein, the displaying content includes progress bar colouring information, progress text message and progress bar style information.
It is further used as preferred embodiment, the TU task unit in each downloading task of identification obtains job order The step for identification information of member, comprising the following steps:
The filename of identification mission unit;
The download link of identification mission unit;
The downloading page address of identification mission unit;
The file type of identification mission unit;
The file size of identification mission unit;
The filename of TU task unit, download link, downloading page address, file type and file size are summarized, obtained To the identification information of TU task unit.
It is further used as preferred embodiment, it is described the processing speed of the local computing TU task unit the step for, The following steps are included:
The processing time of TU task unit is determined by timer;
The downloaded file size of calculating task unit;
According to the processing time of TU task unit and downloaded file size, the processing speed of calculating task unit.
It is further used as preferred embodiment, it is described complete according to the processing speed of TU task unit and the processing of TU task unit Cheng Du, the step for determining the progress status of each downloading task, comprising the following steps:
Ratio between the downloaded file size and pre-download file size of calculating task unit, determines TU task unit Handle completeness;
According to the processing completeness of the processing speed of TU task unit and TU task unit, the progress shape of each downloading task is determined State;Wherein, the progress status includes the state that is completed, unfinished state and beginning state.
It is further used as preferred embodiment, further comprising the steps of:
For having completed the downloading task of downloading, the corresponding timer of the downloading task is destroyed, and be somebody's turn to do in locally release The memory that timer occupies.
It is corresponding with the method for Fig. 1, the embodiment of the invention also provides a kind of downloading task progress tune based on block chain Control system, comprising:
Module is obtained, distributes corresponding timer for obtaining downloading task set, and for each downloading task;
Identification module, the TU task unit in each downloading task, obtains the identification information of TU task unit for identification;
Broadcast module, for broadcasting the identification information of each TU task unit to block chain;
Processing speed obtains module, for judging whether have this in the node of block chain for each TU task unit The processing speed of business unit, if so, then directly acquiring the processing speed of TU task unit;Conversely, then in the local computing job order Processing speed is simultaneously uploaded to block chain by the processing speed of member;
State confirmation module, for determining every according to the processing speed of TU task unit and the processing completeness of TU task unit The progress status of a downloading task;
Display module, for the timer data and progress status progress real-time exhibition to each downloading task;
Local management module destroys the corresponding timing of the downloading task for the downloading task for having completed downloading Device, and in the memory for locally discharging timer occupancy.
It is further used as preferred embodiment, the identification module includes:
First recognition unit, for identification filename of TU task unit;
Second recognition unit, for identification download link of TU task unit;
Third recognition unit, for identification the downloading page address of TU task unit;
4th recognition unit, for identification file type of TU task unit;
5th recognition unit, for identification file size of TU task unit;
Collection unit, for the filename of TU task unit, download link, downloading page address, file type and file is big It is small to be summarized, obtain the identification information of TU task unit.
Be described below in detail the present invention is based on the downloading task progress of block chain regulation method whole implementation step:
S1, downloading task set is obtained, and distributes corresponding timer for each downloading task;
Specifically, the downloading task set, including movie download task, music download task, software package downloading task With system update packet downloading task etc., details are not described herein.In the present embodiment, when downloading task is created beginning, system is Downloading task distributes corresponding timer, and when downloading task is started to work, timer starts timing, so as under subsequent calculating The processing speed of load task.
TU task unit in S2, each downloading task of identification, obtains the identification information of TU task unit;
Wherein, the step S2 the following steps are included:
The filename of S21, identification mission unit;
The download link of S22, identification mission unit;
The downloading page address of S23, identification mission unit;
The file type of S24, identification mission unit;
The file size of S25, identification mission unit;
S26, the filename of TU task unit, download link, downloading page address, file type and file size are converged Always, the identification information of TU task unit is obtained.
Specifically, the present embodiment is identified by each attribute to TU task unit, the property set of TU task unit is obtained It closes (i.e. identification information), then can search the processing speed of the TU task unit on block chain according to identification information.
S3, the identification information of each TU task unit is broadcasted to block chain;
The present embodiment is broadcasted the identification information of TU task unit to block chain by broadcast technology, such as by job order The downloading page address of member is broadcast on block chain, and the content that other nodes of block chain are arrived according to broadcast reception searches for each section The data stored in the local memory of point, it is if searching the processing speed of corresponding TU task unit, the processing speed is anti- It feeds and sends the node of request.
S4, for each TU task unit, judge the processing speed for whether having the TU task unit in the node of block chain, if Have, then directly acquires the processing speed of TU task unit;Conversely, then in the processing speed of the local computing TU task unit and will processing Rate is uploaded to block chain;
It is wherein, described the processing speed of the local computing TU task unit the step for, comprising the following steps:
The processing time of TU task unit is determined by timer;
The downloaded file size of calculating task unit;
According to the processing time of TU task unit and downloaded file size, the processing speed of calculating task unit.
Specifically, set the processing time of TU task unit in the present embodiment as T (unit is the second), calculating task unit under Carrying file size is M (unit Gb), then the processing speed V of the TU task unit (unit is Gb/ seconds) are as follows: V=M/T.
S5, according to the processing speed of TU task unit and the processing completeness of TU task unit, determine each downloading task into Degree state;
Wherein, the step S5 the following steps are included:
S51, calculating task unit downloaded file size and pre-download file size between ratio, determine job order The processing completeness of member;
S52, according to the processing speed of TU task unit and the processing completeness of TU task unit, determine each downloading task into Degree state;Wherein, the progress status includes the state that is completed, unfinished state and beginning state.
Wherein, pre-download file size described in the present embodiment refers to the size of complete file, by solving published article Ratio between part size and pre-download file size just can determine that the corresponding download progress completed of the TU task unit.
S6, timer data and progress status according to downloading task are determined and are shown content;
Wherein, the displaying content includes progress bar colouring information, progress text message and progress bar style information.
In the present embodiment, show that content can go demand to carry out personalized designs according to user, for example, when progress status is When state is completed, the progress bar color of display is green, and text shows " downloading is completed " that progress bar Show Styles is circle.
When progress status is beginning state, the progress bar color of display is red, and text shows " downloading starts ", progress Show Styles is trapezoidal.
When progress status is unfinished state, the progress bar color of display is yellow, and text shows " downloading ", into Degree Show Styles is rectangle.
S7, real-time exhibition is carried out to the timer data and progress status of each downloading task.
S8, the downloading task for having completed downloading, destroy the corresponding timer of the downloading task, and in local release The memory that the timer occupies.
Specifically, the present embodiment can also send notification information after completing downloading task to terminal, such as eventually to movement End sends notifying messages, and downloading is prompted to complete;Or mail is sent to specified mailbox, prompt downloading to complete;Also it or is showing Terminal pops up pop-up, and downloading is prompted to complete.
The embodiment of the invention also provides a kind of downloading task progress regulator control system based on block chain, comprising:
At least one processor;
At least one processor, for storing at least one program;
When at least one described program is executed by least one described processor, so that at least one described processor is realized The downloading task progress based on block chain regulates and controls method.
Suitable for this system embodiment, this system embodiment is implemented content in above method embodiment Function is identical as above method embodiment, and the beneficial effect reached and above method embodiment beneficial effect achieved It is identical.
In addition, the embodiment of the invention also provides a kind of storage mediums, wherein being stored with the executable instruction of processor, institute The executable instruction of processor is stated when executed by the processor for executing the downloading task progress tune based on block chain Prosecutor method.
In conclusion the present invention obtains job order after the identification information for recognizing each TU task unit, through block chain Member processing speed, then determine the progress status of each downloading task, finally to the timer data of each downloading task with And progress status carries out real-time exhibition, the present invention gets accurately and reliably processing speed data using block chain technology, improves The calculating accuracy rate of progress status.
In some selectable embodiments, the function/operation mentioned in a block diagram can not be mentioned according to operational illustrations The sequence arrived occurs.For example, depending on related function/operation, two boxes continuously shown can actually be by substantially On simultaneously execute or the box can be performed sometimes with reverse order.In addition, presented in flow chart of the invention and The embodiment of description is provided in an illustrative manner, and it is an object of the present invention to provide technology is more completely understood.Disclosed method is not It is limited to operation presented herein and logic flow.Selectable embodiment is it is contemplated that the wherein sequence quilt of various operations The sub-operation of a part for changing and being wherein described as larger operation is executed independently.
Although in addition, describe the present invention under the background of functional module, but it is to be understood that, unless otherwise opposite Illustrate, one or more of the function and/or feature can be integrated in single physical device and/or software module In or one or more functions and/or feature can be implemented in individual physical unit or software module.It can also manage Solution, the practical realization in relation to each module are discussed in detail for understanding that the present invention is unnecessary.More precisely, examining Consider in device disclosed herein in the case where the attribute of various functional modules, function and internal relations, engineer's It will understand that the practical realization of the module in routine techniques.Therefore, those skilled in the art can be in nothing with ordinary skill Need to realize the present invention illustrated in detail in the claims in the case where undue experimentation.It will also be appreciated that disclosed spy Determine concept to be merely illustrative, be not intended to limit the scope of the present invention, the scope of the present invention by the appended claims and The full scope of its equivalent program determines.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.
The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more wirings Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not A variety of change, modification, replacement and modification can be carried out to these embodiments in the case where being detached from the principle of the present invention and objective, this The range of invention is defined by the claims and their equivalents.
It is to be illustrated to preferable implementation of the invention, but the present invention is not limited to the embodiment above, it is ripe Various equivalent deformation or replacement can also be made on the premise of without prejudice to spirit of the invention by knowing those skilled in the art, this Equivalent deformation or replacement are all included in the scope defined by the claims of the present application a bit.

Claims (10)

1. the downloading task progress based on block chain regulates and controls method, it is characterised in that: the following steps are included:
Downloading task set is obtained, and distributes corresponding timer for each downloading task;
It identifies the TU task unit in each downloading task, obtains the identification information of TU task unit;
The identification information of each TU task unit is broadcasted to block chain;
For each TU task unit, the processing speed for whether having the TU task unit in the node of block chain is judged, if so, then straight Obtain the processing speed for taking TU task unit;Conversely, then in the processing speed of the local computing TU task unit and will be in processing speed Reach block chain;
According to the processing completeness of the processing speed of TU task unit and TU task unit, the progress status of each downloading task is determined;
Timer data and progress status to each downloading task carry out real-time exhibition.
2. downloading task progress according to claim 1 based on block chain regulates and controls method, it is characterised in that: further include with Lower step:
According to the timer data and progress status of downloading task, determines and show content;
Wherein, the displaying content includes progress bar colouring information, progress text message and progress bar style information.
3. the downloading task progress according to claim 1 based on block chain regulates and controls method, it is characterised in that: the identification TU task unit in each downloading task, the step for obtaining the identification information of TU task unit, comprising the following steps:
The filename of identification mission unit;
The download link of identification mission unit;
The downloading page address of identification mission unit;
The file type of identification mission unit;
The file size of identification mission unit;
The filename of TU task unit, download link, downloading page address, file type and file size are summarized, must be taken office The identification information of business unit.
4. the downloading task progress according to claim 1 based on block chain regulates and controls method, it is characterised in that: described at this Ground calculates the step for processing speed of the TU task unit, comprising the following steps:
The processing time of TU task unit is determined by timer;
The downloaded file size of calculating task unit;
According to the processing time of TU task unit and downloaded file size, the processing speed of calculating task unit.
5. the downloading task progress according to claim 4 based on block chain regulates and controls method, it is characterised in that: the basis The processing speed of TU task unit and the processing completeness of TU task unit, the step for determining the progress status of each downloading task, The following steps are included:
Ratio between the downloaded file size and pre-download file size of calculating task unit, determines the processing of TU task unit Completeness;
According to the processing completeness of the processing speed of TU task unit and TU task unit, the progress status of each downloading task is determined; Wherein, the progress status includes the state that is completed, unfinished state and beginning state.
6. downloading task progress according to claim 1 based on block chain regulates and controls method, it is characterised in that: further include with Lower step:
For having completed the downloading task of downloading, the corresponding timer of the downloading task is destroyed, and locally discharging the timing The memory that device occupies.
7. the downloading task progress regulator control system based on block chain, it is characterised in that: include:
Module is obtained, distributes corresponding timer for obtaining downloading task set, and for each downloading task;
Identification module, the TU task unit in each downloading task, obtains the identification information of TU task unit for identification;
Broadcast module, for broadcasting the identification information of each TU task unit to block chain;
Processing speed obtains module, for judging whether there is the job order in the node of block chain for each TU task unit The processing speed of member, if so, then directly acquiring the processing speed of TU task unit;Conversely, then in the local computing TU task unit Processing speed is simultaneously uploaded to block chain by processing speed;
State confirmation module, for according to the processing speed of TU task unit and the processing completeness of TU task unit, determine it is each under The progress status of load task;
Display module, for the timer data and progress status progress real-time exhibition to each downloading task;
Local management module destroys the corresponding timer of the downloading task for the downloading task for having completed downloading, and In the memory for locally discharging timer occupancy.
8. the downloading task progress regulator control system according to claim 7 based on block chain, it is characterised in that: the identification Module includes:
First recognition unit, for identification filename of TU task unit;
Second recognition unit, for identification download link of TU task unit;
Third recognition unit, for identification the downloading page address of TU task unit;
4th recognition unit, for identification file type of TU task unit;
5th recognition unit, for identification file size of TU task unit;
Collection unit, for by the filename of TU task unit, download link, downloading page address, file type and file size into Row summarizes, and obtains the identification information of TU task unit.
9. the downloading task progress regulator control system based on block chain, it is characterised in that: include:
At least one processor;
At least one processor, for storing at least one program;
When at least one described program is executed by least one described processor, so that at least one described processor is realized as weighed Benefit requires the downloading task progress described in any one of 1-6 based on block chain to regulate and control method.
10. a kind of storage medium, wherein being stored with the executable instruction of processor, it is characterised in that: the processor is executable Instruction when executed by the processor for executes such as the downloading task of any of claims 1-6 based on block chain Progress regulates and controls method.
CN201910757836.9A 2019-08-16 2019-08-16 Downloading task progress regulation method, system and storage medium based on block chain Pending CN110471989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910757836.9A CN110471989A (en) 2019-08-16 2019-08-16 Downloading task progress regulation method, system and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910757836.9A CN110471989A (en) 2019-08-16 2019-08-16 Downloading task progress regulation method, system and storage medium based on block chain

Publications (1)

Publication Number Publication Date
CN110471989A true CN110471989A (en) 2019-11-19

Family

ID=68510873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910757836.9A Pending CN110471989A (en) 2019-08-16 2019-08-16 Downloading task progress regulation method, system and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN110471989A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176937A (en) * 2021-05-21 2021-07-27 北京字节跳动网络技术有限公司 Task processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095807A (en) * 2012-12-26 2013-05-08 四川九洲电器集团有限责任公司 Method and system of displaying video download progress of front-end equipment in real time
US20170180469A1 (en) * 2015-12-16 2017-06-22 Dell Products L.P. Method and system for forming compute clusters using block chains
CN108696514A (en) * 2018-04-27 2018-10-23 腾讯科技(深圳)有限公司 Resource collects task management method, device, storage medium and system
CN109192288A (en) * 2018-08-21 2019-01-11 广东工业大学 Medicine supply chain electronic contract management method, system and equipment and storage medium
US20190122155A1 (en) * 2017-10-20 2019-04-25 International Business Machines Corporation Blockchain enabled crowdsourcing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095807A (en) * 2012-12-26 2013-05-08 四川九洲电器集团有限责任公司 Method and system of displaying video download progress of front-end equipment in real time
US20170180469A1 (en) * 2015-12-16 2017-06-22 Dell Products L.P. Method and system for forming compute clusters using block chains
US20190122155A1 (en) * 2017-10-20 2019-04-25 International Business Machines Corporation Blockchain enabled crowdsourcing
CN108696514A (en) * 2018-04-27 2018-10-23 腾讯科技(深圳)有限公司 Resource collects task management method, device, storage medium and system
CN109192288A (en) * 2018-08-21 2019-01-11 广东工业大学 Medicine supply chain electronic contract management method, system and equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176937A (en) * 2021-05-21 2021-07-27 北京字节跳动网络技术有限公司 Task processing method and device and electronic equipment
CN113176937B (en) * 2021-05-21 2023-09-12 抖音视界有限公司 Task processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN111083722B (en) Method and device for pushing model and requesting model, and storage medium
CN105135782B (en) A kind of Intelligent refrigerator management system based on Internet of Things
US20070266394A1 (en) Device and a Method for Processing Events and Actions
Wadhwa et al. Decision knowledge sharing: flexible supply chains in KM context
CN107590188A (en) A kind of reptile crawling method and its management system for automating vertical subdivision field
CN108460507A (en) order processing method, transaction system and server
Heiskala et al. Mass customization of services: benefits and challenges of configurable services
CN108960722A (en) Logistics receipts send part dispatching method and device
CN110276074A (en) Distributed training method, device, equipment and the storage medium of natural language processing
Li et al. Equilibrium joining strategies and optimal control of a make‐to‐stock queue
CN109426989A (en) A kind of subscription process method provides method for reserving service and equipment
CN106920158A (en) Order real-time monitoring system based on Storm and Kafka technologies
CN110471989A (en) Downloading task progress regulation method, system and storage medium based on block chain
WO2020229904A1 (en) System and method for actor based simulation of complex system using reinforcement learning
CN103457944A (en) Method and device for pushing information and server
Bucki et al. Modelling Decision‐Making Processes in the Management Support of the Manufacturing Element in the Logistic Supply Chain
CN116777324A (en) Logistics network scheduling method and device
Mes et al. Dynamic threshold policy for delaying and breaking commitments in transportation auctions
Murguzur et al. Run-time variability for context-aware smart workflows
Munkelt et al. An Approach to a Self-organizing Production in Comparison to a Centrally Planned Production.
CN109587198A (en) Graph text information method for pushing and device
CN113159281A (en) Data processing method and data processing device
Zebardast et al. Mass customization in supply chain level: development of a conceptual framework to manage and assess performance
Riezebos Time bucket length and lot-splitting approach
US20140114814A1 (en) Inventory use up on material location level

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220929

Address after: Room 1602, 16th Floor, Building 18, Yard 6, Wenhuayuan West Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176

Applicant after: Beijing Lajin Zhongbo Technology Co.,Ltd.

Address before: 310000 room 650, building 3, No. 16, Zhuantang science and technology economic block, Xihu District, Hangzhou City, Zhejiang Province

Applicant before: Tianmai Juyuan (Hangzhou) Media Technology Co.,Ltd.