CN108696514A - 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
CN108696514A
CN108696514A CN201810392313.4A CN201810392313A CN108696514A CN 108696514 A CN108696514 A CN 108696514A CN 201810392313 A CN201810392313 A CN 201810392313A CN 108696514 A CN108696514 A CN 108696514A
Authority
CN
China
Prior art keywords
resource
data
task
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
CN201810392313.4A
Other languages
Chinese (zh)
Other versions
CN108696514B (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
Priority to CN201810392313.4A priority patent/CN108696514B/en
Publication of CN108696514A publication Critical patent/CN108696514A/en
Application granted granted Critical
Publication of CN108696514B publication Critical patent/CN108696514B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

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, and block chain network includes multiple application servers as back end, and each back end configures identical block chain and presetting database, method include:When the job enquiry for receiving first terminal is asked, query resource collects the task data of task from block chain, and progress data is inquired from presetting database, is sent to first terminal;Obtain the resource transfers data of first terminal;The second block for recording resource transfers data is generated, the second block is added in block chain, 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 resource transfers loss of data or is tampered, ensure that the safety and reliability of resource transfers data, avoids the event that transferring resource was distorted or denied to malicious user.

Description

Resource collects task management method, device, storage medium and system
Technical field
The present embodiments relate to Internet technical field, more particularly to a kind of resource collect task management method, device, Storage medium and system.
Background technology
It is with the fast development of Internet technology and universal, in people's life the operation of every aspect can pass through internet It realizes.Currently in order to meeting the needs of people collect resource, many crowds occur in internet raises platform, and 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, to help the side of fund raising to realize the purpose of collection 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, has application server and storage system, fund raising side to pass through Applications client raises task to application server application publication crowd, and the task data that application server raises crowd task 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 ask 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 has found that the relevant technologies have at least the following problems:Crowd, which raises, to be appointed 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.
Invention content
An embodiment of the present 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 presetting database, The block chain is used to store the task data that each resource collects task, and the presetting database is received for storing each resource The progress data of set task, the progress data are used to indicate the collection progress of respective resources collection task, the method includes:
When application server receives the job enquiry request of first 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 first terminal, by described first Terminal is shown by administration interface;
Obtain the resource transfers data of the first terminal, the resource transfers data include at least the first terminal to The resource collects the resource quantity of task transfer;
According to the characteristic value of the first block in the resource transfers data and the block chain, generate for recording the money The second block of data is shifted in source, adds second block in the block chain of each back end configuration, obtains more Block chain after new, the second block described in the updated block chain become next block of first block.
Second aspect provides a kind of resource collection task management method, is applied in first terminal, the method packet It includes:
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;
The resource transfers for collecting task to the resource by administration interface detection operate;
Resource transfers request is sent to the application server, by the application server obtain after resource transfers operate Resource transfers data, the resource transfers data are taken to 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, and secondth area is added 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 second terminal, The 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 is given birth to by the application server according to the characteristic value of third block in the task data and the block chain 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, is applied to the application server of block chain network In, the block chain network includes multiple application servers as back end, and each back end configures identical block Chain and presetting database, the block chain are used to store the task data that each resource collects task, and the presetting database is used In the progress data for storing each resource and collecting task, the progress data be used to indicate respective resources collect the collection of task into Degree, described device include:
Enquiry module, for when receive first terminal job enquiry ask when, the query resource from the block chain The task data of collection task inquires the progress data that the resource collects task from the presetting database;
Sending module, for sending the task data and the progress data to the first terminal, by described first Terminal is shown by administration interface;
Data acquisition module, the resource transfers data for obtaining the first terminal, the resource transfers data are at least Including the first terminal resource quantity that task shifts is collected to the resource;
Block processes module is used for the characteristic value according to the first block in the resource transfers data and the block chain, The second block for recording the resource transfers data is generated, institute is added in the block chain of each back end configuration The second block is stated, second block is made to become next block of first block.
5th aspect provides a kind of resource collection task management device, is applied in first terminal, described device packet It 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 the collection progress that the resource collects 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 are received including at least the first terminal 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 The second block for recording the resource transfers data, in block chain network each back end configuration block chain in 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 second terminal, described device packet It 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 is used for through administration interface detection publication operation, the money issued operation and include to be released Collect the task data of task in source;
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 one section of program, 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 one section of program, code set or instruction set, described instruction, described program, the code set or the finger Collection is enabled to be loaded by processor and had to realize that the resource described in above-mentioned first aspect, second aspect or the third aspect collects task 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 and preset data Library, the block chain are used to store the task data that each resource collects task, and the presetting database is for storing each money The progress data of task is collected in source, and the progress data is used to indicate the collection progress that respective resources collect task;
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 record resource in the block chain of block chain network Collection task, when the first user will collect task transferring resource to resource, by the resource transfers data of acquisition with the shape of block Formula is stored into block chain.Since next block is generated according to the characteristic value of a upper block in block chain, between front and back block With incidence relation, therefore with the characteristic that data can not distort, the mode that resource transfers data are stored to block chain is avoided Resource transfers loss of data is tampered, and ensure that the safety and reliability of resource transfers data, is avoided malice and is used The event of transferring resource is distorted or is denied at family, also allows for carrying out the pipe such as inquiring to the event of transferring resource subsequently through block chain Reason operation, ensure multiple crowds raise the use on platform per family Researched Resources collect task task data and progress data, inquiry It is easy to operate.Also, supervision department can collect resource task and carry out effectively inquiry supervision, ensure that crowd raises platform Working specification, can find existing unlawful practice in time.
Also, the resource sent based on second terminal collects task posting request, and resource is collected to the task data of task It is stored in the form of block into block chain.It is preceding since next block is generated according to the characteristic value of a upper block in block chain There is between block incidence relation afterwards, therefore with the characteristic that data can not distort, task data is stored to the side of block chain Formula avoids task data and loses or be tampered, and ensure that the safety and reliability of task data, greatly reduces crowd and raise The possibility that platform is maked off with money is conducive to promote data transparency and degree of belief, also allow for subsequently through block chain to resource Collection task carries out the management such as resource transfers or inquiry operation.
Also, according to endorsement strategy, data are 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, avoid biography The possibility that is tampered of data during defeated ensure that the safe and reliable of data in transmission process.
Description of the drawings
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 implementation mode
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 for support various activities, including 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 a kind of data block is combined and 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 ensured in a manner of cryptography.
Broadly, block chain technology is to verify and store data using block linked data structure, saved using distribution Point common recognition algorithm come generate and update the data, ensure data transmission and access in the way of cryptography safety, utilize 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 nodes) in block chain network are configured with identical block chain, in area Data are stored in block chain, to ensure that the data of storage synchronize.And the front and back adjacent block 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 opens owner, Privately owned chain opens individual group of individual or entity, and alliance's chain opens 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 management resource collects the related data of 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 it is available, easily, on-demand network access, it is 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 seldom interaction is carried out with service supplier.
In the embodiment of the present invention, block chain network is built based on cloud computing, provides block chain service to the 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's publication resource in resource collects task management system, which is collected, appoints 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 may be implemented itself configure multiple functions, 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 appointed It is engaged in the function of transferring resource, is also used as the back end of block chain network 300, the block chain of configuration storage data, and with Other back end 3001 of block chain network 300 realize that data synchronize.
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 merchandised and be related to, and such as resource of publication collects the task data of task, certain investor receives for resource Set task puts into the resource transfers data generated when resource or other data related with resource collection task.
So, when the application server that multiple crowds raise platform is added in block chain network and constitutes alliance chain, each crowd raises The related data that the resource that platform is issued collects task can carry out information sharing in multiple crowds raise platform.
In a kind of possible realization method, referring to Fig. 4, which can also include that at least one endorsement saves Point 3002 is verified for the data to request registration cochain.Then when application server asks resource collecting appointing for task When the data such as business data or the resource transfers data to being generated when resource collection task transferring resource are stored to block chain network, Data are first submitted to endorsement node 3002 to verify, node 3002 of only endorsing just allows after being verified in block chain Store data.
Further include ordering joint 3003 in the block chain network referring to Fig. 5 in alternatively possible realization method, 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, first data are submitted to ordering joint 3003 and are arranged by node 3002 of endorsing 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 can be committed to the second application server caused by the first application server 6011 6013, and then store into block chain network 602, it is opened by block chain network 602 and raises platform to multiple crowds.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 is collected to task is stored in the form of block chain In management platform, each crowd raises platform and is interacted with management platform by unified interface, 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 are 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 platforms.
Based on above-mentioned Fig. 3 to implementation environment shown in fig. 5, the embodiment of the present invention additionally provides another implementation environment.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 block chain network 701 include the one or more application clothes as back end 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 taken with the application 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 can also initiate to collect resource the resource of task by the administration interface Transfer request puts into resource to collect task for 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, to which 7011 shared resource of each application server in block chain network 701 is collected The resource transfers data that are generated in the task data and subsequent process of task and into the number of degrees.
In a kind of possible realization method, first terminal 702 or second terminal 703 can install the pass of application server 7011 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 decentralization of block chain, opening, transparent, anti-tamper feature, the application server that each crowd is raised to platform are set as block link network The back end of network, to 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 and 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 be provided effectively to legal department when generating property dispute Evidence.
The embodiment of the present invention is applied under the scene that management crowd raises project, and an embodiment of the present invention provides one kind being based on cloud meter It calculates and the crowd of block chain raises solution, raised based on cloud computing technology and block chain technology structure crowd between multiple crowds raise platform 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 be audited for crowd's project of raising, only accorded with The crowd for closing the endorsement strategy raises project and can just reach the standard grade, and it is right on platform that many projects of raising can raise after reaching the standard grade in the different crowds in alliance's chain 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, accelerate fund raising progress in time;Also, profit It can not be distorted with block chain, traceable characteristic, platform side or fund raising side can be prevented change 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, and supervision is easier;Ripe based on cloud platform Bass is serviced, and 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, management is 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, platform is raised for the larger crowd of user volume, 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 raised into scene applied to crowd in the embodiment of the present invention, have following advantage:
1, crowd raises project and is issued 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 autgmentability and opening, can introduce more crowds and raise platform, widen one's influence power.And And platform is raised using the crowd that the influence of alliance's chain attracts user volume larger, 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 services, 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 Executive agent 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 resources collect task illustrates, and referring to Fig. 8, this method includes:
801, second terminal shows the administration interface that application server provides, and publication operation, hair are detected 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 identifies 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 carries 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, the every terms of information that task data is filled in interface is set for fund raising side in task data.
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 for collecting the account of resource, the resource type of collection, need the target resource quantity collected, receive The multinomial informations such as the purposes description of collection resource, the deadline for collecting resource, the current resource quantity being collected into and progress, separately Can also include the resource allocation policy between fund raising side and investor outside.The wherein current resource quantity initial value being collected into It is defaulted as 0.
For example, when some user needs to raise money for treating disease, resource can be issued and collect task, which collects The task data of task includes user's name " Zhang San ", needs the target resource quantity " 800,000 " raised, purposes description " medical treatment Expense ", deadline " on May 1st, 2018 ".Alternatively, when certain company needs investment there are one project, resource receipts can be issued Set task, the task data which collects task include Business Name " XX development companies ", need the target resource raised 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 etc. after money between obtainable earning rate or investor and fund raising side.
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 asking 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 logger task data, is added 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, and to realize that data synchronize, 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, the last one current block, i.e. third block are can determine whether in block chain, according to third in task data and block chain The characteristic value of block generates the 4th block for logger task data, and the is added in the block chain of each back end configuration Four blocks obtain updated block chain, and the 4th block in updated block chain is made to become next block of third block. And the characteristic value of the 4th block is related to the upper characteristic value of a block, realizes front and back adjacent block series connection in block chain 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 be block in data cryptographic Hash or its He and the relevant characteristic value of area's data in the block.
In addition, collecting task for the ease of distinguishing different resources, which can be that the resource of publication is collected Task distributes task identification, such as task names, mission number, using task identification as the one of which of task data store to In block chain.
In a kind of possible realization method, in order to ensure that the safe and reliable of data, block chain network may include at least one A endorsement node is verified for the data to request storage, and endorsement strategy is arranged, which can specify that verification 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 that is 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 to verify task data when at least one endorsement node receives task data, verify the number of tasks 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 Data can just be stored by crossing, then application server sends task data to 5 endorsement nodes, be saved 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 node of endorsing can sign to task data, obtain signed data, answered to this It is verified message with server transmission carrying signed data, which can pass through the signature of verification endorsement node Data are verified whether message meets endorsement strategy judge to receive.
In a kind of possible realization method, block chain network includes ordering joint, which is used to deposit request 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 by ordering joint setting data queue when receiving task data 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 is verified 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, the block chain include the multiple blocks arranged sequentially in time, 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 being stored to the data of block chain with other requests.Alternatively, verification 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 ensure the safety in data transmission procedure, in block chain network in a kind of possible realization method Public, private key is generated in advance for each node, and public key is opened and gives other nodes, so as to be carried out between different nodes When data transmission, data are encrypted according to public key, data are decrypted according to private key, so as to utilize cryptological technique Ensure 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, to prevent task data 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 by second terminal on administration interface, 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, sends resource to second terminal and collect task hair Cloth as a result, so as to second user know resource collect task task data verification not by etc. due to by issue failure.
In alternatively possible realization method, when application server receives resource collection task posting request, first call Authentication service is authenticated authentication to second terminal, 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 services are 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 services to identify second user is authenticated, when Certification by when show that second user identity is legal, to resource collect task posting request respond.
In alternatively possible realization method, intelligent contract can be arranged in block chain network, and the intelligence contract is to block chain The operation of back end in network is subject to specification, 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, by resource based on the resource that second terminal is sent 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 front and back block, 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 the possibility that platform is maked off with money, be conducive to promote data transparency and degree of belief, also allow for follow-up 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 Receive be verified message meet endorsement strategy, such as sufficient amount of endorsement node verification by when, 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, avoids 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 flow:
Step 1, fund raising side raise the applications client of platform by any crowd for the chain that coalizes, and are initiated to application server Crowd raises project posting request.
Step 2:Application server calls CA services to be authenticated.
Step 3:It calls intelligent contract to initiate crowd after the authentication is passed and raises 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, message is verified 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 crowd project are ranked up, and the data to make number one are built with new area Block is sent to all peer nodes, and block is added in block chain by peer nodes.
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 Executive agent be application server in first terminal and block chain network as back end, the embodiment of the present invention pair first The process that terminal inquiry resource collects task illustrates, and referring to Figure 10, this method includes:
1001, first terminal shows the administration interface that application server provides, and is collected to resource by administration interface detection 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, the administration interface includes the query option that each resource collects task, 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 asks that the task identification of resource collection task and first terminal log in first can be carried 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 the collection progress that respective resources collect task, can be received according to respective resources The task data of set task and at least one user are collecting at least one resource turn generated when task puts into resource to resource It moves after data are counted and obtains.Optionally, the progress data is with target resource quantity and the current resource quantity being collected into Between difference indicate that or ratio between the resource quantity to be currently collected into and target resource quantity indicates. When issuing resource collection task, the initial value for the resource quantity being currently collected into can be set as 0, it is follow-up useful every time When family collects task to resource and puts into resource, number of resources that can be according to the resource transfers data got to being currently collected into 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 correspondence in query task data, The task data recorded in the block is obtained in block chain.
Application server in the preset database, can establish pair that resource collects the task identification and progress data of task It should be related to, determine that resource collects the progress data of task according to the correspondence 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 illustrates.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 administration interface include for query task data the first query option and for inquire into Second query option of degrees of data, when detecting the selection operation of the first query option of user couple in block chain query task Data inquire progress data when detecting the selection operation of the second query option of user couple in block chain.
Need to illustrate on the other hand, the embodiment of the present invention by first terminal query resource collect task process for, It is actually directed to other-end, 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.Or the terminal that the department supervised to resource collection task management system configures can also execute Above-mentioned steps inquire the collection progress that any resource collects task, so that supervisor is collected task to resource and carry out inquiry prison Pipe, to find existing unlawful practice in time.
Method provided in an embodiment of the present invention, the task data that resource is collected to task is stored in block chain, by resource The progress data of collection task is stored in presetting database, and raising platform to multiple crowds opens, and provides query resource collection The function of task, ensure multiple crowds raise the use on platform per family Researched Resources collect task task data and progress data, Inquiry operation is convenient and efficient.Also, supervision department can collect resource task 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 Source collects task and puts into resource, embodiment shown in detailed process Figure 11 as described below.
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 Executive agent be application server in first terminal and block chain network as back end, the embodiment of the present invention is to investing The process that resource is collected task transferring resource by side illustrates, referring to Figure 11, after above-mentioned steps 1005, this method packet It includes:
1006, first terminal detects the resource transfers operation that task is collected to resource by administration interface, to application service Device sends resource transfers request, and resource transfers request includes collecting task resource quantity to be transferred 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 It measures, 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, the administration interface includes the resource transfers option that resource collects task, 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 more 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.
The task data that resource collects task includes the account that resource collects task, 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 can also be arranged in first user identifier, and the account is the account that the first user is used for storage resource, is stored 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 The user identifier of capital and the user identifier of investor 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, after obtaining update in the block chain of each back end configuration 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, and to realize that data synchronize, 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 store resource transfers data into block chain, leads to It crosses block chain and collects the event that task puts into resource to resource to record the first user.Also, the characteristic value of the second block with it is upper The characteristic value of one block is related, realizes front and back adjacent block is together in series in block chain purpose so as to block chain In distorting by the characteristic value that can be stored in next block traces for any information detect, ensure that data Safety.Wherein, this feature value can be the cryptographic Hash of the data in block or other are relevant with area's data in the block Characteristic value.
In a kind of possible realization method, in order to ensure that the safe and reliable of data, block chain network may include at least one A endorsement node is verified for the data to request storage, and endorsement strategy is arranged, which can specify that verification 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 that is 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 Transfer data verify resource transfers data, verify the money when at least one endorsement node receives resource transfers data 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 Data can just be stored by crossing, then application server sends resource transfers data to 5 endorsement nodes, is carried 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 node of endorsing 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.
In a kind of possible realization method, block chain network includes ordering joint, which is used to deposit request 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, which includes arranging sequentially in time Multiple blocks, block chain height is used to indicate the quantity of block in block chain, that is to say and reads 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 to be transferred to account and be transferred to resource after corresponding resource quantity and collect whether the total resources quantity that task is collected into exceeds mesh Resource quantity is marked, or verification is transferred to the surplus resources quantity of account and whether is transferred to corresponding resource quantity enough.
Alternatively, the resource transfers data include producing the resource quantity and be transferred to the number of resources that account is transferred to that account produces Amount, whether ordering joint can verify the two resource quantities equal, alternatively, whether verification 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 ensure the safety in data transmission procedure in alternatively possible realization method Think that public, private key is generated in advance in each node, and public key opened and gives other nodes, so as between different nodes into When row data transmission, data are encrypted according to public key, data are decrypted according to private key, are ensured 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, to prevent resource transfers data to be tampered.
Application server can also send resource transfers as a result, eventually by first after generating the 4th block to first terminal 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, and resource is sent to first terminal Transfer so as to the first user as a result, the reason of knowing resource transfers failure.
In alternatively possible realization method, when application server receives resource transfers request, authentication service is first called Authentication is authenticated to first terminal, 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 services 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 services, then when first terminal is based on first When user identifier logs in and initiates resource transfers request, application server calls digital certificate of the CA services to the first user identifier Be authenticated, when certification by when show that the first user identifier identity is legal, to resource transfers request respond.
In alternatively possible realization method, intelligent contract can be arranged in block chain network, and the intelligence contract is to block chain The operation of back end in network is subject to specification, 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, the progress that task is collected to resource is needed Data are updated.In renewal process, application server obtains resource from presetting database and collects the original into the number of degrees of task 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 resource transfers data include carrying out this resource transfers operation to collect the number of resources that task is collected into for the resource Amount, then counted according to original progress data and resource transfers data, updated progress data can be obtained, for indicating 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 obtained from presetting database resource collect task task 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, which carrys out table with the difference between target resource quantity and the current resource quantity being collected into 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 application server, which can also 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 collection task, first in the block chain of block chain network When user will collect task transferring resource to resource, the resource transfers data of acquisition 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 front and back block, because The mode that resource transfers data are stored to block chain is avoided resource transfers data and lost by this characteristic that can not be distorted with data 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 also allows for carrying out the management operation such as inquiring to the event of transferring resource subsequently through block chain.
Also, according to endorsement strategy, resource transfers data are verified by least one endorsement node, are only taken in application Business device receive be verified message meet endorsement strategy, such as sufficient amount of endorsement node verification by when, can just allow 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 services to be authenticated.
Step 3:The corresponding amount of money is 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, and message is verified 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 built with new area Block is sent to all peer nodes, and block is added in block chain by peer nodes.
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, issues resource in above-mentioned embodiment illustrated in fig. 8 and collect and appoint The application server of business is collected task progress resource with inquiry data in above-mentioned Figure 10 and embodiment illustrated in fig. 11 and to resource and is turned 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, the number of tasks for executing the query resource collection 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, the step for executing the resource transfers data for obtaining 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, including:
Transmission unit sends resource transfers for executing according to endorsement strategy in above-described embodiment to each endorsement node The step of data, verifies resource transfers data by receiving each of resource transfers data endorsement node, is verified Backward application server return is verified message;
Block processes unit, for execute received in above-described embodiment be verified message meet endorsement strategy when give birth to 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, including:
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 to resource transfers data by ordering joint, 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, which further includes:
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 to task replace with updated into the number of degrees According to.
Optionally, which further includes:
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 additionally operable to execute the characteristic value in above-described embodiment according to 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 for executing according to endorsement strategy in above-described embodiment to each endorsement node The step of, task data is verified by receiving each of task data endorsement node, 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 of endorsing sends task data to ordering joint, is ranked up to task data 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 asked for executing in above-described embodiment to application server.
Optionally, which further includes:
Detection module 1402 is additionally operable to execute in above-described embodiment and is looked into resource collection task by administration interface detection The step of asking operation;
Sending module 1403 is additionally operable to execute the step for sending job enquiry request in above-described embodiment to application server Suddenly;
Display module 1401 is additionally operable to execute in above-described embodiment through administration interface display task data and progress data 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 for executing in above-described embodiment to application server The step of.
Optionally, device further includes:
Detection module 1502 is additionally operable to execute in above-described embodiment and is looked into resource collection task by administration interface detection The step of asking operation;
Sending module 1503 is additionally operable to execute the step for sending job enquiry request in above-described embodiment to application server Suddenly;
Display module 1501 is additionally operable to show task data by administration interface and into the number of degrees when executing in above-described embodiment According to the step of.
The alternative embodiment that any combination forms the embodiment of the present invention may be used in above-mentioned all optional technical solutions, This is no longer repeated one by one.
It should be noted that:The resource that above-described embodiment provides collects task management device and collects task in management resource When, only the example of the division of the above functional modules, in practical application, above-mentioned function can be divided as needed With by different function module completions, i.e., the internal structure of application server or terminal is divided into different function modules, with Complete all or part of function described above.In addition, the resource that above-described embodiment provides collects task management device and money Source collects task management method embodiment and belongs to same design, and specific implementation process refers to 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 instructs, and at least one instruction is loaded by the processor 1601 and 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 be including other for realizing the component of functions of the equipments, and this will not be repeated here.
Server 1600 can be used for executing the step performed by application server in above-mentioned resource collection task management method Suddenly.
Figure 17 shows the structure diagram for the terminal 1700 that an illustrative embodiment of the invention provides, terminal 1700 is used for Execute the step performed by first terminal or second terminal in above method embodiment.
The terminal 1700 can be portable mobile termianl, such as:Smart mobile 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 can also be the AR equipment such as AR glasses, the AR helmets.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 DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 1701 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 can also 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 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 wrap AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are 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 at least one outer 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, one or more amplifiers, tuner, oscillator, digital signal processor, compiles solution at RF transceivers 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 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 the related circuits of NFC (Near Field Communication, wireless near field communication), 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 arbitrary combination.When display screen 1705 is touch display screen, display screen 1705 also there is acquisition to exist The ability of the surface of display screen 1705 or the touch signal of surface.The touch signal can be used as control signal to 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, be arranged on the curved surface of terminal 1700 or fold 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 prepare.
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 in terminal 1700 is arranged in front camera, the back of the body in 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 functions or its It merges shooting function.In some embodiments, CCD camera assembly 1706 can also include flash lamp.Flash lamp can be monochromatic Warm flash lamp can also be 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 loud speaker.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 multiple, be separately positioned on the different parts of terminal 1700. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker 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.Loud speaker can be traditional wafer speaker, can also be that piezoelectric ceramics is raised one's voice Device.When loud speaker 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 include there are one or multiple sensors 1710.The one or more senses Device 1710 includes but 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 detect 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 is 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 be with the body direction of detection terminal 1700 and rotational angle, 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, may be implemented following function:Action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control when taking the photograph and inertial navigation.
The lower layer of side frame and/or touch display screen 1705 in terminal 1700 can be arranged in pressure sensor 1713.When The gripping signal that user can be detected in the side frame of terminal 1700 to terminal 1700 is arranged in pressure sensor 1713, 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 are arranged in the lower layer of touch display screen 1705, are grasped to the pressure of touch display screen 1705 according to user by processor 1701 Make, realization controls the operability control on the interfaces 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 according to fingerprint sensor 1714 by processor 1701 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1714 according to the identity of collected fingerprint recognition user.Knowing When the identity for not going out user is trusted identity, authorize the user that there is relevant sensitive operation, sensitivity behaviour by processor 1701 Work includes solving lock screen, checking encryption information, download 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 relatively low, 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 State adjusts the acquisition parameters of 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 the distance between the front for acquiring user and terminal 1700.In one embodiment, when proximity sensor 1716 is examined When measuring the distance between the front of user and terminal 1700 and tapering into, 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, either combining certain components or being arranged using different components.
The embodiment of the present invention additionally provides a kind of resource collection task management device, which collects task management device packet Processor and memory are included, at least one instruction, at least one section of program, code set or instruction set are stored in memory, instruct, Program, code set or instruction set are loaded by processor and are had to realize that the resource of above-described embodiment is collected in task management method Possessed operation.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored in the computer readable storage medium Have at least one instruction, at least one section of program, code set or instruction set, the instruction, the program, the code set or the instruction set by Processor is loaded and is had to realize that the resource of above-described embodiment collects possessed operation in task management method.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored 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 should be included in the present invention's Within protection domain.

Claims (14)

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 presetting database, the area Block chain is used to store the task data that each resource collects task, and the presetting database collects task for storing each resource Progress data, the progress data be used for indicate respective resources collect task collection progress, the method includes:
When application server receives the job enquiry request of first terminal, query resource collects task from the block chain Task data, the progress data that the resource collects task is inquired from the presetting database;
The application server sends the task data and the progress data to the first terminal, by the first terminal It is shown by administration interface;
Obtain the resource transfers data of the first terminal, the resource transfers data include at least the first terminal to described Resource collects the resource quantity of task transfer;
According to the characteristic value of the first block in the resource transfers data and the block chain, generates and turn for recording the resource The second block for moving data adds second block, after obtaining update in the block chain of each back end configuration Block chain, the second block described in the updated block chain become first block next block.
2. according to the method described in claim 1, it is characterized in that, the block chain network further includes at least one endorsement section Point, the characteristic value according to the first block in the resource transfers data and the block chain are generated for recording the money The second block of data is shifted in source, adds second block in the block chain of each back end configuration, obtains more Block chain after new, including:
The application server sends the resource transfers data according to endorsement strategy, to each endorsement node;
It receives each of described resource transfers data endorsement node to verify the resource transfers data, after being verified It is verified message to application server return;
When the application server receive be verified message meet the endorsement it is tactful when, according to the resource transfers number According to the characteristic value with first block, second block is generated, is added in the block chain of each back end configuration Add second 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 According to the characteristic value of the first block in the resource transfers data and the block chain, generate for recording the resource transfers number According to the second block, each back end configuration the block chain in add second block, obtain updated area Block chain, including:
The application server sends the resource transfers data to any endorsement node, from any endorsement node to described Ordering joint sends the resource transfers data;
The ordering joint is ranked up the resource transfers data, and according to resource transfers data of sequence and described The characteristic value of first block generates second block, is sent to each back end of the block chain network;
Each back end of the block chain network adds second block in the block chain, obtains updated area Block chain.
4. according to claim 1-3 any one of them methods, which is characterized in that the method further includes:
Counted according to the progress data and the resource transfers data, obtain the resource collect task it is updated into Degrees of data;
The progress data that resource described in the presetting database is collected to task replaces with the updated progress data.
5. according to claim 1-3 any one of them methods, which is characterized in that the method further includes:
The application server receives the resource that second terminal is sent and collects task posting request, and the resource collects task publication Request carries 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 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.
6. according to the method described in claim 5, it is characterized in that, 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, including:
The application server sends the task data according to endorsement strategy, to each endorsement node;
It receives each of described task data endorsement node to verify the task data, be answered to described after being verified It is verified message 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.
7. method according to claim 5 or 6, 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, including:
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.
8. a kind of resource collects task management method, which is characterized in that it is applied in first terminal, the method includes:
By application server provide administration interface, display resource collect task task data and progress data, it is described into Degrees of data is used to indicate the collection progress that the resource collects task;
The resource transfers for collecting task to the resource by administration interface detection operate;
Resource transfers request is sent to the application server, is carried out obtaining money after resource transfers operate by the application server Data are shifted in source, and the resource transfers data include at least the first terminal and collect the number of resources that task shifts to the resource Amount generates and turns for recording the resource according to the characteristic value of the first block in the resource transfers data and the block chain Move data the second block, in block chain network each back end configuration block chain in add second block, Updated block chain is obtained, the second block described in the updated block chain becomes next area of first block Block;
Wherein, the block chain network includes multiple application servers as back end, and each back end configuration is identical Block chain, the block chain is used to store the task data that each resource collects task.
9. according to the method described in claim 8, it is characterized in that, the administration interface provided by application server, shows Show that resource collects the task data and progress data of task, including:
The inquiry operation of task is collected to the resource by administration interface detection;
Job enquiry request is sent to the application server, the money is inquired 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.
10. a kind of resource collects task management device, which is characterized in that be applied in the application server of block chain network, institute It includes multiple application servers as back end to state block chain network, and each back end configures identical block chain and pre- If database, the block chain is used to store the task data that each resource collects task, and the presetting database is for storing Each resource collects the progress data of task, and the progress data is used to indicate the collection progress that respective resources collect task, institute Stating device includes:
Enquiry module, for when the job enquiry for receiving first terminal is asked, query resource to be collected from the block chain The task data of task inquires the progress data that the resource collects task from the presetting database;
Sending module, for sending the task data and the progress data to the first terminal, by the first terminal It is shown by administration interface;
Data acquisition module, the resource transfers data for obtaining the first terminal, the resource transfers data include at least The first terminal collects the resource quantity that task shifts to the resource;
Block processes module is generated for the characteristic value according to the first block in the resource transfers data and the block chain The second block for recording the resource transfers data adds described the in the block chain of each back end configuration Two blocks obtain updated block chain, and the second block described in the updated block chain becomes first block Next block.
11. a kind of resource collects task management device, which is characterized in that be applied in first terminal, described device includes:
Display module, for the administration interface that is provided by application server, the task data of display resource collection task and into Degrees of data, the progress data are used to indicate the collection progress that the resource collects task;
Detection module, the resource transfers for collecting task to the resource by administration interface detection operate;
Sending module carries out resource by the application server and turns for sending resource transfers request to the application server Resource transfers data are obtained after moving operation, the resource transfers data, which include at least the first terminal and collected to the resource, appoints The resource quantity of business transfer, according to the characteristic value of the first block in the resource transfers data and the block chain, generation is used for The second block for recording the resource transfers data, in block chain network each back end configuration block chain in add Second block obtains updated block chain, and the second block described in the updated block chain becomes described first Next block of block;
Wherein, the block chain network includes multiple application servers as back end, and each back end configuration is identical Block chain, the block chain is used to store the task data that each resource collects task.
12. 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 one section of program, 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 7 is any Resource described in claim collects possessed operation in task management method;
Alternatively, the resource as described in claim 8 to 9 any claim collects possessed operation in task management method.
13. 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 one section of program, 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 the resource as described in claim 1 to 7 any claim is collected in task management method Possessed operation;
Alternatively, the resource as described in claim 8 to 9 any claim collects possessed operation in task management method.
14. 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 resource that the application server is used to execute as described in claim 1 to 7 any claim collects task management side The operation that application server executes in method.
CN201810392313.4A 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system Active CN108696514B (en)

Priority Applications (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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
CN108696514A true CN108696514A (en) 2018-10-23
CN108696514B CN108696514B (en) 2022-04-01

Family

ID=63845857

Family Applications (2)

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
CN201910678946.6A Active CN110401715B (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
CN201910678946.6A Active CN110401715B (en) 2018-04-27 2018-04-27 Resource collection task management method, device, storage medium and system

Country Status (1)

Country Link
CN (2) CN108696514B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508973A (en) * 2018-11-09 2019-03-22 京东方科技集团股份有限公司 Price control method, apparatus and block catenary system based on block chain
CN109547219A (en) * 2019-01-18 2019-03-29 杭州秘猿科技有限公司 Information collection and the method and apparatus for being submitted to block chain network
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
CN110009317A (en) * 2018-12-27 2019-07-12 阿里巴巴集团控股有限公司 The monitoring method and device of resource transfers data
CN110417790A (en) * 2019-08-02 2019-11-05 中国工商银行股份有限公司 Block chain system of real name queuing system and method
CN110471989A (en) * 2019-08-16 2019-11-19 天脉聚源(杭州)传媒科技有限公司 Downloading task progress regulation method, system and storage medium based on block chain
CN110489488A (en) * 2019-08-21 2019-11-22 腾讯科技(深圳)有限公司 A kind of data processing method and device
CN110543525A (en) * 2019-09-10 2019-12-06 腾讯科技(深圳)有限公司 Block chain network control method, device, equipment and storage medium
CN110874493A (en) * 2018-12-29 2020-03-10 厦门安妮股份有限公司 Block chain-based enterprise data tamper-proofing method
CN110933072A (en) * 2019-11-27 2020-03-27 朱培培 Data transmission method and device based on block chain and electronic equipment
CN111045568A (en) * 2019-12-20 2020-04-21 腾讯科技(深圳)有限公司 Virtual article processing method, device, equipment and storage medium based on block chain
CN111459676A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Node resource management method, device and storage medium
CN111738705A (en) * 2020-07-31 2020-10-02 支付宝(杭州)信息技术有限公司 Resource transfer method, device and equipment
CN112131266A (en) * 2020-08-12 2020-12-25 迅鳐成都科技有限公司 Method, device, system and storage medium for supporting block chain complex query
US20220138730A1 (en) * 2018-08-20 2022-05-05 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
CN114520813A (en) * 2021-12-29 2022-05-20 浙江中环瑞蓝科技发展有限公司 Pollution source management and control system based on block chain

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976232A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset transaction method and device
CN106570757A (en) * 2016-11-07 2017-04-19 北京金股链科技有限公司 Block chain-based crowd funding method, device and system
CN106874393A (en) * 2017-01-13 2017-06-20 北京众享比特科技有限公司 Synchronizing traffic data method and system, Database Systems based on block chain
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device
CN107395353A (en) * 2017-04-24 2017-11-24 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and device
CN107562775A (en) * 2017-07-14 2018-01-09 阿里巴巴集团控股有限公司 A kind of data processing method and equipment based on block chain
CN107657438A (en) * 2017-09-18 2018-02-02 联动优势科技有限公司 A kind of block chain generation method, data verification method, node and system
CN107729371A (en) * 2017-09-12 2018-02-23 深圳先进技术研究院 The data directory and querying method of block chain, device, equipment and storage medium
US20180089758A1 (en) * 2016-09-26 2018-03-29 Shapeshift Ag System and method of providing a contract-creator application

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662567B (en) * 2012-03-23 2016-01-13 腾讯科技(深圳)有限公司 The method and apparatus of operation in trigger web pages
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
CN107067255B (en) * 2017-02-27 2019-02-26 腾讯科技(深圳)有限公司 The treating method and apparatus of account in block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976232A (en) * 2016-06-24 2016-09-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
CN106570757A (en) * 2016-11-07 2017-04-19 北京金股链科技有限公司 Block chain-based crowd funding method, device and system
CN106874393A (en) * 2017-01-13 2017-06-20 北京众享比特科技有限公司 Synchronizing traffic data method and system, Database Systems based on block chain
CN107395353A (en) * 2017-04-24 2017-11-24 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and device
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device
CN107562775A (en) * 2017-07-14 2018-01-09 阿里巴巴集团控股有限公司 A kind of data processing method and equipment based on block chain
CN107729371A (en) * 2017-09-12 2018-02-23 深圳先进技术研究院 The data directory and querying method of block chain, device, equipment and storage medium
CN107657438A (en) * 2017-09-18 2018-02-02 联动优势科技有限公司 A kind of block chain generation method, data verification method, node and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
网友: ""众筹进度已过七成,独立游戏《Grow》获玩家力挺"", 《HTTPS://GAMES.QQ.COM/A/20141029/052211.HTM#P=1》 *
网友: ""区块链原理之交易背书基本流程"", 《HTTPS://WWW.SOHU.COM/A/218430194_100078137》 *

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220138730A1 (en) * 2018-08-20 2022-05-05 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
CN110417790A (en) * 2019-08-02 2019-11-05 中国工商银行股份有限公司 Block chain system of real name queuing system and method
CN110471989A (en) * 2019-08-16 2019-11-19 天脉聚源(杭州)传媒科技有限公司 Downloading task progress regulation method, system and storage medium based on block chain
CN110489488B (en) * 2019-08-21 2021-06-15 腾讯科技(深圳)有限公司 Data processing method and device
CN110489488A (en) * 2019-08-21 2019-11-22 腾讯科技(深圳)有限公司 A kind of data processing method and device
CN110543525A (en) * 2019-09-10 2019-12-06 腾讯科技(深圳)有限公司 Block chain network control method, device, equipment and storage medium
CN110933072A (en) * 2019-11-27 2020-03-27 朱培培 Data transmission method and device based on block chain and electronic equipment
CN110933072B (en) * 2019-11-27 2020-08-04 宁波平辅寅保险科技有限公司 Data transmission method and device based on block chain and electronic equipment
CN111045568B (en) * 2019-12-20 2021-05-14 腾讯科技(深圳)有限公司 Virtual article processing method, device, equipment and storage medium based on block chain
CN111045568A (en) * 2019-12-20 2020-04-21 腾讯科技(深圳)有限公司 Virtual article processing method, device, equipment and storage medium based on block chain
CN111459676A (en) * 2020-03-31 2020-07-28 腾讯科技(深圳)有限公司 Node resource management method, device and storage medium
CN111738705A (en) * 2020-07-31 2020-10-02 支付宝(杭州)信息技术有限公司 Resource transfer method, device and equipment
CN112131266A (en) * 2020-08-12 2020-12-25 迅鳐成都科技有限公司 Method, device, system and storage medium for supporting block chain complex query
CN112131266B (en) * 2020-08-12 2023-06-13 迅鳐成都科技有限公司 Method, device, system and storage medium for supporting block chain complex query
CN114520813A (en) * 2021-12-29 2022-05-20 浙江中环瑞蓝科技发展有限公司 Pollution source management and control system based on block chain
CN114520813B (en) * 2021-12-29 2023-09-01 浙江中环瑞蓝科技发展有限公司 Pollution source management and control system based on block chain

Also Published As

Publication number Publication date
CN110401715A (en) 2019-11-01
CN108696514B (en) 2022-04-01
CN110401715B (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN108696514A (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
CN111008839B (en) Resource transfer data management method, device and storage medium
CN110245144B (en) Protocol data management method, device, storage medium and system
CN111612168B (en) Management method and related device for machine learning task
EP3742323A1 (en) Blockchain generating method, and related device and system
CN111401867A (en) Resource transfer method and device based on block chain, node equipment and storage medium
CN111340482B (en) Conflict detection method, device, node equipment and storage medium
CN111444092B (en) Intelligent contract testing method and device, electronic equipment and storage medium
CN111339086A (en) Block processing method, and data query method and device based on block chain
CN111245745A (en) Message sending method, device, node equipment and storage medium
CN109615515A (en) Credits voucher transfer method, device, electronic equipment and storage medium
CN110569909A (en) fault early warning method, device, equipment and storage medium based on block chain
CN111045568B (en) Virtual article processing method, device, equipment and storage medium based on block chain
CN111260347A (en) Resource processing method, device and equipment based on block chain and storage medium
CN111667371B (en) Resource aggregation method, system, device and storage medium based on block chain
CN110851510A (en) Data processing method and device of transaction system based on block chain
CN110933113A (en) Block chain-based interactive behavior detection method, device, equipment and storage medium
CN110599328B (en) Block chain based risk user determination 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
CN111694892B (en) Resource transfer method, device, terminal, server and storage medium
CN110532324A (en) Notice information methods of exhibiting, device, equipment and storage medium based on block chain
CN110290053A (en) Resource payment method, terminal and server

Legal Events

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