CN110401715A - Resource collects task management method, device, storage medium and system - Google Patents

Resource collects task management method, device, storage medium and system Download PDF

Info

Publication number
CN110401715A
CN110401715A CN201910678946.6A CN201910678946A CN110401715A CN 110401715 A CN110401715 A CN 110401715A CN 201910678946 A CN201910678946 A CN 201910678946A CN 110401715 A CN110401715 A CN 110401715A
Authority
CN
China
Prior art keywords
task
resource
data
block
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910678946.6A
Other languages
Chinese (zh)
Other versions
CN110401715B (en
Inventor
刘焕新
尚志豪
周洪飞
王慧星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing 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 Tencent Technology Shenzhen Co Ltd, Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910678946.6A priority Critical patent/CN110401715B/en
Publication of CN110401715A publication Critical patent/CN110401715A/en
Application granted granted Critical
Publication of CN110401715B publication Critical patent/CN110401715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • 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/10Protocols in which an application is distributed across nodes in the network

Abstract

The embodiment of the invention discloses a kind of resources to collect task management method, device, storage medium and system, belongs to Internet technical field.This method is applied to block chain network, block chain network includes multiple application servers as back end, each back end configures identical block chain, method includes: to receive the resource that terminal is sent to collect task posting request, and the resource collects task posting request and carries the task data that the resource collects task;The 4th block for recording the task data is generated according to the characteristic value of third block in the task data and the block chain, the 4th block is added in the block chain of each back end configuration, obtains updated block chain.The characteristic that the data of block chain can not distort is utilized in the embodiment of the present invention, avoids task data and loses or be tampered, ensure that the safety and reliability of task data.

Description

Resource collects task management method, device, storage medium and system
The application is submission on 04 27th, 2018, application No. is 201810392313.4, entitled " resource collections The divisional application of the Chinese patent application of task management method, device, storage medium and system ", entire contents pass through reference It is incorporated in the present application.
Technical field
The present embodiments relate to Internet technical field, in particular to a kind of resource collect task management method, device, Storage medium and system.
Background technique
With the fast development of Internet technology and universal, the operation of every aspect can pass through internet in people's life It realizes.Currently in order to meeting the needs of people collect resource, there are many crowds in internet and raise platform, fund raising Fang Zhong raises flat Crowd is issued on platform and raises task, and crowd's task of raising is invested by one or more investors, a certain number of resource transfers are given Fund raising side, so that the side of fund raising be helped to realize the purpose for collecting resource.
Fig. 1 is a kind of flow diagram for collection resource that the relevant technologies provide, and Fig. 2 is a kind of crowd that the relevant technologies provide Raise the structural schematic diagram of platform.Referring to Fig. 1 and Fig. 2, crowd, which raises platform configuration, application server and storage system, and fund raising side passes through Applications client raises task to application server application publication crowd, and the task data that application server raises task to crowd is examined Core, task data centralization is stored in storage system by audit after, and is shown by applications client, for Each investor checks.After investor checks task data by applications client, it can request to invest crowd's task of raising, The resource of the first quantity is transferred to fund raising side from investor by application server, and generated resource transfers data are stored In storage system.
During realizing the embodiment of the present invention, inventor find the relevant technologies the prior art has at least the following problems: crowd raise appoint The resource transfers data centralization of business is stored in storage system, it is easy to be lost or is tampered, lead to resource transfers data Safety and reliability it is poor.
Summary of the invention
The embodiment of the invention provides a kind of resources to collect task management method, device, storage medium and system, can solve Certainly the relevant technologies there are the problem of.The technical solution is as follows:
In a first aspect, providing a kind of resource collection task management method, it is applied to block chain network, the block link network Network includes multiple application servers as back end, and each back end configures identical block chain, and the block chain is used In the task data for storing each resource collection task, which comprises
Application server receives the resource that terminal is sent and collects task posting request, and the resource collects task posting request Carry the task data that the resource collects task;
It is generated according to the characteristic value of third block in the task data and the block chain for recording the number of tasks According to the 4th block, each back end configuration block chain in add the 4th block, obtain updated block chain, 4th block described in the updated block chain becomes next block of the third block.
Second aspect provides a kind of resource collection task management method, is applied in terminal, which comprises
The administration interface provided by application server, display resource collect the task data and progress data of task, institute Progress data is stated for indicating that the resource collects the collection progress of task;
It is operated by the resource transfers that administration interface detection collects task to the resource;
Resource transfers request is sent to the application server, obtain after resource transfers operate by the application server Resource transfers data are taken, the resource transfers data include at least the first terminal and collect the money that task shifts to the resource Source quantity is generated according to the characteristic value of the first block in the resource transfers data and the block chain for recording the money The second block of data is shifted in source, adds secondth area in the block chain of each back end configuration in block chain network Block, obtains updated block chain, and the second block described in the updated block chain becomes the next of first block A block;
Wherein, the block chain network includes multiple application servers as back end, each back end configuration Identical block chain, the block chain are used to store the task data that each resource collects task.
The third aspect provides a kind of resource collection task management method, which is characterized in that it is applied in terminal, it is described Method includes:
Show that the administration interface that application server provides, the application server are the back end in block chain network, The block chain network includes multiple application servers as back end, and each back end configures identical block chain;
Publication operation is detected by the administration interface, the publication operation includes that resource to be released collects appointing for task Business data;
Resource is sent to the application server and collects task posting request, and the resource is collected task posting request and carried The task data, it is raw according to the characteristic value of third block in the task data and the block chain by the application server At the 4th block for recording the task data, the described 4th is added in the block chain of each back end configuration Block makes the 4th block become next block of the third block.
Fourth aspect provides a kind of resource collection task management device, the application server applied to block chain network In, the block chain network includes multiple application servers as back end, and each back end configures identical block Chain, the block chain are used to store the task data that each resource collects task, and described device includes:
Receiving module, the resource for receiving terminal transmission collect task posting request, and the resource collects task publication Request carries the task data that the resource collects task;
Block processes module is generated for the characteristic value according to third block in the task data and the block chain and is used In the 4th block for recording the task data, the 4th block is added in the block chain of each back end configuration, is obtained To updated block chain, the 4th block described in the updated block chain becomes next area of the third block Block.
5th aspect provides a kind of resource collection task management device, is applied in terminal, described device includes:
Display module, the administration interface for being provided by application server, display resource collect the task data of task And progress data, the progress data are used to indicate that the resource to collect the collection progress of task;
Detection module, the resource transfers for collecting task to the resource by administration interface detection operate;
Sending module is provided for sending resource transfers request to the application server by the application server Resource transfers data are obtained after the transfer operation of source, the resource transfers data include at least the first terminal and receive to the resource The resource quantity of set task transfer is generated according to the characteristic value of the first block in the resource transfers data and the block chain For recording the second block of the resource transfers data, in the block chain of each back end configuration in block chain network Second block is added, second block is made to become next block of first block;
Wherein, the block chain network includes multiple application servers as back end, each back end configuration Identical block chain, the block chain are used to store the task data that each resource collects task.
6th aspect provides a kind of resource collection task management device, is applied in terminal, described device includes:
Display module, the administration interface provided for showing application server, the application server are block chain network In back end, the block chain network includes multiple application servers as back end, the configuration of each back end Identical block chain;
Detection module, for by administration interface detection publication operation, the publication operation to include money to be released The task data of source collection task;
Sending module collects task posting request for sending resource to the application server, and the resource, which is collected, appoints Posting request of being engaged in carries the task data, by the application server according to third in the task data and the block chain The characteristic value of block generates the 4th block for recording the task data, in the block chain of each back end configuration Middle addition the 4th block, makes the 4th block become next block of the third block.
7th aspect, provides a kind of resource collection task management device, and the resource collects task management device and includes Processor and memory are stored at least one instruction, at least a Duan Chengxu, code set or instruction set, institute in the memory Instruction, described program, the code set or described instruction collection is stated to be loaded by the processor and had to realize above-mentioned first party Resource described in face, second aspect or the third aspect collects possessed operation in task management method.
Eighth aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium At least one instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the code set or the finger Collection is enabled load as processor and had to realize the collection task of resource described in above-mentioned first aspect, second aspect or the third aspect Possessed operation in management method.
9th aspect, provides a kind of resource collection task management system, and the resource collects task management system and includes As multiple application servers of block chain network back end, each back end configures identical block chain;
The resource that the application server is used to execute as described in relation to the first aspect collects application service in task management method The operation that device executes.
Method, apparatus provided in an embodiment of the present invention and storage medium collect task publication based on the resource that terminal is sent Request stores the task data that resource collects task in the form of block into block chain.Due to next area in block chain Root tuber is generated according to the characteristic value of a upper block, has incidence relation, therefore the spy that can not be distorted with data between the block of front and back Property, the mode that task data is stored to block chain avoid task data lose or be tampered, ensure that task data Safety and reliability greatly reduces crowd and raises a possibility that platform is maked off with money, and is conducive to promote data transparency and trust Degree is also convenient for collecting the task progress management such as resource transfers or inquiry operation to resource subsequently through block chain.
Also, resource is recorded in the block chain of block chain network and collects task, to collect and appoint to resource in the first user When business transferring resource, the resource transfers data that will acquire are stored in the form of block into block chain.Due to next in block chain A block is generated according to the characteristic value of a upper block, has incidence relation between the block of front and back, therefore there are data can not distort Characteristic, the mode that resource transfers data are stored to block chain avoids resource transfers loss of data or is tampered, and guarantees The safety and reliability of resource transfers data, avoids the event that transferring resource was distorted or denied to malicious user, also just In inquire etc. management operation subsequently through event of the block chain to transferring resource, guarantee that multiple crowds raise the use on platform per family Researched Resources collect the task data and progress data of task, and inquiry operation is convenient and efficient.Also, supervision department can be to money Source collects task and carries out effectively inquiry supervision, ensure that many working specifications for raising platform, can find existing disobey in time Rule behavior.
Also, according to endorsement strategy, data is verified by least one endorsement node, are only received in application server To be verified message meet endorsement strategy, can just allow to store data into block chain, further ensure safety And reliability.
Also, the data transmitted in block chain network are encrypted according to public key, are decrypted according to private key, and biography is avoided The possibility that is tampered of data during defeated ensure that the safe and reliable of data in transmission process.
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, the accompanying drawings in the following description is only some implementations of the embodiment of the present invention Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow diagram for collection resource that the relevant technologies provide;
Fig. 2 is the structural schematic diagram that a kind of crowd that the relevant technologies provide raises platform;
Fig. 3 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management method;
Fig. 9 is the operating process schematic diagram that a kind of publication crowd provided in an embodiment of the present invention raises project;
Figure 10 is the schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management method;
Figure 11 is the schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management method;
Figure 12 is the operating process schematic diagram that a kind of investment crowd provided in an embodiment of the present invention raises project;
Figure 13 is the structural schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management device;
Figure 14 is the structural schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management device;
Figure 15 is the structural schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management device;
Figure 16 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 17 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Embodiment is described in further detail.
Before the embodiment of the present invention is described in detail, first to the present embodiments relate to concept carry out it is as follows It introduces:
1, resource collects task: or task is raised for crowd, it is directed to the masses and raises resource to support the individual initiated or group The behavior knitted.The resource that fund raising side raises can be used to support various activities, comprising disaster reconstruction, civil fund-raising, electioneering, Foundation is raised money, artistic creation, design invention, scientific research etc..
Crowd's task of raising is usually directed to fund raising side, investor, crowd raise platform tripartite, it is however generally that is by the crowd in internet It raises platform to link up fund raising side and investor, there is low threshold, diversity, by the feature of public strength.
2, block chain:
For narrow sense, block chain is that one kind combines data block to be formed in such a way that sequence is connected sequentially in time Linked data structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.
Broadly, block chain technology is to verify to save with storing data, using distribution using block linked data structure Point common recognition algorithm is guaranteed the safety of data transmission and access with more new data, in the way of cryptography to generate, utilizes intelligence Contract carrys out a kind of completely new the distributed basis framework and calculation of operation data.
Multiple back end (also referred to as peer node) in block chain network are configured with identical block chain, in area Storing data in block chain, to guarantee that the data of storage are synchronous.And the adjacent block in front and back in block chain has incidence relation, It can be transferred through next block when so that any data being tampered in block to detect, be tampered, ensure that so as to avoid data The safety and reliability of data.
3, alliance's chain:
Block chain is divided into following three classes at present: publicly-owned chain, privately owned chain and alliance's chain.Wherein, publicly-owned chain is open to owner, Privately owned chain is open to individual group, individual or entity, and alliance's chain is open to specific organizations.
In the embodiment of the present invention, one or more specific crowds raise platform and participate in block chain, constitute alliance's chain, pass through Alliance's chain manages the related data that resource collects task.
4, cloud computing: it is the increase, use and delivery mode of related service Internet-based, is usually directed to and passes through interconnection Net dynamically easily extends and is often the resource of virtualization to provide.
Cloud computing mode can provide available, convenient and fast, on-demand network access, total into configurable computing resource Pond (resource includes network, server, storage, application software, service etc.) is enjoyed, these resources can be provided quickly, only need to throw Enter seldom management work, or carries out seldom interaction with service supplier.
In the embodiment of the present invention, block chain network is constructed based on cloud computing, provides block chain service for user.
Fig. 3 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention.As shown in figure 3, the implementation environment is money Task management system is collected in source, which collects task management system and be used to be managed resource collection task, can provide It issues resource and collects task, investment resources collection task, query resource collection task dispatching function.The resource collects task management system The user of system may include fund raising side and investor, and fund raising side collects publication resource in task management system and collect in resource to appoint Business, investor collect fund raising side transferring resource of the task management system to resource collection task, and fund raising side and investment in resource Side can query resource collect the task data or the related datas such as progress data of task.
It includes block chain network 300 that the resource, which collects task management system, and block chain network 300 includes being used as back end At least one application server 3001, that is to say application server 3001 both and may be implemented the multiple functions itself configured, such as Login authentication function, function and publication resource at terminal display interface are collected the function of task and are collected for resource and appoint It is engaged in the function of transferring resource, is also used as the back end of block chain network 300, configures the block chain of storing data, and with Other back end 3001 of block chain network 300 realize that data are synchronous.
Identical block chain can be configured on each back end 3001, which is made of multiple blocks, a block Block on chain is stored sequentially in time, and as continuing on for block chain can add new block.Each area Block is for recording the data once traded and be related to, and such as resource of publication collects the task data of task, certain investor is resource receipts Set task puts into the resource transfers data generated when resource or other data related with resource collection task.
So, it is raised when the application server that multiple crowds raise platform is added to composition alliance's chain, each crowd in block chain network The related data that the resource that platform is issued collects task can be raised in multiple crowds carries out information sharing in platform.
In a kind of possible implementation, referring to fig. 4, which can also include at least one endorsement section Point 3002 is verified for the data to request registration cochain.Then when application server requests to collect resource into appointing for task Business data or when the data such as resource transfers data for generating are stored to block chain network when collecting task transferring resource to resource, Data are first submitted to endorsement node 3002 to verify, only endorsement node 3002 just allows in block chain after being verified Storing data.
It further include ordering joint 3003 in the block chain network referring to Fig. 5 in alternatively possible implementation, sequence Node 3003 is connect with endorsement node 3002, is ranked up for the data to request registration cochain.Then work as application server The resource transfers number that resource is collected the task data of task or generated when collecting task transferring resource to resource by 3001 requests According to etc. data store to block chain network when, data are first submitted into ordering joint 3003 by node 3002 of endorsing and are arranged Sequence, ordering joint 3003 generate block based on the data being discharged to every time, are added in the block chain of the configuration of back end 3001.
Fig. 6 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention.As shown in fig. 6, every in the implementation environment A crowd raises platform 601 and is provided with the first application server 6011 and storage system 6012, is additionally provided with the second application server 6013, between the first application server 6011 and the second application server 6013 by interface carry out data interaction, and one or Multiple crowds raise the second application server 6013 in platform 601 and are added in block chain network 602, become block chain network 602 Back end.In addition, further including endorsement node 6021 and ordering joint 6022 in block chain network 602.
Wherein, the first application server 6011 raises the basic functions of platform 601 for realizing crowd, as login authentication function, Function and publication resource at terminal display interface collect the function of task and collect the function of task transferring resource to resource Deng for example, the first application server 6011 may include SOCKS server, load control server, static resource server With front end application server etc..And data caused by the first application server 6011 can be committed to the second application server 6013, and then store into block chain network 602, platform is raised to multiple crowds by the way that block chain network 602 is open.In addition, first Data caused by application server 6011 can also be stored into storage system 6012.
In the embodiment of the present invention, each crowd raises platform and is added in management platform as a member, to constitute alliance Chain, and transmission channel is created between multiple members, the related data that resource collects task is stored in the form of block chain Manage platform in, each crowd raise platform by unified interface and manage platform interact, realize multiple crowds raise platform it Between data sharing, and realize publication resource and collect task and the multiple functions such as task transferring resource are collected to resource.Its In, which can be built based on BASS (Blockchain as a service, the service of block chain), and it is logical that crowd raises platform Unified REST API is crossed (to be accorded with fixed resource label and variable some service of parameter access is asked to complete a series of business A kind of interface asked) it is interacted with BASS cloud platform.
Based on above-mentioned Fig. 3 to implementation environment shown in fig. 5, the embodiment of the invention also provides another implementation environments.Fig. 7 is The schematic diagram of another implementation environment provided in an embodiment of the present invention, referring to Fig. 7, which includes block chain network 701, One terminal 702 and second terminal 703 wherein include the one or more application clothes as back end in block chain network 701 Business device 7011, first terminal 702 and second terminal 703 are connect by network with any application server 7011, and first is whole The application server 7011 that end 702 and second terminal 703 connect can be the same or different, and (Fig. 7 is only with the application clothes of connection For 7011 difference of device of being engaged in).
First terminal 702 is the terminal of investor's configuration, the pipe that can be provided by the application server 7011 connected Reason interface checks that the resource of publication collects task, and the resource that task is collected to resource can also be initiated by the administration interface Transfer request, so that collecting task for resource puts into resource, and can also be in each application server in block chain network 701 Resource transfers data and progress data caused by being shared on 7011.
Second terminal 703 is the terminal that fund raising side configures, the pipe that can be provided by the application server 7011 connected It manages interface publication resource and collects task, so that 7011 shared resource of each application server in block chain network 701 is collected The resource transfers data and progress number generated in the task data and subsequent process of task.
In a kind of possible implementation, first terminal 702 or the mountable application server 7011 of second terminal 703 are closed The applications client of connection is interacted by applications client and application server 7011, and then is realized that management resource is collected and appointed The function of business.
Current each crowd raises platform and does things in his own way in the related technology, respectively stores the data on this platform, leads to data It is easy to be tampered or lose.And multiple crowds raise platform resource collection task and cannot share, data not intercommunication, it is easy to go out An existing resource collects task the case where different crowds raises repeated collection resource on platform.
The embodiment of the present invention realize it is a kind of based on the resource of cloud computing and block chain collect task management system, utilize area The application server that each crowd raises platform is set block link network by the decentralization of block chain, opening, transparent, anti-tamper feature The back end of network, thus while application server realizing management resource collects task, moreover it is possible to will by block chain network The data of generation are raised the application server on platform with other crowds and are shared, on the basis for not depending on specific trusted subjects On, it ensure that resource collects task and raises in multiple crowds issuing process on platform, resource transfers process, inquired from technological layer The safety and reliability of journey avoids the same resource and collects the feelings that task raises repeated collection resource on platform in different crowds Condition, and ensure that resource collects the trackability of the data of task, so that fund raising side, investor and third-party monitoring department can To inquire relevant data at any time, to effectively constrain the behavior of fund raising side He investor, it is latent to reduce fund raising side's volume money The risk escaped and investor deny the risk of input resource, moreover it is possible to provide effectively when generating property dispute to legal department Evidence.
The embodiment of the present invention is applied under the scene that management crowd raises project, and the embodiment of the invention provides one kind based on cloud It calculates and the crowd of block chain raises solution, raise in multiple crowds and raised between platform based on cloud computing technology and block chain technology building crowd Alliance's chain can be raised in any crowd when some user or organization need to raise resource and issue crowd on platform and raise project. By formulating suitable block chain endorsement mechanism, multiple crowds raise platform and can audit for crowd's project of raising, only accord with The crowd for closing the endorsement strategy raise project could it is online, crowd raise project it is online after can be raised in the different crowds in alliance's chain it is right on platform Investor as it can be seen that i.e. crowd's project of raising can multiple crowds raise on platform share, attract multiple investors to crowd raise project carry out Investment when investor carries out project investment, can collect investing tip on block chain in time, accelerate fund raising progress;Also, benefit It can not be distorted with block chain, traceable characteristic, platform side or fund raising side can be prevented modify crowd privately to raise the behaviors such as project;It is logical Introducing supervisory node is crossed, crowd, which raises platform and crowd's project of raising, will become more transparent, supervise easier;Mature based on cloud platform Bass service, block chain underlying platform can make full use of the spies such as the High Availabitity, integrated monitoring, global interconnection intercommunication of cloud computing Property, it manages more convenient.
It is as follows for the protocol summary of the relevant technologies and the embodiment of the present invention:
It cannot share, can be had the following problems since each crowd raises the data between platform in the related technology:
1, crowd raises platform and lacks review mechanism, exist distort privately it is many raise project, the risk that platform side makes off with money.
2, since multiple crowds raise the data not intercommunication between platform, fund raising Fang Ruo raises publication crowd on platform in multiple crowds and raises item Mesh can have the same crowd and raise the case where project is in a disguised form repeatedly raised funds.
3, crowd biggish for user volume raises platform, generally have exclusiveness, do not allow crowd raise project raised in other crowds it is flat It is issued on platform.
Cloud computing and block chain technology are applied to crowd in the embodiment of the present invention and raise scene, has following advantage:
1, crowd raises project and issues on block chain, more open and clear, and related data is difficult to tamper with, can be to the maximum extent Ensure the equity of investor.
2, multiple crowds raise platform and establish alliance's chain, and crowd raises project and carries out data sharing, resource circulation among alliance's chain, will Crowd's project of raising quickly diffuses to that multiple crowds raise platform, accelerates fund fund raising speed.
3, alliance's chain has very strong scalability and opening, can introduce more crowds and raise platform, widen one's influence power.And And attract the biggish crowd of user volume to raise platform using the influence of alliance's chain, change the exclusiveness demand that these crowds raise platform.May be used also To introduce supervisory node, realizes and platform and many audit supervision for raising project are raised to crowd.
4, block chain service platform can be disposed with a key using BASS service, implemented convenient and efficient.
Fig. 8 is the schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management method.The embodiment of the present invention Executing subject be application server in second terminal and block chain network as back end, the embodiment of the present invention is to fund raising The process that Fang Fabu resource collects task is illustrated, referring to Fig. 8, this method comprises:
801, second terminal shows the administration interface that application server provides, and detects publication operation, hair by administration interface Cloth operation includes the task data that resource to be released collects task.
In the embodiment of the present invention, which can be the equipment such as mobile phone, computer, tablet computer, the second terminal It is identified based on second user and logs in application server, which identify the identity for indicating second user, can be the The user's name of two users or user account etc., and second user can be personal user, enterprise customer, bank-user, group Organization user etc..
For the embodiment of the present invention by taking second user is fund raising side as an example, fund raising side accesses application server using second terminal, The second terminal shows the administration interface that application server provides, and can collect task to resource by the administration interface and carry out pipe Reason.
When fund raising side, which will issue resource, collects task, the triggering publication operation on the administration interface, and be arranged to be released Resource collect task task data, with initiate publication resource collect task process.It optionally, can be in the administration interface Publication option is provided, when fund raising side clicks the publication option, second terminal detects that the publication operates, and provides task data and set Interface is set, fills in the every terms of information of task data in task data set interface for fund raising side.
Wherein, which collects task for collecting resource, and the resource to be collected may include the reality of every country circulation A plurality of types of resources such as body currency, ideal money, virtual present, solid metal, task data may include the of fund raising side Two user identifiers, fund raising side are used to collect the account of resource, the resource type of collection, the target resource quantity for needing to collect, receive The multinomial informations such as the purposes description of collection resource, the deadline for collecting resource, the resource quantity being currently collected into and progress, separately It outside can also include the resource allocation policy between fund raising side and investor.The resource quantity initial value being wherein currently collected into It is defaulted as 0.
For example, can issue resource when some user needs to raise money for treating disease and collect task, which collects It include user's name " Zhang San ", the target resource quantity " 800,000 " for needing to raise, purposes description " medical treatment in the task data of task Expense ", deadline " on May 1st, 2018 ".Alternatively, resource receipts can be issued when certain company has a project to need to invest Set task, the resource are collected in the task data of task including Business Name " XX development company ", the target resource for needing to raise The resource allocation policy of quantity " 100,000,000 ", purposes description " plot XX exploration project " and investor and fund raising side, as investor throws Resource allocation ratio after money between obtainable earning rate or investor and fund raising side etc..
802, second terminal sends resource to application server and collects task posting request, which collects task publication and ask Seek carrying task data.
The resource collects task posting request and collects task for requesting application server to issue the resource, and the resource is received Set task posting request can also carry second user mark, and to show to issue, the resource collects task is which is used Family.
803, when application server receives the resource and collects task posting request, according in task data and block chain the The characteristic value of three blocks generates the 4th block for being used for logger task data, adds in the block chain of each back end configuration 4th block obtains updated block chain, and the 4th block becomes next block of third block in updated block chain.
In the embodiment of the present invention, one or more application server is added in block chain network, as block chain network Back end, each back end configures identical block chain, to realize that data are synchronous, block chain is used in block chain It records resource and collects task, storage resource collects the task data of task.
Therefore, when the application server, which receives resource, collects task posting request, in order to realize that resource collects task Publication, can determine whether in block chain the last one current block, i.e. third block, according to third in task data and block chain The characteristic value of block generates the 4th block for being used for logger task data, and the is added in the block chain of each back end configuration Four blocks obtain updated block chain, make next block of the 4th block as third block in updated block chain. And the characteristic value of the 4th block is related to the characteristic value of a upper block, realizes the block series connection that front and back in block chain is adjacent The purpose got up, so that can be by being carried out to the characteristic value stored in next block to distorting for any information in block chain It traces and detects, ensure that the safety of data.Wherein, this feature value can for the cryptographic Hash of the data in block or its His characteristic value relevant to the data in block.
In addition, collecting task for the ease of distinguishing different resources, which can collect for the resource of publication Task distributes task identification, such as task names, mission number, using task identification as the one of them of task data store to In block chain.
In a kind of possible implementation, in order to guarantee the safe and reliable of data, block chain network may include at least one For verifying to the data of request storage, and endorsement strategy is arranged in a endorsement node, which can specify that verifying The endorsement number of nodes that uses, verification mode are verified condition etc., and it can be the endorsement being verified that this, which is verified condition, The minimum number of node or the endorsement node being verified minimum scale shared in all nodes of block chain network.
When then application server receives resource collection task posting request, according to endorsement strategy, to each endorsement node Task data is sent, when at least one endorsement node receives task data, task data is verified, the number of tasks is verified According to whether endorsement strategy is met, it is verified message to application server return after being verified, then application server can receive It is verified message to what one or more endorsement nodes returned, when what is received is verified message and meets endorsement strategy, The 4th block is generated according to task data and the characteristic value of third block, the is added in the block chain of each back end configuration Four blocks obtain updated block chain.
For example, endorsement policy definition needs at least five endorsement node to be verified, and at least three endorsement node verification is logical Crossing just can store data, then application server sends task data to 5 endorsement nodes, save when receiving at least three endorsement When being verified message of point return, regenerates the 4th block.
Wherein, when each endorsement node verifies task data according to endorsement strategy, can be with validation task data It is no according to preset format generate, whether omit the required informations such as target resource quantity, whether the user of release tasks data is conjunction Method user etc..And after being verified, each endorsement node can sign to task data, obtain signed data, answer to this It is verified message with server transmission carrying signed data, which can pass through the signature of verifying endorsement node Data are verified whether message meets endorsement strategy judge to receive.
It include ordering joint in block chain network, the ordering joint is for depositing request in a kind of possible implementation The data of storage are ranked up processing, then are directed to the generating process of the 4th block, application server thereto send out by an endorsement node Task data is sent, the endorsement node for receiving task data sends task data to ordering joint, and ordering joint is to task data It is ranked up, and the 4th block is generated according to the task data of sequence and the characteristic value of third block, be sent to block chain network Each back end, the 4th block can be added in the block chain of configuration by each back end, obtain updated area Block chain.
For example, task data is added to data queue when receiving task data by ordering joint setting data queue In be ranked up, generate corresponding block for the data that make number one every time, be sent to each back end.
In addition, ordering joint can also verify task data, such as verifies the signed data of the task data and be No satisfaction endorsement strategy, whether the format of validation task data is legal, or verifies etc. to the reading data set of task data, Just allow to generate corresponding block for task record after being verified.
Wherein, the corresponding resource of the reading data centralized recording of the task data task data collects the task identification of task And the block chain height for storing the task data, it include the multiple blocks arranged sequentially in time in the block chain, Block chain height is used to indicate the quantity of block in block chain, that is to say read the data centralized recording task data to store to Which block in block chain.Ordering joint can be with the reality for the block chain height and current block chain that validation task data are directed to Whether border height matches, and is clashed with preventing the task data from storing with other requests to the data of block chain.Alternatively, verifying Whether task data generates according to legal format, if misses the information such as target resource quantity.
Also, the embodiment of the present invention is only for task data, and actually ordering joint may receive task A variety of data such as data and resource transfers data at this time can be ranked up the data received, be directed to make number one every time Data handled.
It, can be in order to guarantee the safety in data transmission procedure, in block chain network in a kind of possible implementation Public, private key is pre-generated for each node, and gives public key opening to other nodes, so as to be carried out between different nodes When data are transmitted, data are encrypted according to public key, data are decrypted according to private key, so as to utilize cryptological technique Guarantee the safety of data.By taking first node and second node as an example, when first node will send task data to second node, First task data is encrypted according to the public key of second node, obtained encryption data is sent to second node, the second section Point is decrypted according to private key pair encryption data, task data is obtained, so that task data be prevented to be tampered.
After application server issues resource collection task, resource can also be sent to second terminal and collects task publication knot Fruit is shown on administration interface by second terminal, so that second user knows that resource is collected task and issued successfully.Or In another embodiment, when application server publication resource collects mission failure, resource is sent to second terminal and collects task hair Cloth as a result, so as to second user know resource collect task task data verifying not by etc. due to issue failure.
In alternatively possible implementation, when application server receives resource collection task posting request, first call Authentication service to second terminal carry out authentication, when authentication by when indicate second terminal identity it is legal, at this time again Carry out the operation that publication resource collects task.Wherein, which can be CA (Certficate Authority, number Certificate verification center) service or other service.By taking CA is serviced as an example, when second user identifier register is successful, application server CA service is called to provide digital certificate for second user mark, then when second terminal is based on the login of second user mark and initiates to provide When task posting request is collected in source, the digital certificate that application server calls CA service to identify second user is authenticated, when Certification shows that second user identity is legal when passing through, and collects task posting request to resource and responds.
In alternatively possible implementation, intelligent contract is can be set in block chain network, and the intelligence contract is to block chain The operation of back end in network is standardized, can be with when application server, which receives resource, collects task posting request Intelligent contract is called to carry out the task data that the storage resource into block chain collects task.
Method provided in an embodiment of the present invention collects task posting request based on the resource that second terminal is sent, by resource The task data of collection task is stored in the form of block into block chain.Due in block chain next block according to a upper area The characteristic value of block generates, and has incidence relation, therefore the characteristic that can not be distorted with data between the block of front and back, by task data It stores and avoids task data to the mode of block chain and lose or be tampered, ensure that the safety of task data and reliable Property, it greatly reduces crowd and raises a possibility that platform is maked off with money, be conducive to promote data transparency and degree of belief, be also convenient for subsequent Task is collected to resource by block chain and carries out the management such as resource transfers or inquiry operation.
Also, according to endorsement strategy, task data is verified by least one endorsement node, only in application server The message that is verified received meets strategy of endorsing, and when passing through such as sufficient amount of endorsement node verification, can just allow appoint Business data are stored into block chain, further ensure safety and reliability.
Also, the task data transmitted in block chain network is encrypted according to public key, is decrypted according to private key, is avoided The possibility that task data is tampered in transmission process ensure that the safe and reliable of task data in transmission process.
Fig. 9 is the operating process schematic diagram that a kind of publication crowd provided in an embodiment of the present invention raises project, referring to Fig. 9, the behaviour Include: as process
Step 1, fund raising side raise the applications client of platform by any crowd for the chain that coalizes, and initiate to application server Crowd raises project posting request.
Step 2: application server calls CA service to be authenticated.
Step 3: calling intelligent contract to initiate crowd after the authentication is passed and raise project publication motion.
Step 4: each endorsement node executes strategy of endorsing and audits to crowd's project of raising of request publication and lead in audit Later it signs, is verified message to application server return carrying signed data.
Step 5: application server compares the signed data that multiple endorsement nodes return, and is collected into determination sufficient amount of After signed data, crowd's project of raising is committed to any one endorsement node, ordering joint is forwarded to by endorsement node.
Step 6: the data that ordering joint raises project to crowd are ranked up, and the data to make number one are constructed with new area Block is sent to all peer nodes, adds block in block chain by peer node.
By above 6 steps, fund raising side can create a crowd and raise project, and crowd's project of raising is stored in alliance's chain In, each crowd for the chain that coalizes, which raises platform, can obtain the related data that the crowd raises project, and investor can raise in any crowd The crowd is inquired on platform to raise the fund raising progress of project or invest crowd's project of raising.
Figure 10 is the schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management method.The embodiment of the present invention Executing subject be application server in first terminal and block chain network as back end, the embodiment of the present invention is to first The process that terminal inquiry resource collects task is illustrated, referring to Figure 10, this method comprises:
1001, first terminal shows the administration interface that application server provides, and is collected by administration interface detection to resource The inquiry operation of task.
1002, first terminal sends job enquiry request to application server.
In the embodiment of the present invention, which can be the equipment such as mobile phone, computer, tablet computer, the first terminal Application server is logged in based on the first user identifier, which is used to indicate the identity of the first user, can be the The user's name of one user or user account etc., and first user can be personal user, enterprise customer, bank-user, group Body mechanism user etc..When first terminal accesses application server, the administration interface that display application server provides, the first user can To trigger management operation on administration interface.
In the embodiment of the present invention, management operation can be inquiry operation, which is used to indicate query resource collection The related data of task.For example, including the query option that each resource collects task in the administration interface, the first user can point It hits any resource and collects the query option of task to trigger inquiry operation.When first terminal detects inquiry operation, taken to application Business device sends corresponding job enquiry request.
Wherein, which requests first that the task identification that can carry resource collection task and first terminal log in User identifier, it is which which, which is used to indicate that inquired resource to collect task, which is used for table Show the identity of first terminal user.
1003, when application server receives job enquiry request, query resource collects task from block chain Task data, and query resource collects the progress data of task from presetting database.
In the embodiment of the present invention, each back end in block chain network configures identical block chain and preset data Library, block chain are used to store the task data that each resource collects task, and presetting database is appointed for storing each resource and collecting The progress data of business.
Wherein, which is used to indicate that respective resources to collect the collection progress of task, can be received according to respective resources At least one resource that the task data of set task and at least one user generate when collecting task investment resource to resource turns It moves after data are counted and obtains.Optionally, the resource quantity which has been collected into target resource quantity and currently Between difference indicate that or ratio between the resource quantity to be currently collected into and target resource quantity indicates. When issuing resource and collecting task, the initial value for the resource quantity being currently collected into can be set to 0, it is subsequent useful every time It, can be according to the resource transfers data got to the number of resources being currently collected into when task investment resource is collected to resource in family Amount adds up, and more new resources collect the resource quantity that task has currently been collected into, and then more new resources collect the progress of task Data.
Back end of the application server as block chain network is stored with announced each resource and collects task Related data, such as task data, resource transfers data, progress data can transfer the dependency number that any resource collects task According to being shown on first terminal, so that user checks.
When application server query task data, each block in block chain can be traversed, be determined comprising money The block of the task identification of task is collected in source, obtains the task data recorded in the block.Alternatively, application server is provided in publication When task and logger task data are collected in source, the task identification for establishing resource collection task is corresponding with block where task data Relationship, block where directly determining the task data of resource collection task according to the corresponding relationship in query task data, In The task data recorded in the block is obtained in block chain.
Application server in the preset database, can establish resource and collect the task identification of task and pair of progress data It should be related to, determine that resource collects the progress data of task according to the corresponding relationship when inquiring progress data.
1004, application server sends task data and progress data to first terminal.
1005, first terminal shows task data and progress data by administration interface.
Application server returns to first terminal using the task data inquired and progress data as query result, by First terminal is shown by administration interface.Then user can check task data and progress data, understand resource collection and appoint The target resource quantity of business collects the information such as deadline, to know that resource collects the collection progress of task, and judges whether Task is collected to resource and put into resource.
It should be noted is that the embodiment of the present invention collects the task data of task with query resource and progress data is Example is illustrated.In another embodiment, first terminal can distinguish times that query resource collects task by different modes Data of being engaged in and progress data.Such as in administration interface include for query task data the first query option and for inquire into Second query option of degree evidence, when detecting selection operation of the user to the first query option in block chain query task Data inquire progress data in block chain when detecting selection operation of the user to the second query option.
Need to illustrate on the other hand, the embodiment of the present invention by first terminal query resource collect task process for, Other terminals are actually directed to, the process that query resource collects task is similar.
Such as above-mentioned second terminal collects the fund raising side of task as resource, can also execute above-mentioned steps query resource receipts The collection progress of set task.It that is to say, this method further include:
Second terminal shows the administration interface that application server provides, and collects task to resource by administration interface detection Inquiry operation sends job enquiry request to application server.When application server receives job enquiry request, from area Query resource collects the task data of task in block chain, and query resource collects the progress data of task from presetting database, Application server sends task data and progress data to second terminal.Second terminal by administration interface show task data and Progress data.
Or the terminal for collecting department's configuration that task management system is supervised to resource can also execute above-mentioned steps The collection progress that any resource collects task is inquired, so that supervisor is collected task to resource and carries out inquiry supervision, so as to Existing unlawful practice is found in time.
The task data that resource collects task is stored in block chain, by resource by method provided in an embodiment of the present invention The progress data of collection task is stored in presetting database, and it is open to raise platform to multiple crowds, and provides query resource collection The function of task guarantees that multiple crowds raise the task data and progress data that task is collected with Researched Resources per family on platform, Inquiry operation is convenient and efficient.Also, supervision department can collect task to resource and carry out effectively inquiry supervision, ensure that crowd raises The working specification of platform can find existing unlawful practice in time.
It can be to money after the first user checks that resource collects the related data of task based on embodiment shown in Fig. 10 It collects task and puts into resource, embodiment shown in detailed process Figure 11 as described below in source.
Figure 11 is the schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management method.The embodiment of the present invention Executing subject be application server in first terminal and block chain network as back end, the embodiment of the present invention is to investment The process that task transferring resource is collected to resource by side is illustrated, referring to Figure 11, after above-mentioned steps 1005, this method packet It includes:
1006, first terminal detects the resource transfers for collecting task to resource by administration interface and operates, to application service Device sends resource transfers request, and resource transfers request includes that task resource quantity to be transferred is collected to resource.
First user checks that resource collects the task data of task and progress data and determination and to collect task to the resource When putting into a certain number of resources, resource transfers operation is triggered on administration interface, sets the number of resources to be transferred to fund raising side Amount, then first terminal sends resource transfers request to application server, and resource transfers request carries the resource quantity and first The first user identifier that terminal logs in.In addition, resource transfers request can also carry task identification, which can be with table Show resource to be put into is which resource collects task.
For example, including the resource transfers option that resource collects task in the administration interface, the first user can click resource Diversion option will be put into triggering resource transfers operation, and setting to the resource quantity of resource collection task, and set money Source quantity cannot be greater than the difference between the target resource quantity and the current resource quantity being collected into of resource collection task.
1007, when application server receives resource transfers request, resource transfers operation is carried out based on resource transfers request, Obtain resource transfers data.
Resource collects the account for collecting task in the task data of task including resource, and the account is fund raising side for collecting The account of resource, is stored with resource quantity in the account, the resource quantity be used for indicate fund raising side possess resource number.And Account also can be set in first user identifier, and the account is the account that the first user is used for storage resource, stores in the account Have resource quantity, the resource quantity be used for indicate the first user possess resource number.
When application server receives resource transfers request, the resource transfers operation that task is collected to resource is carried out, by this Resource quantity that is to say, from the account that the account of the first user identifier is transferred to that resource collects task from the account of first terminal The resource quantity is reduced in family, increases the resource quantity in the account for collecting task to resource.And it is grasped for the resource transfers Make to obtain resource transfers data, which includes at least the resource quantity, which can also include Resource collects the task identification of task, resource collects the account of task, the account of the first user identifier, the resource transfers time, raises User identifier and the user identifier of investor of capital etc., and the resource transfers data can indicate that the first user receives to the resource The event of set task transferring resource.
1008, application server is generated according to the characteristic value of the first block in resource transfers data and block chain for remembering The second block for recording resource transfers data adds the second block in the block chain of each back end configuration, after obtaining update Block chain, the second block becomes next block of the first block in updated block chain.
In the embodiment of the present invention, one or more application server is added in block chain network, as block chain network Back end, each back end configures identical block chain, to realize that data are synchronous, block chain is used in block chain It records resource and collects task, storage resource collects the task data of task.
Therefore, when the application server gets resource transfers data, the last one area current in block chain is determined Block, i.e. the first block generate for recording resource transfers data according to resource transfers data and the characteristic value of the first block Two blocks add the second block in the block chain of each back end configuration, obtain updated block chain, make updated The second block becomes next block of the first block in block chain, to storing resource transfers data into block chain, leads to Block chain is crossed to record the first user to resource and collect the event that task puts into resource.Also, the characteristic value of the second block with it is upper The characteristic value of one block is related, the purpose that the adjacent block in front and back in block chain is together in series is realized, so as to block chain In distorting and the characteristic value that can store in next block traces for any information detect, ensure that data Safety.Wherein, this feature value can be for the cryptographic Hash of the data in block or other are relevant to the data in block Characteristic value.
In a kind of possible implementation, in order to guarantee the safe and reliable of data, block chain network may include at least one For verifying to the data of request storage, and endorsement strategy is arranged in a endorsement node, which can specify that verifying The endorsement number of nodes that uses, verification mode are verified condition etc., and it can be the endorsement being verified that this, which is verified condition, The minimum number of node or the endorsement node being verified minimum scale shared in all nodes of block chain network.
When then application server gets resource transfers data, according to endorsement strategy, resource is sent to each endorsement node Data are shifted, when at least one endorsement node receives resource transfers data, resource transfers data is verified, the money is verified Whether source transfer data meet endorsement strategy, are verified message to application server return after being verified, then application service What device can receive that one or more endorsement nodes return is verified message, when the message that is verified received meets endorsement When tactful, according to the characteristic value of resource transfers data and the first block, the second block is generated, in the area of each back end configuration The second block is added in block chain, obtains updated block chain.
For example, endorsement policy definition needs at least five endorsement node to be verified, and at least three endorsement node verification is logical Crossing just can store data, then application server sends resource transfers data to 5 endorsement nodes, carry on the back when receiving at least three When being verified message of book node return, regenerates the second block.
Wherein, when each endorsement node verifies resource transfers data according to endorsement strategy, resource can be verified and turned Move whether data generate according to preset format, the required informations such as the resource quantity of whether omitting transfer, are transferred to account and produce account Whether family is in available mode etc..And after being verified, each endorsement node can sign to resource transfers data, obtain Signed data is verified message to application server transmission carrying signed data, which can be by testing The signed data of card endorsement node is verified whether message meets endorsement strategy judge to receive.
It include ordering joint in block chain network, the ordering joint is for depositing request in a kind of possible implementation The data of storage are ranked up processing.It is then directed to the generating process of the second block, application server thereto send out by an endorsement node Resource transfers data are sent, the endorsement node for receiving resource transfers data sends resource transfers data, sequence section to ordering joint Point is ranked up resource transfers data, and generates the secondth area according to the resource transfers data of sequence and the characteristic value of the first block Block, is sent to each back end of block chain network, and the second block can be added to the block of configuration by each back end In chain, updated block chain is obtained.
For example, resource transfers data are added to by ordering joint setting data queue when receiving resource transfers data It is ranked up in data queue, generates corresponding block for the data to make number one every time, be sent to each back end.
In addition, ordering joint can also verify resource transfers data, such as verify the label of the resource transfers data Whether name data meet endorsement strategy, and whether the format for verifying the resource transfers data is legal, or to resource transfers data Read-write data set is verified etc., just allows to generate corresponding block for resource transfers data after being verified.
Wherein, the corresponding resource of the reading data centralized recordings of the resource transfers data resource transfers data collects tasks Task identification and block chain height for storing the resource transfers data include arranging sequentially in time in the block chain Multiple blocks, block chain height is used to indicate the quantity of block in block chain, that is to say and read the data centralized recording resource Transfer data will store which block into block chain.Ordering joint can verify the block chain that resource transfers data are directed to Whether height matches with the actual height of current block chain, to prevent the resource transfers data and other requests from storing to block chain Data clash.The writing to have recorded in data set of resource transfers data is transferred to the resource quantity that account is transferred to, ordering joint It can verify and be transferred to account and be transferred to whether the total resources quantity that resource collects that task is collected into after corresponding resource quantity exceeds mesh Resource quantity is marked, or verifying is transferred to the surplus resources quantity of account and whether is transferred to corresponding resource quantity enough.
Alternatively, including producing the resource quantity and be transferred to the number of resources that account is transferred to that account produces in the resource transfers data Amount, whether ordering joint can verify the two resource quantities equal, alternatively, whether verifying resource transfers data are according to legal lattice Formula generates, if misses the resource quantity and be transferred to the information such as the resource quantity that account is transferred to for producing that account produces.
Also, the embodiment of the present invention is only for resource transfers data, and actually ordering joint may receive A variety of data such as task data and resource transfers data at this time can be ranked up the data received, every time for coming the One data is handled.
It, can in block chain network in order to guarantee the safety in data transmission procedure in alternatively possible implementation Think that each node pre-generates public, private key, and give public key opening to other nodes, so as between different nodes into When row data are transmitted, data are encrypted according to public key, data are decrypted according to private key, are guaranteed using cryptological technique The safety of data.By taking first node and second node as an example, when first node will send resource transfers data to second node, First resource transfers data are encrypted according to the public key of second node, obtained encryption data is sent to second node, the Two nodes are decrypted according to private key pair encryption data, obtain resource transfers data, so that resource transfers data be prevented to be tampered.
Application server can also send resource transfers to first terminal as a result, eventually by first after generating the 4th block End is shown on administration interface, so that the first user knows that resource transfers operate successfully.Or in another embodiment, when Application server carries out resource transfers operation failure or when to resource transfers data verification failure, sends resource to first terminal Transfer is as a result, the reason of knowing resource transfers failure so as to the first user.
In alternatively possible implementation, when application server receives resource transfers request, authentication service is first called To first terminal carry out authentication, when authentication by when indicate first terminal identity it is legal, carry out resource again at this time Transfer operation.Wherein, which can be CA service or other services.By taking CA is serviced as an example, the first user identifier note When volume success, it is that the first user identifier provides digital certificate that application server, which calls CA service, then when first terminal is based on first When user identifier logs in and initiates resource transfers request, application server calls CA service to the digital certificate of the first user identifier It is authenticated, shows that the first user identifier identity is legal when certification passes through, resource transfers request is responded.
In alternatively possible implementation, intelligent contract is can be set in block chain network, and the intelligence contract is to block chain The operation of back end in network is standardized, and when application server completes resource transfers operation, can call intelligent conjunction About carry out the storage resource into block chain and shifts data.
1009, application server obtains the original progress data that resource collects task from presetting database, according to original Progress data and resource transfers data are counted, and are obtained resource and are collected the updated progress data of task, by presetting database The original progress data that middle resource collects task replaces with updated progress data.
Wherein, which is used to store the progress data that each resource collects task, which is used for table Show that resource collects the collection progress of task.
When application server stores the resource transfers data in block chain, need to collect resource the progress of task Data are updated.In renewal process, application server obtains the original progress number that resource collects task from presetting database According to the original progress data indicates that resource collects the number of resources that task has been collected into before the resource transfers operation for carrying out this Amount, and the number of resources that task is collected into is collected for the resource including carrying out this resource transfers operation in the resource transfers data Amount, then counted, available updated progress data, for indicating according to original progress data and resource transfers data Current resource collects the resource quantity that task has been collected into, and resource in presetting database is collected to the original progress data of task Updated progress data is replaced with, realizes the update of progress data.
Optionally, it is distinguish to collect task to different resources, storage resource can be corresponded in presetting database The task identification and progress data of collection task, then application server obtains the task that resource collects task from presetting database Corresponding original progress data is identified, is counted to obtain updated progress according to original progress data and resource transfers data Original progress data is replaced with updated progress data by data.
Optionally, the difference between resource quantity which has been collected into target resource quantity and currently carrys out table Show, or ratio between the resource quantity to be currently collected into and target resource quantity indicates.
It should be noted that for each back end in addition to above-mentioned application server, which can also be set It sets presetting database and carrys out the progress data that storage resource collects task, when the money that the back end is generated based on the application server Data are shifted in source, also can be according to the resource transfers data when adding the second block in block chain and obtaining updated block chain Progress data in presetting database is updated, to ensure that the synchronization of progress data on different data node.
Method provided in an embodiment of the present invention records resource in the block chain of block chain network and collects task, first When user will collect task transferring resource to resource, the resource transfers data that will acquire are stored in the form of block to block chain In.Since next block is generated according to the characteristic value of a upper block in block chain, there is incidence relation between the block of front and back, because This characteristic that can not be distorted with data, the mode that resource transfers data are stored to block chain avoid resource transfers data and lose Lose or be tampered, ensure that the safety and reliability of resource transfers data, avoid malicious user distort or deny turn The event for moving resource is also convenient for carrying out inquiring etc. management operation subsequently through event of the block chain to transferring resource.
Also, according to endorsement strategy, resource transfers data is verified by least one endorsement node, are only taken in application What business device received is verified message satisfaction endorsement strategy can just allow when such as sufficient amount of endorsement node verification passes through Resource transfers data are stored into block chain, safety and reliability is further ensured.
Also, the resource transfers data transmitted in block chain network are encrypted according to public key, are decrypted according to private key, The possibility that resource transfers data are tampered in transmission process is avoided, ensure that the safety of resource transfers data in transmission process can It leans on.
Figure 12 is that the operating process schematic diagram that a kind of investment crowd provided in an embodiment of the present invention raises project is somebody's turn to do referring to Figure 12 Operating process includes:
Step 1, investor raise the applications client of platform by any crowd for the chain that coalizes, and check that crowd raises project and true Surely the amount of money to be invested initiates crowd to application server and raises project investment request.
Step 2: application server calls CA service to be authenticated.
Step 3: the corresponding amount of money being transferred to crowd from the account of investor after the authentication is passed and raises the account of project, and is obtained Resource transfers data call intelligent contract to initiate investment motion.
Step 4: it is each endorsement node execute endorsement strategy to investment crowd raise project event generation resource transfers data into Row is audited and is being signed after the approval, is verified message to application server return carrying signed data.
Step 5: application server compares the signed data that multiple endorsement nodes return, and is collected into determination sufficient amount of After signed data, resource transfers data are committed to any one endorsement node, ordering joint is forwarded to by endorsement node.
Step 6: ordering joint is ranked up resource transfers data, and the data to make number one are constructed with new area Block is sent to all peer nodes, adds block in block chain by peer node.
By above 6 steps, investor can invest a crowd and raise project, and resource transfers data are stored in alliance In chain, each crowd for the chain that coalizes, which raises platform, can obtain the resource transfers data that the crowd raises project, and investor can be in office One crowd raise inquired on platform the crowd raise project fund raising progress or crowd's project of raising is invested.
It should be noted that collecting task for the same resource, publication resource, which is collected, in above-mentioned embodiment illustrated in fig. 8 appoints The application server of business collects task progress resource turn with inquiry data in above-mentioned Figure 10 and embodiment illustrated in fig. 11 and to resource The application server of shifting can be identical application server, or different application servers.It that is to say, when fund raising side When a certain crowd raises and issued resource on platform and collect task, same crowd raises investor on platform or different crowds raise on platform The equal Researched Resources of investor collect the data of task or task transferring resource collected to resource, help the side of fund raising to collect and provide Source.
Figure 13 is the structural schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management device.Referring to figure 13, which is applied in the application server of block chain network, and block chain network includes multiple applications as back end Server, each back end configures identical block chain and presetting database, the device include:
Enquiry module 1301, for executing, query resource collects the number of tasks of task from block chain in above-described embodiment According to from presetting database the step of the progress data of query resource collection task;
Sending module 1302, for executing the step for sending task data and progress data in above-described embodiment to first terminal Suddenly;
Data acquisition module 1303, for executing the step for obtaining the resource transfers data of first terminal in above-described embodiment Suddenly;
Block processes module 1304, for executing in above-described embodiment according to the firstth area in resource transfers data and block chain The characteristic value of block generates the second block for recording resource transfers data, adds in the block chain of each back end configuration The step of adding the second block, obtaining updated block chain.
Optionally, block chain network further includes at least one endorsement node, block processes module 1303, comprising:
Transmission unit sends resource transfers to each endorsement node for executing according to endorsement strategy in above-described embodiment The step of data, each endorsement node by receiving resource transfers data are verified resource transfers data, are verified Backward application server return is verified message;
Block processes unit, for executing life when being verified message satisfaction endorsement strategy received in above-described embodiment The step of adding the second block at the second block and in block chain, obtaining updated block chain.
Optionally, block chain network further includes ordering joint, block processes module 1303, comprising:
Transmission unit, for executing the step of sending resource transfers data to any endorsement node in above-described embodiment, by Any endorsement node sends resource transfers data to ordering joint, is ranked up by ordering joint to resource transfers data, and root The second block is generated according to the resource transfers data of sequence and the characteristic value of the first block, is sent to each data of block chain network Second block is added in the block chain of configuration by each back end of block chain network, obtains updated area by node Block chain.
Optionally, the device further include:
Statistical module is counted according to progress data and resource transfers data for executing in above-described embodiment, is obtained The step of updated progress data;
Replacement module, the progress data for resource in presetting database to be collected task replace with updated progress number According to.
Optionally, the device further include:
Receiving module collects task posting request for executing the resource that reception second terminal is sent in above-described embodiment Step;
Block processes module 1303 is also used to execute in above-described embodiment according to the characteristic value of task data and third block The step of generating the 4th block and adding the 4th block in block chain, obtain updated block chain.
Optionally, block chain network further includes at least one endorsement node, and block processes module 1303 includes:
Transmission unit sends task data to each endorsement node for executing according to endorsement strategy in above-described embodiment The step of, each endorsement node by receiving task data verifies task data, to application service after being verified Device return is verified message;
Block processes unit, for execute in above-described embodiment when receive be verified message meet endorsement strategy when The step of generating the 4th block and adding the 4th block in block chain, obtain updated block chain.
Optionally, block chain network further includes ordering joint, and block processes module 1303 includes:
Transmission unit, for executing the step of sending task data to any endorsement node in above-described embodiment, by any Node endorse to ordering joint transmission task data, task data is ranked up by ordering joint, and according to the task of sequence Data and the characteristic value of third block generate the 4th block, each back end of block chain network are sent to, by block link network 4th block is added in the block chain of configuration by each back end of network, obtains updated block chain.
Figure 14 is the structural schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management device.Referring to figure 14, which is applied in first terminal, which includes:
Display module 1401, for executing the step of showing task data and progress data in above-described embodiment;
Detection module 1402, for executing the resource for collecting task in above-described embodiment to resource by administration interface detection The step of transfer operation;
Sending module 1403 sends the step of resource transfers are requested to application server for executing in above-described embodiment.
Optionally, the device further include:
Detection module 1402 is also used to execute in above-described embodiment and is looked by administration interface detection resource collection task The step of asking operation;
Sending module 1403 is also used to execute the step for sending job enquiry request in above-described embodiment to application server Suddenly;
Display module 1401 is also used to execute in above-described embodiment and shows task data and progress data by administration interface The step of.
Figure 15 is the structural schematic diagram that a kind of resource provided in an embodiment of the present invention collects task management device.Referring to figure 15, which is applied in second terminal, which includes:
Display module 1501, for the step of executing the administration interface for showing application server offer in above-described embodiment;
Detection module 1502, for executing the step of detecting publication operation by administration interface in above-described embodiment;
Sending module 1503 sends resource collection task posting request to application server for executing in above-described embodiment The step of.
Optionally, device further include:
Detection module 1502 is also used to execute in above-described embodiment and is looked by administration interface detection resource collection task The step of asking operation;
Sending module 1503 is also used to execute the step for sending job enquiry request in above-described embodiment to application server Suddenly;
Display module 1501 is also used to work as in execution above-described embodiment through administration interface display task data and progress number According to the step of.
All the above alternatives can form the alternative embodiment of the embodiment of the present invention, In using any combination This is no longer repeated one by one.
It should be understood that resource provided by the above embodiment, which collects task management device, collects task in management resource When, only the example of the division of the above functional modules, in practical application, it can according to need and divide above-mentioned function With being completed by different functional modules, i.e., the internal structure of application server or terminal is divided into different functional modules, with Complete all or part of function described above.In addition, resource provided by the above embodiment collects task management device and money Source collects task management method embodiment and belongs to same design, and specific implementation process is detailed in embodiment of the method, no longer superfluous here It states.
Figure 16 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, the server 1600 can because of configuration or Performance is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 1601 and one or more memory 1602, wherein at least one is stored in the memory 1602 Item instruction, at least one instruction are loaded by the processor 1601 and are executed to realize that above-mentioned each embodiment of the method provides Method.Certainly, which can also have the components such as wired or wireless network interface, keyboard and input/output interface, To carry out input and output, which can also include other for realizing the component of functions of the equipments, and this will not be repeated here.
Server 1600 can be used for executing above-mentioned resource and collect step performed by application server in task management method Suddenly.
Figure 17 shows the structural block diagram for the terminal 1700 that an illustrative embodiment of the invention provides, terminal 1700 is used for Execute step performed by first terminal or second terminal in above method embodiment.
The terminal 1700 can be portable mobile termianl, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer are also possible to the AR equipment such as AR glasses, the AR helmet.Terminal 1700 be also possible to by Referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 1700 includes: processor 1701 and memory 1702.
Processor 1701 may include one or more processing cores, such as 4 core processors, 5 core processors etc..Place Reason device 1701 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1701 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.In In some embodiments, processor 1701 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1701 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1702 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1702 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1702 can Storage medium is read for storing at least one instruction, at least one instruction by processor 1701 for being had to realize this Shen Please in embodiment of the method provide resource collect task management method.
In some embodiments, terminal 1700 is also optional includes: peripheral device interface 1703 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1701, memory 1702 and peripheral device interface 1703.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1703.Specifically, peripheral equipment includes: In radio circuit 1704, touch display screen 1705, camera 1706, voicefrequency circuit 1707, positioning component 1708 and power supply 1709 At least one.
Peripheral device interface 1703 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1701 and memory 1702.In some embodiments, processor 1701, memory 1702 and periphery Equipment interface 1703 is integrated on same chip or circuit board;In some other embodiments, processor 1701, memory 1702 and peripheral device interface 1703 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1704 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1704 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1704 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1704 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1704 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 13G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio frequency Circuit 1704 can also include NFC (Near Field Communication, wireless near field communication) related circuit, this Shen Please this is not limited.
Display screen 1705 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1705 is touch display screen, display screen 1705 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1705.The touch signal can be used as control signal and be input to place Reason device 1701 is handled.At this point, display screen 1705 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1705 can be one, and the front panel of terminal 1700 is arranged;Another In a little embodiments, display screen 1705 can be at least two, be separately positioned on the different surfaces of terminal 1700 or in foldover design; In still other embodiments, display screen 1705 can be flexible display screen, is arranged on the curved surface of terminal 1700 or folds On face.Even, display screen 1705 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1705 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1706 is for acquiring image or video.Optionally, CCD camera assembly 1706 includes front camera And rear camera.In general, the front panel of terminal 1700 is arranged in front camera, the back of terminal is arranged in rear camera Face.In some embodiments, rear camera at least two, be respectively main camera, depth of field camera, wide-angle camera, Any one in focal length camera, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera shooting Head and wide-angle camera fusion realize pan-shot and VR (Virtual Reality, virtual reality) shooting function or its It merges shooting function.In some embodiments, CCD camera assembly 1706 can also include flash lamp.Flash lamp can be monochrome Warm flash lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can For the light compensation under different-colour.
Voicefrequency circuit 1707 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1701 and handled, or be input to radio circuit 1704 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1700 to be multiple. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1701 or radio frequency will to be come from The electric signal of circuit 1704 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1707 may be used also To include earphone jack.
Positioning component 1708 is used for the current geographic position of positioning terminal 1700, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1708 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 1709 is used to be powered for the various components in terminal 1700.Power supply 1709 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1709 includes rechargeable battery, which can support wired Charging or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1700 further includes having one or more sensors 1710.One or more sensing Device 1710 includes but is not limited to: acceleration transducer 1711, gyro sensor 1712, pressure sensor 1713, fingerprint sensing Device 1714, optical sensor 1715 and proximity sensor 1716.
Acceleration transducer 1711 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1700 Size.For example, acceleration transducer 1711 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1701 acceleration of gravity signals that can be acquired according to acceleration transducer 1711, control touch display screen 1705 with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1711 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1712 can detecte body direction and the rotational angle of terminal 1700, gyro sensor 1712 Acquisition user can be cooperateed with to act the 3D of terminal 1700 with acceleration transducer 1711.Processor 1701 is according to gyro sensors The data that device 1712 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1705 in terminal 1700 can be set in pressure sensor 1713.When When the side frame of terminal 1700 is arranged in pressure sensor 1713, user can detecte to the gripping signal of terminal 1700, by Reason device 1701 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1713 acquires.Work as pressure sensor 1713 when being arranged in the lower layer of touch display screen 1705, is grasped by processor 1701 according to pressure of the user to touch display screen 1705 Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 1714 is used to acquire the fingerprint of user, is collected by processor 1701 according to fingerprint sensor 1714 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1714 according to the identity of collected fingerprint recognition user.Knowing Not Chu user identity be trusted identity when, by processor 1701 authorize the user have relevant sensitive operation, sensitivity grasp Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1714 can be set Set the front, the back side or side of terminal 1700.When being provided with physical button or manufacturer Logo in terminal 1700, fingerprint sensor 1714 can integrate with physical button or manufacturer's mark.
Optical sensor 1715 is for acquiring ambient light intensity.In one embodiment, processor 1701 can be according to light The ambient light intensity that sensor 1715 acquires is learned, the display brightness of touch display screen 1705 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1705 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1705 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1701 can also be acquired according to optical sensor 1715, is moved The acquisition parameters of state adjustment CCD camera assembly 1706.
Proximity sensor 1716, also referred to as range sensor are generally arranged at the front panel of terminal 1700.Proximity sensor 1716 for acquiring the distance between the front of user Yu terminal 1700.In one embodiment, when proximity sensor 1716 is examined When measuring the distance between the front of user and terminal 1700 and gradually becoming smaller, by processor 1701 control touch display screen 1705 from Bright screen state is switched to breath screen state;When proximity sensor 1716 detect the distance between front of user and terminal 1700 by When gradual change is big, touch display screen 1705 is controlled by processor 1701 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1700 of structure shown in Figure 17 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
The embodiment of the invention also provides a kind of resources to collect task management device, which collects task management device packet Processor and memory are included, at least one instruction, at least a Duan Chengxu, code set or instruction set are stored in memory, instruct, Program, code set or instruction set are loaded by processor and had is collected in task management method with the resource for realizing above-described embodiment Possessed operation.
The embodiment of the invention also provides a kind of computer readable storage medium, stored in the computer readable storage medium Have at least one instruction, at least a Duan Chengxu, code set or instruction set, the instruction, the program, the code set or the instruction set by Processor, which loads and has, collects possessed operation in task management method with the resource for realizing above-described embodiment.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the embodiment of the present invention, are not intended to limit the invention embodiment, all at this Within the spirit and principle of inventive embodiments, any modification, equivalent replacement, improvement and so on be should be included in of the invention Within protection scope.

Claims (15)

1. a kind of resource collects task management method, which is characterized in that be applied to block chain network, the block chain network includes As multiple application servers of back end, each back end configures identical block chain, and the block chain is for storing Each resource collects the task data of task, which comprises
Application server receives the resource that terminal is sent and collects task posting request, and the resource is collected task posting request and carried The resource collects the task data of task;
It is generated according to the characteristic value of third block in the task data and the block chain for recording the task data 4th block adds the 4th block in the block chain of each back end configuration, obtains updated block chain, described 4th block described in updated block chain becomes next block of the third block.
2. the method according to claim 1, wherein the block chain network further includes at least one endorsement section Point, it is described that the 4th block for recording the task data is generated according to the task data and the characteristic value of third block, The 4th block is added in the block chain of each back end configuration, obtains updated block chain, comprising:
The application server sends the task data according to endorsement strategy, to each endorsement node;
The each endorsement node for receiving the task data verifies the task data, answers after being verified to described Message is verified with server return;
When the application server receive be verified message meet the endorsement it is tactful when, according to the task data and The characteristic value of the third block generates the 4th block, in the block chain of each back end configuration described in addition 4th block obtains updated block chain.
3. method according to claim 1 or 2, which is characterized in that the block chain network further includes ordering joint, described The 4th block for recording the task data is generated according to the task data and the characteristic value of third block, in every number The 4th block is added in block chain according to node configuration, obtains updated block chain, comprising:
The application server sends the task data to any endorsement node, from any endorsement node to the sequence Node sends the task data;
The ordering joint is ranked up the task data, and according to the task data of sequence and the third block Characteristic value generate the 4th block, be sent to each back end of the block chain network;
Each back end of the block chain network adds the 4th block in the block chain, obtains updated area Block chain.
4. the method according to claim 1, wherein each back end configures identical preset data Library, the presetting database are used to store the progress data that each resource collects task, and the progress data is for indicating corresponding Resource collect task collection progress, it is described obtain updated block chain after, the method also includes:
When the application server receives the job enquiry request of the terminal, query resource is collected from the block chain The task data of task inquires the progress data that the resource collects task from the presetting database;
The application server sends the task data and the progress data to the terminal, passes through management by the terminal Interface is shown.
5. method according to claim 1-4, which is characterized in that the method also includes:
Counted according to the progress data and the resource transfers data, obtain the resource collect task it is updated into Degree evidence;
The progress data that resource described in the presetting database collects task is replaced with into the updated progress data.
6. a kind of resource collects task management method, which is characterized in that be applied in terminal, which comprises
Show the administration interface that application server provides, the application server is the back end in block chain network, described Block chain network includes multiple application servers as back end, and each back end configures identical block chain;
Publication operation is detected by the administration interface, the publication operation includes the number of tasks that resource to be released collects task According to;
Resource is sent to the application server and collects task posting request, and the resource is collected described in the carrying of task posting request Task data is generated according to the characteristic value of third block in task data and block chain by the application server and is appointed for recording 4th block of data of being engaged in adds the 4th block in the block chain of each back end configuration, obtains updated block chain, The 4th block becomes next block of third block in updated block chain.
7. according to the method described in claim 6, it is characterized in that, described send resource collection task to the application server After posting request, the method also includes:
The inquiry operation of task is collected to the resource by administration interface detection;
Job enquiry request is sent to the application server, inquires the money from the block chain by the application server The task data of task is collected in source, and the progress data of the resource collection task is inquired from presetting database, described default Database is used to store the progress data that each resource collects task, and the progress data collects appointing for task according to the resource Business data and at least one resource transfers data obtain after being counted;
When receiving the task data and the progress data, the task data and institute are shown by the administration interface State progress data.
8. a kind of resource collects task management device, which is characterized in that described in the application server applied to block chain network Block chain network includes multiple application servers as back end, and each back end configures identical block chain, described Block chain is used to store the task data that each resource collects task, and described device includes:
Receiving module, the resource for receiving terminal transmission collect task posting request, and the resource collects task posting request Carry the task data that the resource collects task;
Block processes module, for being generated according to the characteristic value of third block in the task data and the block chain for remembering The 4th block for recording the task data adds the 4th block in the block chain of each back end configuration, obtains more Block chain after new, the 4th block described in the updated block chain become next block of the third block.
9. device according to claim 8, which is characterized in that the block chain network further includes at least one endorsement section Point, the block processes module, comprising:
Transmission unit, for the task data being sent to each endorsement node, by receiving the task according to endorsement strategy Each endorsement node of data verifies the task data, returns to verifying to the application server after being verified and leads to Cross message;
Block processes unit, for when the application server receive be verified message meet the endorsement it is tactful when, The 4th block is generated according to the task data and the characteristic value of the third block, in the institute of each back end configuration It states and adds the 4th block in block chain, obtain updated block chain.
10. device according to claim 8, which is characterized in that the block chain network further includes ordering joint, the area Block processing module, comprising:
Transmission unit, for any endorsement node transmission task data, from any endorsement node to the sequence Node sends the task data, is ranked up by the ordering joint to the task data, and appoints according to sequence Data of being engaged in and the characteristic value of the third block generate the 4th block, are sent to each data section of the block chain network Point adds the 4th block by each back end of the block chain network in the block chain, obtains updated Block chain.
11. a kind of resource collects task management device, which is characterized in that be applied in terminal, described device includes:
Display module, the administration interface provided for showing application server, the application server are in block chain network Back end, the block chain network include multiple application servers as back end, and each back end configuration is identical Block chain;
Detection module, for by administration interface detection publication operation, the publication operation to include that resource to be released is received The task data of set task;
Sending module collects task posting request for sending resource to the application server, and the resource collects task hair Cloth request carries the task data, by the application server according to the characteristic value of third block in task data and block chain The 4th block for being used for logger task data is generated, the 4th block is added in the block chain of each back end configuration, is obtained Updated block chain, the 4th block becomes next block of third block in updated block chain.
12. device according to claim 11, which is characterized in that described device further include:
Detection module, for collecting the inquiry operation of task to the resource by administration interface detection;
Sending module, for sending job enquiry request to the application server, by the application server from the block The task data that the resource collects task is inquired in chain, and the progress of the resource collection task is inquired from presetting database Data, the presetting database are used to store the progress data that each resource collects task, and the progress data is according to the money The task data and at least one resource transfers data of source collection task obtain after being counted;
Display module, for showing institute by the administration interface when receiving the task data and the progress data State task data and the progress data.
13. a kind of resource collects task management device, which is characterized in that it includes processor that the resource, which collects task management device, And memory, it is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory, described instruction, Described program, the code set or described instruction collection are loaded by the processor and are had to realize as claim 1 to 5 is any Resource described in claim collects possessed operation in task management method;
Alternatively, the resource as described in claim 6 to 7 any claim collects possessed operation in task management method.
14. a kind of computer readable storage medium, which is characterized in that be stored at least one in the computer readable storage medium Item instruction, at least a Duan Chengxu, code set or instruction set, described instruction, described program, the code set or described instruction collection by Processor is loaded and is had to realize that resource according to any one of claims 1 to 5 is collected in task management method Possessed operation;
Alternatively, the resource as described in claim 6 to 7 any claim collects possessed operation in task management method.
15. a kind of resource collects task management system, which is characterized in that it includes being used as area that the resource, which collects task management system, Multiple application servers of block chain network back end, each back end configure identical block chain;
The application server collects task management side for executing resource according to any one of claims 1 to 5 The operation that application server executes in method.
CN201910678946.6A 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system Active CN110401715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910678946.6A CN110401715B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910678946.6A CN110401715B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system
CN201810392313.4A CN108696514B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810392313.4A Division CN108696514B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system

Publications (2)

Publication Number Publication Date
CN110401715A true CN110401715A (en) 2019-11-01
CN110401715B CN110401715B (en) 2021-03-19

Family

ID=63845857

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910678946.6A Active CN110401715B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system
CN201810392313.4A Active CN108696514B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810392313.4A Active CN108696514B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system

Country Status (1)

Country Link
CN (2) CN110401715B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045568A (en) * 2019-12-20 2020-04-21 腾讯科技(深圳)有限公司 Virtual article processing method, device, equipment and storage medium based on block chain

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11227282B2 (en) * 2018-08-20 2022-01-18 Probloch LLC Time-bounded activity chains with multiple authenticated agent participation bound by distributed single-source-of-truth networks that can enforce automated value transfer
CN109558130A (en) * 2018-10-25 2019-04-02 深圳市圆世科技有限责任公司 A kind of block chain framework of user interface
CN109585003A (en) * 2018-10-27 2019-04-05 平安医疗健康管理股份有限公司 A kind of medical resource method for tracing, server and system
CN109508973A (en) * 2018-11-09 2019-03-22 京东方科技集团股份有限公司 Price control method, apparatus and block catenary system based on block chain
CN110009317A (en) * 2018-12-27 2019-07-12 阿里巴巴集团控股有限公司 The monitoring method and device of resource transfers data
CN110874493A (en) * 2018-12-29 2020-03-10 厦门安妮股份有限公司 Block chain-based enterprise data tamper-proofing method
CN109547219A (en) * 2019-01-18 2019-03-29 杭州秘猿科技有限公司 Information collection and the method and apparatus for being submitted to block chain network
CN110417790B (en) * 2019-08-02 2021-11-23 中国工商银行股份有限公司 Block chain real-name system queuing system and method
CN110489488B (en) * 2019-08-21 2021-06-15 腾讯科技(深圳)有限公司 Data processing method and device
CN111104686B (en) * 2019-09-10 2021-07-30 腾讯科技(深圳)有限公司 Block chain network control method, device, equipment and storage medium
CN111669442A (en) * 2019-11-27 2020-09-15 朱培培 Data transmission method based on block chain and electronic equipment
CN111738705A (en) * 2020-07-31 2020-10-02 支付宝(杭州)信息技术有限公司 Resource transfer method, device and equipment
CN112131266B (en) * 2020-08-12 2023-06-13 迅鳐成都科技有限公司 Method, device, system and storage medium for supporting block chain complex query
CN114520813B (en) * 2021-12-29 2023-09-01 浙江中环瑞蓝科技发展有限公司 Pollution source management and control system based on block chain

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662567A (en) * 2012-03-23 2012-09-12 腾讯科技(深圳)有限公司 Method and device for triggering operation in webpage
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
US20160277970A1 (en) * 2015-03-18 2016-09-22 John Werneke Mediated dynamic allocation of loads
CN106331151A (en) * 2016-09-19 2017-01-11 中国银联股份有限公司 Resource file processing system and method based on block chain structure
CN107067255A (en) * 2017-02-27 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of account in block chain
CN107395353A (en) * 2017-04-24 2017-11-24 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976232B (en) * 2016-06-24 2020-04-28 深圳前海微众银行股份有限公司 Asset transaction method and device
US20180089758A1 (en) * 2016-09-26 2018-03-29 Shapeshift Ag System and method of providing a contract-creator application
CN106570757B (en) * 2016-11-07 2020-12-04 北京金股链科技有限公司 Crowd funding method, device and system based on block chain
CN106874393A (en) * 2017-01-13 2017-06-20 北京众享比特科技有限公司 Synchronizing traffic data method and system, Database Systems based on block chain
CN107301536B (en) * 2017-06-12 2019-07-12 腾讯科技(深圳)有限公司 Resource transfers method and device
CN107562775B (en) * 2017-07-14 2020-04-24 创新先进技术有限公司 Data processing method and device based on block chain
CN107729371B (en) * 2017-09-12 2020-04-21 深圳先进技术研究院 Data indexing and querying method, device, equipment and storage medium of block chain
CN107657438B (en) * 2017-09-18 2020-12-04 联动优势科技有限公司 Block chain generation method, data verification method, node and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662567A (en) * 2012-03-23 2012-09-12 腾讯科技(深圳)有限公司 Method and device for triggering operation in webpage
US20160277970A1 (en) * 2015-03-18 2016-09-22 John Werneke Mediated dynamic allocation of loads
CN105844505A (en) * 2016-03-17 2016-08-10 深圳市新世纪启航科技开发有限公司 Method of carrying out digital currency trading through block chain technology
CN106331151A (en) * 2016-09-19 2017-01-11 中国银联股份有限公司 Resource file processing system and method based on block chain structure
CN107067255A (en) * 2017-02-27 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of account in block chain
CN107395353A (en) * 2017-04-24 2017-11-24 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045568A (en) * 2019-12-20 2020-04-21 腾讯科技(深圳)有限公司 Virtual article processing method, device, equipment and storage medium based on block chain

Also Published As

Publication number Publication date
CN110401715B (en) 2021-03-19
CN108696514A (en) 2018-10-23
CN108696514B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN110401715A (en) Resource collects task management method, device, storage medium and system
CN110602089B (en) Block chain-based medical data storage method, device, equipment and storage medium
CN109615516B (en) Resource transfer method, device, electronic equipment and storage medium
CN111612168B (en) Management method and related device for machine learning task
CN110245144B (en) Protocol data management method, device, storage medium and system
CN111339086B (en) Block processing method, and data query method and device based on block chain
EP3742323A1 (en) Blockchain generating method, and related device and system
WO2018145554A1 (en) Data processing method, related device and system, and computer readable storage medium
CN111340482B (en) Conflict detection method, device, node equipment and storage medium
CN111401867A (en) Resource transfer method and device based on block chain, node equipment and storage medium
CN110598482A (en) Block chain-based digital certificate management method, device, equipment and storage medium
CN111444092B (en) Intelligent contract testing method and device, electronic equipment and storage medium
CN109615515A (en) Credits voucher transfer method, device, electronic equipment and storage medium
CN110555780B (en) Insurance data processing method, device and equipment based on block chain and storage medium
CN111045568B (en) Virtual article processing method, device, equipment and storage medium based on block chain
CN110851510A (en) Data processing method and device of transaction system based on block chain
CN111339181B (en) Block storage method, block storage device, node equipment and storage medium
CN111260347A (en) Resource processing method, device and equipment based on block chain and storage medium
CN110933113A (en) Block chain-based interactive behavior detection method, device, equipment and storage medium
CN111212074B (en) Blockchain-based qualification identification method, device, equipment and storage medium
CN113034265A (en) Data verification method and device, computer equipment and computer readable storage medium
CN111667371B (en) Resource aggregation method, system, device and storage medium based on block chain
CN110599328A (en) Block chain based risk user determination method, device, equipment and storage medium
CN110855780B (en) Interview evaluation information sharing method, device, equipment and medium based on block chain
CN111694892B (en) Resource transfer method, device, terminal, server and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40015716

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant