CN110647583B - Block chain construction method, device, terminal and medium - Google Patents

Block chain construction method, device, terminal and medium Download PDF

Info

Publication number
CN110647583B
CN110647583B CN201910897792.XA CN201910897792A CN110647583B CN 110647583 B CN110647583 B CN 110647583B CN 201910897792 A CN201910897792 A CN 201910897792A CN 110647583 B CN110647583 B CN 110647583B
Authority
CN
China
Prior art keywords
terminal
blockchain
node
verification
information
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.)
Active
Application number
CN201910897792.XA
Other languages
Chinese (zh)
Other versions
CN110647583A (en
Inventor
何畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910897792.XA priority Critical patent/CN110647583B/en
Publication of CN110647583A publication Critical patent/CN110647583A/en
Application granted granted Critical
Publication of CN110647583B publication Critical patent/CN110647583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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/3823Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction
    • 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/3827Use of message hashing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Finance (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a block chain construction method, a device, a server and a storage medium, wherein the method comprises the following steps: the first terminal generates a blockchain in response to a blockchain creation operation, and determines the first terminal as a node in the blockchain; the first terminal receives a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain; and the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the block chain. By implementing the method, the blockchain can be conveniently constructed, and the practicability of the blockchain application is improved.

Description

Block chain construction method, device, terminal and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a terminal, and a medium for constructing a blockchain.
Background
The new application of the blockchain is that of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like is essentially a decentralised database, namely a series of data blocks which are generated by correlation using a cryptography method, and each data block contains a batch of transaction information and is used for verifying the validity of the transaction information and generating the next block.
In the existing blockchain technology, because the blockchain structure and the operation mechanism are very complex, and the information stored in the blockchain occupies a large amount of storage space, the creation process of the blockchain is very complicated, and the blockchain cannot be applied to scenes in daily life, so that the practicability is low.
Disclosure of Invention
The embodiment of the invention provides a block chain construction method, a device, a terminal and a medium, which can conveniently construct a block chain and improve the practicability of block chain application.
In a first aspect, an embodiment of the present invention provides a blockchain construction method, including:
a first terminal generates a blockchain in response to a blockchain creation operation, and determines the first terminal as a node in the blockchain;
the first terminal receives a blockchain joining request sent by a second terminal, wherein the joining request carries verification information required for joining the blockchain;
and the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the block chain.
In a second aspect, an embodiment of the present invention provides a blockchain construction device, the device including:
a generation module for generating a blockchain in response to a blockchain creation operation;
A determining module, configured to determine the first terminal as a node in the blockchain;
the receiving module is used for receiving a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain;
the verification module is used for verifying the verification information;
and the determining module is further configured to determine the second terminal as a node in the blockchain if the verification is passed.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, an input interface, an output interface, and a memory, where the processor, the input interface, the output interface, and the memory are connected to each other, where the memory is configured to store a computer program, the computer program includes program instructions, and the processor is configured to invoke the program instructions to execute the method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method according to the first aspect.
In the embodiment of the invention, a first terminal responds to a blockchain creation operation to generate a blockchain, and the first terminal is determined to be a node in the blockchain; the first terminal receives a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain; and the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the block chain. By implementing the method, the blockchain can be conveniently constructed, and the practicability of the blockchain application is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block chain structure according to an embodiment of the present invention;
FIG. 2 is a flowchart of a block chain construction method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another blockchain construction method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a blockchain creation interface provided by an embodiment of the present invention;
FIG. 5 is a block chain configuration interface diagram according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a block chain building apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The blockchain underlying platform may include processing modules for user management, basic services, smart contracts, operation monitoring, and the like. The user management module is responsible for identity information management of all blockchain participants, including maintenance of public and private key generation (account management), key management, maintenance of corresponding relation between the real identity of the user and the blockchain address (authority management) and the like, and under the condition of authorization, supervision and audit of transaction conditions of certain real identities, and provision of rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node devices, is used for verifying the validity of a service request, recording the service request on a storage after the effective request is identified, for a new service request, the basic service firstly analyzes interface adaptation and authenticates the interface adaptation, encrypts service information (identification management) through an identification algorithm, and transmits the encrypted service information to a shared account book (network communication) in a complete and consistent manner, and records and stores the service information; the intelligent contract module is responsible for registering and issuing contracts, triggering contracts and executing contracts, a developer can define contract logic through a certain programming language, issue the contract logic to a blockchain (contract registering), invoke keys or other event triggering execution according to the logic of contract clauses to complete the contract logic, and simultaneously provide a function of registering contract upgrading; the operation monitoring module is mainly responsible for deployment in the product release process, modification of configuration, contract setting, cloud adaptation and visual output of real-time states in product operation, for example: alarms, monitoring network conditions, monitoring node device health status, etc.
However, in the existing blockchain technology, because the blockchain structure and the operation mechanism are very complex, and the information stored in the blockchain occupies a large amount of storage space, the creation process of the blockchain is very complicated, and the blockchain cannot be applied to scenes in daily life, so that the practicability is low.
Based on the above description, the embodiment of the present invention provides a block chain structure, which includes: the method comprises the steps that a first terminal and a second terminal, specifically, the first terminal responds to a block chain creation operation to generate a block chain, and the first terminal is determined to be a node in the block chain; the first terminal receives a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain; and the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the block chain. In a specific implementation, the second terminal may be one terminal, or may refer to a plurality of terminals generally, as shown in fig. 1, which is a block chain structure schematic provided in an embodiment of the present invention, in fig. 1, the first terminal is a terminal 101, the second terminal includes a terminal 102, a terminal 103, and a terminal 104, the first terminal 101 generates a block chain according to a block chain construction operation in response to a user input, the first terminal is a node in the block chain, further, the second terminal 102, the second terminal 103, or the second terminal 104 may send a block chain joining request to the first terminal 101, the first terminal 101 verifies the received block chain joining request, and after verification is passed, determines the second terminal 102, the second terminal 103, or the second terminal 104 as the node in the block chain. Further, when the first terminal 101 detects that the duration of the generation of the blockchain is greater than the preset duration, the first terminal 101 may broadcast a flush message for the blockchain to nodes in the blockchain and flush the content of the blockchain stored in the independent storage space for storing the blockchain.
In summary, it can be known that the blockchain structure shown in fig. 1 can be conveniently constructed, that is, the terminal sends the joining request, and after verification is passed, the terminal can join the blockchain, as a node of the blockchain, without setting a complex construction mechanism, so that convenience in constructing the blockchain is enhanced, the blockchain can be applied to more scenes, and when the blockchain meets preset conditions, such as when the generation time is longer than the preset duration, the content stored in the blockchain can be released, temporary attributes are added for use of the blockchain, and the storage space required by the terminal for storing the blockchain is saved.
Based on the above description of the embodiment of the blockchain structure, the embodiment of the present invention provides a blockchain construction method, which can be applied to the blockchain structure shown in fig. 1, and specifically can be executed by the first terminal shown in fig. 1. Referring to fig. 2, the blockchain construction process may include the following steps S201-S203:
s201, the first terminal responds to the blockchain creation operation to generate a blockchain, and the first terminal is determined to be a node in the blockchain.
In the embodiment of the invention, the first terminal can receive the block chain creation operation input by the user, and respond to the creation operation to generate the block chain, and the first terminal is used as a node in the generated block chain.
In a specific implementation, the first terminal can allocate an independent storage space for the generated blockchain in the built-in storage space so as to prevent the content stored in the blockchain from being mixed with the local content of the first terminal and enhance the independence of the content stored in the blockchain. Specifically, the first terminal may create an creation block of the blockchain in the independent storage space to generate the blockchain.
In one implementation, after the first terminal generates the blockchain, the first terminal may generate corresponding port information based on the address of the blockchain, where the port information includes a port number, a two-dimensional code, a link, and so on, so that other terminals may access the blockchain according to the port information.
In one implementation, after the first terminal generates the blockchain, the first terminal may also receive a configuration operation input by a user, and determine port information for the blockchain according to the configuration operation, so that other terminals access the blockchain according to the port information.
S202, the first terminal receives a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain.
In the embodiment of the invention, after the first terminal generates the blockchain, the port information of the blockchain is broadcasted, wherein the port information comprises at least one of a port number, a two-dimensional code and a link, so that the second terminal accesses the blockchain generated by the first terminal according to the port.
In one implementation manner, the first terminal may broadcast the port information through WIFI, specifically, the first terminal may broadcast the port information through WIFI, that is, the first terminal transmits the port information to a user connected to the same WIFI, for example, the port information is a two-dimensional code, then the first terminal may generate a two-dimensional code corresponding to the blockchain after generating the blockchain, and send the two-dimensional code to a second terminal connected to the same WIFI, and the second terminal may access an address of the blockchain by identifying the two-dimensional code, and send a blockchain joining request to the first terminal.
In one implementation manner, the first terminal may also receive a selection operation input by the user, where the selection operation includes a second terminal to which port information needs to be sent, and the first terminal may send the port information to the second terminal corresponding to the selection operation through the network, so that the second terminal may access the blockchain according to the port information.
Further, after receiving the port information, the second terminal may send a blockchain joining request to the first terminal according to the received port information, where the blockchain joining request carries verification information required for joining the blockchain. In one implementation, if the port information is a two-dimensional code, the second terminal may identify the two-dimensional code after receiving the two-dimensional code and access the generated blockchain to send a blockchain joining request to the first terminal, or if the port information is a link, the second terminal may access the generated blockchain based on an address in the link after receiving the link to send a blockchain joining request to the first terminal. Or, if the port information is a port number, the second terminal may access the generated blockchain by inputting the port number in a blockchain access function built in the terminal after receiving the port number, so as to send a blockchain joining request to the first terminal. In one implementation, the user using the first terminal and the user using the second terminal may agree on the same port number in advance, and after the first terminal generates the blockchain according to the port number, the user of the second terminal inputs the port number in the second terminal, so that the second terminal accesses the blockchain generated by the first terminal, and face-to-face establishment of the blockchain is realized. The blockchain access function may be inserted in any Application (APP), such as social APP, video APP, music APP, and the like. In a specific implementation, for different types of APPs, there may be a difference in content stored in a blockchain established by the second terminal, for example, a blockchain established by a social APP may be used to store transaction information between users, etc., a blockchain established by a video APP may be used to store video exchanged between users, etc., a blockchain established by a music APP may be used to store music exchanged between users, etc., and in a specific implementation, when the second terminal accesses the APP generated by the first terminal using a blockchain access function in the APP, the second terminal needs to be the same as the APP used by the first terminal to establish a blockchain.
It should be noted that, when the second terminal sends the blockchain joining request to the first terminal, the second terminal also needs to carry verification information required for joining the blockchain, where the verification information may include one or more of a request time, a request address, and a key, where the request time is a time when the second terminal sends the blockchain joining request, the request address is an address when the second terminal sends the blockchain joining request, and the key may enter a password required by the blockchain.
And S203, the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the blockchain.
In the embodiment of the invention, after the first terminal receives the verification information, the verification information is verified, and if the verification is passed, the second terminal is added into the blockchain.
In one implementation manner, the verification information includes a request time, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the request time of the blockchain joining request sent by the second terminal is within a preset time period, if yes, it is determined that the verification information meets a verification condition. If not, determining that the verification condition is not satisfied, and ending the flow. Wherein, 10 minutes, 1 hour, 1 day, etc. after the creation of the blockchain in the preset time period, the created blockchain may be specifically set by the user using the first terminal. By the method, the port information of the blockchain can be made to be time-efficient.
In one implementation manner, the verification information includes a request address, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the distance between the request address of the blockchain joining request sent by the second terminal and the address of the first terminal is smaller than a preset distance, and if yes, it is determined that the verification information meets the verification condition. If not, determining that the verification condition is not satisfied, and ending the flow. By the mode, the function of establishing the blockchain face to face can be realized, and illegal terminals are prevented from entering the blockchain by mistake.
In one implementation manner, the verification information includes a key, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the key carried by the blockchain joining request sent by the second terminal matches with a preset key, and if yes, determines that the verification information meets a verification condition. If not, determining that the verification condition is not satisfied, and ending the flow. Wherein the preset key may be set by a user using the first terminal after inputting the blockchain creation operation. By the method, the illegal terminal can be prevented from entering the blockchain by mistake, and the confidentiality is also added for the blockchain.
In one implementation manner, the verification information includes a request time and a request address, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the request time of the blockchain joining request sent by the second terminal is within a preset time period, if so, verifies whether the distance between the request address of the blockchain joining request sent by the second terminal and the address of the first terminal is smaller than the preset distance, and if so, determines that the verification information meets the verification condition.
In one implementation manner, the verification information includes a request time, a request address and a secret key, and the verification process of the first terminal on the verification information specifically includes that the first terminal verifies whether the request time of the blockchain addition request sent by the second terminal is within a preset time period, if yes, it verifies whether the distance between the request address of the blockchain addition request sent by the second terminal and the address of the first terminal is smaller than the preset distance, if yes, the first terminal verifies whether the secret key carried by the blockchain addition request sent by the second terminal is matched with the preset secret key, and if yes, it determines that the verification information meets the verification condition. By implementing the method, the face-to-face establishment of the blockchain can be realized, and the confidentiality characteristic is added for node addition and deletion of the blockchain.
Further, after at least one second terminal passes verification as a node in the blockchain, the first terminal can acquire transaction data between nodes of the blockchain and package the transaction data to obtain a first block; the first terminal links the first block with the creation block to increase the information stored in the blockchain. Referring to the completed block chain structure shown in fig. 1, the block chain structure is used for data sharing between nodes, and may include a node 101 corresponding to a first terminal, and a plurality of nodes 102, 103, 104 corresponding to a second terminal respectively. Each node may receive input information while operating normally and maintain shared data within the blockchain structure based on the received input information. In order to ensure the information intercommunication in the block chain structure, information connection can exist between every two nodes in the block chain structure, and the nodes can transmit information through the information connection. For example, when any node in the block chain structure receives input information, other nodes in the block chain structure acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all nodes in the block chain structure are consistent.
For each node in the blockchain structure, the node identification corresponding to the node is provided, and each node in the blockchain structure can store the node identifications of other nodes in the blockchain structure so as to broadcast the generated blocks to other nodes in the blockchain structure according to the node identifications of other nodes. Each node can maintain a node identification list shown in the following table, and the node names and the node identifications are correspondingly stored in the node identification list. The node identifier may be an IP (Internet Protocol, protocol interconnecting between networks) address, or any other information that can be used to identify the node.
Each node in the blockchain structure stores one and the same blockchain. The block chain consists of a plurality of blocks, the starting block comprises a block head and a block main body, the block head stores an input information characteristic value, a version number, a time stamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a father block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the father block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain are associated with the block data stored in the father block, and the safety of the input information in the block is ensured.
When each block in the blockchain is generated, when the node where the blockchain is positioned receives input information, checking the input information, after the checking is finished, storing the input information into a memory pool, and updating a hash tree used for recording the input information; then, updating the update time stamp to the time of receiving the input information, trying different random numbers, and calculating the characteristic value for a plurality of times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein SHA256 is a eigenvalue algorithm used to calculate eigenvalues; version (version number) is version information of the related block protocol in the block chain; the prev_hash is the block header characteristic value of the parent block of the current block; the merkle_root is a characteristic value of input information; ntime is the update time of the update timestamp; the nbits is the current difficulty, is a fixed value in a period of time, and is determined again after exceeding a fixed period of time; x is a random number; TARGET is a eigenvalue threshold that can be determined from nbits.
Thus, when the random number meeting the formula is calculated, the information can be correspondingly stored to generate the block head and the block main body, and the current block is obtained. And then, the node where the blockchain is located sends the newly generated blocks to other nodes in the blockchain structure where the newly generated blocks are located according to the node identifications of other nodes in the blockchain structure, the other nodes verify the newly generated blocks, and the newly generated blocks are added into the blockchain stored by the newly generated blocks after the verification is completed.
In the embodiment of the invention, a first terminal responds to a blockchain creation operation to generate a blockchain, and the first terminal is determined to be a node in the blockchain; the first terminal receives a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain; and the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the block chain. By implementing the method, the blockchain can be conveniently constructed, and the practicability of the blockchain application is improved.
Based on the above description of the blockchain structure and the blockchain construction method embodiment, the embodiment of the present invention provides another blockchain construction method, which can be applied to the blockchain structure shown in fig. 1, and specifically can be executed by the first terminal shown in fig. 1. Referring to fig. 3, the blockchain construction process may include the following steps S301-S306:
s301, the first terminal responds to the blockchain creation operation to generate a blockchain, and the first terminal is determined to be a node in the blockchain.
In the embodiment of the invention, the first terminal can receive the block chain creation operation input by the user, and respond to the creation operation to generate the block chain, and the first terminal is used as a node in the generated block chain.
In a specific implementation, the first terminal can allocate an independent storage space for the generated blockchain in the built-in storage space so as to prevent the content stored in the blockchain from being mixed with the local content of the first terminal and enhance the independence of the content stored in the blockchain. Specifically, the first terminal may create an creation block of the blockchain in the independent storage space to generate the blockchain. As shown in fig. 4, the user may input a click operation to a "blockchain creation" function built in the music APP in the first terminal, and then a blockchain may be generated, which may be specifically used to store transaction data, access data, and the like of the music class.
Further, the first terminal may also configure attributes for the blockchain, including type, key, and duration. The types may include music, video, transaction data, etc. for embodying the type of data stored in the blockchain, the key may be a series of numbers, faces, irises, etc., the specific user performs identity authentication on the terminal accessing the blockchain, the duration may be 1 day, 2 days, etc., the duration of the existence of the blockchain in the terminal may be determined, and when the duration of the existence is greater than the duration, the first terminal may perform and release the storage space in the terminal, and the first terminal may specifically configure the attribute of the blockchain according to the configuration operation input by the user. Specifically, the first terminal displays a configuration interface for the blockchain, receives configuration operation for the blockchain in the configuration interface, and determines attributes of the blockchain according to the configuration operation, wherein the attributes comprise one or more of types, keys and duration. After the first terminal generates the blockchain according to the operation of the user, a blockchain configuration interface as shown in fig. 5 may be displayed, and the user may input configuration information in the configuration interface to configure the attribute of the blockchain.
In an implementation scenario, the specific establishment process of the blockchain may be that a user opens a blockchain creation function in the APP and configures an attribute for the blockchain, after the first terminal generates the blockchain according to the operation of the user, if a terminal inputting the key in a preset period of time can be added to the same blockchain, further, in order to prevent a non-designated terminal from being wrongly added to the blockchain, a limitation may be added to a use distance of the key, for example, a distance between a newly added terminal and a terminal creating the blockchain is required to be less than 100 meters, 200 meters, or the like, or an effective duration may be set for the key, and a terminal inputting the key through the APP in the effective period of time may not need to be added to the blockchain under an access condition.
S302, the first terminal broadcasts port information of the block chain.
In the embodiment of the invention, after the first terminal generates the blockchain, the port information of the blockchain is broadcasted, wherein the port information comprises at least one of a port number, a two-dimensional code and a link, so that the second terminal accesses the blockchain generated by the first terminal according to the port.
In one implementation, the specific manner of broadcasting the port information of the blockchain by the first terminal may be that a selection operation of a user is received, a second terminal that needs to broadcast the port information is determined according to the selection operation input by the user, and the first terminal broadcasts the port information to the determined second terminal.
In one implementation, the specific manner in which the first terminal broadcasts the port information of the blockchain may be that the first terminal broadcasts the port information to the second terminal having a distance smaller than the preset distance. For example, if the preset distance is 5 meters, the first terminal can broadcast the generated port information of the blockchain to terminals within the range of 5 meters around, so that the second terminals around can azimuth the generated blockchain.
S303, the first terminal receives a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain.
In the embodiment of the invention, the second terminal can receive the port information broadcast by the first terminal, and after receiving the port information, the second terminal sends a blockchain joining request to the first terminal according to the received port information, and the first terminal receives the blockchain joining request sent by the second terminal, wherein the blockchain joining request carries verification information required for joining the blockchain.
It should be noted that, the verification information may include a request time, a request address, a key, identity information, and the like, where the request time is a time when the second terminal sends a blockchain joining request, the request address is an address when the second terminal sends the blockchain joining request, and the key may enter a password required by the blockchain, and specifically may be configured by a user using the first terminal.
And S304, the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the block chain.
In the embodiment of the invention, after the first terminal receives the verification information, the verification information is verified, and if the verification is passed, the second terminal is added into the blockchain.
In one implementation manner, the verification information includes a request time, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the request time of the blockchain joining request sent by the second terminal is within a preset time period, if yes, it is determined that the verification information meets a verification condition. If not, determining that the verification condition is not satisfied, and ending the flow.
In one implementation manner, the verification information includes a request address, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the distance between the request address of the blockchain joining request sent by the second terminal and the address of the first terminal is smaller than a preset distance, and if yes, it is determined that the verification information meets the verification condition. If not, determining that the verification condition is not satisfied, and ending the flow.
In one implementation manner, the verification information includes a key, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the key carried by the blockchain joining request sent by the second terminal matches with a preset key, and if yes, determines that the verification information meets a verification condition. If not, determining that the verification condition is not satisfied, and ending the flow. Wherein the preset key may be set by a user using the first terminal after inputting the blockchain creation operation.
In one implementation manner, the verification information includes a request time and a request address, and the process of verifying the verification information by the first terminal may specifically be that the first terminal verifies whether the request time of the blockchain joining request sent by the second terminal is within a preset time period, if so, verifies whether the distance between the request address of the blockchain joining request sent by the second terminal and the address of the first terminal is smaller than the preset distance, and if so, determines that the verification information meets the verification condition.
In one implementation manner, the verification information includes a request time, a request address and a secret key, and the verification process of the first terminal on the verification information specifically includes that the first terminal verifies whether the request time of the blockchain addition request sent by the second terminal is within a preset time period, if yes, it verifies whether the distance between the request address of the blockchain addition request sent by the second terminal and the address of the first terminal is smaller than the preset distance, if yes, the first terminal verifies whether the secret key carried by the blockchain addition request sent by the second terminal is matched with the preset secret key, and if yes, it determines that the verification information meets the verification condition. By implementing the method, the face-to-face establishment of the blockchain can be realized, and the confidentiality characteristic is added for node addition and deletion of the blockchain.
In one implementation, the verification information includes identity information of a person using the second terminal, where the identity information includes face information, fingerprint information, iris information, and the like, the second terminal sends the identity information of the user using the second terminal to the first terminal, the first terminal verifies whether the identity information meets a condition, if yes, the second terminal is added to the blockchain network as a node in the blockchain network, the specific manner of the first terminal determining whether to add the second terminal to the network may be that whether the received verification information matches with preset verification information, if matching, the second terminal is added to the blockchain network, the preset verification information may be preset by the user using the first terminal, for example, the identity information is the face information, the user using the first terminal may store in advance reference face information of the user meeting the condition, and when the face information received by the first terminal and sent by the second terminal matches with the prestored face information, the second terminal is added to the blockchain network. Or after receiving the identity verification information sent by the second terminal, the first terminal may display the received verification information and receive an operation of inputting options of the verification information by a user, where the options of the verification information include permission to join or refusal to join, and if the first terminal receives the permission to join operation input by the user, the second terminal is added to the blockchain network, so that the second terminal can query and newly add information in the blockchain.
Further, after the first terminal determines that the second terminal meets the condition of joining the blockchain as the node, the first terminal may further detect the performance of the second terminal to determine the type of the second terminal as the node in the blockchain, where the type of the node includes a management class or a normal class, the node of the management class has a management authority to the blockchain, and the management authority includes a new addition authority or a deletion authority to the node. In a specific implementation, the first terminal may send a target question to the second terminal, and receive answer information returned by the second terminal for the target question, where the answer information includes an answer result and an answer duration, and the first terminal detects the answer information, and if the answer result in the answer information is a correct result, the first terminal determines a type of a node corresponding to the second terminal according to the answer duration, where the target question may be randomly selected by the first terminal from a plurality of preset questions. For example, if the solution duration of the second terminal is less than 5 seconds, the first terminal determines that the second terminal performs better, and determines the second terminal as a management node, at this time, the second terminal may verify the terminal that later wishes to join the blockchain as the node, so as to exercise the management authority. If the solution time of the second terminal is longer than or equal to 5 seconds, the first terminal judges that the performance of the second terminal is poor, and determines the second terminal as a common node. In a specific implementation, a first terminal for creating the blockchain can be used as a management node in the blockchain, and further, when a new terminal is added to the blockchain to be used as a node, voting decision can be performed among all management nodes to determine whether to add the new terminal to the blockchain. By the method, the node joining of the blockchain is more convenient while the pressure of the first terminal on node authentication is relieved.
In one implementation, after the first terminal determines that the second terminal meets the condition of joining the blockchain as the node, the first terminal may also receive a type configuration operation of a user using the first terminal for the node corresponding to the second terminal; the first terminal determines the type of the node corresponding to the second terminal according to the type configuration operation, wherein the type of the node comprises a management class or a common class, and the node of the management class has the management authority to the blockchain.
S305, the first terminal acquires transaction data among nodes of the blockchain, and increases information stored in the blockchain according to the transaction data.
In the embodiment of the invention, after the block chain is constructed, the first terminal can acquire transaction data among nodes of the block chain and package the transaction data to obtain the first block; the first terminal links the first block with the creation block to increase the information stored in the blockchain.
S306, if the first terminal detects that the duration of the generation of the blockchain is longer than the duration, the first terminal broadcasts a clearing message for the blockchain to nodes in the blockchain.
In the embodiment of the invention, when the first terminal detects that the time length of generating the blockchain is longer than the time length, the first terminal can broadcast the clearing information for the blockchain to the nodes in the blockchain so as to enable other nodes in the blockchain to clear the stored information in the blockchain, and the first terminal can clear the content of the blockchain stored in the independent storage space. By the method, the blockchain created by the first terminal can be made to be time-efficient, and when the blockchain is useless, the data in the blockchain can be emptied even so as to release the storage space.
In the embodiment of the invention, a first terminal responds to a blockchain creation operation to generate a blockchain, and the first terminal is determined to be a node in the blockchain; the first terminal receives a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain; and the first terminal verifies the verification information, and if the verification is passed, the second terminal is determined to be a node in the block chain. By implementing the method, the blockchain can be conveniently constructed, and the practicability of the blockchain application is improved.
Based on the above description of the embodiment of the blockchain construction method, the embodiment of the invention also discloses a blockchain construction device, which can be applied to the blockchain structure shown in fig. 1, and specifically, the blockchain construction device can operate at a terminal in the blockchain structure shown in fig. 1. The blockchain construction device may be a computer program (including program code) running in the terminal, or may be a physical device included in the terminal. The blockchain construction device may perform the methods shown in fig. 2-3. Referring to fig. 6, the blockchain construction device 60 includes: a generating module 601, a determining module 602, a receiving module 603, a verifying module 604, a broadcasting module 605, and a clearing module 606.
A generation module 601 for generating a blockchain in response to a blockchain creation operation;
a determining module 602, configured to determine the first terminal as a node in the blockchain;
a receiving module 603, configured to receive a blockchain joining request sent by a second terminal, where the joining request carries verification information required for joining the blockchain;
a verification module 604, configured to verify the verification information;
the determining module 602 is further configured to determine the second terminal as a node in the blockchain if the verification is passed.
In one implementation, the verification module 604 is specifically configured to:
verifying whether the request time is within a preset time period;
or verifying whether the distance between the request address and the address of the first terminal is smaller than a preset distance;
or verifying whether the key is matched with a preset key;
if yes, determining that the verification information passes verification.
In one implementation, the broadcasting module 605 is configured to:
and broadcasting port information of the blockchain, wherein the port information comprises at least one of a port number, a two-dimensional code and a link, so that the second terminal accesses the blockchain generated by the first terminal according to the port information.
In one implementation, the generating module 601 is specifically configured to:
allocating independent storage space for the block chain in the storage space;
creating an created block of the blockchain in the independent storage space to generate a blockchain;
attributes are configured for the blockchain, including type, key, and duration.
In one implementation, the broadcasting module 605 is further configured to: if the time length of the block chain generation is detected to be longer than the time length, broadcasting a clearing message for the block chain to nodes in the block chain;
the emptying module 606 is configured to empty the content of the blockchain stored in the independent storage space.
In one implementation, the generating module 601 is further configured to:
acquiring transaction data between nodes of the blockchain;
packaging the transaction data to obtain a first block;
and linking the first block with the creation block to increase the information stored in the blockchain.
In one implementation, the determining module 602 is further configured to:
sending a target question to the second terminal;
receiving answer information returned by the second terminal aiming at the target subject, wherein the answer information comprises an answer result and an answer duration;
If the answer result is a correct result, determining the type of the node corresponding to the second terminal according to the answer time length, wherein the type of the node comprises a management class or a common class, and the node of the management class has the management authority to the blockchain.
In the embodiment of the invention, the generation module 601 generates a blockchain in response to a blockchain creation operation; a determining module 602 determines the first terminal as a node in the blockchain; the receiving module 603 receives a blockchain joining request sent by the second terminal, where the joining request carries verification information required for joining the blockchain; the verification module 604 verifies the verification information; if the verification is passed, the determination module 602 determines the second terminal as a node in the blockchain. By the method, the blockchain created by the first terminal can be made to be time-efficient, and when the blockchain is useless, the data in the blockchain can be emptied even so as to release the storage space.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 7, the terminal includes: at least one processor 701, an input device 703, an output device 704, a memory 705, and at least one communication bus 702. Wherein the communication bus 702 is used to enable connected communications between these components. The memory 705 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 705 may also optionally be at least one storage device located remotely from the processor 701. Wherein the processor 701 may be described in connection with fig. 6, a set of program code is stored in the memory 705, and the processor 701, the input device 703, the output device 704 call the program code stored in the memory 705 for performing the following operations:
A processor 701 for generating a blockchain in response to a blockchain creation operation and determining the first terminal as a node in the blockchain;
a processor 701, configured to receive a blockchain joining request sent by a second terminal, where the joining request carries verification information required for joining the blockchain;
and a processor 701, configured to verify the verification information, and if the verification is passed, determine the second terminal as a node in the blockchain.
In one implementation, the processor 701 is specifically configured to:
verifying whether the request time is within a preset time period;
or verifying whether the distance between the request address and the address of the first terminal is smaller than a preset distance;
or verifying whether the key is matched with a preset key;
if yes, determining that the verification information passes verification.
In one implementation, the processor 701 is specifically configured to:
and broadcasting port information of the blockchain, wherein the port information comprises at least one of a port number, a two-dimensional code and a link, so that the second terminal accesses the blockchain generated by the first terminal according to the port information.
In one implementation, the processor 701 is specifically configured to:
Allocating independent storage space for the block chain in the storage space;
creating an created block of the blockchain in the independent storage space to generate a blockchain;
attributes are configured for the blockchain, including type, key, and duration.
In one implementation, the processor 701 is specifically configured to:
if the time length of the block chain generation is detected to be longer than the time length, broadcasting a clearing message for the block chain to nodes in the block chain;
and clearing the content of the blockchain stored in the independent storage space.
In one implementation, the processor 701 is specifically configured to:
acquiring transaction data between nodes of the blockchain;
packaging the transaction data to obtain a first block;
and linking the first block with the creation block to increase the information stored in the blockchain.
In one implementation, the processor 701 is specifically configured to:
sending a target question to the second terminal;
receiving answer information returned by the second terminal aiming at the target subject, wherein the answer information comprises an answer result and an answer duration;
if the answer result is a correct result, determining the type of the node corresponding to the second terminal according to the answer time length, wherein the type of the node comprises a management class or a common class, and the node of the management class has the management authority to the blockchain.
In an embodiment of the present invention, the processor 701 generates a blockchain in response to a blockchain creation operation, and determines the first terminal as a node in the blockchain; the processor 701 receives a blockchain joining request sent by a second terminal, wherein the joining request carries verification information required for joining the blockchain; the processor 701 verifies the verification information, and if the verification is passed, determines the second terminal as a node in the blockchain. By the method, the blockchain created by the first terminal can be made to be time-efficient, and when the blockchain is useless, the data in the blockchain can be emptied even so as to release the storage space.
The modules described in the embodiments of the present invention may be implemented by general-purpose integrated circuits such as a CPU (Central Processing Unit ) or by ASIC (Application Specific Integrated Circuit, application specific integrated circuit).
It should be appreciated that in embodiments of the present invention, the processor 701 may be a central processing module (Central Processing Unit, CPU), which may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The bus 702 may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc., and the bus 702 may be divided into an address bus, a data bus, a control bus, etc., with fig. 7 being shown with only one bold line for ease of illustration, but not with only one bus or one type of bus.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs to instruct related hardware, where the programs may be stored in a computer readable storage medium, and where the programs may include the processes of the embodiments of the methods described above when executed. The computer readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (7)

1. A method of blockchain construction, the method comprising:
the first terminal allocates an independent storage space for the blockchain in the storage space, and creates an originating block of the blockchain in the independent storage space to generate the blockchain;
the first terminal configures attributes for the blockchain, and determines the first terminal as a node in the blockchain; the attributes include type, key and duration;
the first terminal receives a blockchain joining request sent by a second terminal, wherein the joining request carries verification information required for joining the blockchain; the verification information comprises at least one of request time, request address and secret key;
the first terminal verifies the verification information, wherein the verification comprises the following steps: verifying whether the request time is within a preset time period; or verifying whether the distance between the request address and the address of the first terminal is smaller than a preset distance; or verifying whether the key is matched with a preset key; if yes, determining that the verification information passes verification;
if the verification is passed, determining the second terminal as a node in the blockchain;
If the detected time length of the block chain generation is longer than the time length, broadcasting a clearing message for the block chain to nodes in the block chain by the first terminal;
the first terminal empties the content of the blockchain stored in the independent storage space.
2. The method according to claim 1, wherein the method further comprises:
the first terminal broadcasts port information of the blockchain, wherein the port information comprises at least one of a port number, a two-dimensional code and a link, so that the second terminal accesses the blockchain generated by the first terminal according to the port information.
3. The method of claim 1, wherein after the determining the second terminal as a node in the blockchain, the method further comprises:
the first terminal obtains transaction data between nodes of the blockchain;
the first terminal encapsulates the transaction data to obtain a first block;
the first terminal links the first block with the creation block to increase information stored in the blockchain.
4. The method of claim 1, wherein after the determining the second terminal as a node in the blockchain, the method further comprises:
The first terminal sends a target question to the second terminal;
the first terminal receives answer information returned by the second terminal aiming at the target subject, wherein the answer information comprises an answer result and an answer duration;
if the answer result is a correct result, the first terminal determines the type of the node corresponding to the second terminal according to the answer time length, wherein the type of the node comprises a management class or a common class, and the node of the management class has the management authority to the blockchain.
5. A blockchain construction device, the device comprising:
the generation module is used for distributing independent storage space for the block chain in the storage space of the first terminal, creating an generated block of the block chain in the independent storage space to generate the block chain, and configuring attributes for the block chain; the attributes include type, key and duration;
a determining module, configured to determine the first terminal as a node in the blockchain;
the receiving module is used for receiving a blockchain joining request sent by the second terminal, wherein the joining request carries verification information required for joining the blockchain; the verification information comprises at least one of request time, request address and secret key;
The verification module is used for verifying the verification information; the verification includes: verifying whether the request time is within a preset time period; or verifying whether the distance between the request address and the address of the first terminal is smaller than a preset distance; or verifying whether the key is matched with a preset key; if yes, determining that the verification information passes verification;
the determining module is further configured to determine the second terminal as a node in the blockchain if the verification is passed;
a broadcasting module, configured to broadcast a flush message for the blockchain to a node in the blockchain if the detected time period of the blockchain generation is greater than the time period;
and the emptying module is used for emptying the content of the blockchain stored in the independent storage space.
6. A terminal comprising a processor, an input interface, an output interface and a memory, the processor, the input interface, the output interface and the memory being interconnected, wherein the memory is adapted to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-4.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1-4.
CN201910897792.XA 2019-09-20 2019-09-20 Block chain construction method, device, terminal and medium Active CN110647583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910897792.XA CN110647583B (en) 2019-09-20 2019-09-20 Block chain construction method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910897792.XA CN110647583B (en) 2019-09-20 2019-09-20 Block chain construction method, device, terminal and medium

Publications (2)

Publication Number Publication Date
CN110647583A CN110647583A (en) 2020-01-03
CN110647583B true CN110647583B (en) 2024-01-12

Family

ID=68992293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910897792.XA Active CN110647583B (en) 2019-09-20 2019-09-20 Block chain construction method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN110647583B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314369A (en) * 2020-02-27 2020-06-19 苏州市星际云通区块链科技有限公司 Resource sharing block chain network
CN111488398A (en) * 2020-05-01 2020-08-04 北京俩撇科技有限公司 Block chain creation method and device based on block chain
CN112751713B (en) * 2020-12-30 2023-03-24 杭州趣链科技有限公司 Block chain-based link establishing method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990002A (en) * 2018-06-27 2018-12-11 柳州市蓝海数链科技有限公司 A kind of block chain data processing method, device, terminal and storage medium
CN109819443A (en) * 2018-12-29 2019-05-28 东莞见达信息技术有限公司 Authentication registration method, apparatus and system based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10872077B2 (en) * 2013-09-23 2020-12-22 David D. Wright, SR. Management of entitlements using blockchain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990002A (en) * 2018-06-27 2018-12-11 柳州市蓝海数链科技有限公司 A kind of block chain data processing method, device, terminal and storage medium
CN109819443A (en) * 2018-12-29 2019-05-28 东莞见达信息技术有限公司 Authentication registration method, apparatus and system based on block chain

Also Published As

Publication number Publication date
CN110647583A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN112214780B (en) Data processing method and device, intelligent equipment and storage medium
US11563574B2 (en) Blockchain-implemented method and system
CN110933163B (en) Block chain contract deployment method, device, equipment and storage medium
CN108769230B (en) Transaction data storage method, device, server and storage medium
CN111324672A (en) Block chain safety processing system and method
CN112446785A (en) Cross-chain transaction method, system, device, equipment and storage medium
CN110647583B (en) Block chain construction method, device, terminal and medium
CN111444211B (en) Block chain consensus node checking method, device, equipment and storage medium
EP4216077A1 (en) Blockchain network-based method and apparatus for data processing, and computer device
CN110417790B (en) Block chain real-name system queuing system and method
CN111291060A (en) Method, device and computer readable medium for managing block chain nodes
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN110839002B (en) Cloud account opening, authentication and access method and device
CN112862487A (en) Digital certificate authentication method, equipment and storage medium
KR20220074971A (en) Blockchain-based data processing method, apparatus and device, and readable storage medium
CN112181599B (en) Model training method, device and storage medium
CN110602133B (en) Intelligent contract processing method, block chain management device and storage medium
CN111327602B (en) Equipment access processing method, equipment and storage medium
CN113869901B (en) Key generation method, key generation device, computer-readable storage medium and computer equipment
CN113014540B (en) Data processing method, device, equipment and storage medium
CN112926981A (en) Transaction information processing method, device and medium for block chain and electronic equipment
CN110968442B (en) Data processing method and device
CN112989398B (en) Data processing method and device for block chain network, computer equipment and medium
CN117370463A (en) Block chain-based data storage method, device and storage medium
CN117375849A (en) Application access method, device, computer, medium and product based on block chain

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