CN110166541A - Rendering method, relevant device and system based on block chain - Google Patents
Rendering method, relevant device and system based on block chain Download PDFInfo
- Publication number
- CN110166541A CN110166541A CN201910401701.9A CN201910401701A CN110166541A CN 110166541 A CN110166541 A CN 110166541A CN 201910401701 A CN201910401701 A CN 201910401701A CN 110166541 A CN110166541 A CN 110166541A
- Authority
- CN
- China
- Prior art keywords
- miner
- user terminal
- task
- node
- rendering
- 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
- 238000009877 rendering Methods 0.000 title claims abstract description 171
- 238000000034 method Methods 0.000 title claims abstract description 95
- 238000004364 calculation method Methods 0.000 claims abstract description 42
- 238000003860 storage Methods 0.000 claims abstract description 21
- 238000005516 engineering process Methods 0.000 claims abstract description 11
- 230000005540 biological transmission Effects 0.000 claims description 79
- 238000005194 fractionation Methods 0.000 claims description 2
- 241000208340 Araliaceae Species 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 238000013215 result calculation Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000004904 shortening Methods 0.000 description 5
- 238000007689 inspection Methods 0.000 description 3
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of rendering method based on block chain, include the following steps: that force estimation formula calculates calculation power grade to miner's node, rendering task is split into multiple calculating tasks by user terminal and is sent to server, the server gets the calculating task to rendering task described in miner's node broadcasts, miner's node and completes to calculate from user terminal acquisition rendering file, miner's node and calculated result is sent to the user terminal, the user terminal for the calculated result calculation process to complete the rendering task by calculating.The present invention also provides miner's equipment of the step in the rendering method based on block chain described in a kind of execution, terminal device, server apparatus, rendering systems and computer readable storage medium based on block chain.Compared with the relevant technologies, the present invention is based on the method for the rendering method of block chain, relevant device and systems, and rendering task and highly-safe can be rapidly completed.
Description
[technical field]
The present invention relates to field of communication technology more particularly to a kind of rendering method based on block chain, relevant device and it is
System.
[background technique]
With films and television programs quality and require it is higher and higher, films and television programs carry out rendering be processed into increasingly weigh
The link wanted.Wherein, hardware level is investigated in films and television programs rendering very much, and time-consuming, generally requires a few houres to several weeks
Differ, render time used in usual 2K film be every frame one hour or so, and Hollywood mainstream motion pictures resolution ratio 2K, 4K, 6K,
8K has, and one quality duration of every rising will improve four times.If scene is related to the complicated calculations such as particle, fluid, a frame is drawn
Face may need 10 render times more than hour.
However, the main solution in current shortening rendering period is using technical grade cluster of workstation, as cloud renders
It is (thousands of to up to ten thousand can also to be interpreted as high performance cloud calculator group system by the huge cluster in farm for cloud rendering farm
Platform high-performance rendering node), its mode is similar with conventional cloud computing, i.e., 3 D stereo program is placed on to long-range server
Middle rendering, user terminal terminal through internet or client access resource by high-speed Internet access, and instruction is whole from user terminal
It is issued in end, according to the corresponding rendering task of instruction execution, (distribution multinode multiframe renders server simultaneously, will greatly shorten wash with watercolours
Contaminate the period), and rendering result picture is then transferred back in user terminal terminal and is shown.Build the use of technical grade cluster of workstation
Be high-performance calculation device, cost is high, and when not having rendering task, and cluster of workstation is idle to result in waste of resources.
In addition, films and television programs generally occupy biggish memory space, reducing transmission time-consuming and improving safety is that file transmission faces
Face hang-up, traditional by server pass-through mode, server bandwidth becomes bottleneck, it is more difficult to improve efficiency of transmission;Tradition
Reciprocity P2P transmission be not able to achieve permission control, safety is lower.
Therefore, it is really necessary to provide one kind new method, relevant device and system to solve above-mentioned technical problem.
[summary of the invention]
The purpose of the present invention is overcoming above-mentioned technical problem, a kind of rendering task and highly-safe of being rapidly completed is provided
Rendering method, relevant device and system.
To achieve the goals above, the present invention provides a kind of rendering method based on block chain, and this method includes following step
It is rapid:
Miner's node calculates calculation power grade by calculating force estimation formula according to the parameter information of equipment of itself;
Miner's node connects the server in advance in server registration identity information, leads from the server
It takes calculating task corresponding with the calculation power grade of itself and the user information of the user terminal of the calculating task is provided, it is described
User information includes the network information of the user terminal, and the calculating task includes completing the time limit;
Miner's node connects the user terminal, issues transmission data to the user terminal according to the network information and asks
It asks, then receives the user terminal transmission and rendering file corresponding with the calculating task, which is the user
End carries out the transmission request of data to be transmitted to miner's node after authentication passes through, and the transmission request of data includes institute
State identity information and the calculating task, the institute that the authentication submits reception from the user terminal for the server
It states identity information and carries out CA verifying;
Miner's node completes the calculating to the rendering file within the completion time limit and generates calculated result;
Miner's node submits calculated result to deposit card to the server, and the calculated result deposits card for the service
Device more new task gets list;
Miner's node issues transmission calculated result request to the user terminal, calculates in the user terminal the transmission
As a result after request progress authentication passes through, Xiang Suoshu user terminal transmits the calculated result, the transmission calculated result request
Including the identity information and the calculating task;
Miner's node submits task result to the server.
More preferably, the calculation force estimation formula are as follows:
Wherein, H is the frequency of the graphics processor of every video card in the equipment of itself, C is in the equipment of itself
Every video card the core number of graphics processor, M be every video card in the equipment of itself graphics processor video memory,
N is video card quantity, and i is natural number.
More preferably, miner's node and the user terminal mutual data transmission are transmitted using P-2-P technology.
The present invention also provides a kind of miner's equipment, including processor and memory, the processor is for reading described deposit
Program in reservoir executes the step in the rendering method as described above based on block chain.
The present invention also provides a kind of computer readable storage medium, it is stored with and is based on the computer readable storage medium
The program of the program of the rendering method of block chain, the rendering method based on block chain realizes institute as above when being executed by processor
The step of rendering method based on block chain stated.
The present invention also provides a kind of rendering methods based on block chain, and this method comprises the following steps:
Rendering task is split into multiple calculate and appointed by user terminal according to the calculation power grade and the requirement in completion time limit of selection
Business;
User information is stored in server in advance by the user terminal, connects the server, and rendering task is required to pass
The server is transported to, the user information includes the network information of user terminal, and the rendering task requires to include multiple described
Calculating task and the calculation power grade, the calculating task include completing the time limit;
The user terminal connects miner's node, receives miner's node and issues transmission request of data, then will be described
Transmission request of data is transmitted to the server, and the transmission request of data carries out miner's node for the server
Authentication, the transmission request of data include miner's node in advance in the identity information of the server registration and described
Calculating task, the authentication are that the server carries out CA to the identity information submitted from the user terminal is received
Verifying;
The user terminal receives the server and gets list by sending after the authentication for task;
The user terminal gets list according to the task and the corresponding rendering file of the calculating task is transmitted to institute
State miner's node;
The user terminal receives the transmission calculated result request that miner's node is sent, then by the transmission calculated result
Request is transmitted to the server, and the transmission calculated result request is for the server to described in miner's node progress
Authentication, the transmission request of data includes the identity information and the calculating task;The user terminal receives the clothes
The authentication that business device is sent deposits what card was updated by information and according to the calculated result that miner's node provides
The task gets list;
The user terminal receives miner's node-node transmission calculated result, and the calculated result is miner's node in institute
It states and completes to complete in the time limit to generate the calculating of the rendering file;
The received whole calculated result is carried out calculation process to complete the rendering task by the user terminal.
More preferably, the user terminal formulates the calculating parameter upper limit of the calculating task, the rendering by rendering parameter
Parameter includes rendering frame number range, rendering frame period, task total capacity and the completion time limit, the calculating parameter upper limit packet
Include the number of frames upper limit and maximum size.
More preferably, the task total capacity is rendering file size, and the maximum size is each calculating task
Rendering file size is split.
More preferably, miner's node and the user terminal mutual data transmission are transmitted using P-2-P technology.
The present invention also provides a kind of terminal device, including processor and memory, the processor is for reading described deposit
Program in reservoir executes the step in the rendering method as described above based on block chain.
The present invention also provides a kind of computer readable storage medium, it is stored with and is based on the computer readable storage medium
The program of the program of the rendering method of block chain, the rendering method based on block chain realizes institute as above when being executed by processor
The step of rendering method based on block chain stated.
The present invention also provides a kind of rendering methods based on block chain, and this method comprises the following steps:
The identity information of miner's Node registry and the user information of user terminal, the user information packet is stored in advance in server
Include the network information of the user terminal;
The server connects the user terminal, receives the mission bit stream that the user terminal is transmitted to, the mission bit stream
Including calculating power grade and calculating task;
The server connects miner's node, and mission bit stream described in Xiang Suoshu miner's node broadcasts confirms the mine
The calculating task that work node is got and the calculation power grade of its own are to matching, if matching, by the calculating task and
The user information for providing the user terminal of the calculating task is transmitted to miner's node, then by the calculating task and gets
The information of the calculating task is collected into task and gets list, and the calculating task includes completing the time limit;
The server receives the transmission request of data that the user terminal is sent, and gets list to described according to the task
Transmission request of data carries out miner's node progress authentication and gets the task if the authentication passes through
List is sent to the user terminal, and the transmission request of data includes the identity information and the calculating task, the identity
It is verified as the server and carries out CA verifying to the identity information submitted from the user terminal is received;
The server receives the calculated result that miner's node is sent and deposits card, deposits card according to the calculated result and carries out
The task updated gets list;
The server receives the transmission request of data that the user terminal is sent, and gets column according to the updated task
Table carries out miner's node to the transmission request of data and carries out authentication, if the authentication passes through, will update
The task afterwards gets list and is sent to the user terminal, and the transmission request of data includes the identity information and the meter
Calculation task;
The server receives miner's node and submits task result, and unites to whole task results
Meter, and the statistical result is sent to the user terminal.
More preferably, the server executes automatically tests with the data exchange and identity of miner's node and the user terminal
Card.
The present invention also provides a kind of server apparatus, including processor and memory, the processor is described for reading
Program in memory executes the step in the rendering method as described above based on block chain.
The present invention also provides a kind of computer readable storage medium, it is stored with and is based on the computer readable storage medium
The program of the program of the rendering method of block chain, the rendering method based on block chain realizes institute as above when being executed by processor
The step of rendering method based on block chain stated.
The present invention also provides a kind of rendering systems based on block chain, including miner's equipment as described above, end as described above
End equipment and server apparatus as described above.
Compared with prior art, a kind of rendering method based on block chain of the invention includes the following steps: miner's node
Calculation power grade is calculated by calculating force estimation formula, rendering task is split into multiple calculating tasks by user terminal and is sent to service
Device, the server to rendering task described in miner's node broadcasts, miner's node get the calculating task and from
The user terminal obtains rendering file, miner's node is completed to calculate and calculated result is sent to the user terminal, described
User terminal is by the calculated result calculation process to complete the rendering task.It is sharp in the rendering method based on block chain
Assess described in miner's node calculation power grade with the calculation force estimation mode, and the user terminal is by the rendering task
Multiple calculating tasks are split into, recycle block chain to quickly complete the rendering task, wherein to pass through the miner
Node and the user terminal carry out passing through inspection institute by the server by directly transmission rendering file and calculated result
The identity information for stating miner's node carries out CA verifying and completes authentication, to reach the target for improving safety, and reaches
To the purpose for shortening the rendering period, rendering task is rapidly completed to realize.And the present invention also provides be based on described in a kind of execution
Miner's equipment of step in the rendering method of block chain, terminal device, server apparatus, the rendering system based on block chain and
Computer readable storage medium, because application execution it is of the invention described in rendering method based on block chain the step of, and can be fast
Speed completes rendering task and highly-safe.
[Detailed description of the invention]
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing, in which:
Fig. 1 is a kind of schematic diagram of the hardware configuration of the rendering method based on block chain of the present invention;
Fig. 2 is a kind of flow diagram of the rendering method based on block chain of the present invention;
Fig. 3 is the flow diagram of another rendering method based on block chain of the present invention;
Fig. 4 is other a kind of flow diagrams of the rendering method based on block chain of the invention;
Fig. 5 is a kind of structural block diagram of the rendering system based on block chain of the present invention.
[specific embodiment]
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiments are merely a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic diagram of the hardware configuration of the rendering method based on block chain of the present invention.Wherein,
This method is based on block chain, includes tripartite: miner's node 1, user terminal 2 and server 3 on the block chain.
Miner's node 1 is the computing terminal on chain, and miner's node and 3 data connection of server are described
With the hardware of video card in the equipment of miner's node 1, the video card is for handling calculation procedure.Miner's node 1 respectively with institute
State 3 data connection of user terminal 2 and the server.
The user terminal 2 is the initiator of rendering task, and the user terminal 2 distinguishes miner's node 1 and the service
3 data connection of device.
The server 3 respectively with 2 data connection of miner's node 1 and the user terminal.
Referring to Fig. 2, the present invention provides a kind of rendering method based on block chain, this method is applied to miner's node
1。
This method comprises the following steps:
Step S11, miner's node 1 calculates calculation power etc. by calculating force estimation formula according to the parameter information of equipment of itself
Grade.
Wherein, the calculation force estimation formula are as follows:
Wherein, H is the frequency of the graphics processor of every video card in the equipment of itself, C is in the equipment of itself
Every video card the core number of graphics processor, M be every video card in the equipment of itself graphics processor video memory,
N is video card quantity, and i is natural number.
The calculation power (also referred to as Hash rate) said at present is mainly the linear module of bit coin network throughput.As computer
(CPU) speed of hash function output is calculated.Bit coin network carries out intensive mathematics and encryption necessary for security purpose
Relevant operation.For example, when network reaches the Hash rate of 10Th/s, it is meant that it can 10 trillion times calculating of progress per second.
Existing calculation power does not account for the influence of core number and memory to calculated performance, can not objective embodiment machine rendering
The calculation power of aspect is calculated, the scene for calculating Hash is only applicable in, and belong to subsequent calculating, cannot estimate in advance.In the step
The calculation force estimation formula in S11 comprehensively considers the objective factor for influencing rendering computing capability, provides a kind of completely new calculation power
Formula is assessed, the rendering computing capability of machine can be objectively evaluated in advance.
Step S12, described miner's node 1 connects the server 3 in advance in 3 enrollment status information of server, from institute
Server 3 is stated to get calculating task corresponding with the calculation power grade of itself and the user terminal 2 of the calculating task is provided
User information.Wherein, the user information includes the network information of the user terminal 2, and the calculating task includes completing the time limit.
Step S13, described miner's node 1 connects the user terminal 2, is sent out according to the network information to the user terminal 2
Request of data is transmitted out, then receives the transmission of user terminal 2 and rendering file corresponding with the calculating task.In this implementation
In mode, miner's node 1 is transmitted with 2 mutual data transmission of user terminal using P-2-P technology.The point-to-point skill
Art (peer-to-peer, abbreviation P2P) is also known as reciprocity internet technique, is a kind of new network, relies on and participates in network
The computing capability and bandwidth of person, rather than be all gathered on several less servers relying on.Wherein, the rendering file is
The user terminal 2 carries out the transmission request of data to be transmitted to miner's node 1, the transmission data after authentication passes through
Request includes the identity information and the calculating task, and the authentication is 3 pairs of the server and receives from the use
The identity information that family end 2 is submitted carries out CA verifying.
Step S14, described miner's node 1 completes the calculating to the rendering file within the completion time limit and generates meter
Calculate result.
Step S15, described miner's node 1 submits calculated result to deposit card to the server 3.Wherein, the calculated result
It deposits card and gets list for the more new task of server 3.
Step S16, described miner's node 1 issues transmission calculated result request to the user terminal 2, in the user terminal 2
After requesting progress authentication to pass through the transmission calculated result, Xiang Suoshu user terminal 2 transmits the calculated result.Wherein, institute
Stating transmission calculated result request includes miner's node 1CA and the calculating task.
Step S17, described miner's node 1 submits task result to the server 3.
In summary step, miner's node 1 can objectively evaluate machine by the calculation force estimation formula in advance
Computing capability is rendered, rendering task is rapidly completed based on the realization of block chain to realize.Miner's node 1 and the user terminal 2
It carries out passing through inspection institute by directlying adopt P-2-P technology transmission rendering file and calculated result, and by the server 3
The identity information for stating miner's node carries out CA verifying and completes authentication, to reach the target for improving safety, and reaches
To the purpose for shortening the rendering period, rendering task is rapidly completed to realize.
Referring to Fig. 5, the present invention also provides a kind of miner's equipment 4, including processor 41 and memory 42, the processor
41 for reading program in the memory 42, in executions described in the rendering method based on block chain in step.
The present invention also provides a kind of computer readable storage medium, it is stored with and is based on the computer readable storage medium
The program of the program of the rendering method of block chain, the rendering method based on block chain realizes institute as above when being executed by processor
The step of rendering method based on block chain stated.
Referring to Fig. 3, the present invention provides the rendering method based on block chain, this method is applied to the user terminal 2, the party
Method includes the following steps:
Step S21, user terminal 2 splits into rendering task more according to the calculation power grade and the requirement in completion time limit of selection
A calculating task.Wherein, the user terminal 2 formulates the calculating parameter upper limit of the calculating task, the wash with watercolours by rendering parameter
Contaminating parameter includes rendering frame number range, rendering frame period, task total capacity and the completion time limit, the calculating parameter upper limit
Including the number of frames upper limit and maximum size.In the present embodiment, the task total capacity is rendering file size, the capacity
The upper limit is that the fractionation of each calculating task renders file size.
Step S22, user information is stored in server 3 in advance by the described user terminal 2, is connected the server 3, will be rendered
Mission requirements are transmitted to the server 3.Wherein, the user information includes the network information of user terminal 2, the rendering task
Multiple calculating tasks and the calculation power grade are required to include, the calculating task includes completing the time limit.
Step S23, the described user terminal 2 connects miner's node 1, receives the sending of the miner's node 1 transmission data and asks
It asks, then the transmission request of data is transmitted to the server 3.Wherein, the transmission request of data is used for the server 3
Authentication is carried out to miner's node 1, the transmission request of data includes believing in advance in the identity of the server 3 registration
Breath and the calculating task, the authentication are 3 pairs of the server and receive the identity submitted from the user terminal 2
Information carries out CA verifying.
Step S24, the described user terminal 2 receives the server 3 and gets column by sending after the authentication for task
Table.
Step S25, the described user terminal 2 gets list for the corresponding rendering file of the calculating task according to the task
It is transmitted to miner's node 1.In the present embodiment, miner's node 1 is used with 2 mutual data transmission of user terminal
P-2-P technology transmission.
Step S26, the described user terminal 2 receives the transmission calculated result request that miner's node 1 is sent, then by the biography
Defeated calculated result request is transmitted to the server 3.Wherein, the transmission calculated result request is used for 3 pairs of institutes of the server
It states miner's node 1 and carries out the authentication, the transmission request of data includes the identity information and the calculating task;Institute
It states user terminal 2 and receives the meter that the authentication that the server 3 is sent passes through information and provides according to miner's node 1
Calculation result deposits the task that card is updated and gets list.
Step S27, the described user terminal 2 receives miner's node 1 and transmits calculated result.Wherein, the calculated result is
Miner's node 1 was completed to generate the calculating of the rendering file within the completion time limit.
Step S28, the received whole calculated result is carried out calculation process to complete the rendering by the described user terminal 2
Task.
In summary step, the user terminal 2 make full use of block by the way that rendering task is split into multiple calculating tasks
The slack resources of miner's node 1 on chain, so as to which rendering task is rapidly completed based on the realization of block chain.In addition, institute
User terminal 2 and miner's node 1 are stated by directlying adopt P-2-P technology transmission rendering file and calculated result, and passes through institute
It states server 3 to carry out completing authentication by examining the identity information of miner's node to carry out CA verifying, to reach
To the target of raising safety, and achieve the purpose that shorten the rendering period, rendering task is rapidly completed to realize.
Referring to Fig. 5, the present invention also provides a kind of terminal device 5, including processor 51 and memory 52, the processor
51, for reading the program in the memory 52, execute the step in the rendering method as described above based on block chain.
The present invention also provides a kind of computer readable storage medium, it is stored with and is based on the computer readable storage medium
The program of the program of the rendering method of block chain, the rendering method based on block chain realizes institute as above when being executed by processor
The step of rendering method based on block chain stated.
Referring to Fig. 4, the present invention provides the rendering method based on block chain, this method is applied to the server 3, the party
Method includes the following steps:
Step S31, the identity information of the registration of miner's node 1 and the user information of user terminal 2 is stored in advance in server 3.Its
In, the user information includes the network information of the user terminal 2.
Step S32, the described server 3 connects the user terminal 2, receives the mission bit stream that the user terminal 2 is transmitted to.Its
In, the mission bit stream includes calculating power grade and calculating task.In the present embodiment, the automatic execution of the server 3 and institute
The data exchange and authentication of miner's node 1 and the user terminal 2 are stated, it is quickly complete which can more quickly propel realization
At rendering task.
Step S33, the described server 3 connects miner's node 1, and Xiang Suoshu miner's node 1 broadcasts the mission bit stream,
Confirm that the calculating task that miner's node 1 is got and the calculation power grade of its own should if matching to matching
Calculating task and the user information of the user terminal 2 for providing the calculating task are transmitted to miner's node 1, then by the meter
Calculation task and the information for getting the calculating task are collected into task and get list.Wherein, the calculating task includes completing the time limit.
Step S34, the described server 3 receives the transmission request of data that the user terminal 2 is sent, and is got according to the task
List carries out miner's node 1 to the transmission request of data and carries out authentication, if the authentication passes through, by institute
The task of stating gets list and is sent to the user terminal 2.Wherein, the transmission request of data includes the identity information and the meter
Calculation task, the authentication are 3 pairs of the server and receive the identity information progress CA submitted from the user terminal 2
Verifying.
Step S35, the described server 3 receives the calculated result that miner's node 1 is sent and deposits card, is tied according to the calculating
Fruit deposits the task that card is updated and gets list.
Step S36, the described server 3 receives the transmission request of data that the user terminal 2 is sent, according to updated described
Task gets list and carries out the progress of miner's node 1 authentication to the transmission request of data, if the authentication is logical
It crosses, then the updated task is got into list and be sent to the user terminal 2.Wherein, the transmission request of data includes institute
State identity information and the calculating task.
Step S37, the described server 3 receives miner's node 1 and submits task result, and to whole task knots
Fruit is counted, and the statistical result is sent to the user terminal 2.
The rendering task of the user terminal 2 is assigned to each described by summary step, the realization of server 3
Miner's node 1, and the calculated result of miner's node 1 is subjected to result verification and is sent to the user terminal 2, thus
Rendering task can be rapidly completed based on the realization of block chain.In addition, being directlyed adopt in miner's node 1 and the user terminal 2
P-2-P technology transmission rendering file and calculated result, and carried out by the server 3 by examining miner's node
The identity information carries out CA verifying and completes authentication, to reach the target for improving safety, and reaches shortening rendering week
Rendering task is rapidly completed to realize in the purpose of phase.
Referring to Fig. 5, the present invention also provides a kind of server apparatus 6, including processor 61 and memory 62, the processing
Device 61 is used to read the program in the memory 62, executes the step in the rendering method as described above based on block chain.
The present invention also provides a kind of computer readable storage medium, it is stored with and is based on the computer readable storage medium
The program of the program of the rendering method of block chain, the rendering method based on block chain realizes institute as above when being executed by processor
The step of rendering method based on block chain stated.
Referring to Fig. 5, the present invention also provides a kind of rendering systems 200 based on block chain, including such as claim 10 institute
State miner's equipment 4, terminal device as claimed in claim 11 5 and server apparatus 6 as claimed in claim 12.
Compared with prior art, a kind of rendering method based on block chain of the invention includes the following steps: miner's node
Calculation power grade is calculated by calculating force estimation formula, rendering task is split into multiple calculating tasks by user terminal and is sent to service
Device, the server to rendering task described in miner's node broadcasts, miner's node get the calculating task and from
The user terminal obtains rendering file, miner's node is completed to calculate and calculated result is sent to the user terminal, described
User terminal is by the calculated result calculation process to complete the rendering task.It is sharp in the rendering method based on block chain
Assess described in miner's node calculation power grade with the calculation force estimation mode, and the user terminal is by the rendering task
Multiple calculating tasks are split into, recycle block chain to quickly complete the rendering task, wherein to pass through the miner
Node and the user terminal carry out passing through inspection institute by the server by directly transmission rendering file and calculated result
The identity information for stating miner's node carries out CA verifying and completes authentication, to reach the target for improving safety, and reaches
To the purpose for shortening the rendering period, rendering task is rapidly completed to realize.And the present invention also provides be based on described in a kind of execution
Miner's equipment of step in the rendering method of block chain, terminal device, server apparatus, the rendering system based on block chain and
Computer readable storage medium, because application execution it is of the invention described in rendering method based on block chain the step of, and can be fast
Speed completes rendering task and highly-safe.
Above-described is only embodiments of the present invention, it should be noted here that for those of ordinary skill in the art
For, without departing from the concept of the premise of the invention, improvement can also be made, but these belong to protection model of the invention
It encloses.
Claims (16)
1. a kind of rendering method based on block chain, which is characterized in that this method comprises the following steps:
Miner's node calculates calculation power grade by calculating force estimation formula according to the parameter information of equipment of itself;
Miner's node connects the server in advance in server registration identity information, from the server get with
The user information of the user terminal of itself the corresponding calculating task of the calculation power grade and the offer calculating task, the user
Information includes the network information of the user terminal, and the calculating task includes completing the time limit;
Miner's node connects the user terminal, issues transmission request of data to the user terminal according to the network information,
The user terminal transmission and rendering file corresponding with the calculating task are received again, which is the user terminal pair
The transmission request of data carries out being transmitted to miner's node after authentication passes through, and the transmission request of data includes the body
Part information and the calculating task, the authentication are the body that the server submits reception from the user terminal
Part information carries out CA verifying;
Miner's node completes the calculating to the rendering file within the completion time limit and generates calculated result;
Miner's node submits calculated result to deposit card to the server, and the calculated result deposits card and is used for the server more
New task gets list;
Miner's node issues transmission calculated result request to the user terminal, in the user terminal to the transmission calculated result
After request progress authentication passes through, Xiang Suoshu user terminal transmits the calculated result, and the transmission calculated result request includes
The identity information and the calculating task;
Miner's node submits task result to the server.
2. the rendering method according to claim 1 based on block chain, which is characterized in that the calculation force estimation formula are as follows:
Wherein, H is the frequency of the graphics processor of every video card in the equipment of itself, C is every in the equipment of itself
Core number, the M of the graphics processor of video card are opened for the video memory of the graphics processor of every video card in the equipment of itself, and n is
Video card quantity, i are natural number.
3. the rendering method according to claim 1 based on block chain, which is characterized in that miner's node and the use
Family end mutual data transmission is transmitted using P-2-P technology.
4. a kind of rendering method based on block chain, which is characterized in that this method comprises the following steps:
Rendering task is split into multiple calculating tasks according to the calculation power grade and the requirement in completion time limit of selection by user terminal;
User information is stored in server in advance by the user terminal, connects the server, and rendering task is required to be transmitted to
The server, the user information include the network information of user terminal, and the rendering task requires to include multiple calculating
Task and the calculation power grade, the calculating task include completing the time limit;
The user terminal connects miner's node, receives miner's node and issues transmission request of data, then by the transmission
Request of data is transmitted to the server, and the transmission request of data carries out identity to miner's node for the server
Verifying, the transmission request of data includes miner's node in advance in the identity information of the server registration and the calculating
Task, the authentication are that the server is tested the identity information progress CA submitted from the user terminal is received
Card;
The user terminal receives the server and gets list by sending after the authentication for task;
The user terminal gets list according to the task and the corresponding rendering file of the calculating task is transmitted to the mine
Work node;
The user terminal receives the transmission calculated result request that miner's node is sent, then the transmission calculated result is requested
It is transmitted to the server, the transmission calculated result request carries out the identity to miner's node for the server
Verifying, the transmission request of data includes the identity information and the calculating task;The user terminal receives the server
Send the authentication by information and according to miner's node provide calculated result deposit demonstrate,prove be updated described in
Task gets list;
The user terminal receives miner's node-node transmission calculated result, and the calculated result is miner's node described complete
At the calculating generation completed in the time limit to the rendering file;
The received whole calculated result is carried out calculation process to complete the rendering task by the user terminal.
5. the rendering method according to claim 4 based on block chain, which is characterized in that the user terminal passes through rendering ginseng
Numeral system determines the calculating parameter upper limit of the calculating task, and the rendering parameter includes rendering frame number range, rendering frame period, task
Total capacity and the completion time limit, the calculating parameter upper limit include the number of frames upper limit and maximum size.
6. the rendering method according to claim 5 based on block chain, which is characterized in that the task total capacity is rendering
File size, the maximum size are that the fractionation of each calculating task renders file size.
7. the rendering method according to claim 4 based on block chain, which is characterized in that miner's node and the use
Family end mutual data transmission is transmitted using P-2-P technology.
8. a kind of rendering method based on block chain, which is characterized in that this method comprises the following steps:
The identity information of miner's Node registry and the user information of user terminal is stored in advance in server, and the user information includes institute
State the network information of user terminal;
The server connects the user terminal, receives the mission bit stream that the user terminal is transmitted to, the mission bit stream includes
Calculate power grade and calculating task;
The server connects miner's node, and mission bit stream described in Xiang Suoshu miner's node broadcasts confirms miner's section
The calculating task and the calculation power grade of its own that point is got are to matching, if matching, by the calculating task and provides
The user information of the user terminal of the calculating task is transmitted to miner's node, then by the calculating task and gets the meter
The information of calculation task is collected into task and gets list, and the calculating task includes completing the time limit;
The server receives the transmission request of data that the user terminal is sent, and gets list to the transmission according to the task
Request of data carries out miner's node progress authentication and the task is got list if the authentication passes through
It is sent to the user terminal, the transmission request of data includes the identity information and the calculating task, the authentication
CA verifying is carried out to the identity information submitted from the user terminal is received for the server;
The server receives the calculated result that miner's node is sent and deposits card, deposits card according to the calculated result and is updated
The task get list;
The server receives the transmission request of data that the user terminal is sent, and gets list pair according to the updated task
The transmission request of data carries out miner's node progress authentication will be updated if the authentication passes through
The task gets list and is sent to the user terminal, and the transmission request of data includes that the identity information and described calculate are appointed
Business;
The server receives miner's node and submits task result, and counts to whole task results, and
The statistical result is sent to the user terminal.
9. the rendering method according to claim 8 based on block chain, which is characterized in that the server execute automatically with
The data exchange and authentication of miner's node and the user terminal.
10. a kind of miner's equipment, which is characterized in that including processor and memory, the processor is for reading the storage
Program in device executes the step in the rendering method as claimed any one in claims 1 to 3 based on block chain.
11. a kind of terminal device, which is characterized in that including processor and memory, the processor is for reading the storage
Program in device executes the step in the rendering method based on block chain as described in any one of claim 4 to 7.
12. a kind of server apparatus, which is characterized in that including processor and memory, the processor is for reading described deposit
Program in reservoir executes the step in the rendering method based on block chain as described in any one of claim 8 to 9.
13. a kind of rendering system based on block chain, including miner's equipment as claimed in claim 10, as claimed in claim 11
Terminal device and server apparatus as claimed in claim 12.
14. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium based on area
It realizes when the program of the program of the rendering method of block chain, the rendering method based on block chain is executed by processor as right is wanted
The step of rendering method based on block chain described in asking any one of 1 to 3.
15. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium based on area
It realizes when the program of the program of the rendering method of block chain, the rendering method based on block chain is executed by processor as right is wanted
The step of rendering method based on block chain described in asking any one of 4 to 7.
16. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium based on area
It realizes when the program of the program of the rendering method of block chain, the rendering method based on block chain is executed by processor as right is wanted
The step of rendering method based on block chain described in asking any one of 8 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910401701.9A CN110166541B (en) | 2019-05-14 | 2019-05-14 | Rendering method based on block chain, related equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910401701.9A CN110166541B (en) | 2019-05-14 | 2019-05-14 | Rendering method based on block chain, related equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110166541A true CN110166541A (en) | 2019-08-23 |
CN110166541B CN110166541B (en) | 2022-03-15 |
Family
ID=67634759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910401701.9A Expired - Fee Related CN110166541B (en) | 2019-05-14 | 2019-05-14 | Rendering method based on block chain, related equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110166541B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110611702A (en) * | 2019-08-29 | 2019-12-24 | 思力科(深圳)电子科技有限公司 | Block chain file rapid transmission method, equipment, system and storage medium |
CN111045826A (en) * | 2019-12-17 | 2020-04-21 | 四川省建筑设计研究院有限公司 | Computing method and system for distributed parallel rendering of local area network environment |
CN111951363A (en) * | 2020-07-16 | 2020-11-17 | 广州玖的数码科技有限公司 | Cloud computing chain-based rendering method and system and storage medium |
CN112600919A (en) * | 2020-12-10 | 2021-04-02 | 中国科学院深圳先进技术研究院 | Equipment computing power evaluation method and system based on PoW consensus mechanism |
CN113157444A (en) * | 2021-03-29 | 2021-07-23 | 中国联合网络通信集团有限公司 | Computing power service authentication method, device and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103336719A (en) * | 2013-06-04 | 2013-10-02 | 江苏科技大学 | Distribution rendering system and method in P2P mode |
US20180210715A1 (en) * | 2017-01-25 | 2018-07-26 | Wal-Mart Stores, Inc. | Systems, method, and non-transitory computer-readable storage media for generating code for displaying a webpage |
CN108650291A (en) * | 2018-03-26 | 2018-10-12 | 南京思利华信息科技有限公司 | A kind of GPU task common recognition method and device based on calculation power |
CN109685503A (en) * | 2018-12-07 | 2019-04-26 | 思力科(深圳)电子科技有限公司 | Referee method based on block chain data safety |
US20190139181A1 (en) * | 2017-11-06 | 2019-05-09 | Basemark Oy | Combined rendering and computing resource allocation management system |
-
2019
- 2019-05-14 CN CN201910401701.9A patent/CN110166541B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103336719A (en) * | 2013-06-04 | 2013-10-02 | 江苏科技大学 | Distribution rendering system and method in P2P mode |
US20180210715A1 (en) * | 2017-01-25 | 2018-07-26 | Wal-Mart Stores, Inc. | Systems, method, and non-transitory computer-readable storage media for generating code for displaying a webpage |
US20190139181A1 (en) * | 2017-11-06 | 2019-05-09 | Basemark Oy | Combined rendering and computing resource allocation management system |
CN108650291A (en) * | 2018-03-26 | 2018-10-12 | 南京思利华信息科技有限公司 | A kind of GPU task common recognition method and device based on calculation power |
CN109685503A (en) * | 2018-12-07 | 2019-04-26 | 思力科(深圳)电子科技有限公司 | Referee method based on block chain data safety |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110611702A (en) * | 2019-08-29 | 2019-12-24 | 思力科(深圳)电子科技有限公司 | Block chain file rapid transmission method, equipment, system and storage medium |
CN110611702B (en) * | 2019-08-29 | 2022-04-01 | 魏松杰 | Block chain file rapid transmission method, equipment, system and storage medium |
CN111045826A (en) * | 2019-12-17 | 2020-04-21 | 四川省建筑设计研究院有限公司 | Computing method and system for distributed parallel rendering of local area network environment |
CN111951363A (en) * | 2020-07-16 | 2020-11-17 | 广州玖的数码科技有限公司 | Cloud computing chain-based rendering method and system and storage medium |
CN112600919A (en) * | 2020-12-10 | 2021-04-02 | 中国科学院深圳先进技术研究院 | Equipment computing power evaluation method and system based on PoW consensus mechanism |
CN113157444A (en) * | 2021-03-29 | 2021-07-23 | 中国联合网络通信集团有限公司 | Computing power service authentication method, device and readable storage medium |
CN113157444B (en) * | 2021-03-29 | 2023-12-01 | 中国联合网络通信集团有限公司 | Method and device for authenticating computing power service and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110166541B (en) | 2022-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110166541A (en) | Rendering method, relevant device and system based on block chain | |
US20200304508A1 (en) | Method and device for providing authentication in network-based media processing (nbmp) system | |
US11568257B2 (en) | Secure cloud-based machine learning without sending original data to the cloud | |
CN105074702B (en) | The Database Systems of single tenant and multi-tenant environment are provided | |
CN108683747A (en) | Resource acquisition, distribution, method for down loading, device, equipment and storage medium | |
US8069251B2 (en) | System and/or method for client-driven server load distribution | |
CN106446067A (en) | Transaction data acquisition method and apparatus | |
US11783339B2 (en) | Methods and apparatuses for transferring transaction based on blockchain integrated station | |
US11463330B2 (en) | System and methods for scalable cloud-based platform and related applications | |
US10038759B2 (en) | Method, management server, and computer-readable storage medium for supporting provision of service desired by client terminal by adaptively modifying network topology depending on properties of service | |
CN104010228B (en) | A kind of apparatus and method of peer media stream for the adjust automatically based on level | |
CN112261094A (en) | Message processing method and proxy server | |
WO2021086652A1 (en) | Repository for network telemetry data | |
CN110489240A (en) | Image-recognizing method, device, cloud platform and storage medium | |
CN115718868A (en) | Model training method, device and system | |
Von Maltitz et al. | A performance and resource consumption assessment of secret sharing based secure multiparty computation | |
US20200143583A1 (en) | Cloud render service framework for low power playback devices | |
US9288116B2 (en) | System and method for NAS server test load generation | |
CN110119315A (en) | Rendering method, relevant device and system based on block chain | |
CN111756784B (en) | Session method, session device, computer equipment and medium | |
CN108156253A (en) | A kind of data transmission method, apparatus and system | |
Gortázar et al. | Cost-effective load testing of WebRTC applications | |
CN116467081A (en) | Data processing method, device, equipment and computer readable storage medium | |
CN110932879A (en) | Network performance test method, data processing device and storage medium | |
CN106060155B (en) | The method and device of P2P resource-sharing |
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: 20200513 Address after: 210094 Xuanwu District, Jiangsu, Xiaolingwei 200, Nanjing Applicant after: Wei Songjie Address before: 518000 Tailing Building 903, 5022 Fifth Avenue, Bantian Street, Longgang District, Shenzhen City, Guangdong Province Applicant before: SILICON (SHENZHEN) ELECTRONIC TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
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: 20220315 |