CN109598142A - Credits voucher generation method, device, electronic equipment and storage medium - Google Patents

Credits voucher generation method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109598142A
CN109598142A CN201811481071.2A CN201811481071A CN109598142A CN 109598142 A CN109598142 A CN 109598142A CN 201811481071 A CN201811481071 A CN 201811481071A CN 109598142 A CN109598142 A CN 109598142A
Authority
CN
China
Prior art keywords
credits
block
credits voucher
voucher
account
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
CN201811481071.2A
Other languages
Chinese (zh)
Other versions
CN109598142B (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
Original Assignee
Tencent Technology Shenzhen 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 filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201811481071.2A priority Critical patent/CN109598142B/en
Priority to CN201910727485.7A priority patent/CN110457946B/en
Publication of CN109598142A publication Critical patent/CN109598142A/en
Application granted granted Critical
Publication of CN109598142B publication Critical patent/CN109598142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6272Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database by registering files or documents with a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Game Theory and Decision Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of credits voucher generation method, device, electronic equipment and storage mediums, belong to block chain technical field.The described method includes: generating request according to the credits voucher received, the first credits voucher is generated, the first credits voucher is for indicating that the first virtual resource in the first account is transferred to the second account in the object time;Based on the first credits voucher, the first block is generated;The first account is obtained to be weighed really as a result, really power result is for indicating the first account to the check results of the first credits voucher;When block catenary system passes through the first block common recognition, and really power result indicates that the first credits voucher passes through verification, the first block is added on the block chain of block catenary system.The present invention can carry out audit confirmation to information before writing information into block chain, improve the authenticity and accuracy to be added to the information on block chain, the authenticity and accuracy for the information that the information on block chain can not be distorted, thus be effectively ensured on block chain again.

Description

Credits voucher generation method, device, electronic equipment and storage medium
Technical field
The present invention relates to block chain technical field, in particular to a kind of credits voucher generation method, device, electronic equipment and Storage medium.
Background technique
With the development of block chain technology, block chain technical application is into more and more fields, for example, leading in finance The fields such as domain, information security, computing resource sharing, amusement, social activity, supply chain management or medical treatment are widely applied.Its In, there is one kind to hold to the investment that expires in financial field, it is non-derived financial asset that this, which is held to the investment that expires, for example, for Answer quotient that can hold credits voucher, when the credits voucher expires, which needs to the supply Quotient pays the fund in the credits voucher.
Currently, credits voucher generation method is usually that invoice is sent it to core enterprise, core by supplier development ticket under line After enterprise's receipt of invoice, it is whether accurate that the invoice content can be audited, if accurately, can go out to supplier according to really power letter, The true power letter is a kind of credits voucher.The credits voucher be used to indicate core enterprise need some following specific time to It transfers accounts in the account of supplier the assets of certain number.The staff of supplier can then be sent out by equipment to block catenary system The relevant information for giving the true power letter, is written into block chain by the block catenary system, obtain the corresponding credits of the true power letter with Card.
In the above method in credits voucher generating process, the information of credits voucher is write direct in block chain by a side, such as The information inaccuracy that fruit supplier provides, block catenary system is also there is no it is verified, so as to cause on block chain Information inaccuracy, authenticity it is poor.
Summary of the invention
The embodiment of the invention provides a kind of credits voucher generation method, device, electronic equipment and storage mediums, can solve Information inaccuracy, the problem of authenticity difference being certainly likely to occur in the related technology on block chain.The technical solution is as follows:
On the one hand, a kind of credits voucher generation method, applied to the node device in block catenary system, the side are provided Method includes:
Request is generated according to the credits voucher received, generates the first credits voucher, the first credits voucher is used for table Show and the first virtual resource in the first account is transferred to the second account in the object time;
Based on the first credits voucher, the first block is generated;
First account is obtained to be weighed really as a result, the true power result is for indicating first account to described first The check results of credits voucher;
It knows together and passes through to first block when the block catenary system, and the true power result indicates first credits When voucher passes through verification, first block is added on the block chain of the block catenary system.
On the one hand, a kind of credits voucher generation method is provided, which comprises
It obtaining credits voucher and generates instruction, the credits voucher generates instruction for generating the first credits voucher, and described the One credits voucher is for indicating that the first virtual resource in the first account is transferred to the second account in the object time;
It is generated and is instructed according to the credits voucher, sent credits voucher to block catenary system and generate request, by the block Catenary system obtains first account and is weighed really as a result, according to the true power as a result, generating the first credits voucher;
Receive the first credits voucher that the block catenary system is sent.
On the one hand, a kind of credits voucher generating means are provided, described device includes:
Generation module generates the first credits voucher, first debt for generating request according to the credits voucher received Power voucher is for indicating that the first virtual resource in the first account is transferred to the second account in the object time;
The generation module is also used to generate the first block based on the first credits voucher;
Module is obtained, is weighed really for obtaining first account as a result, the true power result is for indicating described first Check results of the account to the first credits voucher;
Adding module, for passing through when the block catenary system to first block common recognition, and the true power result refers to When showing that the first credits voucher passes through verification, first block is added on the block chain of the block catenary system.
On the one hand, a kind of credits voucher generating means are provided, described device includes:
Module is obtained, generates instruction for obtaining credits voucher, the credits voucher generates instruction for generating the first debt Voucher is weighed, the first credits voucher is for indicating that the first virtual resource in the first account is transferred to second in the object time Account;
Sending module is instructed for being generated according to the credits voucher, is sent the generation of credits voucher to block catenary system and is asked Ask, by the block catenary system obtain first account weigh really as a result, according to the true power as a result, the first credits of generation with Card;
Receiving module, the first credits voucher sent for receiving the block catenary system.
On the one hand, a kind of electronic equipment is provided, the electronic equipment includes processor and memory, in the memory It is stored at least one instruction, described instruction is loaded by the processor and executed to realize credits voucher generation method institute The operation of execution.
On the one hand, provide a kind of computer readable storage medium, be stored in the computer readable storage medium to A few instruction, described instruction are loaded as processor and are executed to realize operation performed by the credits voucher generation method.
The embodiment of the present invention can be acknowledged a debt after generating the first credits voucher by the corresponding debt of the first credits voucher The first credits voucher is really weighed at family, can should if really power result indicates that the first credits voucher is authentic and valid The information of first credits voucher is added on block chain, can carry out auditing really to information before writing information into block chain Recognize, rather than directly write information into block chain by an equipment, is improved to be added to the true of the information on block chain Property and accuracy, and the information on block chain can not distort, thus the authenticity for the information that can be effectively ensured on block chain and Accuracy.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of implementation environment of credits voucher generation method provided in an embodiment of the present invention;
Fig. 2 is a kind of implementation environment of credits voucher generation method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of credits voucher generation method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of credits voucher generation method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of credits voucher generation method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of credits voucher generating means provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of credits voucher generating means provided in an embodiment of the present invention
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
First the implementation environment of credits voucher generation method provided in an embodiment of the present invention is illustrated below, referring to Fig. 1 And Fig. 2, it may include multiple electronic equipments in the implementation environment, each electronic equipment can be terminal, or server.
As shown in Figure 1, multiple electronic equipment can be multiple node devices in block catenary system.As shown in Fig. 2, should Multiple electronic equipments also may include multiple node devices in electronic equipment and block catenary system outside block catenary system.This hair Bright embodiment to specifically use which kind of implementation be not construed as limiting.
Multiple electronic equipments in the block catenary system can be multiple node devices of the same mechanism, also may belong to Different mechanisms.For example, multiple electronic equipment can belong to financial institution, and multiple electronic equipment may belong to finance The different departments of mechanism, can also be using wherein one or more electronic equipments as user equipment, and one or more electronic equipments belong to Financial institution, certainly, other electronic equipments could also belong to other mechanisms, for example, asset management mechanism, the embodiment of the present invention It is numerous to list herein.
In a kind of possible implementation, multiple electronic equipment can correspond respectively to different institutions, for example, core is looked forward to Industry, supplier, asset management mechanism, financial institution or other mechanisms with financial institution with contract relation.Wherein, the assets Asset management platform can be deployed in the equipment of management organization, the financial institution or with financial institution have contract relation its The equipment of his mechanism can be resource transfers equipment.
Wherein, the credits voucher which can submit for supplier generates request or the transfer of credits voucher Request is audited, and audit by when generate credits voucher, which can also be total with resource transfers equipment Resource transfers are carried out based on credits voucher with when realizing that credits voucher expires.The resource transfers equipment can safeguard multiple accounts Resource information can also carry out resource transfers to the resource in account.
It should be noted that equipment where the asset management platform can be the node device in block catenary system, and core The equipment of heart enterprise, the equipment of supplier and resource transfers equipment can be the node device in block catenary system, or Node device outside block catenary system, the embodiment of the present invention are not construed as limiting this.In a kind of possible implementation, the Assets Reorganization Taking Platform can be deployed on an electronic equipment, can also be with distributed deployment on multiple electronic equipments, for example, the Assets Reorganization Taking Platform can be deployed on a server, can also be deployed on a server cluster, flat with asset management below Equipment where platform is referred to as, and the present invention is not especially limit this.
Certainly, in order to carry out the service such as safety verification, rights management, the center CA can be configured in block catenary system (Certificate Authority, certificate authority), it is each in block catenary system for storing the key of each mechanism A electronic equipment can obtain the key of each mechanism from the center CA, with processes such as the encryption and the decryption that carry out information.
Fig. 3 is a kind of flow chart of credits voucher generation method provided in an embodiment of the present invention, referring to Fig. 3, the credits with Card generation method may comprise steps of:
301, electronic equipment obtain credits voucher generate instruction, the credits voucher generate instruction for generate the first credits with Card.
In embodiments of the present invention, user can be sent to block catenary system by electronic equipment and be requested, by block linkwork System is that it generates credits voucher, which usually has expiration time, and in the credits voucher expiration time, debtor can be with The virtual resource in the credits voucher is shifted to creditor.Certainly, which is holding the credits voucher and the credits voucher not When expiring, which can also carry out the operation such as subrogation.
For example, above-mentioned credits voucher generation method can be applied in supply chain financial scenario, which can be Hold the digital asset into the business of expiring, supplier can hold the credits voucher, the credits voucher expiration time, core enterprise Industry can pay the fund in the credits voucher to supplier, thus the credits voucher is that a kind of electronics really weighs letter, be that is to say, The accounts receivable held by Que Quanhou supplier, core enterprise.
In the step 301, user can carry out credits voucher on an electronic device and generate operation, which can be with Get the credits voucher generation instruction that the credits voucher generates operation triggering.The credits voucher generates instruction for generating first Credits voucher, the first credits voucher is for indicating that the first virtual resource in the first account is transferred to second in the object time Account.Certainly, it may include the object time, the first account, the first virtual resource and second which, which generates in instruction, The information such as account.
For example, Tier One supplier can apply for the credits voucher of some core enterprise in supply chain financial scenario, then should The staff of Tier One supplier can carry out above-mentioned credits voucher on an electronic device and generate operation, so that electronic equipment obtains It generates and instructs to credits voucher.Correspondingly, above-mentioned first account can be core enterprise account, the second account can for this one The account of grade supplier, the first virtual resource are the fund that core enterprise needs to pay, and the object time is first credits The expiration time of voucher that is to say that core enterprise needs to pay the time of corresponding fund to Tier One supplier.
302, electronic equipment is generated according to the credits voucher and is instructed, and is sent credits voucher to block catenary system and is generated request.
Specifically, which, which generates, can carry above-mentioned credits voucher and generate include in instruction interior in request Hold, that is to say, which, which generates request, can carry the object time, the first account, the first virtual resource and second The information such as account.It, can to which in the step 302, electronic equipment can send credits voucher to block catenary system and generate request The first credits voucher is generated to request the block catenary system to generate the above- mentioned information that request carries according to the credits voucher.
In a kind of possible implementation, the electronic equipment can a node device in the block catenary system, the section Point device can submit credits voucher to generate request to block catenary system, by other sections in the electronic equipment and block catenary system Point device generates request to the credits voucher jointly and handles.In alternatively possible implementation, which can also Think that the electronic equipment outside the block catenary system, electronic equipment can send credits voucher to block catenary system and generate request, by The credits voucher generates request and is handled, and processing result is returned to the electronic equipment.The embodiment of the present invention is to specifically adopting Which kind of it is not construed as limiting with implementation.
303, the node device of block catenary system receives the credits voucher and generates request.
Specifically, in above-mentioned steps 302, electronic equipment can send the debt to any node equipment in block catenary system It weighs voucher and generates request, the node device for receiving credits voucher generation request can be saved to other in the block catenary system Point device forwards the credits voucher to generate request, so that the node device in the step 303 in the block catenary system receives It generates and requests to the credits voucher.
Certainly, in above-mentioned steps 302, electronic equipment can also send the debt to multiple node devices in block catenary system It weighs voucher and generates request, multiple node device can also execute above-mentioned forwarding step, thus all in the block catenary system Node device can receive the credits voucher and generate request, and the embodiment of the present invention specifically sets electronic equipment to which node Preparation send the repeating process of request and node device to be not construed as limiting.
In a kind of possible implementation, in above-mentioned steps 302, electronic equipment can be to equipment where asset management platform Send credits voucher and generate request, equipment where asset management platform can other node devices into block catenary system turn It sends out the credits voucher and generates request.
For example, the electronic equipment can be the equipment of Tier One supplier, the staff of the Tier One supplier can be in electricity It is operated in sub- equipment, so that the electronic equipment can send the credits request for credentials to asset management platform, the block chain It can also include other node devices, for example, in above-mentioned resource transfers equipment, CA in system other than the asset management platform Heart etc., then equipment where asset management platform can forward the credits request for credentials to other node devices.Specifically, the assets Manage platform may include the asset management system (Asset Management System, AMS) in a device, wherein the money Assets gateway auditing system can be referred to as by producing management system.In embodiments of the present invention, which can be with To mark financial institution's auditing standards, cochain assets are audited, verify trade authenticity, cocurrent goes to core enterprise and carries out really Power, specifically may refer to following step, the embodiment of the present invention does not repeat herein.
304, the node device of block catenary system generates request according to the credits voucher that receives, generate the first credits with Card.
After any node equipment in the block catenary system receives the generation request of credits voucher, the step can be executed 304, based on the credits voucher generate request in content, generate the first credits voucher, and further to first credits with Card is verified, and to determine the authenticity of the first credits voucher, is determining that the first credits voucher is authentic and valid situation Under, then carry out subsequent step.
It is of course also possible to execute the step 304 by a node device in block catenary system, and will by the node device Its first credits voucher generated is broadcast to other node devices, so that other node devices can be based on the first debt received It weighs voucher and credits voucher generates request, determine the authenticity for the first credits voucher that the node device generates, and execute subsequent Step.
305, the node device of block catenary system is based on the first credits voucher, generates the first block.
After node device generates the first credits voucher, the first block can be generated based on the first credits voucher, so as to With to first block carry out common recognition pass through and determine that the first credits voucher is authentic and valid when, following step can be executed 307, the information of the first credits voucher is recorded on block chain, the information of the first credits voucher is during cochain in this way It is verified, and information can not distort on chain, thereby may be ensured that the authenticity and accuracy of the first credits voucher, subsequent base When the first credits voucher carries out resource transfers, it is also ensured that the accuracy of resource transfers.
It should be noted that the node device generate the first block after, can also be broadcasted to other node devices this first Block, so that block catenary system can know together to first block.It certainly, can also in alternatively possible implementation To execute the step 305 by some or the multiple node devices in the block catenary system, the first block is generated, and to other nodes Device broadcasts first block, to know together, which can be determined based on common recognition strategy, the embodiment of the present invention to this not It limits.
In a kind of possible implementation, the process that above-mentioned node device generates the first block can be with are as follows: by current block The last one block is known as a upper block in chain, that is to say that block is the highest area of block height in current block chain on this The block that the node device is generating is known as next block (that is to say the first block) by block.Node device can be from block All information of a block on this are obtained in chain, so as to all information based on a block on this, generate a upper block Block head characteristic value, and the information for the contract that will be stored in next block and above-mentioned first credits voucher carry out characteristic value meter Calculate, obtain the block body feature value of next block, in turn, node device can by the block head characteristic value of a upper block, under The block body feature value (can also include version number, difficulty value and timestamp etc.) of one block is stored to the block of next block Head, and the information etc. of the information of contract and above-mentioned first credits voucher is stored to the block main body of next block, to generate Next block.Block is related by the block head characteristic value of a upper block to next block in this way on this, may be implemented in area The purpose that block is together in series in block chain.In embodiments of the present invention, which is the first block, first block Generating process is that can be found in the generating process of above-mentioned next block, first block and the series connection of a upper block in block chain.When So, it above are only a kind of example for generating block, the generating process of first block can also use other implementations, this hair Bright embodiment is not construed as limiting the specific generating process of first block.
In one specifically possible embodiment, in the generating process of above-mentioned first block, which can be to this First credits voucher carries out Hash calculation, the cryptographic Hash of the first credits voucher is obtained, so that the cryptographic Hash is stored in first In block.
The node device of block catenary system after generating the first block, the block catenary system can also to first block into Whether row common recognition, the content to determine first block are accurate.Specifically, during the common recognition, block catenary system can be to this The features described above value generated in first block is verified, and can also be verified to the accuracy of the information of this deposit, example Such as, the information of the first credits voucher of this secondary deposit can be verified.Specifically, node device can be examined based on finance Core standard verifies the content of first block.Wherein, the content of the first block is the letter of the first credits voucher Breath, the finance auditing standards used standard when can be audited for financial institution.In this way can to first credits with The information of card is audited, to verify trade authenticity.In a kind of possible implementation, the process of the audit or verification can be with It is realized based on assets gateway auditing system.
In a kind of possible implementation, during above-mentioned common recognition, each node device verifies first block It afterwards, can be to other node device verifying broadcasts as a result, testing when the node device for being greater than preset ratio in the block catenary system Demonstrate,prove result be by when, the block catenary system can determine to first block common recognition passes through.Certainly, the verifying broadcasts result Specific implementation process and the preset ratio can be preset by related technical personnel, can also be carried out by related technical personnel Adjustment, the embodiment of the present invention are not construed as limiting this, are also not especially limited to the common recognition process.
It should be noted that above-mentioned common recognition process is only a kind of example of block common recognition, which can also be by area Leader node equipment or digging mine node device in block catenary system carry out block generation and broadcast, and determine to whether block knows together Pass through, and determines whether common recognition can also be different from the setting of above-mentioned preset ratio by way of.Wherein, which can To be realized based on common recognition strategy, for example, the common recognition strategy can serve to indicate that the target for endorsement strategy, the endorsement strategy The necessary condition that process of endorsing in block catenary system need to meet.For example, the endorsement strategy can indicate the multiple back for needing to endorse Book node forms an endorsement node set, and endorsement process then needs the coalition signature of the endorsement node set, and the present invention is implemented Example does not repeat excessively herein, does not also limit the detailed process of common recognition.
306, the node device of block catenary system obtains first account and is weighed really as a result, the true power result is for indicating this Check results of first account to the first credits voucher.
The credits voucher that the electronic equipment is submitted generates the first virtual resource in request and may also simultaneously non-user decide through consultation, It is that first virtual resource may not be inconsistent with real information, it, should in order to further determine the accuracy of the first credits voucher Node device can also obtain the first account weigh really as a result, with determine the first credits voucher content it is whether true, thus When true, then following step is executed, returns to the first credits voucher.
Wherein, it also may include various ways which, which obtains the process that first account weighs result really,.Specifically Ground, following provide the modes that two kinds obtain really power result:
First way, block catenary system node device receive first account and weigh result really.
In the first way, the node device of the block catenary system can send true to the corresponding equipment of the first account Power request, and receive the first account and weigh result really.
For example, the node device of the block catenary system can send really power request to the corresponding equipment of first account, The corresponding equipment of first account is known as the first equipment by this, and the first equipment can shown when receiving true power request Really power notice.The user of first equipment can verify the first credits voucher when seeing true power notice, namely It is that can check whether the content of the first credits voucher is true, if it is, agreement operation can be carried out, if it is not, then can To carry out refusal operation.First equipment in this way, can be to the node device of block catenary system after detecting the operation of user Really power is sent as a result, weighing result really to which the node device of the block catenary system receives first account.In supply chain finance In scene, which can send really power request to the equipment of core enterprise, be grasped by the staff of core enterprise Make, to return to really power result.
The second way, block catenary system node device receive first account and weigh file really, to the true power file It is analyzed, obtains first account and weigh result really.
In the second way, the node device of the block catenary system can be obtained by analyzing true power file First account is taken to weigh result really.Wherein, this really weighs file can be based on really power request by the first equipment, obtained and be sent to The node device can also be sent to the node device by the first equipment in advance, can also be sent out by the corresponding equipment of the second account It send to the node device, the embodiment of the present invention is not construed as limiting this.
Node device can analyze the true power file after getting really power file, to determine the true power file In information and the information in the first credits voucher it is whether consistent, so that obtain first account weighs result really.
For example, Tier One supplier can post invoice to core enterprise, which can be level-one based on the invoice Supplier provides really power letter, and it is a kind of really power file that this, which really weigh letter, and certainly, it can be paper document that this, which really weighs letter, can also be with It, can be using scanning file, picture or the electronic document of the paper document as true power file for electronic document.Then above-mentioned scene can Think that node device sends really power request to core enterprise, really power file is uploaded by the staff of core enterprise.
Above-mentioned to provide only two kinds of implementations for obtaining really power result, certainly, which can also use other Mode, for example, really power request is sent to the first equipment by the block catenary system from the electronic equipment before the step 301, Really power is returned to by first equipment as a result, to apply for content without mistaking, from the electronic equipment to area in true power result instruction Block catenary system sends credits voucher and generates request, which generates request and carry the above-mentioned application content really weighed, from And node device verifies the first credits voucher based on the application content really weighed, obtains first account really Power is as a result, the embodiment of the present invention is not construed as limiting this.
Node device, can be based on really power as a result, judging whether the first credits voucher leads to after getting really power result Verification is crossed, so that it is determined that the processing mode of the first credits voucher and the first block.It should be noted that above-mentioned steps 305 In result is really weighed to the common recognition process of the first block and the acquisition process can carry out simultaneously, can also by the node device elder generation It knows together with other node devices to the first block, then obtains really power and really weighed as a result, being total to again as a result, can also first obtain Know.In a kind of possible implementation, which can also be when block catenary system passes through the first block common recognition, then holds The row step 306 does not execute the step 306 if common recognition does not pass through.In alternatively possible implementation, which is set It is standby first to obtain really power as a result, carrying out when really power result indicates that the first credits voucher passes through verification, then to the first block Common recognition then no longer knows together to the first block when really power result indicates that the first credits voucher is unverified.It is above-mentioned to mention Several optional implementations are supplied, the embodiment of the present invention does not limit the timing of common recognition process and the process for obtaining true power result It is fixed.
Certainly, above-mentioned steps 306 can be executed by a node device in the block catenary system, get really power knot After fruit, other node devices are forwarded to, really power result is obtained without each node device.
307, it knows together and passes through to first block when the block catenary system, and the true power result indicates the first credits voucher When passing through verification, which is added on the block chain of the block catenary system by the node device of block catenary system.
In above-mentioned steps 305 and step 306, block catenary system passes through the first block common recognition, and the true power result refers to When showing that the first credits voucher passes through verification, it may be said that the bright first credits voucher is true, accurate, and first block In content it is also errorless, then first block can be then added on the block chain of block catenary system by the node device.Certainly, Node device in the block catenary system can execute the step 307, and after determining that information is errorless, the addition of the first block is existed On block chain.
In a kind of possible implementation, knows together and pass through to first block when the block catenary system, and the true power result When indicating that the first credits voucher passes through verification, the node device of block catenary system by the first credits voucher store to credits with It demonstrate,proves in information bank.After determining that the first credits voucher is errorless, which can also be stored, thus rear It is continuous when needing using the first credits voucher, the first credits voucher can be obtained from the credits credential information library.
It should be noted that the accuracy in order to guarantee the first credits voucher in the credits credential information library, the node Inspection mechanism is also provided in equipment.Specifically, when receiving the acquisition instruction to the first credits voucher, block chain The first credits voucher in the available credits credential information library of the node device of system, then the node device can be to this First credits voucher carries out Hash calculation, obtains the cryptographic Hash of the first credits voucher.In above-mentioned steps 305 it is stated that The cryptographic Hash of the first credits voucher is stored in first block, which can be by the Kazakhstan of the first credits voucher Uncommon value is compared with stored cryptographic Hash in first block.When the cryptographic Hash of the first credits voucher is stored with this When cryptographic Hash difference, then node device can send acquisition failed message, and the acquisition failed message is for informing the credits voucher The first credits voucher in information bank has been modified.
Certainly, when the cryptographic Hash of the first credits voucher and the stored cryptographic Hash difference, the credits can be determined The first credits voucher in credential information library is not modified.Setting by above-mentioned credits credential information library and checking machine in this way First credits voucher is stored in credits credential information library by system without the storing excess information on block chain, and by above-mentioned Inspection mechanism can reduce depositing for block chain to guarantee the accuracy of the first credits voucher in the credits credential information library While storage burden, guarantee the accuracy and authenticity of information.
308, the node device of block catenary system sends the first credits voucher to electronic equipment.
309, electronic equipment receives the first credits voucher of block catenary system transmission.
After determining that the first credits voucher is errorless, which can also send electron for the first credits voucher Equipment, so that the electronic equipment can store it, it is subsequent subrogation to be carried out based on the first credits voucher Deng.
It should be noted that above-mentioned only pass through the block catenary system to first block common recognition, and the true power result refers to Show that the case where the first credits voucher passes through verification is illustrated, after above-mentioned steps 306, it is also possible to including a kind of scene, The block catenary system does not pass through to first block common recognition or the true power result indicates that the first credits voucher is unverified, Then in above-mentioned scene, illustrate that the information of the first credits voucher is wrong, the authenticity and accuracy of the first credits voucher are asked Topic, then node device can abandon the first credits voucher and first block.It in this way can by the process of above-mentioned true power verification To guarantee authenticity and accuracy to be added to the information on block chain.
In a kind of possible implementation, above-mentioned common recognition does not pass through or the first credits voucher is unverified scene In, which can also send failed regeneration message to the electronic equipment.That is to say, when the block catenary system to this first When block common recognition does not pass through or the true power result indicates that the first credits voucher is unverified, the node of block catenary system is set Preparation send failed regeneration message.Correspondingly, electronic equipment receives failed regeneration message, and the failed regeneration message is by the block linkwork System does not pass through or the true power result indicates the first credits voucher not to the first credits voucher corresponding first block common recognition It is sent when passing through verification.
Above-mentioned steps 301 send credits voucher to block catenary system to the electronic equipment into step 309 and generate request, by The block catenary system is based on the credits voucher and generates request the first credits voucher of generation, and in confirmation, the first credits voucher really has It is written into block chain again when effect, and can be by the first credits voucher if the confirmation the first credits voucher is problematic It abandons, ensure that the authenticity and accuracy of information on chain.Certainly, the electronic equipment and block catenary system after the step 309 Between be also possible to have carried out other interactions, for example, the electronic equipment can send subrogation request to the block catenary system, by The block catenary system provides subrogation service for it, in another example, in the object time, block catenary system is the electronic equipment automatically Resource transfers service is provided.Process after the step 309 may refer to following embodiment illustrated in fig. 4, and the embodiment of the present invention exists This is not repeated excessively.
The embodiment of the present invention can be acknowledged a debt after generating the first credits voucher by the corresponding debt of the first credits voucher The first credits voucher is really weighed at family, can should if really power result indicates that the first credits voucher is authentic and valid The information of first credits voucher is added on block chain, can carry out auditing really to information before writing information into block chain Recognize, rather than directly write information into block chain by an equipment, is improved to be added to the true of the information on block chain Property and accuracy, and the information on block chain can not distort, thus the authenticity for the information that can be effectively ensured on block chain and Accuracy.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
In above-mentioned embodiment illustrated in fig. 3 after step 309, it is also possible to including a variety of possible scenes, such as subrogation Scene and resource transfers scene are illustrated the several scenes that may include below by embodiment illustrated in fig. 4, the figure In 4 illustrated embodiments, only to have occurred the scene of two kinds of subrogations and resource transfers, and under corresponding scene electronics is set Standby and block catenary system is illustrated for needing to be implemented corresponding steps, which kind of scene is the embodiment of the present invention to specifically occurring not It limits.Certainly, it is also possible to the step of being executed similarly by other electronic equipments in above-mentioned scene, realizes the business under similar scene Function below also illustrates the similar scene being also possible that by embodiment illustrated in fig. 5, the embodiment of the present invention The scene being specifically likely to occur is not construed as limiting.
Fig. 4 is a kind of flow chart of credits voucher generation method provided in an embodiment of the present invention, and referring to fig. 4, this method can With the following steps are included:
401, electronic equipment obtain credits voucher generate instruction, the credits voucher generate instruction for generate the first credits with Card.
402, electronic equipment is generated according to the credits voucher and is instructed, and is sent credits voucher to block catenary system and is generated request.
403, the node device of block catenary system receives the credits voucher and generates request.
404, the node device of block catenary system generates request according to the credits voucher that receives, generate the first credits with Card.
405, the node device of block catenary system is based on the first credits voucher, generates the first block.
406, the node device of block catenary system obtains first account and is weighed really as a result, the true power result is for indicating this Check results of first account to the first credits voucher.
407, it knows together and passes through to first block when the block catenary system, and the true power result indicates the first credits voucher When passing through verification, which is added on the block chain of the block catenary system by the node device of block catenary system.
408, the node device of block catenary system sends the first credits voucher to electronic equipment.
409, electronic equipment receives the first credits voucher of block catenary system transmission.
The step 401 similarly to step 409 and above-mentioned steps 301 to step 309, seldom do superfluous herein by the embodiment of the present invention It states.
410, when getting the first subrogation instruction, electronic equipment sends the first subrogation to the block catenary system Request.
Wherein, first subrogation request is used to indicate block catenary system and is requested based on first subrogation, is generated The corresponding second credits voucher of first credits voucher.The second credits voucher is for indicating in the object time that this is first virtual The second virtual resource in resource is transferred to third account.
It, can also be in the first credits voucher after user obtains the first credits voucher after above-mentioned steps 409 First virtual resource carries out fractionation circulation, that is to say, which can transfer some or all of first virtual resource Other users.For example, the electronic equipment may belong to Tier One supplier in supply chain financial scenario, which is held There is the first credits voucher, which can refer to 1,000,000 assets, and when expiring, core enterprise needs to supply to the level-one Quotient is answered to pay 1,000,000 assets, but before 1,000,000 assets expire, which can also will be in 1,000,000 assets Some or all of transfer upper level supplier, that is to say second level supplier.Certainly, second level supplier can also be held Credits voucher carry out resource transfers, be transferred to three-level supplier, and so on, above-mentioned subrogation scene can be applied to more Kind scene, is only illustrated so that 500,000 assets in 1,000,000 assets are transferred second level supplier by Tier One supplier as an example herein, Wherein, 500,000 assets are the second virtual resource, and third account is the account of second level supplier.
User can carry out the first subrogation operation, the electricity when wanting to carry out subrogation on the electronic equipment When sub- equipment gets the first subrogation instruction of the first subrogation operation triggering, the step 410 can be executed.Specifically Ground, which requests that the identification information of the first credits voucher or the first credits voucher can be carried, for example, first The number of credits voucher can know first credits so that the block catenary system can be requested based on first subrogation Transfer request is realized based on the first credits voucher.
Similarly with the content in step 302, object time, the second account can also be carried in first subrogation request The information such as family, the second virtual resource and third account.It is of course also possible to carry the information of the first credits voucher, third account and The information such as the second virtual resource, the content that the embodiment of the present invention carries first subrogation request are not construed as limiting.
411, the node device of block catenary system receives first subrogation request.
Similarly with above-mentioned steps 303, electronic equipment can be sent out to any node equipment in block catenary system in above-mentioned 410 The first subrogation is sent to request, it, can also be from electronic equipment to multiple nodes so that received node device is forwarded it Equipment sends the first subrogation request, so that multiple node device is forwarded it, the embodiment of the present invention to this first The process that sends and receives of subrogation request is not construed as limiting.
In a kind of possible implementation, similarly with the content in above-mentioned steps 303, in above-mentioned steps 410, electronic equipment Credits voucher being sent to equipment where asset management platform and generating request, equipment where the asset management platform can be to area Other node devices in block catenary system forward the credits voucher to generate request.
For example, the electronic equipment can be the equipment of Tier One supplier, the staff of the Tier One supplier can be in electricity It is operated in sub- equipment, so that the electronic equipment can send first subrogation request, assets to asset management platform Equipment where management platform can forward the credits request for credentials to other node devices.
412, the node device of block catenary system is requested according to the first subrogation for receiving, generate first credits with Demonstrate,prove corresponding second credits voucher.
Similarly, the node device of block catenary system generates the mistake of the second credits voucher for the step 412 and above-mentioned steps 304 The generating process of journey and above-mentioned first credits voucher is similarly, it should be noted that the second credits voucher be first credits with Corresponding second credits voucher is demonstrate,proved, the second virtual resource in the second credits voucher is virtual for first in the first credits voucher Some or all of resource.For example, the second credits voucher can indicate the second account in the object time by Tier One supplier Third account of 1,000,000 assets transfers to be transferred to second level supplier.
413, the node device of block catenary system is based on the second credits voucher, the second block is generated, to second block It knows together.
414, when the block catenary system passes through second block common recognition, the node device of block catenary system by this second Block is added on the block chain of the block catenary system.
Similarly, the node device of block catenary system generates for the step 413 and step 414 and above-mentioned steps 305 and step 306 The generating process of the process of second block and above-mentioned first block similarly, common recognition process to the second block and to the first block Similarly, the node device of block catenary system can carry out authenticity verification to the information of the second credits voucher to common recognition process.
Since the account that resource produces in the second credits voucher is the second account, which is second account Corresponding equipment, then block catenary system, which may not need, sends really power request to the electronic equipment again, to obtain second account Really power is as a result, certainly, in a kind of possible implementation, the node device of the block catenary system can also execute above-mentioned steps 306 similarly the step of, weigh really with obtaining the second account as a result, passing through and the to know together in block catenary system to the second block When two credits vouchers pass through verification, the step 414 is executed.Through the above steps 413 and step 414, to the second credits voucher into Row verification, it is also ensured that the authenticity and accuracy of the information of the second credits voucher stored on block chain.
In a kind of possible implementation, after the step 414, the node device of block catenary system is sent out to electronic equipment Send the first subrogation success message.Correspondingly, electronic equipment receives the first subrogation success of block catenary system transmission Message.The first subrogation success message is for informing that the second credits voucher has been successfully generated.
In a kind of possible implementation, after the step 414, the node device of block catenary system can also be to third The corresponding equipment of account sends the second credits voucher.The corresponding equipment of third account receives the second credits voucher, It can be based on the second credits voucher, carry out the operation such as subrogation, similarly, the embodiment of the present invention is herein for process and the above process It does not repeat.
The case where above-mentioned steps 410 to step 414 provides a kind of subrogation there may also be another credits in fact and turn The case where shifting, specifically may refer to following step 415 to step 420.
415, when getting the second subrogation instruction, electronic equipment sends the second subrogation to the block catenary system Request.
Wherein, second subrogation request is used to indicate the block catenary system and is requested based on second subrogation, raw At the corresponding third credits voucher of the first credits voucher, based on the third virtual resource in the third credits voucher, from the 4th The 4th virtual resource is shifted in account into second account.
Electronic equipment, can also be by debt some or all of in the first credits voucher after getting the first credits voucher Power is transferred to other users, and other users currently can shift virtual resource to second account.Certainly, step 414 it Afterwards, the corresponding equipment of third account can also be interacted with block catenary system, execute the phase in the step 415 to step 420 Answer step, to carry out above-mentioned subrogation, the case where another kind subrogation only continued with the electronic equipment herein into Row explanation.
Certainly, the step 415 to step 420 can also execute after above-mentioned steps 409, and above-mentioned steps 410 are to step The case where subrogation, does not occur in rapid 414, or occurs after the process of the step 415 to step 420 or two processes It can occur simultaneously, the embodiment of the present invention is not construed as limiting this.
For example, after Tier One supplier holds the first credits voucher, can also be discounted in supply chain financial scenario, It that is to say that Tier One supplier can choose and some or all of the first virtual resource in the first credits voucher transferred into gold Melt mechanism, the financial institution can the virtual resource based on the transfer certain fund is paid to the Tier One supplier.Certainly, should Financial institution can collect certain discount charge, thus the number of fund that the financial institution currently needs to pay can be less than The Tier One supplier applies for the number of the virtual resource of discount.For example, the financial institution can be bank, or factoring is public Department, certainly, the financial institution can also be other mechanisms, and the embodiment of the present invention is not construed as limiting this.
For example, the Tier One supplier holds 1,000,000 assets, which has transferred the possession of 500,000 moneys to second level supplier It produces, it is desirable to discount 200,000 assets in remaining 500,000 assets, which can transfer 200,000 assets Factoring company, factoring company have collected 1.4 ten thousand yuan of discount charge, so as to by the money in 18.6 ten thousand yuan of cash or account Gold is given to the account of Tier One supplier.Above-mentioned 1,000,000 assets, 500,000 assets and 200,000 assets are virtual resource, the virtual money Source just can be achieved to cash when the first credits voucher expires, and 18.6 ten thousand yuan of the cash that factoring company pays to Tier One supplier Or the fund in account is then true fund.
416, the node device of block catenary system receives second subrogation request.
Similarly, the embodiment of the present invention does not repeat excessively herein for the step 416 and above-mentioned steps 303 or step 411.
417, the node device of block catenary system is requested according to the second subrogation for receiving, generate first credits with Demonstrate,prove corresponding third credits voucher.
Wherein, the third credits voucher is for indicating the third virtual resource in first virtual resource in the object time It is transferred to the 4th account.The step 417 and above-mentioned steps 304 or step 412 similarly, the third credits voucher that simply generates and the The content of interior perhaps the second credits voucher of one credits voucher is different, and the embodiment of the present invention does not repeat herein.For example, still with For supply chain financial scenario, Tier One supplier is after obtaining the first credits voucher of 1,000,000 assets, it is desirable to will wherein 200,000 provide Production is discounted, which is third virtual resource, and the 4th account is the factoring company in above-mentioned steps 415 Account.
418, the node device of block catenary system is based on the third credits voucher, third block is generated, to the third block It knows together.
Similarly, and the node device of block catenary system can be based on gold for the step 418 and above-mentioned steps 305 or step 413 Melt auditing standards, the content of the third credits voucher is audited, the embodiment of the present invention does not repeat herein.
419, when the block catenary system passes through third block common recognition, the node device of block catenary system obtain this The confirmation of four accounts instructs.
The node device of block catenary system meets financial criteria, and the third area in the content for determining the third credits voucher When the content of block is also accurate, the confirmation of available 4th account is instructed.Wherein, the 4th account is the third credits voucher Third virtual resource account to be transferred to when the middle object time, and correspondingly, the 4th account needs to be transferred to the second account Four virtual resources, thus the confirmation of the 4th account can also be passed through.
Specifically, in the step 419 obtain the 4th account confirmation instruction process, can with obtained in above-mentioned steps 306 The first account is taken to weigh the process of result really similarly, in a kind of possible implementation, the node device of the block catenary system can To receive the confirmation instruction of the 4th account.In alternatively possible implementation, the node device of block catenary system can be connect The confirmation file for receiving the 4th account analyzes the confirmation file, obtains the confirmation file of the 4th account.
For example, the 4th account can be the account of factoring company, when block catenary system passes through third block common recognition, Block catenary system can send confirmation request in the equipment of factoring company, be confirmed whether to prop up by the staff of the factoring company Above-mentioned 4th virtual resource is paid, so as to agree to operation or refusal operation, is operated if it is agreement, the factoring company Equipment can send confirmation instruction to block catenary system.Certainly, it is operated if it is refusal, the equipment of the factoring company can be to Block catenary system sends refusal instruction.In a kind of possible implementation, which is based on financial institution or money Golden disbursing office realizes that the staff can be confirmed whether the virtual resource in account is greater than or equal to the 4th virtual resource, Confirmation result is that when being, then can carry out agreement operation.If it is confirmed that result be it is no, staff can also be first into the account Enough virtual resources are shifted, then carry out above-mentioned agreement operation.
420, the node device of block catenary system is instructed based on the confirmation, which is added to the block catenary system Block chain on, the 4th virtual resource is shifted from the 4th account into second account, the 4th virtual resource is based on the Three virtual resources determine.
The node device of block catenary system can be confirmed that this subrogation process can be just after receiving confirmation instruction It often carries out, thus third block can be added on block chain, and carry out the transfer of the 4th virtual resource.Wherein, the 4th Virtual resource can be determined based on third virtual resource, for example, factoring company can shift if to discount 200,000 assets Fund in 18.6 ten thousand cashes or account.
In a kind of possible implementation, after the step 420, the node device of block catenary system can be set to electronics Preparation send the second subrogation success message.Correspondingly, electronic equipment can receive the second credits of block catenary system transmission Shift success message.The second subrogation success message is for informing that the third credits voucher has been successfully generated.
In one specifically possible embodiment, after the step 420, the node device of block catenary system is set to electronics Preparation send resource transfers success message.Correspondingly, electronic equipment receives resource transfers success message, the resource transfers success message It is sent when shifting the 4th virtual resource from the 4th account into second account.In this way electronic equipment you can learn that on It states credits and successfully transfers the 4th account, and be transferred to corresponding fund in account.
In a kind of possible implementation, after the step 420, the node device of block catenary system can also be to the 4th The corresponding equipment of account sends third credits voucher.Correspondingly, the corresponding equipment of the 4th account can receive the third credits Voucher, certainly, the corresponding equipment of the 4th account can also carry out any of the above-described kind of credits to the third credits voucher subsequent Transfer processing, the embodiment of the present invention do not repeat excessively herein.
It should be noted that the case where above-mentioned steps 410 to step 414 and step 415 to step 420 situation may be same When occur, it is also possible to be not in, it is also possible to the case where only occurring in which a kind of situation, occurring may also include occur it is primary or Multiple different scenes, the embodiment of the present invention provide only the detailed process of above-mentioned two situations herein, but do not cause two kinds The restriction on the appearance opportunity and frequency of occurrence of situation.
421, when system time be the object time, and in second account include first virtual resource when, block chain The node device of system sends resource transfers request to target device, is associated by the target device to the first credits voucher Account carries out resource transfers.
Wherein, resource transfers request carries out resource transfers for the associated account to the first credits voucher.The mesh Marking device is for providing resource transfers service, and specifically, which may belong to financial institution or have conjunction with financial institution About other mechanisms of relationship, for example, the mechanism etc. for the service of paying out of providing with funds, the embodiment of the present invention is not construed as limiting this. Certainly, which may be a node device in block catenary system, or the electronics outside block catenary system Equipment, the embodiment of the present invention are not construed as limiting this.
Above-mentioned steps 401 generate the first credits voucher into step 420, it is also possible to generate the first credits voucher Other corresponding credits vouchers, for example, the second credits voucher or third credits voucher, the one or more credits voucher expire Time is the object time, when system time is the object time, then can be carried out based on said one or multiple credits vouchers Resource transfers.
In a kind of possible implementation, credit can store in the node device of the block catenary system, specifically Ground, can each node device be stored with credit, credit can also be stored with by a node device, the present invention is implemented Example is not construed as limiting this.In the object time, when in second account including the first virtual resource, which meets resource Jump condition can cash above-mentioned first virtual resource, thus the node device can send resource transfers to target device and ask It asks, resource transfers is carried out by associated account of the target device to the first credits voucher.Wherein, the first credits voucher Associated account may include the first account and the second account in above-mentioned first credits voucher, also may include above-mentioned second debt The third account in voucher is weighed, can also include the 4th account in third credits voucher.
For example, the node device can be confirmed at this if the resource transfers process is realized based on fund disbursing office Virtual resource in fund disbursing office in second account, and determine whether the virtual resource is greater than or equal to the first virtual money Source, determine be greater than or equal to when, i.e., executable above-mentioned steps 421, and if it is determined that virtual resource less than the first virtual resource, Virtual resource deficiency message can also be sent to the electronic equipment, the virtual resource in the second account is supplemented with prompt.
In the step 421, target device can be corresponding based on the first credits voucher and the first credits voucher Other credits vouchers carry out resource transfers to the associated account of the first credits voucher.Wherein, the first credits voucher and Other corresponding credits vouchers of the first credits voucher can be acquired from credits credential information library by the target device.When So, can also be using the inspection mechanism provided in above-mentioned steps 307 in the acquisition process, the embodiment of the present invention is seldom done superfluous herein It states.After the target device carries out resource transfers, resource transfers can also be sent to block catenary system as a result, correspondingly, block chain The node device of system receives the resource transfers result of target device transmission.
For the resource transfers, above-mentioned resource transfers request can carry the associated account of the first credits voucher Target resource transfer case, the acquisition process of the target resource transfer case can be with are as follows: based on the first credits voucher and this Other corresponding credits vouchers of one credits voucher obtain the target resource transfer feelings of the associated account of the first credits voucher Condition.To which the target device can be requested the target resource transfer case carried by the target device based on the resource transfers, Resource transfers are carried out to the associated account.For example, can be according to the first bond voucher and other corresponding credits vouchers It is cleared, the virtual resource that each associated account needs to produce or be transferred to is determined, in this way without according to each credits voucher Resource transfers are completed step by step, can effectively reduce the time spent needed for resource transfers process, improve resource transfers effect Rate.
In a kind of possible implementation, this can based on the first credits voucher it is corresponding with the first credits voucher its His credits voucher, the process for obtaining the target resource transfer case of the associated account of the first credits voucher can be based on first System is realized.Wherein, which has the function of assets settlement, available above-mentioned target resource transfer case.This first System can be a system on the node device, or the system on target device, for example, the first system can be with For the assets settlement component on above-mentioned node device, or the assets settlement component in resource transfers equipment, the present invention are real It applies example and this is not construed as limiting.
Specifically, this can be based on the first credits voucher other credits vouchers corresponding with the first credits voucher, obtain Take the process of the target resource transfer case of the associated account of the first credits voucher can be based on the inside of the node device System is realized.The node device can first carry out it is above-mentioned based on the first credits voucher it is corresponding with the first credits voucher other Credits voucher, obtains the target resource transfer case of the associated account of the first credits voucher, in above-mentioned resource transfers request The target resource transfer case is carried, subsequent resource transfers step is executed by the target device.The embodiment of the present invention is to tool Body is not construed as limiting using which kind of implementation.In alternatively possible implementation, it may not need and take in resource transfers request With the target resource transfer case, target device can based on the first credits voucher it is corresponding with the first credits voucher other Credits voucher, the process for obtaining the target resource transfer case of the associated account of the first credits voucher can be based on the target The built-in system of equipment is realized.
422, the resource transfers that the node device of block catenary system is sent based on the target device are as a result, generate the 4th area 4th block is added on block chain by block.
After resource transfers success or resource transfers failure, block catenary system can be write data by the target device In, it that is to say, which can be sent to resource transfers result block catenary system, the node device of the block catenary system The 4th block can be generated, and add it on block chain.Certainly, should during be also possible that the 4th block broadcast, Common recognition process adds it on block chain again when block catenary system passes through the 4th block common recognition.
In a kind of possible implementation, after the step 422, the node device of block catenary system can be to the electronics Equipment sends account resource updates message.Correspondingly, electronic equipment can receive account resource updates message, and account resource is more New information is sent after the object time carries out resource transfers to second account by the block catenary system.Account resource updates disappear Breath is for informing the situation of change of the virtual resource in the second account.
After above-mentioned target device carries out resource transfers, bill can also be generated, thus using the bill as resource transfers Voucher.Specifically, the signature of the available associated account of the target device, result and the associated account based on resource transfers The signature at family generates bill associated by the first credits voucher.In a kind of possible implementation, which can It is realized with the second built-in system based on the target device, which can be electronic-seal system, the electronics lid The signature of each mechanism is stored in chapter system, wherein the signature can be a kind of CA certificate, or other are for unique Identify the other information of each mechanism.
After the target device generates bill, the bill, correspondingly, block catenary system can also be sent to block catenary system Node device can receive the bill of target device transmission, include the result and the associated account of resource transfers in the bill Signature.The node device of block catenary system stores the bill into destination address, which deposits for providing bill Storage service.Associated account above-mentioned in this way obtains bill without going target device to obtain bill in the destination address.Example File Transfer Protocol that such as, which can provide for above-mentioned asset management platform (File Transfer Protocol, FTP) address.Accessible address FTP of core enterprise and supplier, to obtain the bill in the address FTP.
In a kind of possible implementation, above-mentioned bill can have certain naming rule, which can be by Related technical personnel preset, after the node device of block catenary system gets bill, can based on the naming rule of bill, Bill credits voucher corresponding with the bill is associated, or by the information of bill credits voucher corresponding with the bill It is associated.
If subsequent user wants downloading bill, which can be obtained from destination address by the electronic equipment The corresponding bill of voucher is weighed, includes the result and first credits for carrying out resource transfers based on the first credits voucher in the bill The signature of the associated account of voucher.
The embodiment of the present invention can be acknowledged a debt after generating the first credits voucher by the corresponding debt of the first credits voucher The first credits voucher is really weighed at family, can should if really power result indicates that the first credits voucher is authentic and valid The information of first credits voucher is added on block chain, can carry out auditing really to information before writing information into block chain Recognize, rather than directly write information into block chain by an equipment, is improved to be added to the true of the information on block chain Property and accuracy, and the information on block chain can not distort, thus the authenticity for the information that can be effectively ensured on block chain and Accuracy.Further, after generating the second credits voucher or third credits voucher, by the second credits voucher or third credits with Before the information write-in block chain of card, debtor's account confirms its information, improves to be added on block chain The authenticity and accuracy of information.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
The process of credits voucher generation method is described in detail in above-mentioned Fig. 3 and embodiment illustrated in fig. 4, under Face is illustrated the scene being also possible that in above-mentioned process and the process by a specific example.Implement in the present invention In example, apply for the credits voucher of some core enterprise with Tier One supplier (S1), and part of assets are assigned to second level Supplier (S2), second level supplier are illustrated for being discounted the part assets, certainly, if there are also three-levels to supply Quotient, credits generating process and following the description similarly, do not repeat herein.As shown in figure 5, Tier One supplier (corresponds to above-mentioned Electronic equipment) it can apply for that 1,000,000 digital assets are (corresponding to assets gateway (node device corresponding to above-mentioned block catenary system) In above-mentioned first credits voucher), which can hold for one to overdue assets, can not currently cash, example Such as, expiration time is some following time.Assets gateway can provide mark financial institution's auditing standards to 1,000,000 number Production is audited, and after verifying trade authenticity, workflow to core enterprise can really be weighed, really be weighed in core enterprise Afterwards, the block including 1,000,000 digital asset can be added on block chain by assets gateway, that is to say 1,000,000 number of distribution Assets.Wherein, the distribution process of 1,000,000 digital assets can correspond to above-mentioned steps 301 to step 309 or step 401 to step 409.Certainly, under online, Tier One supplier can also draw a bill, and invoice is mailed to core enterprise, be gone out by core enterprise according to really Quan Han, the process are to weigh process really under line, can also be between the supplier and core enterprise after application assets gateway Continue the true power process, it is of course also possible to no longer need to carry out the true power process, the embodiment of the present invention is not construed as limiting this.
After Tier One supplier obtains 1,000,000 digital assets, 500,000 assets in 1,000,000 digital asset can be transferred Second level supplier, the transference may refer to above-mentioned steps 410 to content shown in step 414.Second level supplier obtains 50 After ten thousand digital assets, it is desirable to discount 200,000 digital asset therein, then second level supplier applies discounting to factoring company 200000 digital assets, the discounting process may refer to above-mentioned steps 415 to step 420.Due to discounting process, the factoring company can To collect certain discount charge, thus the staff of factoring company can be confirmed that it is paid out the remaining sum in application in fund and is No to be greater than or equal to 18.6 ten thousand, in addition 1.4 ten thousand be discount charge.In the case where confirming that remaining sum is paid enough, if carried out Agree to operation, then can trigger fund and pay out using providing with funds for it paying out service, transfers accounts 18.6 ten thousand to second level supplier, this Factoring company has also obtained 200,000 digital asset.
When reaching above-mentioned digital asset expiration time, which pays out the remaining sum applied in the account for determining core enterprise When more than or equal to 1,000,000 digital asset, fund sorting can be carried out according to the assets settlement result in assets gateway automatically, In, which can also pay out computation by the fund and obtain, and it can be above-mentioned fund which, which pays out application, The application for the service of paying out of providing with funds of disbursing office, the embodiment of the present invention are not construed as limiting this.The mistake of the fund sorting Journey can pay out the special account opened in application in the fund by the core enterprise and realize.It is apparent that implementing in the present invention In example, by assets settlement, which needs to produce 1,000,000 digital assets, 500,000 numbers in 1,000,000 digital asset Assets need to be transferred to the account of Tier One supplier, and 300,000 digital assets need to be transferred to second level supplier, and 200,000 digital assets need It is transferred to factoring company.
The present invention audits, school mark financial institution's auditing standards by assets gateway auditing system to cochain assets After testing trade authenticity, circulation is really weighed to core enterprise, really carries out assets distribution again after power, thereby may be ensured that cochain provides The authenticity of production, block catenary system can guarantee data on chain can not tamper, so as to realize that supply chain finance is reversed It Life cycle under factoring mode genuine and believable and controls altogether in many ways.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 6 is a kind of structural schematic diagram of credits voucher generating means provided in an embodiment of the present invention, which is applied to Node device in block catenary system, referring to Fig. 6, which includes:
Generation module 601 generates the first credits voucher, this first for generating request according to the credits voucher received Credits voucher is for indicating that the first virtual resource in the first account is transferred to the second account in the object time;
The generation module 601 is also used to generate the first block based on the first credits voucher;
Module 602 is obtained, is weighed really for obtaining first account as a result, the true power result is for indicating first account To the check results of the first credits voucher;
Adding module 603, for passing through when the block catenary system to first block common recognition, and the true power result instruction should When first credits voucher passes through verification, which is added on the block chain of the block catenary system.
In a kind of possible implementation, the device further include:
First memory module, for passing through when the block catenary system to first block common recognition, and the true power result instruction When the first credits voucher passes through verification, which is stored into credits credential information library.
In a kind of possible implementation, which is also used to work as to receive and obtain to the first credits voucher When instruction fetch, the first credits voucher in the credits credential information library is obtained;
The device further include:
Computing module obtains the cryptographic Hash of the first credits voucher for carrying out Hash calculation to the first credits voucher;
Contrast module, for carrying out cryptographic Hash stored in the cryptographic Hash of the first credits voucher and first block Comparison;
First sending module, for sending out when the cryptographic Hash of the first credits voucher and the stored cryptographic Hash difference Acquisition failed message is sent, which is used to inform the first credits voucher in the credits credential information library by more Change.
In a kind of possible implementation, the device further include:
Discard module, for working as, the block catenary system does not pass through first block common recognition or true power result instruction should When first credits voucher is unverified, the first credits voucher and first block are abandoned.
In a kind of possible implementation, the device further include:
Second sending module, for working as, the block catenary system does not pass through first block common recognition or the true power result refers to When showing that the first credits voucher is unverified, failed regeneration message is sent.
In a kind of possible implementation, which is used for: being received first account and is weighed result really;Or, connecing It receives first account and weighs file really, which is analyzed, first account is obtained and weighs result really.
In a kind of possible implementation, which is also used to according to the first subrogation request received, Generate the corresponding second credits voucher of the first credits voucher, the second credits voucher for indicate the object time by this first The second virtual resource in virtual resource is transferred to third account;
The generation module 601 is also used to be generated the second block based on the second credits voucher, be total to second block Know;
The adding module 603 is also used to when the block catenary system passes through second block common recognition, by second block It is added on the block chain of the block catenary system.
In a kind of possible implementation, which is also used to according to the second subrogation request received, Generate the corresponding third credits voucher of the first credits voucher, the third credits voucher for indicate the object time by this first Third virtual resource in virtual resource is transferred to the 4th account;
The generation module 601 is also used to be generated third block based on the third credits voucher, be total to the third block Know;
The acquisition module 602 is also used to obtain the 4th account when the block catenary system passes through third block common recognition The confirmation at family instructs;
The adding module 603 is also used to instruct based on the confirmation, which is added to the area of the block catenary system On block chain, the 4th virtual resource is shifted from the 4th account into second account, it is empty that the 4th virtual resource is based on third Quasi- resource determines.
In a kind of possible implementation, the device further include:
Third sending module for being the object time when system time, and includes that this is first virtual in second account When resource, resource transfers request is sent to target device, which requests for being associated to the first credits voucher Account carries out resource transfers.
In a kind of possible implementation, which is also used to based on the first credits voucher and first debt Other corresponding credits vouchers of voucher are weighed, the target resource transfer case of the associated account of the first credits voucher is obtained;
Correspondingly, which is used to send resource transfers request to target device, is based on the money by the target device The target resource transfer case that source transfer request carries carries out resource transfers to the associated account.
In a kind of possible implementation, which is also used to the resource transfers sent based on the target device As a result, generating the 4th block, the 4th block is added on block chain.
In a kind of possible implementation, the device further include:
Receiving module includes the result of resource transfers for receiving the bill of target device transmission, in the bill and is somebody's turn to do The signature of associated account;
Second memory module, for storing the bill into destination address, the destination address is for providing bill storage Service.
Device provided in an embodiment of the present invention can pass through the first credits voucher pair after generating the first credits voucher The debtor's account answered really weighs the first credits voucher, if really power result indicates that the first credits voucher really has Effect can then add the information of the first credits voucher on block chain, can be to letter before writing information into block chain Breath carries out audit confirmation, rather than is directly write information into block chain by an equipment, improves to be added on block chain Information authenticity and accuracy, and the letter that the information on block chain can not be distorted, thus can be effectively ensured on block chain The authenticity and accuracy of breath.
It should be understood that credits voucher generating means provided by the above embodiment are when generating credits voucher, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, credits voucher generating means provided by the above embodiment belong to credits voucher generation method embodiment Same design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Fig. 7 is a kind of structural schematic diagram of credits voucher generating means provided in an embodiment of the present invention, referring to Fig. 7, the dress It sets and includes:
Module 701 is obtained, generates instruction for obtaining credits voucher, which generates instruction for generating the first debt Voucher is weighed, the first credits voucher is for indicating that the first virtual resource in the first account is transferred to the second account in the object time Family;
Sending module 702 is instructed for being generated according to the credits voucher, is sent the generation of credits voucher to block catenary system and is asked It asks, which is obtained by the block catenary system and is weighed really as a result, according to the true power as a result, generating the first credits voucher;
Receiving module 703, for receiving the first credits voucher of block catenary system transmission.
In a kind of possible implementation, which is also used to: being received first account and is weighed result really;Or, It receives first account and weighs file really, which is analyzed, first account is obtained and weighs result really.
In a kind of possible implementation, which is also used to receive failed regeneration message, which disappears Breath by the block catenary system the first credits voucher corresponding first block common recognition is not passed through or true power result instruction this First credits voucher is sent when unverified.
In a kind of possible implementation, which is also used to when getting the first subrogation instruction, to The block catenary system sends the first subrogation request, is requested by the block catenary system based on first subrogation, generating should The corresponding second credits voucher of first credits voucher, the second credits voucher is for indicating the first virtual money in the object time The second virtual resource in source is transferred to third account;
The receiving module 703 is also used to receive the first subrogation success message of block catenary system transmission.
In a kind of possible implementation, which is also used to when getting the second subrogation instruction, to The block catenary system sends the second subrogation request, is requested by the block catenary system based on second subrogation, generating should The corresponding third credits voucher of first credits voucher, based on the third virtual resource in the third credits voucher, from the 4th account The 4th virtual resource of middle transfer is into second account;
The receiving module 703 is also used to receive the second subrogation success message of block catenary system transmission;
The receiving module 703 is also used to receive resource transfers success message, the resource transfers success message from this It is sent when shifting the 4th virtual resource in four accounts into second account;
Wherein, the third credits voucher is for indicating the third virtual resource in first virtual resource in the object time It is transferred to the 4th account.
In a kind of possible implementation, which is also used to receive account resource updates message, account money Source update message is sent after the object time carries out resource transfers to second account by the block catenary system.
In a kind of possible implementation, which is also used to obtain the first credits voucher from destination address Corresponding bill includes the result and the first credits voucher that resource transfers are carried out based on the first credits voucher in the bill The signature of associated account.
Device provided in an embodiment of the present invention can pass through the first credits voucher pair after generating the first credits voucher The debtor's account answered really weighs the first credits voucher, if really power result indicates that the first credits voucher really has Effect can then add the information of the first credits voucher on block chain, can be to letter before writing information into block chain Breath carries out audit confirmation, rather than is directly write information into block chain by an equipment, improves to be added on block chain Information authenticity and accuracy, and the letter that the information on block chain can not be distorted, thus can be effectively ensured on block chain The authenticity and accuracy of breath.
It should be understood that credits voucher generating means provided by the above embodiment are when generating credits voucher, only more than The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, credits voucher generating means provided by the above embodiment belong to credits voucher generation method embodiment Same design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Above-mentioned electronic equipment may be provided as following terminals shown in Fig. 8, also may be provided as following shown in Fig. 9 Server, the embodiment of the present invention are not construed as limiting this.
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.The terminal 800 may is that smart phone, Tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert Compression standard audio level 3), (Moving Picture Experts Group Audio Layer IV, dynamic image are special by MP4 Family's compression standard audio level 4) player, laptop or desktop computer.Terminal 800 be also possible to referred to as user equipment, Other titles such as portable terminal, laptop terminal, terminal console.
In general, terminal 800 includes: processor 801 and memory 802.
Processor 801 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 801 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 801 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 801 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 801 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 802 may include one or more computer readable storage mediums, which can To be non-transient.Memory 802 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 802 can Storage medium is read for storing at least one instruction, at least one instruction for performed by processor 801 to realize this hair The credits voucher generation method that bright middle embodiment of the method provides.
In some embodiments, terminal 800 is also optional includes: peripheral device interface 803 and at least one peripheral equipment. It can be connected by bus or signal wire between processor 801, memory 802 and peripheral device interface 803.Each peripheral equipment It can be connected by bus, signal wire or circuit board with peripheral device interface 803.Specifically, peripheral equipment includes: radio circuit 804, at least one of touch display screen 805, camera 806, voicefrequency circuit 807, positioning component 808 and power supply 809.
Peripheral device interface 803 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 801 and memory 802.In some embodiments, processor 801, memory 802 and peripheral equipment Interface 803 is integrated on same chip or circuit board;In some other embodiments, processor 801, memory 802 and outer Any one or two in peripheral equipment interface 803 can realize on individual chip or circuit board, the present embodiment to this not It is limited.
Radio circuit 804 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates Frequency circuit 804 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 804 turns electric signal It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 804 wraps It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip Group, user identity module card etc..Radio circuit 804 can be carried out by least one wireless communication protocol with other terminals Communication.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), wireless office Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 804 may be used also To include the related circuit of NFC (Near Field Communication, wireless near field communication), the present invention is not subject to this It limits.
Display screen 805 is for showing UI (User Interface, user interface).The UI may include figure, text, figure Mark, video and its their any combination.When display screen 805 is touch display screen, display screen 805 also there is acquisition to show The ability of the touch signal on the surface or surface of screen 805.The touch signal can be used as control signal and be input to processor 801 are handled.At this point, display screen 805 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or Soft keyboard.In some embodiments, display screen 805 can be one, and the front panel of terminal 800 is arranged;In other embodiments In, display screen 805 can be at least two, be separately positioned on the different surfaces of terminal 800 or in foldover design;In still other reality It applies in example, display screen 805 can be flexible display screen, be arranged on the curved surface of terminal 800 or on fold plane.Even, it shows Display screen 805 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 805 can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) Etc. materials preparation.
CCD camera assembly 806 is for acquiring image or video.Optionally, CCD camera assembly 806 include front camera and Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped Camera shooting function.In some embodiments, CCD camera assembly 806 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not With the light compensation under colour temperature.
Voicefrequency circuit 807 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will Sound wave, which is converted to electric signal and is input to processor 801, to be handled, or is input to radio circuit 804 to realize voice communication. For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 800 to be multiple.Mike Wind can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 801 or radio circuit will to be come from 804 electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 807 can also include Earphone jack.
Positioning component 808 is used for the current geographic position of positioning terminal 800, to realize navigation or LBS (Location Based Service, location based service).Positioning component 808 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 809 is used to be powered for the various components in terminal 800.Power supply 809 can be alternating current, direct current, Disposable battery or rechargeable battery.When power supply 809 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 800 further includes having one or more sensors 810.The one or more sensors 810 include but is not limited to: acceleration transducer 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, Optical sensor 815 and proximity sensor 816.
The acceleration that acceleration transducer 811 can detecte in three reference axis of the coordinate system established with terminal 800 is big It is small.For example, acceleration transducer 811 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 801 can With the acceleration of gravity signal acquired according to acceleration transducer 811, touch display screen 805 is controlled with transverse views or longitudinal view Figure carries out the display of user interface.Acceleration transducer 811 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 812 can detecte body direction and the rotational angle of terminal 800, and gyro sensor 812 can To cooperate with acquisition user to act the 3D of terminal 800 with acceleration transducer 811.Processor 801 is according to gyro sensor 812 Following function may be implemented in the data of acquisition: when action induction (for example changing UI according to the tilt operation of user), shooting Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 805 in terminal 800 can be set in pressure sensor 813.Work as pressure When the side frame of terminal 800 is arranged in sensor 813, user can detecte to the gripping signal of terminal 800, by processor 801 Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 813 acquires.When the setting of pressure sensor 813 exists When the lower layer of touch display screen 805, the pressure operation of touch display screen 805 is realized to UI circle according to user by processor 801 Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu At least one of control.
Fingerprint sensor 814 is used to acquire the fingerprint of user, collected according to fingerprint sensor 814 by processor 801 The identity of fingerprint recognition user, alternatively, by fingerprint sensor 814 according to the identity of collected fingerprint recognition user.It is identifying When the identity of user is trusted identity out, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 801 Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Terminal can be set in fingerprint sensor 814 800 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 800, fingerprint sensor 814 can be with It is integrated with physical button or manufacturer Logo.
Optical sensor 815 is for acquiring ambient light intensity.In one embodiment, processor 801 can be according to optics The ambient light intensity that sensor 815 acquires controls the display brightness of touch display screen 805.Specifically, when ambient light intensity is higher When, the display brightness of touch display screen 805 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 805 is bright Degree.In another embodiment, the ambient light intensity that processor 801 can also be acquired according to optical sensor 815, dynamic adjust The acquisition parameters of CCD camera assembly 806.
Proximity sensor 816, also referred to as range sensor are generally arranged at the front panel of terminal 800.Proximity sensor 816 For acquiring the distance between the front of user Yu terminal 800.In one embodiment, when proximity sensor 816 detects use When family and the distance between the front of terminal 800 gradually become smaller, touch display screen 805 is controlled from bright screen state by processor 801 It is switched to breath screen state;When proximity sensor 816 detects user and the distance between the front of terminal 800 becomes larger, Touch display screen 805 is controlled by processor 801 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal 800 of structure shown in Fig. 8, can wrap It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
Fig. 9 is a kind of structural schematic diagram of server provided in an embodiment of the present invention, which can be because of configuration or property Energy is different and generates bigger difference, may include one or more processors (central processing Units, CPU) 901 and one or more memory 902, wherein at least one finger is stored in the memory 902 It enables, at least one instruction is loaded by the processor 901 and executed the debt to realize above-mentioned each embodiment of the method offer Weigh voucher generation method.Certainly, which can also have wired or wireless network interface, keyboard and input/output interface Equal components, to carry out input and output, which can also include other for realizing the component of functions of the equipments, not do herein It repeats.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, the memory for example including instruction, Above-metioned instruction can be executed by processor to complete the credits voucher generation method in above-described embodiment.For example, this is computer-readable Storage medium can be read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM), tape, floppy disk and optical information Store equipment etc..
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, which can store in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
It above are only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all in the spirit and principles in the present invention Within, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (15)

1. a kind of credits voucher generation method, which is characterized in that applied to the node device in block catenary system, the method packet It includes:
Request is generated according to the credits voucher received, generates the first credits voucher, the first credits voucher is for indicating The first virtual resource in first account is transferred to the second account by the object time;
Based on the first credits voucher, the first block is generated;
First account is obtained to be weighed really as a result, the true power result is for indicating first account to first credits The check results of voucher;
It knows together and passes through to first block when the block catenary system, and the true power result indicates the first credits voucher When passing through verification, first block is added on the block chain of the block catenary system.
2. the method according to claim 1, wherein described obtain after first account weighs result really, The method also includes:
It knows together and passes through to first block when the block catenary system, and the true power result indicates the first credits voucher When passing through verification, the first credits voucher is stored into credits credential information library.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When receiving the acquisition instruction to the first credits voucher, the first credits in credits credential information library are obtained Voucher;
Hash calculation is carried out to the first credits voucher, obtains the cryptographic Hash of the first credits voucher;
The cryptographic Hash of the first credits voucher and stored cryptographic Hash in first block are compared;
When the cryptographic Hash of the first credits voucher and the stored cryptographic Hash difference, sends and obtain failed message, institute It states and obtains failed message for informing that the first credits voucher in credits credential information library has been modified.
4. the method according to claim 1, wherein described obtain after first account weighs result really, The method also includes:
When the block catenary system first block common recognition is not passed through or true power result instruction first credits with When demonstrate,proving unverified, the first credits voucher and first block are abandoned.
5. the method according to claim 1, wherein described obtain after first account weighs result really, The method also includes:
When the block catenary system first block common recognition is not passed through or true power result instruction first credits with When demonstrate,proving unverified, failed regeneration message is sent.
6. the method according to claim 1, wherein acquisition first account weighs result really, comprising:
It receives first account and weighs result really;Or,
It receives first account and weighs file really, the true power file is analyzed, obtain first account and weigh really As a result.
7. the method according to claim 1, wherein the method also includes:
According to the first subrogation request received, the corresponding second credits voucher of the first credits voucher is generated, it is described Second credits voucher is for indicating that the second virtual resource in first virtual resource is transferred to third account in the object time Family;
Based on the second credits voucher, the second block is generated, is known together to second block;
When the block catenary system passes through second block common recognition, second block is added to the block linkwork On the block chain of system.
8. the method according to claim 1, wherein the method also includes:
According to the second subrogation request received, the corresponding third credits voucher of the first credits voucher is generated, it is described Third credits voucher is for indicating that the third virtual resource in first virtual resource is transferred to the 4th account in the object time Family;
Based on the third credits voucher, third block is generated, is known together to the third block;
When the block catenary system passes through third block common recognition, the confirmation instruction of the 4th account is obtained;
It is instructed, the third block is added on the block chain of the block catenary system, from the described 4th based on the confirmation The 4th virtual resource is shifted in account into second account, the 4th virtual resource is determined based on third virtual resource.
9. a kind of credits voucher generation method, which is characterized in that the described method includes:
It obtains credits voucher and generates instruction, the credits voucher generates instruction for generating the first credits voucher, first debt Power voucher is for indicating that the first virtual resource in the first account is transferred to the second account in the object time;
It is generated and is instructed according to the credits voucher, sent credits voucher to block catenary system and generate request, by the block linkwork System obtains first account and is weighed really as a result, according to the true power as a result, generating the first credits voucher;
Receive the first credits voucher that the block catenary system is sent.
10. according to the method described in claim 9, it is characterized in that, the method also includes:
When getting the first subrogation instruction, Xiang Suoshu block catenary system sends the first subrogation request, by the area Block catenary system is requested based on first subrogation, generates the corresponding second credits voucher of the first credits voucher, described Second credits voucher is for indicating that the second virtual resource in first virtual resource is transferred to third account in the object time Family;
Receive the first subrogation success message that the block catenary system is sent.
11. according to the method described in claim 9, it is characterized in that, the method also includes:
When getting the second subrogation instruction, Xiang Suoshu block catenary system sends the second subrogation request, by the area Block catenary system is requested based on second subrogation, is generated the corresponding third credits voucher of the first credits voucher, is based on Third virtual resource in the third credits voucher shifts the 4th virtual resource to second account from the 4th account In;
Receive the second subrogation success message that the block catenary system is sent;
Resource transfers success message is received, transfer the 4th is virtual from the 4th account for the resource transfers success message It is sent when resource is into second account;
Wherein, the third credits voucher is for indicating the third virtual resource in first virtual resource in the object time It is transferred to the 4th account.
12. a kind of credits voucher generating means, which is characterized in that described device includes:
Generation module generates the first credits voucher for generating request according to the credits voucher that receives, first credits with Card is for indicating that the first virtual resource in the first account is transferred to the second account in the object time;
The generation module is also used to generate the first block based on the first credits voucher;
Module is obtained, is weighed really for obtaining first account as a result, the true power result is for indicating first account To the check results of the first credits voucher;
Adding module, for passing through when the block catenary system to first block common recognition, and the true power result indicates institute When stating the first credits voucher and passing through verification, first block is added on the block chain of the block catenary system.
13. a kind of credits voucher generating means, which is characterized in that described device includes:
Obtain module, generate instruction for obtaining credits voucher, the credits voucher generate instruction for generate the first credits with Card, the first credits voucher is for indicating that the first virtual resource in the first account is transferred to the second account in the object time Family;
Sending module is instructed for being generated according to the credits voucher, is sent credits voucher to block catenary system and is generated request, by The block catenary system obtains first account and is weighed really as a result, according to the true power as a result, generating the first credits voucher;
Receiving module, the first credits voucher sent for receiving the block catenary system.
14. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and memory, is deposited in the memory At least one instruction is contained, described instruction is loaded by the processor and executed to realize as claim 1 to claim 8 is appointed Operation performed by credits voucher generation method described in one;Or as claim 9 is described in any item to claim 11 Operation performed by credits voucher generation method.
15. 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, described instruction are loaded by processor and are executed to realize such as claim 1 to the described in any item credits of claim 8 Operation performed by voucher generation method;Or such as claim 9 to claim 11 described in any item credits vouchers generation side Operation performed by method.
CN201811481071.2A 2018-12-05 2018-12-05 Credit right certificate generation method and device, electronic equipment and storage medium Active CN109598142B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811481071.2A CN109598142B (en) 2018-12-05 2018-12-05 Credit right certificate generation method and device, electronic equipment and storage medium
CN201910727485.7A CN110457946B (en) 2018-12-05 2018-12-05 Digital asset generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811481071.2A CN109598142B (en) 2018-12-05 2018-12-05 Credit right certificate generation method and device, electronic equipment and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201910727485.7A Division CN110457946B (en) 2018-12-05 2018-12-05 Digital asset generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109598142A true CN109598142A (en) 2019-04-09
CN109598142B CN109598142B (en) 2022-02-22

Family

ID=65961161

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910727485.7A Active CN110457946B (en) 2018-12-05 2018-12-05 Digital asset generation method and device, electronic equipment and storage medium
CN201811481071.2A Active CN109598142B (en) 2018-12-05 2018-12-05 Credit right certificate generation method and device, electronic equipment and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910727485.7A Active CN110457946B (en) 2018-12-05 2018-12-05 Digital asset generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (2) CN110457946B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737721A (en) * 2019-09-25 2020-01-31 中信梧桐港供应链管理有限公司 Receivable account transfer financing method and device based on block chain architecture
CN110852864A (en) * 2019-11-15 2020-02-28 腾讯科技(深圳)有限公司 Method and device for processing digital resource amount and storage medium
CN110888936A (en) * 2019-11-15 2020-03-17 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, electronic equipment and storage medium
CN110956551A (en) * 2019-11-20 2020-04-03 腾讯科技(深圳)有限公司 Income distribution method and related equipment
CN111738725A (en) * 2020-07-31 2020-10-02 支付宝(杭州)信息技术有限公司 Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN112767185A (en) * 2021-01-28 2021-05-07 湖南大学 Reverse warranty financing method and device based on block chain and storage medium
CN112967055A (en) * 2020-11-25 2021-06-15 支付宝(杭州)信息技术有限公司 Method and device for issuing receivable certificate through block chain
WO2021116813A1 (en) * 2019-12-10 2021-06-17 International Business Machines Corporation Anonymization of partners
CN113744855A (en) * 2021-08-29 2021-12-03 上海舵衔数字科技中心 Medicine nursing method
CN113849572A (en) * 2021-10-11 2021-12-28 浙江数秦科技有限公司 Small credit and debt dispute case evidence management system based on block chain
CN113920281A (en) * 2021-10-11 2022-01-11 郭小川 Space planning method and system in virtual reality environment and application method
US12099963B2 (en) 2019-12-10 2024-09-24 International Business Machines Corporation Anonymization of partners

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022082360A1 (en) * 2020-10-19 2022-04-28 威富通科技有限公司 Digital asset transfer system
CN114598699B (en) * 2020-12-07 2023-07-28 国家广播电视总局广播电视科学研究院 File content auditing method and device and electronic equipment
CN117237124B (en) * 2023-11-15 2024-02-02 国网浙江省电力有限公司 Digital asset management method and device based on multi-terminal interaction

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236022A (en) * 2013-04-26 2013-08-07 孔庆发 Online trading-based online credit method and data processing system
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium
CN108241972A (en) * 2018-01-11 2018-07-03 杭州复杂美科技有限公司 A kind of informal voucher method of commerce based on block chain
CN108428122A (en) * 2018-02-08 2018-08-21 布比(北京)网络技术有限公司 It is a kind of distribution account book on trade financing method and system
CN108632285A (en) * 2018-05-11 2018-10-09 深圳市网心科技有限公司 Network service implementation method, service node device and storage medium
CN108629684A (en) * 2018-05-09 2018-10-09 众安信息技术服务有限公司 The method, apparatus and readable storage medium storing program for executing of circulation are split for controlling credit
CN108876615A (en) * 2018-06-11 2018-11-23 腾讯科技(深圳)有限公司 Credits date storage method, device, equipment and medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976246A (en) * 2016-04-29 2016-09-28 北京太云科技有限公司 Block chain-based digital asset superposition method and device
US20170372417A1 (en) * 2016-06-28 2017-12-28 Sivanarayana Gaddam Digital asset account management
CN106445993A (en) * 2016-07-11 2017-02-22 天津米游科技有限公司 Data fingerprint query method and device based on block chain
CN106780025B (en) * 2016-11-30 2021-03-02 中国银行股份有限公司 Method, device and system for transferring digital assets in block chain
CN106936585B (en) * 2017-03-09 2020-04-17 布比(北京)网络技术有限公司 Method and system for splitting and combining information certificates of distributed data
CN107566116B (en) * 2017-06-15 2021-07-02 中国银联股份有限公司 Method and apparatus for digital asset weight registration
CN108683645A (en) * 2018-04-27 2018-10-19 欧阳福 A kind of information-distribution type domain name and data transacting system based on block chain
CN108694668B (en) * 2018-06-15 2023-07-14 腾讯科技(深圳)有限公司 Digital asset transaction method, device, medium and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236022A (en) * 2013-04-26 2013-08-07 孔庆发 Online trading-based online credit method and data processing system
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium
CN108241972A (en) * 2018-01-11 2018-07-03 杭州复杂美科技有限公司 A kind of informal voucher method of commerce based on block chain
CN108428122A (en) * 2018-02-08 2018-08-21 布比(北京)网络技术有限公司 It is a kind of distribution account book on trade financing method and system
CN108629684A (en) * 2018-05-09 2018-10-09 众安信息技术服务有限公司 The method, apparatus and readable storage medium storing program for executing of circulation are split for controlling credit
CN108632285A (en) * 2018-05-11 2018-10-09 深圳市网心科技有限公司 Network service implementation method, service node device and storage medium
CN108876615A (en) * 2018-06-11 2018-11-23 腾讯科技(深圳)有限公司 Credits date storage method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜宁等 著: "《监管科技 人工智能与区块链应用之大道》", 31 July 2018, 中国金融出版社 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737721A (en) * 2019-09-25 2020-01-31 中信梧桐港供应链管理有限公司 Receivable account transfer financing method and device based on block chain architecture
CN110852864A (en) * 2019-11-15 2020-02-28 腾讯科技(深圳)有限公司 Method and device for processing digital resource amount and storage medium
CN110888936A (en) * 2019-11-15 2020-03-17 腾讯科技(深圳)有限公司 Data processing method and device based on block chain, electronic equipment and storage medium
CN110888936B (en) * 2019-11-15 2024-07-23 腾讯科技(深圳)有限公司 Block chain-based data processing method and device, electronic equipment and storage medium
CN110956551A (en) * 2019-11-20 2020-04-03 腾讯科技(深圳)有限公司 Income distribution method and related equipment
CN110956551B (en) * 2019-11-20 2024-04-09 腾讯科技(深圳)有限公司 Revenue distribution method and related equipment
US11876890B2 (en) 2019-12-10 2024-01-16 International Business Machines Corporation Anonymization of partners
US12099963B2 (en) 2019-12-10 2024-09-24 International Business Machines Corporation Anonymization of partners
WO2021116813A1 (en) * 2019-12-10 2021-06-17 International Business Machines Corporation Anonymization of partners
CN111738725A (en) * 2020-07-31 2020-10-02 支付宝(杭州)信息技术有限公司 Cross-border resource transfer authenticity auditing method and device and electronic equipment
US11443307B2 (en) 2020-07-31 2022-09-13 Alipay (Hangzhou) Information Technology Co., Ltd. Cross-border resource transfer authenticity verification method, device and electronic equipment
CN112967055A (en) * 2020-11-25 2021-06-15 支付宝(杭州)信息技术有限公司 Method and device for issuing receivable certificate through block chain
CN112767185B (en) * 2021-01-28 2024-06-07 湖南大学 Reverse warranty financing method, device and storage medium based on blockchain
CN112767185A (en) * 2021-01-28 2021-05-07 湖南大学 Reverse warranty financing method and device based on block chain and storage medium
CN113744855A (en) * 2021-08-29 2021-12-03 上海舵衔数字科技中心 Medicine nursing method
CN113744855B (en) * 2021-08-29 2024-09-24 上海舵衔数字科技中心 Medical insurance management method
CN113920281A (en) * 2021-10-11 2022-01-11 郭小川 Space planning method and system in virtual reality environment and application method
CN113849572A (en) * 2021-10-11 2021-12-28 浙江数秦科技有限公司 Small credit and debt dispute case evidence management system based on block chain
CN113849572B (en) * 2021-10-11 2024-05-21 浙江数秦科技有限公司 Block chain-based small creditor dispute case evidence management system

Also Published As

Publication number Publication date
CN109598142B (en) 2022-02-22
CN110457946B (en) 2021-01-26
CN110457946A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN109598142A (en) Credits voucher generation method, device, electronic equipment and storage medium
CN109615516A (en) Resource transfers method, apparatus, electronic equipment and storage medium
CN109615515A (en) Credits voucher transfer method, device, electronic equipment and storage medium
US11151549B2 (en) Cryptographic and fiat currency mechanics
CN108696514A (en) Resource collects task management method, device, storage medium and system
CN110889772B (en) Policy processing method and device, computer equipment and storage medium
JP6168990B2 (en) Method for forming a transaction signal
CN110602097B (en) Block chain-based task processing method, device, equipment and storage medium
CN111339086B (en) Block processing method, and data query method and device based on block chain
CN108830572A (en) Resource transfers method, apparatus, storage medium and equipment
CN109345220A (en) Payment processing method, device and computer readable storage medium
JP2019212256A (en) Service integrated platform of virtual currency and statutory currency
CN110378678A (en) Numerical value integration method, device, system, node device and storage medium
CN110503416A (en) Numeric value transfer, device, computer equipment and storage medium
CN110210921A (en) Pay out display methods, device, terminal and the storage medium at interface
CN107491966A (en) Method of payment, apparatus and system, storage medium
CN110517032A (en) Resource transfers method, system, device, server and storage medium
CN111667371B (en) Resource aggregation method, system, device and storage medium based on block chain
CN113034265A (en) Data verification method and device, computer equipment and computer readable storage medium
CN110599328B (en) Block chain based risk user determination method, device, equipment and storage medium
CN111192036B (en) Account resource updating method and device, computer equipment and storage medium
CN110659975B (en) Resource transfer method, device, equipment and storage medium based on block chain
CN112991069A (en) Resource processing method, device, equipment and storage medium
CN111158555B (en) Virtual article packet receiving method, virtual article packet sending method, virtual article packet receiving device, virtual article packet sending device and virtual article packet receiving and sending system
CN113344617A (en) Resource verification method, device, terminal and storage medium

Legal Events

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