CN109377366B - Block chain-based evidence-based processing method and device and storage medium - Google Patents

Block chain-based evidence-based processing method and device and storage medium Download PDF

Info

Publication number
CN109377366B
CN109377366B CN201811236748.6A CN201811236748A CN109377366B CN 109377366 B CN109377366 B CN 109377366B CN 201811236748 A CN201811236748 A CN 201811236748A CN 109377366 B CN109377366 B CN 109377366B
Authority
CN
China
Prior art keywords
account
side chain
chain
main chain
certificate
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.)
Expired - Fee Related
Application number
CN201811236748.6A
Other languages
Chinese (zh)
Other versions
CN109377366A (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.)
Hangzhou Nengchain Technology Co Ltd
Original Assignee
Hangzhou Nengchain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Nengchain Technology Co Ltd filed Critical Hangzhou Nengchain Technology Co Ltd
Priority to CN201811236748.6A priority Critical patent/CN109377366B/en
Publication of CN109377366A publication Critical patent/CN109377366A/en
Application granted granted Critical
Publication of CN109377366B publication Critical patent/CN109377366B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a block chain-based evidence-based general processing method, a block chain-based evidence processing device and a storage medium. Wherein, the method comprises the following steps: receiving an issuing request for issuing a first side chain pass certificate to a first account from a first terminal device, wherein the first side chain pass certificate is used for transaction on a side chain, and the first account is an account of the first terminal device on the side chain; obtaining first attestation information in response to the issuance request, wherein the first attestation information is for attesting that a first backbone credential corresponding to the first side chain credential is locked on the backbone; generating a first side link certificate on the side chain according to the first certificate information; and sending the generated first side link certificate to the first account. The invention solves the technical problem that the consensus mechanism on the main chain of the block chain cannot simultaneously meet the requirements of users in a plurality of application scenes when the transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism.

Description

Block chain-based evidence-based processing method and device and storage medium
Technical Field
The invention relates to the field of block chains, in particular to a block chain-based evidence-based method and device for processing a certificate and a storage medium.
Background
At present, the public link bottom layer architecture has a consensus mechanism, and has different emphasis on speed, safety and centralization degree and suitable scenes. The existing block chain consensus mechanism is mainly a mixed consensus on a chain of a single application scene, does not relate to a mechanism for achieving consensus on the chain of a plurality of application scenes, and still cannot well fit a real production scene. But the production activities of the real society are completed by multi-scenario cooperation, such as: the application scenes of a certain main chain are the game field, the sales field, the financial field and the like. At this time, the consensus mechanism applied to the main chain in the game field is more biased to the transaction speed between game users; the consensus mechanism applied to the main chain of the sales field is more biased to the security of the transaction between the customers; the consensus mechanism applied to the main chain in the financial field is more biased towards the centralization degree. Therefore, in the existing blockchain technology, due to different application scenarios and different emphasis on consensus mechanisms, when a transaction is performed between two or more users with different application scenarios, the consensus mechanism on the blockchain main chain cannot simultaneously meet the requirements of the users with multiple application scenarios. Therefore, in order to make the block chain technology better fit and serve the real world, it is important to form a new consensus for the block chains applied to a plurality of different scenes under different consensus conditions.
In view of the above-mentioned problem that the consensus mechanism on the main chain of the blockchain cannot simultaneously meet the requirements of users in multiple application scenarios when a transaction is performed between two or more users in different application scenarios due to different application scenarios and different emphasis on the consensus mechanism in the existing blockchain technology, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a block chain-based evidence-passing processing method, a block chain-based evidence-passing processing device and a storage medium, which at least solve the technical problem that the common recognition mechanism on a main chain of a block chain cannot simultaneously meet the requirements of users in a plurality of application scenes when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the common recognition mechanism in the block chain technology.
According to an aspect of the embodiments of the present invention, there is provided a block chain-based method for processing a pass certificate, including: receiving an issuing request for issuing a first side chain pass certificate to a first account from a first terminal device, wherein the first side chain pass certificate is used for transaction on a side chain, and the first account is an account of the first terminal device on the side chain; obtaining first attestation information in response to the issuance request, wherein the first attestation information is for attesting that a first backbone credential corresponding to the first side chain credential is locked on the backbone; generating a first side link certificate on the side chain according to the first certificate information; and sending the generated first side link certificate to the first account.
According to another aspect of the embodiments of the present invention, there is also provided a block chain-based pass-certificate processing method, including: receiving a locking request for locking a first main chain certificate in a second account from the first terminal device, wherein the second account is an account of the first terminal device on the main chain; locking the first backbone certificate in response to the lock request; generating a first side chain permit on the side chain corresponding to the first main chain permit; and sending the generated first side chain general certificate to a first account, wherein the first account is an account of the first terminal device on the side chain.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the method of any one of the above is performed by a processor when the program is executed.
According to another aspect of the embodiments of the present invention, there is also provided a block chain-based apparatus for processing a pass certificate, including: the system comprises an issuing request receiving module, a first side chain certification processing module and a second side chain certification processing module, wherein the issuing request receiving module is used for receiving an issuing request of issuing a first side chain certification to a first account from a first terminal device, the first side chain certification is used for transaction on a side chain, and the first account is an account of the first terminal device on the side chain; the first certification information acquisition module is used for responding to the issuing request and acquiring first certification information, wherein the first certification information is used for proving that a first main chain corresponding to the first side chain certificate is locked on the main chain; the first side link certificate generation module is used for generating a first side link certificate on a side chain according to the first certificate information; and the first side chain evidence obtaining module is used for obtaining the first side chain evidence obtained by the first side chain evidence obtaining module and obtaining the first side chain evidence obtained by the first side chain evidence obtaining module.
According to another aspect of the embodiments of the present invention, there is also provided a block chain-based apparatus for processing a pass certificate, including: the locking request receiving module is used for receiving a locking request for locking a first main chain certificate in a second account from the first terminal equipment, wherein the second account is an account of the first terminal equipment on the main chain; the locking module is used for responding to the locking request and locking the first main chain certificate; the first side chain evidence generating module is used for generating a first side chain evidence corresponding to the first main chain evidence on the side chain; and the first side chain evidence obtaining module is used for obtaining a first side chain evidence obtained by the first side chain evidence obtaining module, and sending the first side chain evidence obtained by the first side chain evidence obtaining module to a first account, wherein the first account is an account of the first terminal device on the side chain.
According to another aspect of the embodiments of the present invention, there is also provided a block chain-based apparatus for processing a pass certificate, including: a processor; and a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: receiving an issuing request for issuing a first side chain pass certificate to a first account from a first terminal device, wherein the first side chain pass certificate is used for transaction on a side chain, and the first account is an account of the first terminal device on the side chain; obtaining first attestation information in response to the issuance request, wherein the first attestation information is for attesting that a first backbone credential corresponding to the first side chain credential is locked on the backbone; generating a first side link certificate on the side chain according to the first certificate information; and sending the generated first side link certificate to the first account.
According to another aspect of the embodiments of the present invention, there is also provided a block chain-based apparatus for processing a pass certificate, including: a processor; and a memory coupled to the processor for providing instructions to the processor for processing the following processing steps: receiving a locking request for locking a first main chain certificate in a second account from the first terminal device, wherein the second account is an account of the first terminal device on the main chain; locking the first backbone certificate in response to the lock request; generating a first side chain permit on the side chain corresponding to the first main chain permit; and sending the generated first side chain general certificate to a first account, wherein the first account is an account of the first terminal device on the side chain.
In the embodiment of the invention, a mode of transferring the transaction applied to the main chain of a plurality of different scenes to the side chain for transaction is adopted. Through the technical scheme, the server responds to the request of the user for issuing the side chain pass certificate, firstly locks the main chain pass certificate in the account of the user on the main chain, and then issues the side chain pass certificate corresponding to the locked main chain pass certificate value to the side chain account of the user. Because the application scene of the side chain is single, the common mechanism on the side chain does not have the phenomenon of respective emphasis. Therefore, the users can trade on the side chain through the side chain certificate of the server, and the aim of meeting the trading requirements of a plurality of main chain users with different application scenes is achieved, so that the technical effect that when the block chain is applied to different application scenes, the users with different scenes can trade on the block chain side chain through the side chain certificate of the block chain is achieved. The technical problem that the consensus mechanism on the main chain of the block chain cannot meet the requirements of users in multiple application scenes simultaneously when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism in the existing block chain technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 illustrates a hardware block diagram of a computing device for implementing a blockchain-based passprocessing method;
fig. 2 shows a schematic diagram of a block chain-based credential passing processing device according to the scheme of embodiment 1 of the present disclosure;
fig. 3 is a flowchart illustrating a block chain-based credential passing processing method according to a first aspect of embodiment 1 of the present disclosure;
fig. 4 is a flowchart illustrating a block chain based certification processing method according to a second aspect of embodiment 1 of the present disclosure;
FIG. 5 shows a flow chart based on inter-backbone-sidechain transfer according to example 1 of the present disclosure;
fig. 6 is a block diagram illustrating a block chain-based credential processing device according to a first aspect of embodiment 2 of the present disclosure;
fig. 7 is a block diagram illustrating a block chain-based credential processing device according to a second aspect of embodiment 2 of the present disclosure;
fig. 8 is a block diagram illustrating a structure of a block chain-based credential processing device according to a first aspect of embodiment 3 of the present disclosure; and
fig. 9 is a block diagram illustrating a block chain-based credential processing device according to a second aspect of embodiment 3 of the present disclosure.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
There is also provided, in accordance with an embodiment of the present invention, an embodiment of a block chain-based forensic processing method, to note that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Fig. 1 shows a hardware configuration block diagram of a computer terminal (or mobile device) for implementing a block chain-based passcertificate processing method. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …, 102 n) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission device 106 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the block chain based general evidence processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, implementing the block chain based general evidence processing method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
Further, fig. 2 shows a system diagram according to an aspect of the present embodiment. The server 130 runs a blockchain, wherein the blockchain includes a main chain 131 and four side chains disposed on the main chain 131, where the four side chains are: side chain 1311, side chain 1312, side chain 1313, and side chain 1314. The server then applies blockchain backbone 131 to each of the different scenarios, for example: server 130 applies blockchain backbone 131 to scene 141, scene 142, scene 143, and scene 144, respectively. At this time, the user 101 in the scene 141, the user 102 in the scene 142, the user 103 in the scene 143, and the user 104 in the scene 144, which are different from each other, may freely combine the choices to perform the transaction activities on the main chain 131 through the main chain evidence of the block chain. Such as but not limited to: the user 101 in the scenario 141 wants to perform a transaction activity on the main chain 131 with the user 102 in the scenario 142. Since the user 101 and the user 102 are in different application scenarios, the consensus mechanism of the blockchain main chain 131 is emphasized. For example: scene 141 is a game system and scene 142 is an online shopping platform. At this time, the consensus mechanism of the blockchain main chain 131 running in the scenario 141 in terms of the transaction is more focused on the transaction speed, and the consensus mechanism of the blockchain main chain 131 running in the scenario 142 in terms of the transaction is more focused on the transaction security. Therefore, in order to satisfy the transaction requirements of the user 101 and the user 102 at the same time, the transaction activity is not only fast, but also has high security. The server 130 transfers the transaction activity occurring on the main chain 131 to the side chain 1311, 1312, 1313 or 1314 for transaction. The server 130 utilizes a single application scenario of the side chain, and a common recognition mechanism of the side chain is not emphasized in the aspect of transaction, that is, the server has the advantages of high transaction speed and high security, thereby achieving the purpose of meeting the transaction requirements of the user 101 and the user 102 at the same time.
In the above operating environment, the first aspect of the present disclosure provides a block chain-based evidence-passing processing method as shown in fig. 3. Fig. 3 is a flowchart of a block chain-based general evidence processing method according to an embodiment of the present invention. The method may operate on the server 130 shown in fig. 2, and with reference to fig. 3, the method comprises:
s301: receiving an issuing request for issuing a first side chain pass certificate to a first account from a first terminal device, wherein the first side chain pass certificate is used for transaction on a side chain, and the first account is an account of the first terminal device on the side chain;
s302: obtaining first attestation information in response to the issuance request, wherein the first attestation information is for attesting that a first backbone credential corresponding to the first side chain credential is locked on the backbone;
s303: generating a first side link certificate on the side chain according to the first certificate information; and
s304: and sending the generated first side link certificate to a first account.
As described in the background art, in the conventional blockchain technology, due to different application scenarios and different priorities of consensus mechanisms, when a transaction is performed between two or more users with different application scenarios, the consensus mechanism on the blockchain main chain cannot simultaneously meet the requirements of the users with multiple application scenarios.
In order to solve the technical problem, the application provides a block chain-based evidence-based general processing method. For example, the method may receive, from first terminal device 141 through server 130, an issue request to issue a first side chain pass to a first account (i.e., the account of user 101 on blockchain side chain 1311). Server 130 then obtains, in response to the issuance request, first attestation information that attests that user 101 has locked his/her backbone credentials in an account on blockchain backbone 131. The server 130 then generates a first side-chain credential on the side chain 1311 based on the first credential information. Finally, the server 130 sends the generated first side link certificate to the first account.
Therefore, the block chain side chain 1311 has a single application scene, and the problem that a common recognition mechanism of the side chain in the aspect of transaction is emphasized does not exist, so that the requirements of users in different scenes for performing transaction activities based on the block chain can be met at the same time.
In this way, the server 130 of the present disclosure transfers the transaction activities on the main chain 131 between users in different application scenarios to the side chains 1311, 1312, 1313, or 1314, so that the transaction activities on the side chains have the characteristics of high speed and high security. Therefore, the transaction requirements among users in a plurality of application scenes can be met simultaneously. Further, the problem that the consensus mechanism on the main chain of the blockchain cannot simultaneously meet the requirements of users in multiple application scenes when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism in the conventional blockchain technology is solved.
Optionally, the first certification information is certification information of the first terminal device for transferring the first main chain general certificate to a third account specified on the main chain. For example: the user 101 needs to transfer the main chain pass certificate in the account on the main chain 131 to a third account designated on the main chain, and the third account has a function of locking all the main chain pass certificates transferred to the account. After the user 101 transfers the backbone pass (e.g., 100 backbone passes) to the third account, the server 130 will issue the corresponding (e.g., 100) side passes to the account of the user 101 on the side chain. In this way, the number of free main chain passes that the user 101 possesses before locking the main chain pass (i.e., the unlocked main chain pass) is made equal to the sum of the number of free main chain passes that the user possesses after locking and the number of side chain passes. Therefore, a balance is achieved between the certificate passing locking and the certificate passing issuing, and the stability of the transaction activity based on the block chain system is further guaranteed.
Optionally, the third account includes a plurality of first verifiers, and the first attestation information is generated by the plurality of first verifiers confirming receipt of the first backbone attestation by the third account.
Specifically, the third account is commonly supervised and managed by a plurality of verifiers. For example: when the server 130 detects that the third account receives the main chain pass certificate transferred by the user 101, the server 130 sends the transferred transaction to the terminal devices of a plurality of verifiers respectively, and the plurality of verifiers verify the validity of the transferred transaction through digital signatures. When the server 130 receives the digital signatures of multiple verifiers, it generates the first certification information for certifying that the transaction is present and legitimate. By the method, before the server 130 issues the side chain voucher to the user 101, the proof that the main chain voucher is transferred to the third account by the user 101 is called, and then the side chain voucher is issued to the user 101 according to the proof, so that the issue of each side chain voucher is based on the evidence, and the stability of the transaction activity based on the block chain system is further ensured.
Optionally, the method further comprises: receiving a conversion request for converting a second side link pass certificate into a corresponding second main chain pass certificate from the first terminal equipment, wherein the second side link pass certificate is a side chain pass certificate sent to the first account by a fourth account of the second terminal equipment on a side chain; transferring the second side link certificate to a fifth account designated on the side link in response to the conversion request; acquiring a second main chain pass certificate corresponding to a second side chain pass certificate from a third account, wherein the second main chain pass certificate is a main chain pass certificate sent to the third account by a sixth account of the second terminal on the main chain; and sending the acquired second main chain certificate to the first account of the first terminal equipment.
Specifically, in the case where the user 101 of the first terminal device 111 wants to convert the second side link pass (100 side link passes) into the main link pass, where the second side link pass is obtained by the user 101 of the first terminal device 111 in a transaction with the user 102 of the second terminal device 112, issued by the server 130 to the account of the user 102 on the side link, the request that the user 101 convert the 100 side link passes into 100 main link passes through the terminal device 111 is sent to the server 130. The server 130 receives the conversion request, and then the server 130 transfers the 100 side certificates owned by the user 101 to the designated fifth account in response to the conversion request. And then obtains 100 main chain certificates transferred into the third account by the second terminal device 112. Finally, the server 130 sends the 100 main-chain passes to the first account of the first terminal 111 on the main chain. In this way, when the user 101 wants to convert the side-chain pass certificate of the user 102 obtained through the transaction into the main-chain pass certificate of the user 102, the server unlocks the main-chain pass certificate of the user 102, which is originally locked by transferring the user 102 into the third account, by transferring the side-chain pass certificate of the user 102 obtained by the user 101 into the fifth account, and sends the main-chain pass certificate of the user 102 after unlocking to the first account of the user 101 on the main chain.
In addition, according to the above scheme, referring to fig. 5, the transaction flow based on the chain transfer between the main chain and the side chain is roughly as follows: 1) the server 130 transfers the first main chain general certificate of the first account of the user 101 on the main chain 131 to a third account for locking; 2) the server 130 sends the transaction that the user 101 transfers the first main chain certificate into the third account to a plurality of first verifiers, and then receives digital signatures of the transaction from the terminal devices of the first verifiers respectively to form locking certificates (namely first certificate information); 3) the server 130 issues a first side chain credential corresponding to the value of the locked first main chain credential on the side chain 1311 according to the lock credential (i.e., the first credential information) to a second account of the user 101 on the side chain 1311; 4) the user 101 transfers the first side chain voucher stream issued by the server 130 in the second account to the sixth account of the user 102 in the side chain; 5) when the user 102 wants to convert the first side link pass certificate in the sixth account into the corresponding first main chain pass certificate, the user 102 transfers the first side link pass certificate in the sixth account into the fifth account for destruction; 6) the server 130 sends the transaction that the user 102 transfers the first side link in the sixth account into the fifth account to the plurality of second verifiers, and then receives digital signatures of the transaction from the terminal devices of the plurality of second verifiers respectively, so as to form a destruction proof (i.e. second proof information); 7) the server 130 unlocks according to the first main chain pass certificate, which is locked by the user 101 in the third account of the main chain 131 by the destruction certificate (i.e., the second certificate information), and corresponds to the first side chain pass certificate value, and sends the unlocked first main chain pass certificate to the fourth account of the user 102 in the main chain 131. By the mode, a mechanism of main chain evidence-passing locking, namely side chain evidence-passing issuing is formed, and the stability of a block chain system is further ensured.
Optionally, the operation of obtaining a second main chain pass certificate corresponding to the second side chain pass certificate from the third account includes: calling second certification information for transferring the second side link certificate into the fifth account; and acquiring a second main chain certificate from the third account according to the second certificate information.
Specifically, the user 101 needs to transfer the second side link voucher (e.g., the second side link voucher is used by the user 102 to trade with the user 101) in the account on the side link 1311 to a fifth account designated on the main chain 131, and the fifth account has a function of destroying all the side link vouchers transferred to the account. After the user 101 transfers the second side link certificates (e.g., 100 second side link certificates) to the fifth account, second certification information is generated to certify that the user 101 has transferred the 100 second side link certificates to the fifth account. The server 130 will obtain 100 second backbone passes that the user 102 originally transferred to the third account for locking, and then the server will issue 100 backbone passes to the account of the user 101 on the side chain 1311. In this way, the sum of the number of free main chain passes owned by the user 101 before the side chain passes are destroyed and the number of side chain passes is made equal to the number of main chain passes owned after the destruction. Therefore, a balance is achieved between the evidence-passing destruction and the evidence-passing distribution, and the stability of the transaction activity based on the block chain system is further guaranteed.
Optionally, the fifth account includes a plurality of second verifiers, and the second attestation information results from an operation of the plurality of second verifiers confirming that the fifth account received the second side-link attestation.
Specifically, the fifth account is supervised and managed jointly by a plurality of verifiers. For example: when the server 130 detects that the fifth account receives the side chain pass certificate transferred by the user 101, the server 130 sends the transferred transaction to the terminal devices of a plurality of verifiers respectively, and the plurality of verifiers verify the validity of the transferred transaction through digital signatures. When the server 130 receives the digital signatures of the verifiers, second certification information is generated for certifying that the transaction is officially existed and legal. By the method, before the server 130 issues the main chain voucher to the user 101, the proof that the side chain voucher is transferred to the fifth account by the user 101 is called, and then the main chain voucher is issued to the user 101 according to the proof, so that the issue of each main chain voucher is based on the evidence, and the stability of transaction activities based on the block chain system is further ensured.
According to the second aspect of the embodiment of the present invention, there is also provided a block chain-based evidence-passing processing method as shown in fig. 4. Fig. 4 is a flowchart of a block chain-based general evidence processing method according to the second aspect of embodiment 1 of the present invention. The method may operate on the server 1230 shown in FIG. 2 and, with reference to FIG. 4, the method includes:
s401: receiving a locking request for locking a first main chain certificate in a second account from the first terminal device, wherein the second account is an account of the first terminal device on the main chain;
s402: locking the first backbone certificate in response to the lock request;
s403: generating a first side chain permit on the side chain corresponding to the first main chain permit; and
s404: and sending the generated first side chain general certificate to a first account, wherein the first account is an account of the first terminal device on the side chain.
Specifically, for example and without limitation, the present application provides a lock request that may be received by server 130 from a first terminal device (e.g., terminal device 141 or terminal device 142 or terminal device 143 or terminal device 144) to lock a first backbone pass-through in a second account (i.e., an account of user 101 on blockchain backbone 131). Server 130 then locks the first backbone certificate in response to the lock request. The server 130 then generates a first side chain credential on the side chain corresponding to the first main chain credential. A first side chain proof is generated on the side chain 1311 based on the first proof information. Finally, server 130 sends the generated first side-chain pass-certificate to the first account (i.e., the account of user 101 on blockchain 1311).
Therefore, the application scenario of the blockchain sidelines 1311, 1312, 1313 or 1314 is single, and the problem that the consensus mechanism of the sidelines in the transaction is emphasized does not exist, so that the requirement of users in different scenarios for performing transaction activities based on the blockchain can be met at the same time.
In this way, the server 130 of the present disclosure transfers the transaction activities on the main chain 131 between users in different application scenarios to the side chains 1311, 1312, 1313, or 1314, so that the transaction activities on the side chains have the characteristics of high speed and high security. Therefore, the transaction requirements among users in a plurality of application scenes can be met simultaneously. Further, the problem that the consensus mechanism on the main chain of the blockchain cannot simultaneously meet the requirements of users in multiple application scenes when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism in the conventional blockchain technology is solved.
According to a third aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the method of any one of the above is performed by a processor when the program is run.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
According to a first aspect of the embodiments of the present invention, there is provided a blockchain-based evidence processing apparatus 600 for implementing the blockchain-based evidence processing method according to the first aspect of embodiment 1, as shown in fig. 6, the apparatus 600 includes: an issuing request receiving module 610, configured to receive, from a first terminal device, an issuing request for issuing a first sidelink passphrase to a first account, where the first sidelink passphrase is used for performing a transaction on a sideline, and the first account is an account of the first terminal device on the sideline; a first certification information obtaining module 620, configured to obtain first certification information in response to the issuance request, where the first certification information is used to certify that a first main chain credential corresponding to the first side chain credential is locked on the main chain; a first side link certificate generation module 630, configured to generate a first side link certificate on a side link according to the first certificate information; and a first side chain voucher sending module 640, configured to send the generated first side chain voucher to the first account.
As described in the background art, in the conventional blockchain technology, due to different application scenarios and different priorities of consensus mechanisms, when a transaction is performed between two or more users with different application scenarios, the consensus mechanism on the blockchain main chain cannot simultaneously meet the requirements of the users with multiple application scenarios.
In order to solve the technical problem, the present application provides a method for receiving an issuance request for issuing a first side chain voucher to a first account (i.e., an account of a user on a side chain of a blockchain) from a first terminal device through an issuance request receiving module 610. Then, the first certification information obtaining module 620 obtains, in response to the issuance request, the first certification information that proves that the user has locked his/her backbone credential in the account on the blockchain backbone. The first side chain credential generation module 630 then generates a first side chain credential on the side chain based on the first credential information. Finally, the first side link pass certificate sending module 640 sends the generated first side link pass certificate to the first account.
Therefore, the application scene of the block chain side chain is single, and the problem that the common recognition mechanism of the side chain in the aspect of transaction is emphasized is solved, so that the requirements of users in different scenes on transaction activities based on the block chain can be met simultaneously.
Therefore, in this way, the device 600 of the present disclosure transfers the transaction activities on the main chain between users in different application scenarios to the side chain, so that the transaction activities on the side chain have the characteristics of high speed and high security. Therefore, the transaction requirements among users in a plurality of application scenes can be met simultaneously. Further, the problem that the consensus mechanism on the main chain of the blockchain cannot simultaneously meet the requirements of users in multiple application scenes when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism in the conventional blockchain technology is solved.
Optionally, the first certification information is certification information of the first terminal device for transferring the first main chain general certificate to a third account specified on the main chain. For example: the user needs to transfer the main chain permit in the account on the main chain into a third account appointed on the main chain, and the third account has the function of locking all main chain permits transferred into the account. After the user transfers the backbone pass (e.g., 100 backbone passes) to the third account, the device 600 will issue 100 side passes to the user's account on the side chain. In this way, the number of free backbone passes that the user possesses before locking the backbone pass (i.e., the backbone pass that is not locked) is equal to the sum of the number of free backbone passes that the user possesses after locking and the number of side chain passes. Therefore, a balance is achieved between the certificate passing locking and the certificate passing issuing, and the stability of the transaction activity based on the block chain system is further guaranteed.
Optionally, the third account includes a plurality of first verifiers, and the first attestation information is generated by the plurality of first verifiers confirming receipt of the first backbone attestation by the third account.
Specifically, the third account is commonly supervised and managed by a plurality of verifiers. For example: when the device 600 detects that the third account receives the main chain pass certificate transferred by the user, the device 600 sends the transferred transaction to the terminal devices of a plurality of verifiers respectively, and the plurality of verifiers verify the validity of the transferred transaction through digital signatures. When the device 600 receives the digital signatures of multiple verifiers, it generates a first authentication message for authenticating that the transaction is present and legitimate. By the mode, before the device 600 issues the side chain voucher to the user, the proof that the main chain voucher is transferred to the third account by the user is called, and then the side chain voucher is issued to the account of the user on the side chain according to the proof, so that the issue of each side chain voucher is based on the evidence, and the stability of the transaction activity based on the block chain system is further ensured.
Optionally, the method further comprises: the conversion request receiving module is used for receiving a conversion request for converting a second side chain pass certificate into a corresponding second main chain pass certificate from the first terminal equipment, wherein the second side chain pass certificate is a side chain pass certificate sent to the first account by a fourth account of the second terminal equipment on a side chain; the second side chain communication certificate transferring module is used for responding to the conversion request and transferring the second side chain communication certificate to a fifth account appointed on the side chain; the second main chain evidence obtaining module is used for obtaining a second main chain evidence corresponding to the second side chain evidence from a third account, wherein the second main chain evidence is the main chain evidence sent to the third account by a sixth account of the second terminal on the main chain; and the second main chain evidence obtaining module is used for obtaining a second main chain evidence obtained by the first main chain evidence obtaining module and obtaining a second main chain evidence obtained by the second main chain evidence obtaining module.
Specifically, when a first user of a first terminal device wants to convert a second side-chain pass (100 second side-chain passes) issued by the apparatus 600 to an account of the first user on a side chain, which is obtained when a transaction is performed with a second user of a second terminal device, into a main-chain pass, the first user sends a request for converting the 100 side-chain passes into 100 main-chain passes to the apparatus 600 through the first terminal device. The conversion request receiving module receives the conversion request, and then the second side-link certificate transfer module transfers 100 second side-link certificates owned by the first user to the specified fifth account in response to the conversion request. And then the second main chain license obtaining module obtains 100 main chain licenses, which are transferred to the third account by the second user through the second terminal device, from the third account. Finally, the second main chain evidence sending module sends the 100 main chain evidence to the first account of the first user on the main chain. In this way, when the first user wants to convert the side chain pass of the second user obtained through the transaction into the main chain pass of the first user, the device 600 unlocks the second main chain pass, which is originally transferred to the third account for locking, by transferring the side chain pass of the second user obtained by the first user to the fifth account, and sends the unlocked second main chain pass to the first account of the first user on the main chain.
Optionally, the second main-chain evidence obtaining module includes: the calling submodule is used for calling second certification information of the second side link certification transferred to the fifth account; and the obtaining submodule is used for obtaining a second main chain certificate from the third account according to the second certificate information.
Specifically, the first user needs to transfer a second side link permit in the account on the side chain (for example, the second user uses the second side link permit to trade with the first user) to a fifth account designated on the main chain, and the fifth account has a function of destroying all the side link permits transferred to the account. Second attestation information may be generated after the first user transfers second sidelink credentials (e.g., 100 second sidelink credentials) to the fifth account. The recall submodule then recalls second attestation information that attests that the first user has transferred the 100 second sidelink attestations into the fifth account. The obtaining sub-module then obtains the 100 second main-chain passes that the second user originally transferred to the third account for locking, and then the apparatus 600 issues 100 main-chain passes to the account of the first user on the side chain. In this way, the sum of the number of free main chain passes owned by the first user before the side chain passes are destroyed and the number of side chain passes is equal to the number of main chain passes owned after destruction. Therefore, a balance is achieved between the evidence-passing destruction and the evidence-passing distribution, and the stability of the transaction activity based on the block chain system is further guaranteed.
Optionally, the fifth account includes a plurality of second verifiers, and the second attestation information results from an operation of the plurality of second verifiers confirming that the fifth account received the second side-link attestation.
Specifically, the fifth account is supervised and managed jointly by a plurality of verifiers. For example: when the device 600 detects that the fifth account receives the side chain pass certificate transferred by the first user, the device 600 sends the transferred transaction to the terminal devices of a plurality of verifiers respectively, and the plurality of verifiers verify the legality of the transferred transaction through digital signatures. When the device 600 receives the digital signatures of multiple verifiers, it generates second verification information for verifying that the transaction is present and legitimate. In this way, before the device 600 issues the main chain voucher to the first user, the proof that the first user transfers the side chain voucher to the fifth account can be called, and then the main chain voucher is issued to the first user according to the proof, so that the issue of each main chain voucher is based on the evidence, and the stability of the transaction activity based on the block chain system is further ensured.
According to a second aspect of the embodiments of the present invention, there is provided a blockchain-based certification processing apparatus 700 for implementing the blockchain-based certification processing method according to the second aspect of embodiment 1, as shown in fig. 7, the apparatus 700 including: a locking request receiving module 710, configured to receive, from the first terminal device, a locking request for locking a first main chain credential in a second account, where the second account is an account of the first terminal device on the main chain; a locking module 720, configured to lock the first main chain credential in response to the locking request; a first side chain general evidence generating module 730, configured to generate a first side chain general evidence corresponding to the first main chain general evidence on the side chain; and a first side chain voucher sending module 740, configured to send the generated first side chain voucher to a first account, where the first account is an account of the first terminal device on the side chain.
Specifically, the present application provides a lock request that can be received from a first terminal device through the lock request receiving module 710 to lock a first backbone pass-certificate in a second account (i.e., an account of a first user on a blockchain backbone). The locking module 720 then locks the first backbone credential in response to the lock request. The first side chain credential generating module 730 then generates a first side chain credential on the side chain corresponding to the first main chain credential. Generating a first side chain proof on the side chain according to the first proof information. Finally, the first side link passport sending module 740 sends the generated first side link passport to the first account (i.e., the account of the first user on the blockchain side link).
Therefore, the application scene of the block chain side chain is single, and the problem that the common recognition mechanism of the side chain in the aspect of transaction is emphasized is solved, so that the requirements of users in different scenes on transaction activities based on the block chain can be met simultaneously.
Therefore, in this way, the device 700 of the present disclosure transfers the transaction activities on the main chain between users in different application scenarios to the side chain, so that the transaction activities on the side chain have the characteristics of high speed and high security. Therefore, the transaction requirements among users in a plurality of application scenes can be met simultaneously. Further, the problem that the consensus mechanism on the main chain of the blockchain cannot simultaneously meet the requirements of users in multiple application scenes when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism in the conventional blockchain technology is solved.
It should be noted here that the issuing request receiving module 610, the first certification information obtaining module 620, the first side link voucher generating module 630 and the first side link voucher sending module 640 correspond to steps S301 to S304 in the first aspect of embodiment 1; the locking request receiving module 710, the locking module 720, the first side link certificate generating module 730 and the first side link certificate sending module 740 correspond to steps S401 to S404 in the second aspect of embodiment 1; the modules are the same as the corresponding steps in the implementation examples and application scenarios, but are not limited to the disclosure of the first embodiment. It should be noted that the modules described above as part of the apparatus may be run in the computer terminal 10 provided in the first embodiment.
Example 3
According to a first aspect of the embodiments of the present invention, a block chain-based evidence obtaining processing device is provided. As shown in fig. 8, the apparatus includes: a processor 810; and a memory 820 coupled to the processor 810 for providing instructions to the processor 810 to process the following process steps: receiving an issuing request for issuing a first side chain pass certificate to a first account from a first terminal device, wherein the first side chain pass certificate is used for transaction on a side chain, and the first account is an account of the first terminal device on the side chain; obtaining first attestation information in response to the issuance request, wherein the first attestation information is for attesting that a first backbone credential corresponding to the first side chain credential is locked on the backbone; generating a first side link certificate on the side chain according to the first certificate information; and sending the generated first side link certificate to the first account.
Optionally, the first certification information is certification information of the first terminal device for transferring the first main chain general certificate to a third account specified on the main chain.
Optionally, the third account includes a plurality of first verifiers, and the first attestation information is generated by the plurality of first verifiers confirming receipt of the first backbone attestation by the third account.
Optionally, the memory 820 is used for providing the processor 810 with instructions for processing the following processing steps, and further comprises: receiving a conversion request for converting a second side link pass certificate into a corresponding second main chain pass certificate from the first terminal equipment, wherein the second side link pass certificate is a side chain pass certificate sent to the first account by a fourth account of the second terminal equipment on a side chain; transferring the second side link certificate to a fifth account designated on the side link in response to the conversion request; acquiring a second main chain pass certificate corresponding to a second side chain pass certificate from a third account, wherein the second main chain pass certificate is a main chain pass certificate sent to the third account by a sixth account of the second terminal on the main chain; and sending the acquired second main chain certificate to the first account of the first terminal equipment.
Optionally, the obtaining, from the third account, an operation instruction of a second main chain pass certificate corresponding to the second side chain pass certificate includes: calling second certification information for transferring the second side link certificate into the fifth account; and acquiring a second main chain certificate from the third account according to the second certificate information.
Optionally, the fifth account includes a plurality of second verifiers, and the second attestation information results from an operation of the plurality of second verifiers confirming that the fifth account received the second side-link attestation.
Because the application scene of the block chain side chain is single, the problem that the common recognition mechanism of the side chain in the aspect of transaction is emphasized is solved, and the requirements of users in different scenes for carrying out transaction activities based on the block chain can be met simultaneously.
Therefore, in this way, the device 800 of the present disclosure transfers the transaction activities on the main chain between users in different application scenarios to the side chain, so that the transaction activities on the side chain have the characteristics of high speed and high security. Therefore, the transaction requirements among users in a plurality of application scenes can be met simultaneously. Further, the problem that the consensus mechanism on the main chain of the blockchain cannot simultaneously meet the requirements of users in multiple application scenes when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism in the conventional blockchain technology is solved.
According to a first aspect of the embodiments of the present invention, a block chain-based evidence obtaining processing device is provided. As shown in fig. 9, the apparatus includes: a processor 910; and a memory 920 coupled to the processor 910 for providing instructions to the processor 910 to process the following steps: receiving a locking request for locking a first main chain certificate in a second account from the first terminal device, wherein the second account is an account of the first terminal device on the main chain; locking the first backbone certificate in response to the lock request; generating a first side chain permit on the side chain corresponding to the first main chain permit; and sending the generated first side chain general certificate to a first account, wherein the first account is an account of the first terminal device on the side chain.
Because the application scene of the block chain side chain is single, the problem that the common recognition mechanism of the side chain in the aspect of transaction is emphasized is solved, and the requirements of users in different scenes for carrying out transaction activities based on the block chain can be met simultaneously.
Therefore, in this way, the device 900 of the present disclosure transfers the transaction activities on the main chain between users in different application scenarios to the side chain, so that the transaction activities on the side chain have the characteristics of high speed and high security. Therefore, the transaction requirements among users in a plurality of application scenes can be met simultaneously. Further, the problem that the consensus mechanism on the main chain of the blockchain cannot simultaneously meet the requirements of users in multiple application scenes when transaction activities are carried out between two or more users in different application scenes due to different application scenes and different emphasis of the consensus mechanism in the conventional blockchain technology is solved.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A block chain-based evidence-passing processing method is characterized by comprising the following steps:
receiving an issuing request for issuing a first side chain voucher to a first account from a first terminal device, wherein the first side chain voucher is used for carrying out transaction on a side chain, and the first account is an account of the first terminal device on the side chain;
responding to the issuing request, and acquiring first certification information, wherein the first certification information is certification information of transferring a first main chain permit corresponding to the first side chain permit in a second account to a third account appointed on a main chain by the first terminal device, and the third account has a function of locking all transferred main chain permits;
generating the first side chain general certificate on the side chain according to the first certificate information;
sending the generated first side link certificate to the first account;
receiving a conversion request for converting a second side chain pass certificate into a corresponding second main chain pass certificate from the first terminal equipment, wherein the second side chain pass certificate is a side chain pass certificate sent to the first account by a fourth account of the second terminal equipment on the side chain;
responding to the conversion request, transferring the second side chain permit to a fifth account appointed on the side chain, wherein the fifth account has a function of destroying all transferred side chain permits;
acquiring a second main chain pass certificate corresponding to the second side chain pass certificate from the third account, wherein the second main chain pass certificate is a main chain pass certificate sent by a sixth account of the second terminal on the main chain to the third account; and
and sending the acquired second main chain permit to a first account of the first terminal equipment.
2. The method according to claim 1, wherein the first certification information is certification information that the first terminal device passes the first main chain to a third account designated on the main chain.
3. The method of claim 2, wherein the third account comprises a plurality of first verifiers, and wherein the first attestation information was generated by the plurality of first verifiers confirming receipt of the first backbone attestation by the third account.
4. The method of claim 3, wherein obtaining a second principal chain pass corresponding to the second side chain pass from the third account comprises:
calling second certification information transferred to the fifth account by the second side link certification; and
and acquiring the second main chain certificate from the third account according to the second certificate information.
5. The method of claim 4, wherein the fifth account comprises a plurality of second verifiers, and wherein the second attestation information results from the plurality of second verifiers confirming receipt of the second side chain attestation by the fifth account.
6. A block chain-based evidence-passing processing method is characterized by comprising the following steps:
receiving a locking request for locking a first main chain permit in a second account from a first terminal device, wherein the second account is an account of the first terminal device on a main chain, the first main chain permit in the second account is transferred to a third account appointed on the main chain by the first terminal device, and the third account has a function of locking all transferred main chain permits;
locking the first backbone credential in response to the lock request;
generating a first side chain permit on the side chain corresponding to the first main chain permit;
sending the generated first side chain general certificate to a first account, wherein the first account is an account of the first terminal device on a side chain;
receiving a conversion request for converting a second side chain pass certificate into a corresponding second main chain pass certificate from the first terminal equipment, wherein the second side chain pass certificate is a side chain pass certificate sent to the first account by a fourth account of the second terminal equipment on the side chain;
responding to the conversion request, transferring the second side chain permit to a fifth account appointed on the side chain, wherein the fifth account has a function of destroying all transferred side chain permits;
acquiring a second main chain pass certificate corresponding to the second side chain pass certificate from the third account, wherein the second main chain pass certificate is a main chain pass certificate sent by a sixth account of the second terminal on the main chain to the third account; and
and sending the acquired second main chain permit to a first account of the first terminal equipment.
7. A storage medium comprising a stored program, wherein the method of any one of claims 1 to 6 is performed by a processor when the program is run.
8. A block chain-based evidence-passing processing device is characterized by comprising:
an issuing request receiving module, configured to receive, from a first terminal device, an issuing request for issuing a first side-chain voucher to a first account, where the first side-chain voucher is used for performing a transaction on a side chain, and the first account is an account of the first terminal device on the side chain;
the first certification information acquisition module is used for responding to the issuing request and acquiring first certification information, wherein the first certification information is the certification information of transferring a first main chain permit corresponding to the first side chain permit in a second account into a third account appointed on a main chain by the first terminal device, and the third account has a function of locking all transferred main chain permits;
the first side link certificate generation module is used for generating the first side link certificate on the side chain according to first certificate information;
the first side link permit sending module is used for sending the generated first side link permit to the first account;
a conversion request receiving module, configured to receive, from the first terminal device, a conversion request for converting a second side chain pass certificate into a corresponding second main chain pass certificate, where the second side chain pass certificate is a side chain pass certificate that is sent to the first account by a fourth account of the second terminal device on the side chain;
the second side chain pass-certificate transferring module is used for responding to the conversion request and transferring the second side chain pass-certificate to a fifth account appointed on the side chain, and the fifth account has a function of destroying all transferred side chain pass-certificates;
a second main chain pass certificate obtaining module, configured to obtain a second main chain pass certificate corresponding to the second side chain pass certificate from the third account, where the second main chain pass certificate is a main chain pass certificate sent to the third account by a sixth account of the second terminal on the main chain; and
and the second main chain evidence obtaining module is used for obtaining a second main chain evidence obtained by the first main chain evidence obtaining module and obtaining a second main chain evidence obtained by the second main chain evidence obtaining module.
9. A block chain-based evidence-passing processing device is characterized by comprising:
a locking request receiving module, configured to receive, from a first terminal device, a locking request for locking a first main chain permit in a second account, where the second account is an account of the first terminal device on a main chain, where the first main chain permit in the second account is transferred to a third account specified on the main chain by the first terminal device, and the third account has a function of locking all transferred main chain permits;
the locking module is used for responding to the locking request and locking the first main chain certificate;
the first side chain evidence generating module is used for generating a first side chain evidence corresponding to the first main chain evidence on a side chain;
the first side link evidence sending module is used for sending the generated first side link evidence to a first account, wherein the first account is an account of the first terminal device on a side chain;
a conversion request receiving module, configured to receive, from the first terminal device, a conversion request for converting a second side chain pass certificate into a corresponding second main chain pass certificate, where the second side chain pass certificate is a side chain pass certificate that is sent to the first account by a fourth account of the second terminal device on the side chain;
the second side chain pass-certificate transferring module is used for responding to the conversion request and transferring the second side chain pass-certificate to a fifth account appointed on the side chain, and the fifth account has a function of destroying all transferred side chain pass-certificates;
a second main chain pass certificate obtaining module, configured to obtain a second main chain pass certificate corresponding to the second side chain pass certificate from the third account, where the second main chain pass certificate is a main chain pass certificate sent to the third account by a sixth account of the second terminal on the main chain; and
and the second main chain evidence obtaining module is used for obtaining a second main chain evidence obtained by the first main chain evidence obtaining module and obtaining a second main chain evidence obtained by the second main chain evidence obtaining module.
CN201811236748.6A 2018-10-23 2018-10-23 Block chain-based evidence-based processing method and device and storage medium Expired - Fee Related CN109377366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811236748.6A CN109377366B (en) 2018-10-23 2018-10-23 Block chain-based evidence-based processing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811236748.6A CN109377366B (en) 2018-10-23 2018-10-23 Block chain-based evidence-based processing method and device and storage medium

Publications (2)

Publication Number Publication Date
CN109377366A CN109377366A (en) 2019-02-22
CN109377366B true CN109377366B (en) 2021-07-20

Family

ID=65400740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811236748.6A Expired - Fee Related CN109377366B (en) 2018-10-23 2018-10-23 Block chain-based evidence-based processing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN109377366B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008722B (en) * 2019-03-27 2022-04-08 致信互链(北京)科技有限公司 Block chain-based method, device and storage medium for processing accreditation transfer rewards
CN110866827B (en) * 2019-10-12 2023-10-20 平安壹钱包电子商务有限公司 Method and device for processing pass, storage medium and server

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10649429B2 (en) * 2015-10-13 2020-05-12 LO3 Energy Inc. Use of blockchain based distributed consensus control
CN110365686B (en) * 2017-02-08 2020-10-27 腾讯科技(深圳)有限公司 Data processing method, system and storage medium
CN107038639B (en) * 2017-03-07 2020-08-04 杭州云象网络技术有限公司 Alliance chain construction method compatible with multi-asset type rapid transaction
CN107464106B (en) * 2017-07-25 2021-01-26 北京果仁宝科技有限公司 Method and system for transaction between main chain and side chain of block chain
CN108510269A (en) * 2018-02-20 2018-09-07 武汉龙津科技有限公司 A kind of tree-shaped basic block catenary system of adjustment
CN108600301B (en) * 2018-03-08 2021-05-18 青岛墨一客区块链有限公司 Cross-link method between block chains and main block chain

Also Published As

Publication number Publication date
CN109377366A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN110493220B (en) Data sharing method and device based on block chain and storage medium
CN110958118B (en) Certificate authentication management method, device, equipment and computer readable storage medium
CN110046996B (en) Data processing method and device
US9838205B2 (en) Network authentication method for secure electronic transactions
EP2529301B1 (en) A new method for secure user and transaction authentication and risk management
Das et al. On the security of SSL/TLS-enabled applications
Harini et al. 2CAuth: A new two factor authentication scheme using QR-code
CN104125199B (en) A kind of anonymous authentication method and system based on attribute
CN109361508B (en) Data transmission method, electronic device and computer readable storage medium
WO2007039806A2 (en) Method and arrangement for secure autentication
TWI648679B (en) License management system and method using blockchain
KR101974062B1 (en) Electronic Signature Method Based on Cloud HSM
CN112765268A (en) Block chain-based data privacy protection method, device and equipment
CN104079413A (en) Enhancement type one-time dynamic password authentication method and system
CN109377366B (en) Block chain-based evidence-based processing method and device and storage medium
CN105187405A (en) Reputation-based cloud computing identity management method
CN114760071B (en) Zero-knowledge proof based cross-domain digital certificate management method, system and medium
CN114519206A (en) Method for anonymously signing electronic contract and signature system
CN101789939B (en) Effective realization method for credible OpenSSH
CN101729252A (en) System and method of identity authentication of network service user
CN110602218B (en) Method and related device for assembling cloud service in user-defined manner
CN112488707A (en) Service flow supervision method and system
Lee et al. Efficient and secure remote authenticated key agreement scheme for multi-server using mobile equipment
CN114710317A (en) Identity authentication method and device based on block chain and storage medium
CN113114470A (en) Group signature method and device, electronic equipment 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210720

Termination date: 20211023

CF01 Termination of patent right due to non-payment of annual fee