CN112258186A - Block chain electronic certificate transfer method and device, electronic equipment and storage medium - Google Patents

Block chain electronic certificate transfer method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112258186A
CN112258186A CN202011205591.8A CN202011205591A CN112258186A CN 112258186 A CN112258186 A CN 112258186A CN 202011205591 A CN202011205591 A CN 202011205591A CN 112258186 A CN112258186 A CN 112258186A
Authority
CN
China
Prior art keywords
transferor
electronic certificate
block chain
electronic
node
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.)
Pending
Application number
CN202011205591.8A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202011205591.8A priority Critical patent/CN112258186A/en
Publication of CN112258186A publication Critical patent/CN112258186A/en
Pending legal-status Critical Current

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to a block chain technology, and discloses a block chain electronic certificate transfer method, which comprises the following steps: generating a block chain node of a transferor according to registration information of the transferor, acquiring transaction document information of the transferor, generating an electronic certificate by utilizing the transaction document information, storing the electronic certificate into the block chain node of the transferor, verifying the transferor when receiving a transfer instruction sent by the transferor, acquiring receiver information when the transferor passes verification, extracting an electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, and transmitting the electronic certificate to be transferred to a receiver. The invention also provides a block chain electronic certificate transfer device, electronic equipment and a computer readable storage medium. The invention can solve the problem of incapability of constructing a block chain system and nodes.

Description

Block chain electronic certificate transfer method and device, electronic equipment and storage medium
Technical Field
The present invention relates to a block chain technology, and in particular, to a block chain electronic certificate transfer method, apparatus, electronic device, and computer readable storage medium.
Background
The block chain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace retaining in the whole process, traceability, collective maintenance, openness and transparency and the like.
The block chain electronic certificate is an electronic certificate applying a block chain technology, and the transfer of the block chain electronic certificate is a process of transmitting the electronic certificate from a transferor node to a receiver node through a block chain. Nowadays, the transfer of the block chain electronic certificate requires that both parties deploy systems or nodes of respective enterprises first, but many small micro-enterprises and individuals do not know how to construct the block chain systems or nodes and cannot enjoy the convenience brought by the block chain technology.
Disclosure of Invention
The invention provides a block chain electronic certificate transfer method, a block chain electronic certificate transfer device, electronic equipment and a computer readable storage medium, and mainly aims to solve the problem that a block chain system and nodes cannot be constructed without solving a block chain technology.
In order to achieve the above object, the present invention provides a block chain electronic certificate transfer method, which includes:
generating block link points of the transferor according to the registration information of the transferor;
acquiring the transaction receipt information of the transferor, and generating an electronic voucher according to the transaction receipt information;
storing the electronic voucher to a blockchain node of the transferor;
when a transfer instruction sent by the transferor is received, verifying the transferor;
and when the transferor passes the verification, acquiring receiver information, calling an electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, and transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the receiver information.
Optionally, before storing the electronic certificate in the blockchain node, the method includes:
and dividing the block chain link point of the transferor into a first-level node and a second-level node according to function division, wherein the first-level node is used for storing the electronic certificate, and the second-level node is used for storing the verification information of the transferor.
Optionally, before storing the electronic certificate in the blockchain node of the transferor, the method further includes:
constructing a key in the secondary node by using a pre-constructed key generation module;
and establishing an information transmission channel according to the key, connecting the transferor with the primary node, and storing the electronic certificate into the primary node.
Optionally, the building an information transmission channel according to the key includes:
capturing the signal identification of the transferor by utilizing a pre-constructed WIFI module;
and establishing the information transmission channel between the transferor and the first-level node by using the key and the signal identifier of the transferor.
Optionally, after the key is constructed in the secondary node, the method further includes:
encrypting and packaging the key to obtain an encryption key interface;
and connecting the transferor and the secondary node by using the encryption key interface.
Optionally, the obtaining transaction document information of the transferor and generating an electronic voucher according to the transaction document information includes:
converting the transaction document information into a structured dataset;
and importing the structured data set into a pre-constructed electronic certificate template to generate the electronic certificate.
Optionally, the retrieving, according to the transfer instruction, the electronic certificate to be transferred from the block chain node of the transferor, and transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the receiver information includes:
analyzing the electronic certificate transfer instruction to obtain a storage position of the electronic certificate to be transferred stored in the primary node;
and calling the storage position, extracting the electronic certificate to be converted, and transmitting the electronic certificate to a block chain node corresponding to the receiver.
In order to solve the above problem, the present invention further provides a block chain electronic certificate transfer apparatus, including:
the block link node construction module is used for generating block link nodes of the transferor according to the registration information of the transferor;
the electronic certificate generating module is used for acquiring the transaction document information of the transferor, generating an electronic certificate by using the transaction document information, and storing the electronic certificate into a block chain node of the transferor;
the electronic certificate verification module is used for verifying the transferor when receiving a transfer instruction sent by the transferor;
and the electronic certificate transfer module is used for acquiring information of a receiver when the transferor passes the verification, calling an electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, and transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the information of the receiver.
In order to solve the above problem, the present invention also provides an electronic device, including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above-described block chain electronic credential transfer method.
In order to solve the above problem, the present invention further provides a computer-readable storage medium comprising a storage data area and a storage program area, wherein the storage data area stores created data, and the storage program area stores a computer program; wherein the computer program when executed by a processor implements the above-described block chain electronic credential transfer method.
According to the embodiment of the invention, the block chain node of the transferor is generated according to the registration information of the transferor, so that a small micro enterprise or an individual can use the block chain electronic certificate under the condition that the block chain node cannot be constructed; the embodiment of the invention further obtains the transaction document information of the transferor, generates an electronic certificate according to the transaction document information, stores the electronic certificate into the block chain node of the transferor, and automatically forwards the transaction information into the block chain electronic certificate, thereby increasing the efficiency of processing the transaction information; and when the transferor passes the verification, acquiring receiver information, calling an electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the receiver information, and increasing the data security through the verification. Therefore, the block chain electronic certificate transfer method, the block chain electronic certificate transfer device and the computer readable storage medium provided by the invention can solve the problem that a small micro enterprise cannot build a block chain system and a node, and can also increase the transaction efficiency and improve the security of data transmission.
Drawings
Fig. 1 is a flowchart illustrating a block chain electronic certificate transfer method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a block chain electronic certificate transfer apparatus according to an embodiment of the present invention;
fig. 3 is a schematic internal structural diagram of an electronic device implementing a block chain electronic certificate transfer method according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a block chain electronic certificate transferring method. The execution subject of the block chain transfer electronic certificate method provided by the embodiment of the present application includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the method for transferring a blockchain electronic certificate may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Referring to fig. 1, the method for transferring a blockchain electronic certificate provided in this embodiment includes:
and S1, generating the block link point of the transferor according to the registration information of the transferor.
In one embodiment of the present invention, an electronic certificate transfer program may be implanted into an electronic device such as a mobile phone of a user in the form of application software or a wechat applet, and after the user inputs an account password through the electronic certificate transfer program for registration, a block link point corresponding to the user may be automatically constructed.
Preferably, in this embodiment of the present invention, the electronic certificate transfer program may be an electronic wallet, and after the user registers, the electronic certificate transfer program may be used to store, retrieve, and transfer the electronic certificate.
And S2, acquiring the transaction document information of the transferor, and generating an electronic certificate according to the transaction document information.
In a preferred embodiment of the present invention, the transaction document information includes: the company name of the transaction (including the transferor company name and the recipient company name), the time of the transaction, the location, the person, the item or the amount of money.
In detail, in an embodiment of the present invention, the generating an electronic voucher according to the transaction document information includes:
converting the transaction document information into a structured dataset; and importing the structured data set into a pre-constructed electronic certificate template to generate the electronic certificate.
The structured data is also called row data, is data logically expressed and realized by a two-dimensional table structure, strictly follows the data format and length specification, and is mainly stored and managed by a relational database.
The electronic certificate template is written by a program in advance, and an electronic certificate generating program which does not include substantial transaction information can lead the data in the structured transaction data set into a corresponding position in the electronic certificate template to generate the electronic certificate.
S3, storing the electronic certificate in the block chain node of the transferor.
In a preferred embodiment of the present invention, after storing the electronic voucher to the block chain node, the electronic voucher may be referred to as a block chain electronic voucher.
The blockchain node refers to a computer in a blockchain network, including a mobile phone, an ore machine, a server, and the like, and when an individual or a family user participates in the blockchain network, each individual or family can be called a blockchain node.
In detail, in another embodiment of the present invention, before the step S3, the method may include:
and dividing the block chain link points into a first-level node and a second-level node according to function division, wherein the first-level node is used for storing the electronic certificate, and the second-level node is used for storing verification information of a transferor.
Further, before S3, the method may further include:
constructing a key in the secondary node by using a pre-constructed key generation module; and establishing an information transmission channel according to the key, connecting a transferor with the primary node, and storing the electronic certificate into the primary node.
In a preferred embodiment of the present invention, the key generation module is constructed by using pre-constructed third party key software, wherein the third party key software includes, for example, Quantum-key.
Further, after the key is constructed in the secondary node, the method may further include:
encrypting and packaging the key to obtain an encryption key interface; and connecting the transferor and the secondary node by using the encryption key interface.
In a preferred embodiment of the present invention, a Software Development Kit (SDK), generally a specific software package, is required in the process of obtaining the encryption key interface by the packaging operation.
Furthermore, in the embodiment of the present invention, the key and the electronic certificate transfer program are connected by a Software Development Kit (SDK), so that the transferor can connect with the secondary node, and thus the transferor can transfer the electronic certificate to the primary node.
Further, in a preferred embodiment of the present invention, the building an information transmission channel according to the secret key, and connecting a transferor and the first-level node includes:
capturing the signal identification of the transferor by utilizing a pre-constructed WIFI module; and establishing the information transmission channel between the transferor and the first-level node by using the secret key and the signal identification of the transferor.
The embodiment of the invention utilizes the WIFI module to search the WIFI signal identification of the equipment of the transferor.
Preferably, in the embodiment of the present invention, the signal identifier of the transferor and the key are used for performing the proofreading, and if the proofreading is successful, an information transmission channel may be directly generated, and further, the information transmission channel may be used to connect the transferor and the primary node, and each time the block chain electronic certificate is transmitted, the key is used to open the information transmission channel, and the electronic certificate to be transferred is transmitted to the primary node.
And S4, when receiving the transfer instruction sent by the transferor, verifying the transferor.
The embodiment of the invention can acquire the delivery password input by the transferor and compare whether the delivery password is consistent with the check password stored in the pre-constructed electronic certificate transfer program or not to verify the transferor. The check password is provided when the transferor successfully registers through the electronic certificate transfer program.
In the embodiment of the invention, the delivery password is similar to a payment password in a mobile wallet, and mainly has a security verification function. For example, when the transferor transfers the electronic certificate, the transfer password input by the transferor is obtained, and the transfer password is compared with the check password to judge whether the transfer password is the same as the check password. If the delivery password is different from the verification password, stopping the delivery instruction process or inputting the delivery password again; and if the delivery password is the same as the verification password, continuing to complete the delivery instruction.
S5, when the transferor passes the verification, acquiring the information of a receiver, calling the electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, and transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the information of the receiver.
In detail, in the embodiment of the present invention, the acquiring of the receiver information may specifically be instructing the client of the electronic certificate transfer program to start a near field communication chip to generate a radio frequency field, and capturing the receiver information by using a near field communication technology.
The near field communication chip can provide a very safe and fast communication mode for hardware equipment of an NFC technology. The radio frequency field is a field generated by high-frequency current in the near field communication chip. In the embodiment of the invention, when the receiver is close to the transferor, the receiver information is acquired in a close range through the near field communication chip, and after the receiver information is confirmed, the confirmed receiver information is imported into the electronic certificate transfer program.
In the traditional block chain electronic certificate transfer process, a transferor needs to repeatedly confirm the information of a receiver in a system to prevent block chain electronic certificate transfer errors, so that the transfer of the electronic certificate has hysteresis.
In detail, in a preferred embodiment of the present invention, the retrieving, according to the transfer instruction, the to-be-transferred electronic certificate from the block chain node of the transfer party, and transmitting the to-be-transferred electronic certificate to the block chain node corresponding to the receiving party according to the receiving party information includes:
analyzing the electronic certificate transfer instruction to obtain a storage position of the electronic certificate to be transferred stored in the primary node; and calling the storage position, extracting the electronic certificate to be converted, and transmitting the electronic certificate to a block chain node corresponding to the receiver.
In detail, in other embodiments of the present invention, the transmitting the electronic certificate to be transferred to the block link point corresponding to the receiver according to the receiver information includes:
judging whether the receiver confirms to receive the electronic certificate to be transferred or not; if the receiver does not confirm to receive the electronic certificate to be transferred, the transfer process is ended; and if the receiver confirms to receive the electronic certificate to be transferred, sending the electronic certificate to be transferred to the receiver.
Preferably, in the embodiment of the present invention, when the receiving party receives the basic information of the electronic certificate to be transferred, it may check whether there is an error in the basic information, and determine whether there is an error in the basic information, it may select to receive the electronic certificate to be transferred, and when it is found that there is an error in the basic information, it may select to return to the electronic certificate to be transferred.
In a preferred embodiment of the present invention, if the receiving party confirms to receive the electronic certificate to be transferred, the electronic certificate to be transferred is extracted from a first-level node in the block chain node of the transferring party and stored in a block chain node pre-constructed by the receiving party.
Fig. 2 is a block chain electronic certificate transfer apparatus according to the present invention.
The block chain electronic certificate transfer apparatus 100 of the present invention may be installed in an electronic device. According to the implemented functions, the block chain electronic certificate transfer apparatus 100 may include a block chain node point construction module 101, an electronic certificate generation module 102, an electronic certificate verification module 103, and an electronic certificate transfer module 104. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the block link node constructing module 101 is configured to generate a block link node of a transferor according to registration information of the transferor.
In one embodiment of the present invention, an electronic certificate transfer program may be implanted into an electronic device such as a mobile phone of a user in the form of application software or a wechat applet, and after the user registers through the electronic certificate transfer program, a block link point corresponding to the user may be automatically constructed.
Preferably, in this embodiment of the present invention, the electronic certificate transfer program may be an electronic wallet, and after the user registers, the electronic certificate transfer program may be used to store, retrieve, and transfer the electronic certificate.
The electronic voucher generation module 102 is configured to obtain transaction voucher information of the transferor, generate an electronic voucher by using the transaction voucher information, and store the electronic voucher in a block chain node of the transferor.
In a preferred embodiment of the present invention, the transaction document information includes: the company name of the transaction (including the transferor company name and the recipient company name), the time of the transaction, the location, the person, the item or the amount of money.
In detail, in the embodiment of the present invention, the electronic credential generating module 102 generates the electronic credential by using the following operations, including:
converting the transaction document information into a structured dataset; and importing the structured data set into a pre-constructed electronic certificate template to generate the electronic certificate.
The structured data is also called row data, is data logically expressed and realized by a two-dimensional table structure, strictly follows the data format and length specification, and is mainly stored and managed by a relational database.
The electronic certificate template is written by a program in advance, and an electronic certificate generating program which does not include substantial transaction information can lead the data in the structured transaction data set into a corresponding position in the electronic certificate template to generate the electronic certificate.
In a preferred embodiment of the present invention, after storing the electronic voucher to the block chain node, the electronic voucher may be referred to as a block chain electronic voucher.
The blockchain node refers to a computer in a blockchain network, including a mobile phone, an ore machine, a server, and the like, and when an individual or a family user participates in the blockchain network, each individual or family can be called a blockchain node.
In detail, in another embodiment of the present invention, the electronic certificate generating module 102 may be further configured to divide the block chain node into a primary node and a secondary node according to a functional division, where the primary node is configured to store the electronic certificate, and the secondary node is configured to store the verification information of the transferor.
Further, the electronic credential generating module 102 may be further configured to: constructing a key in the secondary node by using a pre-constructed key generation module; and establishing an information transmission channel according to the key, connecting a transferor with the primary node, and storing the electronic certificate into the primary node.
In a preferred embodiment of the present invention, the key generation module is constructed by using pre-constructed third party key software, wherein the third party key software includes, for example, Quantum-key.
Further, after the key is built in the secondary node, the electronic certificate generation module 102 is further configured to: encrypting and packaging the key to obtain an encryption key interface; and connecting the transferor and the secondary node by using the encryption key interface.
In a preferred embodiment of the present invention, a Software Development Kit (SDK), generally a specific software package, is required in the process of obtaining the encryption key interface by the packaging operation.
Furthermore, in the embodiment of the present invention, the key and the electronic certificate transfer program are connected by a Software Development Kit (SDK), so that the transferor can connect with the secondary node, and thus the transferor can transfer the electronic certificate to the primary node.
Further, in a preferred embodiment of the present invention, the electronic certificate generating module 102 connects the transferor and the first-level node by using the following method, including: capturing the signal identification of the transferor by utilizing a pre-constructed WIFI module; and establishing the information transmission channel between the transferor and the first-level node by using the secret key and the signal identification of the transferor.
The embodiment of the invention utilizes the WIFI module to search the WIFI signal identification of the equipment of the transferor.
Preferably, in the embodiment of the present invention, the signal identifier of the transferor and the key are used for performing the proofreading, and if the proofreading is successful, an information transmission channel may be directly generated, and further, the information transmission channel may be used to connect the transferor and the primary node, and each time the block chain electronic certificate is transmitted, the key is used to open the information transmission channel, and the electronic certificate to be transferred is transmitted to the primary node.
The electronic certificate verification module 103 is configured to verify the transferor when receiving a transfer instruction sent by the transferor. In the embodiment of the present invention, the electronic certificate verification module 103 may obtain a delivery password input by the transferor, and perform verification on the transferor by comparing whether the delivery password is consistent with a check password stored in a pre-constructed electronic certificate transfer program.
The check password is provided when the transferor successfully registers through the electronic certificate transfer program. The delivery password is similar to a payment password in a mobile wallet and mainly has a safety verification function. For example, when the transferor transfers the electronic certificate, the transfer password input by the transferor is obtained, and the transfer password is compared with the check password to judge whether the transfer password is the same as the check password. If the delivery password is different from the verification password, stopping the delivery instruction process or inputting the delivery password again; and if the delivery password is the same as the verification password, continuing to complete the delivery instruction.
The electronic certificate transfer module 104 is configured to, when the transferor passes the verification, obtain information of a receiver by using a near field communication technology, invoke an electronic certificate to be transferred from a block chain node according to the transfer instruction, and transmit the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the information of the receiver.
In detail, in the embodiment of the present invention, the near field communication chip in the client of the electronic certificate transfer program generates the radio frequency field to capture the information of the receiving party. The near field communication chip is a hardware device of the NFC technology, and can provide a very safe and rapid communication mode. The radio frequency field is a field generated by high-frequency current in the near field communication chip. In the embodiment of the invention, when the receiver is close to the transferor, the receiver information is acquired in a close range through a near field communication chip, and after the receiver information is confirmed, the confirmed receiver information is imported into the electronic certificate transfer program.
In the traditional block chain electronic certificate transfer process, a transferor needs to repeatedly confirm the information of a receiver in a system to prevent block chain electronic certificate transfer errors, so that the transfer of the electronic certificate has hysteresis.
In detail, in the preferred embodiment of the present invention, the electronic certificate transfer module 104 is specifically configured to: analyzing the electronic certificate transfer instruction to obtain a storage position of the electronic certificate to be transferred stored in the primary node; and calling the storage position, extracting the electronic certificate to be converted, and transmitting the electronic certificate to a block chain node corresponding to the receiver.
Further, in other embodiments of the present invention, when the electronic certificate transfer module 104 transmits the electronic certificate to be transferred to the blockchain node corresponding to the receiver according to the receiver information, the following steps are performed in detail: judging whether the receiver confirms to receive the electronic certificate to be transferred or not; if the receiver does not confirm to receive the electronic certificate to be transferred, the transfer process is ended; and if the receiver confirms to receive the electronic certificate to be transferred, sending the electronic certificate to be transferred to the receiver.
Preferably, in the embodiment of the present invention, when the receiving party receives the basic information of the electronic certificate to be transferred, it may check whether there is an error in the basic information, and determine whether there is an error in the basic information, it may select to receive the electronic certificate to be transferred, and when it is found that there is an error in the basic information, it may select to return to the electronic certificate to be transferred.
In a preferred embodiment of the present invention, if the receiving party confirms to receive the electronic certificate to be transferred, the electronic certificate transfer module 104 is utilized to extract the electronic certificate to be transferred from a first-level node in the block chain node of the transferring party, and store the electronic certificate to be transferred into a block chain link point pre-constructed by the receiving party.
Fig. 3 is a schematic structural diagram of an electronic device for implementing the block chain electronic certificate transfer method according to the present invention.
The electronic device 1 may include a processor 10, a memory 11 and a bus, and may further include a computer program, such as a block chain electronic credential transfer program 12, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 can be used not only for storing application software installed in the electronic device 1 and various types of data, such as codes of the block chain electronic certificate transfer program 12, but also for temporarily storing data that has been output or will be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (for example, executing a block chain electronic certificate transfer program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The block chain electronic certificate transfer program 12 stored in the memory 11 of the electronic device 1 is a combination of instructions, which when executed in the processor 10, can implement:
generating block link points of the transferor according to the registration information of the transferor;
acquiring the transaction receipt information of the transferor, and generating an electronic voucher according to the transaction receipt information;
storing the electronic voucher to a blockchain node of the transferor;
when a transfer instruction sent by the transferor is received, verifying the transferor;
and when the transferor passes the verification, acquiring receiver information, calling an electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, and transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the receiver information.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
Further, the computer usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules 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, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any accompanying claims should not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A method for block chain electronic credential transfer, the method comprising:
generating block link points of the transferor according to the registration information of the transferor;
acquiring the transaction receipt information of the transferor, and generating an electronic voucher according to the transaction receipt information;
storing the electronic voucher to a blockchain node of the transferor;
when a transfer instruction sent by the transferor is received, verifying the transferor;
and when the transferor passes the verification, acquiring receiver information, calling an electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, and transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the receiver information.
2. The blockchain electronic certificate transfer method of claim 1, wherein prior to storing the electronic certificate in the blockchain node, the method further comprises:
and dividing the block chain link point of the transferor into a first-level node and a second-level node according to function division, wherein the first-level node is used for storing the electronic certificate, and the second-level node is used for storing the verification information of the transferor.
3. The method of block chain electronic credential transfer of claim 2, wherein prior to storing the electronic credential in the transferor's block chain node, the method further comprises:
constructing a key in the secondary node by using a pre-constructed key generation module;
and establishing an information transmission channel according to the key, connecting the transferor with the primary node, and storing the electronic certificate into the primary node.
4. The method of claim 3, wherein said building a channel for information transfer based on said key comprises:
capturing the signal identification of the transferor by utilizing a pre-constructed WIFI module;
and establishing the information transmission channel between the transferor and the first-level node by using the key and the signal identifier of the transferor.
5. The blockchain electronic credential transfer method of claim 3, wherein after the key is constructed in the secondary node, the method further comprises:
encrypting and packaging the key to obtain an encryption key interface;
and connecting the transferor and the secondary node by using the encryption key interface.
6. The method for transferring block chain electronic certificates of claim 1, wherein the obtaining of transaction document information of the transferor and the generation of electronic certificates according to the transaction document information comprises:
converting the transaction document information into a structured dataset;
and importing the structured data set into a pre-constructed electronic certificate template to generate the electronic certificate.
7. The method according to any one of claims 1 to 6, wherein the step of retrieving the electronic certificate to be transferred from the blockchain node of the transferor according to the transfer instruction and transmitting the electronic certificate to be transferred to the blockchain node corresponding to the receiver according to the receiver information comprises:
analyzing the electronic certificate transfer instruction to obtain a storage position of the electronic certificate to be transferred stored in the primary node;
and calling the storage position, extracting the electronic certificate to be converted, and transmitting the electronic certificate to a block chain node corresponding to the receiver.
8. A blockchain electronic credential transfer device, the device comprising:
the block link node construction module is used for generating block link nodes of the transferor according to the registration information of the transferor;
the electronic certificate generating module is used for acquiring the transaction document information of the transferor, generating an electronic certificate by using the transaction document information, and storing the electronic certificate into a block chain node of the transferor;
the electronic certificate verification module is used for verifying the transferor when receiving a transfer instruction sent by the transferor;
and the electronic certificate transfer module is used for acquiring information of a receiver when the transferor passes the verification, calling an electronic certificate to be transferred from the block chain node of the transferor according to the transfer instruction, and transmitting the electronic certificate to be transferred to the block chain node corresponding to the receiver according to the information of the receiver.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of block chain electronic credential transfer as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium comprising a storage data area and a storage program area, wherein the storage data area stores created data, and the storage program area stores a computer program; wherein the computer program when executed by a processor implements the blockchain electronic credential transfer method of any one of claims 1 to 7.
CN202011205591.8A 2020-11-02 2020-11-02 Block chain electronic certificate transfer method and device, electronic equipment and storage medium Pending CN112258186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011205591.8A CN112258186A (en) 2020-11-02 2020-11-02 Block chain electronic certificate transfer method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011205591.8A CN112258186A (en) 2020-11-02 2020-11-02 Block chain electronic certificate transfer method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112258186A true CN112258186A (en) 2021-01-22

Family

ID=74268520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011205591.8A Pending CN112258186A (en) 2020-11-02 2020-11-02 Block chain electronic certificate transfer method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112258186A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US20180293556A1 (en) * 2017-04-05 2018-10-11 Samsung Sds Co., Ltd. Method and system for processing blockchain-based real-time transaction
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment
US20190347651A1 (en) * 2018-05-12 2019-11-14 Mauricio Octavio Moreno Computer-implemented system and method for transferring money from a sender to a recipient
US20200145192A1 (en) * 2018-11-06 2020-05-07 International Business Machines Corporation Selective access to asset transfer data
CN111191212A (en) * 2019-12-31 2020-05-22 卓尔智联(武汉)研究院有限公司 Block chain-based digital certificate processing method, device, equipment and storage medium
CN111738724A (en) * 2020-07-31 2020-10-02 支付宝(杭州)信息技术有限公司 Cross-border resource transfer authenticity auditing method and device, and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180293556A1 (en) * 2017-04-05 2018-10-11 Samsung Sds Co., Ltd. Method and system for processing blockchain-based real-time transaction
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
US20190347651A1 (en) * 2018-05-12 2019-11-14 Mauricio Octavio Moreno Computer-implemented system and method for transferring money from a sender to a recipient
US20200145192A1 (en) * 2018-11-06 2020-05-07 International Business Machines Corporation Selective access to asset transfer data
CN110060111A (en) * 2018-12-12 2019-07-26 阿里巴巴集团控股有限公司 Based on the invoice access method and device of block chain, electronic equipment
CN111191212A (en) * 2019-12-31 2020-05-22 卓尔智联(武汉)研究院有限公司 Block chain-based digital certificate processing method, device, equipment and storage medium
CN111738724A (en) * 2020-07-31 2020-10-02 支付宝(杭州)信息技术有限公司 Cross-border resource transfer authenticity auditing method and device, and electronic equipment

Similar Documents

Publication Publication Date Title
US20140172741A1 (en) Method and system for security information interaction based on internet
CN113055380B (en) Message processing method and device, electronic equipment and medium
CN111914029A (en) Block chain-based medical data calling method and device, electronic equipment and medium
WO2016155572A1 (en) Service processing method, terminal and server
CN115270193B (en) Data file secure sharing method and device based on block chain and collaborative synchronization
CN112217642A (en) Data encryption sharing method and device, electronic equipment and computer storage medium
CN103971139A (en) IC-card remote operation system and method
CN114519084A (en) Block chain-based medical data inspection method, device, equipment and medium
CN113486316A (en) User identity authentication method and device, electronic equipment and readable storage medium
CN112217639B (en) Data encryption sharing method and device, electronic equipment and computer storage medium
EP4011031B1 (en) Secure identity card using unclonable functions
CN111932413B (en) Case element extraction method, case element extraction device, case element extraction equipment and case element extraction medium
CN112235409A (en) File uploading method and device, electronic equipment and computer readable storage medium
CN112258186A (en) Block chain electronic certificate transfer method and device, electronic equipment and storage medium
CN112669029A (en) Bank card adding method, device, equipment and computer readable storage medium
CN114826725A (en) Data interaction method, device, equipment and storage medium
CN113127109A (en) Interface calling method and device, electronic equipment and readable storage medium
CN111683070A (en) Data transmission method and device based on identity encryption and storage medium
CN114125158A (en) Anti-harassment method, device, equipment and storage medium based on trusted telephone
CN102025738B (en) Method, equipment and system for processing transaction message
CN112015493A (en) External system interface docking method, device and storage medium
CN110599314A (en) Travel information processing method, device, server and storage medium based on block chain
CN112532721B (en) Cluster calling method and device, electronic equipment and storage medium
US20240185006A1 (en) Method of delivering electronic business card, and nfc chip, phone case and server of the same
CN112541764B (en) Asset management method, device and system based on intelligent contract

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