CN109617861B - Business account management method and system based on block chain - Google Patents

Business account management method and system based on block chain Download PDF

Info

Publication number
CN109617861B
CN109617861B CN201811386666.XA CN201811386666A CN109617861B CN 109617861 B CN109617861 B CN 109617861B CN 201811386666 A CN201811386666 A CN 201811386666A CN 109617861 B CN109617861 B CN 109617861B
Authority
CN
China
Prior art keywords
account
user node
ticket
block chain
message
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
CN201811386666.XA
Other languages
Chinese (zh)
Other versions
CN109617861A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811386666.XA priority Critical patent/CN109617861B/en
Publication of CN109617861A publication Critical patent/CN109617861A/en
Application granted granted Critical
Publication of CN109617861B publication Critical patent/CN109617861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

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

Abstract

The present disclosure provides a block chain-based service account management method and system, wherein a block chain network includes a plurality of user nodes, and the plurality of user nodes correspond to a plurality of block chain accounts one to one. Specifically, the business account management method includes a business account registration method, a business account login method, a business account selling method, a business account purchasing method, and a business account transfer method. The safety problem related to the business account can be effectively solved by the business account management method.

Description

Business account management method and system based on block chain
Technical Field
The present disclosure relates to the field of computer communications technologies, and in particular, to a method and a system for managing service accounts based on a block chain.
Background
With the popularization of internet technology in various industries, many services (such as social contact, games, shopping and the like) are gradually transferred from off-line to on-line, and a user can register a service account on line and participate in the services by taking the service account as an identity certificate.
It goes without saying that the business account number often condenses on the energy or money that the user continuously invests, and is often an important on-line asset for the user. For example, when a user registers a game account to play an online game, as the effort or money put into the game by the user through the game account continuously increases, the higher the level of the game account is, the more items bound to the game account are, and the greater the value of the game account is.
In practice, security issues related to the business account number cannot be ignored. For example, once the user forgets the service account or the login password corresponding to the service account, the user cannot prove the ownership of the service account. In another example, the user's business account number may be stolen by a hacker, causing a loss to the user. For another example, a user sometimes wants to sell his/her business account to another person, but cannot find a secure transaction channel.
Disclosure of Invention
In view of this, the present disclosure provides a method and a system for managing a service account based on a block chain, which can effectively solve the security problem related to the service account.
According to a first aspect of the embodiments of the present disclosure, there is provided a service account registration method based on a blockchain, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing account ticket correlation logic is deployed on the user node, where the method includes:
a target user node receives an account registration instruction;
the target user node constructs an account registration message according to the account registration instruction, and signs the account registration message through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
the target user node broadcasts the account registration message to the blockchain network;
for each user node obtaining the account registration message, after determining that the account registration message passes signature verification, the user node generates an account ticket based on a deployed intelligent contract and establishes a corresponding relation between a ticket identifier of the account ticket and the account identifier;
the user node issues the account registration message to a block chain;
and after acquiring the ticket identification from the block chain network, the service server creates a service account and establishes a corresponding relationship between the service account and the ticket identification.
According to a second aspect of the embodiments of the present disclosure, there is provided a service account registration method based on a blockchain, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing account ticket related logic is deployed on the user node, where the method includes:
a target user node receives an account registration instruction; the account registration instruction comprises a service account;
the target user node constructs an account registration message according to the account registration instruction, and signs the account registration message through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
the target user node broadcasts the account registration message to the blockchain network;
for each user node obtaining the account registration message, after determining that the account registration message passes signature verification, the user node generates an account ticket based on a deployed intelligent contract and establishes a corresponding relation between a ticket identifier of the account ticket and the account identifier;
the user node issues the account registration message to a block chain;
the target user node sends the ticket identification and the business account to a business server;
and the business server establishes a corresponding relation between the business account and the ticket identification.
According to a third aspect of the embodiments of the present disclosure, a service account login method based on a blockchain is provided, where a blockchain network includes a plurality of user nodes, and the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and the method includes:
a target user node receives an account login instruction;
the target user node constructs an account login request according to the account login instruction, and signs the account login request through a target block chain account corresponding to the target user node; the account login instruction comprises an account identifier of the target blockchain account;
the target user node sends the account login request to a service server;
after determining that the account login request passes signature verification, the service server queries a ticket identifier corresponding to the account identifier from the blockchain network according to the account login request;
the business server determines a business account corresponding to the inquired ticket identification and logs in the business account;
the service account is registered by the service account registration method, or the service account is registered by the service account registration method.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a block chain-based business account selling method, where a block chain network includes a plurality of user nodes, the user nodes are in one-to-one correspondence with a plurality of block chain accounts, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, where the method includes:
the selling user node receives an account selling instruction; the account selling instruction comprises a designated ticket identification and a selling amount; the account number ticket corresponding to the appointed ticket identification is an account number ticket corresponding to a selling account identification, and the selling account identification is the account identification of a selling user account corresponding to the selling user node; the business account corresponding to the designated ticket identification is registered by the business account registration method, or is registered by the business account registration method;
the selling user node constructs an account selling message according to the account selling instruction, and signs the account selling message through the selling block chain account; the account number selling message comprises the selling account identification, the appointed ticket identification and the selling amount;
the selling user node broadcasts the account selling message to the block chain network;
for each user node obtaining the account selling message, after determining that the account selling message passes signature verification, the user node establishes a corresponding relation among the designated ticket identification, the selling amount and the contract identification of the intelligent contract based on a deployed intelligent contract;
the user node issues the account selling message to a blockchain.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a service account purchasing method based on a blockchain, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, where the method includes:
a purchasing user node receives an account purchasing instruction; the account purchasing instruction comprises a specified ticket identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method, or is registered by the business account registration method;
the purchasing user node constructs an account purchasing message according to an account purchasing instruction, and signs the account purchasing message through a purchasing block chain account corresponding to the purchasing user node; the account purchase message includes a purchase account identification and the designated ticket identification of the purchase blockchain account;
the purchasing user node broadcasts the account purchasing message to the block chain network;
for each user node obtaining the account number purchasing information, after determining that the account number purchasing information passes signature verification, the user node deducts the selling amount corresponding to the appointed ticket identification from the purchasing block chain account based on the intelligent contract, and adds the selling amount to the selling block chain account of the selling account identification corresponding to the appointed ticket identification; the corresponding relation among the appointed ticket identification, the sale amount and the contract identification is established by the business account sale method;
the user node removes the corresponding relation among the appointed ticket identification, the sale amount and the contract identification, removes the corresponding relation between the appointed ticket identification and the sale account identification and establishes the corresponding relation between the appointed ticket identification and the purchase account identification based on the deployed intelligent contract;
the user node issues the account purchase message to a blockchain.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a service account number transfer method based on a blockchain, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing logic related to account number transaction is deployed on the user node, where the method includes:
giving a user node to receive an account number transfer instruction; the account number transfer instruction comprises a transferee account identifier and a designated ticket identifier of a transferee block chain account corresponding to the transferee user node; the business account corresponding to the designated ticket identification is registered by the business account registration method, or is registered by the business account registration method;
the giving-out user node constructs an account number transfer message according to the account number transfer instruction, and signs the account number transfer message through a giving-out block chain account corresponding to the giving-out user node; the account number transfer message comprises a giving-up account identifier, the appointed ticket identifier and the transferee account identifier of the giving-up blockchain account;
the giving-out user node broadcasts the account number transfer message to the blockchain network;
for each user node obtaining the account number transfer message, after determining that the account number transfer message passes signature verification, the user node relieves the corresponding relation between the designated ticket identification and the giving-up account identification based on a deployed intelligent contract, and establishes the corresponding relation between the designated ticket identification and the given account contract identification;
and the user node issues the account number transfer message to a block chain.
According to a seventh aspect of the embodiments of the present disclosure, a service account registration system based on a block chain is provided, where the system includes a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account number ticket related logic;
the target user node receives an account registration instruction; according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node, wherein the account registration message contains an account identifier of the target block chain account; broadcasting the account registration message to the blockchain network;
each user node of the account registration message is obtained, after the account registration message is confirmed to pass signature verification, an account ticket is generated based on a deployed intelligent contract, and the corresponding relation between the ticket identification of the account ticket and the account identification is established; and issuing the account registration message to a block chain;
and the business server acquires the ticket identification from the block chain network, creates a business account and establishes a corresponding relation between the business account and the ticket identification.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a service account registration system based on a block chain, where the system includes a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account number ticket related logic;
the target user node receives an account registration instruction, wherein the account registration instruction comprises a service account; according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node, wherein the account registration message contains an account identifier of the target block chain account; broadcasting the account registration message to the blockchain network: and sending the business account and the ticket identification of the generated account ticket to the business server;
each user node of the account registration message is obtained, after the account registration message is confirmed to pass signature verification, an account ticket is generated based on a deployed intelligent contract, and the corresponding relation between the ticket identification of the account ticket and the account identification is established; issuing the account registration message to a block chain;
and the business server establishes the corresponding relation between the business account and the ticket identification.
According to a ninth aspect of the embodiments of the present disclosure, a service account login system based on a block chain is provided, where the system includes a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts;
the target user node receives an account login instruction; according to the account login instruction, an account login request is constructed, the account login request is signed through a target block chain account corresponding to the target user node, and the account login instruction comprises an account identifier of the target block chain account; sending the account login request to the service server;
the business server inquires a ticket identifier corresponding to the account identifier from the block chain network according to the account login request after the account login request is confirmed to pass signature verification; determining a business account corresponding to the inquired ticket identification, and logging in the business account;
the service account is registered by the service account registration method, or the service account is registered by the service account registration method.
According to a tenth aspect of the embodiments of the present disclosure, there is provided a block chain-based business account selling system, including a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account transaction related logic;
the selling user node receives an account selling instruction, wherein the account selling instruction comprises a designated ticket identifier and a selling amount, the account ticket corresponding to the designated ticket identifier is the account ticket corresponding to the selling account identifier, the selling account identifier is the account identifier of the selling user account corresponding to the selling user node, and the business account corresponding to the designated ticket identifier is registered by the business account registration method or is registered by the business account registration method; constructing an account number selling message according to the account number selling instruction, and signing the account number selling message through the selling block chain account, wherein the account number selling message comprises a selling account identifier, the appointed ticket identifier and the selling amount; broadcasting the account sale message to the blockchain network;
obtaining each user node of the account selling message, and after determining that the account selling message passes signature verification, establishing a corresponding relation among the designated ticket identification, the selling amount and the contract identification of the intelligent contract based on a deployed intelligent contract; and issuing the account selling message to a blockchain.
According to an eleventh aspect of the embodiments of the present disclosure, there is provided a service account purchasing system based on a block chain, the system including a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account transaction related logic;
the method comprises the steps that a purchasing user node receives an account purchasing instruction, wherein the account purchasing instruction comprises a specified ticket mark, and a business account corresponding to the specified ticket mark is registered by the business account registration method or is registered by the business account registration method; according to an account purchasing instruction, an account purchasing message is constructed, and the account purchasing message is signed through a purchasing block chain account corresponding to the purchasing user node, wherein the account purchasing message comprises a purchasing account identifier of the purchasing block chain account and the designated ticket identifier; broadcasting the account purchase message to the blockchain network;
each user node obtaining the account purchasing information, deducting the selling amount corresponding to the appointed ticket identification from the purchasing block chain account based on the intelligent contract after determining that the account purchasing information passes signature verification, and adding the selling amount to the selling block chain account of the selling account identification corresponding to the appointed ticket identification, wherein the corresponding relation among the appointed ticket identification, the selling amount and the contract identification is established by the business account selling method; based on the deployed intelligent contract, removing the corresponding relation among the appointed ticket identification, the selling amount and the contract identification, removing the corresponding relation between the appointed ticket identification and the selling account identification, and establishing the corresponding relation between the appointed ticket identification and the purchasing account identification; and issuing the account number purchase message to a blockchain.
According to a twelfth aspect of the embodiments of the present disclosure, a service account number transfer system based on a block chain is provided, where the system includes a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts;
the giving-out user node receives an account number transfer instruction, wherein the account number transfer instruction comprises a given account number identifier and a designated ticket identifier, and a business account number corresponding to the designated ticket identifier is registered by the business account number registration method or is registered by the business account number registration method; according to an account number transfer instruction, an account number transfer message is constructed, and the account number transfer message is signed through a giving-out block chain account corresponding to the giving-out user node, wherein the account number transfer message comprises a giving-out account identifier, an appointed ticket identifier and an assigned account identifier of the giving-out block chain account; broadcasting the account number transfer message to the blockchain network;
each user node of the account number transfer message is obtained, after the account number transfer message is confirmed to pass signature verification, the corresponding relation between the appointed ticket identification and the giving-out account identification is released based on a deployed intelligent contract, and the corresponding relation between the appointed ticket identification and the given account contract identification is established; and issuing the account number transfer message to a block chain.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
1. the method comprises the steps of mapping a service account number of a user into an account number ticket in a block chain account of the user, issuing the generated account number ticket and the attribution to a block chain after passing consensus verification by user nodes of the whole network, wherein the generation and the attribution of the account number ticket cannot be tampered, and the method is equivalent to the method that each user node in the block chain network carries out endorsement on the ownership of the service account number of the user, so that the service account number of the user cannot be lost.
2. The user can log in the service account number through the account number ticket in the own block chain account. Since the user's blockchain account is difficult to be hacked (the blockchain account is only controlled by the user's private key, which is very complicated and difficult to be hacked), the user's business account is also difficult to be hacked.
3. The transaction and transfer of account number tickets can be carried out between the blockchain accounts, which is equivalent to the transaction and transfer of business account numbers. Because the change of the account number ticket in any blockchain account needs to be issued to the blockchain for public notice after passing the consensus verification of each user node, and the change record of the account number ticket cannot be tampered, the change record is equivalent to a safe channel for transaction and transfer of business account numbers.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flowchart of a service account registration method based on a block chain according to the present disclosure;
fig. 2 is a schematic flowchart of a service account registration method based on a block chain according to the present disclosure;
fig. 3 is a schematic flowchart of a service account login method based on a block chain according to the present disclosure;
fig. 4 is a schematic flow chart of a block chain-based service account selling method according to the present disclosure;
fig. 5 is a schematic flowchart of a service account purchasing method based on a block chain according to the present disclosure;
fig. 6 is a schematic flow chart of a service account number transfer method based on a block chain according to the present disclosure;
fig. 7 is a schematic structural diagram of a block chain-based service account management system according to the present disclosure;
fig. 8 is a schematic structural diagram of another block chain-based service account management system provided in the present disclosure;
fig. 9 is a schematic structural diagram of a service account registration apparatus based on a block chain according to the present disclosure;
fig. 10 is a schematic structural diagram of another block chain-based service account registration apparatus provided in the present disclosure;
fig. 11 is a schematic structural diagram of a service account registration apparatus based on a block chain according to the present disclosure;
fig. 12 is a schematic structural diagram of another block chain-based service account registration apparatus provided in the present disclosure;
fig. 13 is a schematic structural diagram of a service account login apparatus based on a block chain according to the present disclosure;
fig. 14 is a schematic structural diagram of another block chain-based service account login apparatus provided in the present disclosure;
fig. 15 is a schematic structural diagram of a block chain-based service account selling device according to the present disclosure;
fig. 16 is a schematic structural diagram of a block chain-based business account number purchasing apparatus provided by the present disclosure;
fig. 17 is a schematic structural diagram of a service account number transfer device based on a block chain according to the present disclosure;
FIG. 18 is a schematic structural diagram of an apparatus provided by the present disclosure for implementing a method according to an embodiment of the present disclosure;
fig. 19 is a schematic structural diagram of another apparatus provided by the present disclosure for implementing a method according to an embodiment of the present disclosure.
Detailed Description
As described above, the business account number, as an online asset of the user, faces a plurality of security problems such as easy loss, easy theft, lack of reliable transaction channel, and the like.
In order to solve the security problems related to the service account, the disclosure provides a whole set of service account management method based on the block chain, and an account ticket is issued in the block chain network by using the characteristics of an account authorization mechanism, programmability (supporting an intelligent contract), data non-falsification and the like of the block chain, and is used as a right certificate of the service account in the block chain.
It should be noted that the account number ticket described herein may be a token issued in a blockchain network and having a service account number ownership verification function. As is known, in a blockchain network, tokens can serve as virtual properties owned by blockchain accounts, and tokens can be circulated between blockchain accounts. It is worth emphasizing that the account number ticket does not have a currency attribute, but only has a mapping of the business account number in the blockchain network, and only has a business account number ownership proving function.
Thus, the user can use the token owned by the block chain account to realize the authorization of the business account, and further realize the authorization registration, authorization login, authorization transaction, authorization transfer and the like of the business account.
Through one or more embodiments of the present disclosure, the business account of the user is not easy to lose and stolen, and the user can also conveniently and safely trade the business account or transfer the business account.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a schematic flowchart of a service account registration method based on a block chain according to an embodiment of the present disclosure, which includes the following steps:
s100: and the target user node receives an account registration instruction.
In the disclosed embodiments, the blockchain network is generally built based on a public chain architecture (e.g., etherhouse). Any user can become a user node in the blockchain network by installing a blockchain program (such as an etherhouse wallet program) on own equipment (such as a computer, a mobile phone and the like) and opening an own blockchain account. That is, the user node is specifically the user's device + blockchain program + the user's blockchain account, and one user node represents one user.
In the blockchain network, each user node has a unique blockchain account corresponding to the user node, and the blockchain account has a balance (under the ethernet architecture, the balance in the blockchain account may specifically be an ethernet balance). It should be noted here that the user's blockchain account is usually controlled by the user's private key, and the user provides the user's private key to the blockchain program installed on the user node to log in the user's blockchain account, and at this time, the user has obtained control right to the user node.
For each customer node, an intelligent contract may be deployed on the customer node. The intelligent contract is essentially a piece of code for implementing the specified logic, and the user node calls the intelligent contract to implement the specified logic.
In the service account registration method shown in fig. 1, an intelligent contract deployed on each user node may be used to execute account ticket-related logic. The account ticket correlation logic may include generation logic of an account ticket, logic for assigning a ticket identity to the account ticket, logic for establishing a correspondence between the ticket identity and the account identity, and the like.
In step S100, the target user node may be any user node in the blockchain network. The account registration instruction may be issued by a target user represented by the target user node. The intention of the account registration instruction is to instruct the blockchain network to generate an account number ticket, and distribute the generated account number ticket to a blockchain account of a target user, so that a service server under a chain registers a service account number according to the account number ticket, and the binding of the account number ticket and the service account number is completed.
It should be noted that the target user generally needs to provide its own private key to the blockchain program installed on the target user node to obtain control right for the target user node, and at this time, the target user node can represent the target user and the target user can send an instruction to the target user node (for example, the target user inputs an instruction in the blockchain program installed on the target user node).
That is, the target user provides its private key to the blockchain program installed on the target user node, and then logs in its target blockchain account. In this case, the target user node, and the target blockchain account are substantially integrated.
S102: and the target user node constructs an account registration message according to the account registration instruction, and signs the account registration message through a target block chain account corresponding to the target user node.
As is well known, a message is a data structure employed for communication in a blockchain network. In step S102, the account registration message may include an account identifier of a target blockchain account corresponding to the target user node. The target node signs the account registration message through the target blockchain account (to indicate that the account registration message is authorized by the target user), specifically, the target node encrypts the digest of the account registration message by using a private key for controlling the target blockchain account to obtain a signature corresponding to the account registration message.
S104: and the target user node broadcasts the account registration message to the blockchain network.
In step S104, the target user node may broadcast the account registration message and the signature corresponding to the account registration message to a blockchain network.
S106: and aiming at each user node obtaining the account registration message, after determining that the account registration message passes signature verification, the user node generates an account ticket based on a deployed intelligent contract and establishes a corresponding relation between a ticket identifier of the account ticket and the account identifier.
In a block chain network, each user node (including the target user node) obtaining the account registration message needs to perform signature verification on the account registration message, namely, a public key corresponding to the target block chain account is used for decrypting a signature corresponding to the account registration message, if the signature is decrypted, the account registration message is authorized by the target block chain account, then, the account registration message is subjected to digest operation, and if the operation result is consistent with the result obtained by decryption, the account registration message is not tampered in the broadcasting process. Determining that the account registration message passes signature verification if the account registration message is not only authorized by the target blockchain account but has not been tampered with.
And for each user node obtaining the account registration message, after the account registration message is confirmed to pass signature verification, calling a deployed intelligent contract to generate an account ticket, and establishing a corresponding relation between a ticket identifier of the account ticket and the account identifier. This means that each user node that obtains the account registration message acknowledges that the target blockchain account has ownership of the account ticket.
S108: and the user node issues the account registration message to a block chain.
Furthermore, each user node also needs to publish an account registration message verified by a signature to the blockchain, which means that each user node is not regret upon approval for the fact that the target blockchain account has ownership of the account ticket.
S110: and the service server acquires the ticket identification from the block chain network.
In the embodiment of the present disclosure, the service server refers to a server responsible for registering a service account, managing the service account, and providing a service for a user.
The service server can monitor the execution state of the intelligent contract deployed in the blockchain network, and when the fact that the account number right is generated is monitored, the service server accesses any user node to obtain the right identification of the generated account number right.
In addition, the target user node may send the ticket identifier of the account ticket to the service server after generating the account ticket.
S112: and the service server establishes a service account and establishes a corresponding relation between the service account and the ticket identification.
After the service server obtains the ticket identification, a new service account can be registered, and the corresponding relation between the service account and the ticket identification is established. In this way, it is equivalent to that the target blockchain account has ownership of the service account number, and since the release of the correspondence between the target blockchain account and the ticket identifier must be performed by authorization of the target user and consensus of the blockchain network, the service account number of the target user is not easy to lose and is not easy to be stolen.
In addition, the service account registration method shown in fig. 1 may be used for more than one service server to register a service account. In the embodiment of the disclosure, for each user node, more than one intelligent contract for executing the account number ticket related logic is deployed on the user node; the contract identifications of more than one intelligent contract deployed on the user node correspond to more than one server identification one to one.
Thus, in step S100, the target user node receives an account registration instruction including the target server identifier. In step S102, the target user node determines, according to a target server identifier included in the account registration instruction, a contract identifier corresponding to the target server identifier as a target contract identifier, and then includes an account identifier of a target block chain account corresponding to the target user node and an account registration message of the target contract identifier. In step S106, each user node generates an account number ticket based on the intelligent contract corresponding to the target contract identifier, and establishes a corresponding relationship between the account number ticket and the account identifier. In step S110, when it is monitored that the intelligent contract corresponding to the target contract identifier generates the account ticket, the service server corresponding to the target server identifier obtains the ticket identifier from the blockchain network.
Fig. 2 is a schematic flowchart of a service account registration method based on a block chain according to an embodiment of the present disclosure.
In the service account registration method shown in fig. 2, actually, a user has a service account registered on a service server, and needs to generate an account ticket corresponding to the service account in a blockchain network, and allocate the generated account ticket to its own blockchain account. That is, the user needs to register its ownership of the registered service account in the blockchain.
The service account registration method shown in fig. 2 is based on the same inventive concept as the service account registration method shown in fig. 1, and when the method shown in fig. 2 is described later, reference may be made to the foregoing for relevant details, which are not described again.
The service account rating method shown in fig. 2 includes the following steps:
s200: and the target user node receives an account registration instruction.
In step S200, the target user node may be any user node in the blockchain network. The account registration instruction may be issued by a target user represented by the target user node. The intention of the account registration instruction is to instruct the blockchain network to generate an account ticket, and distribute the generated account ticket to a blockchain account of the target user, so that a service server under the chain can complete the binding of the account ticket and the registered service account of the target user.
It should be noted that the account registration instruction includes a service account. The business account is the business account to be registered and specified by the target user.
S202: and the target user node constructs an account registration message according to the account registration instruction, and signs the account registration message through a target block chain account corresponding to the target user node.
S204: the target user node broadcasts the account registration message to the blockchain network.
S206: and aiming at each user node obtaining the account registration message, after determining that the account registration message passes signature verification, the user node generates an account ticket based on a deployed intelligent contract and establishes a corresponding relation between a ticket identifier of the account ticket and the account identifier.
In step S202, the account registration message may include an account identifier of a target blockchain account corresponding to the target user node. Likewise, the target node needs to sign the account registration message through the target blockchain account. In step S206, each user node also needs to perform signature verification on the account registration message first, and after the verification is passed, an account ticket is generated based on the deployed intelligent contract, and a correspondence relationship between a ticket identifier of the account ticket and the account identifier is established.
S208: the user node issues the account registration message to a blockchain.
S210: and the target user node sends the ticket identification and the service account to a service server.
S212: and the business server establishes a corresponding relation between the business account and the ticket identification.
In addition, the service account registration method shown in fig. 1 may be used to register a service account for more than one service server. In the embodiment of the disclosure, for each user node, more than one intelligent contract for executing the account number ticket related logic is deployed on the user node; the contract identifications of more than one intelligent contract deployed on the user node correspond to more than one server identification one to one.
In step S200, the account registration instruction includes a target server identifier and a service account registered on a service server corresponding to the target server identifier. In step S202, the target user node determines, according to a target server identifier included in the account registration instruction, a contract identifier corresponding to the target server identifier as a target contract identifier, and then constructs an account registration message. The account registration message includes an account identifier of a target block chain account corresponding to the target user node and the target contract identifier. In step S206, each user node generates an account ticket based on the intelligent contract corresponding to the target contract identifier, and establishes a correspondence between a ticket identifier of the account ticket and the account identifier. In step S210, the target user node sends the ticket identifier and the service account to a service server corresponding to the target server identifier.
Based on the service account registration method shown in fig. 1 or the service account registration method shown in fig. 2, each service account registered on the service server may be mapped to an account ticket in the blockchain network, and ownership of each account ticket in the blockchain network is explicit and non-falsifiable.
Fig. 3 is a schematic flowchart of a service account login method based on a block chain according to an embodiment of the present disclosure.
In practice, through the method shown in fig. 1 or fig. 2, the service account is already mapped to the account ticket in the blockchain network, and then the user can log in the service account on the service server through the own blockchain account. Due to the high security of the blockchain account, the mode of logging in the business account is also very secure. For the service server, if a user logs in a service account through a blockchain account, the user can be considered as the actual owner of the service account.
The service account rating method shown in fig. 3 includes the following steps:
s300: and the target user node receives an account login instruction.
In step S300, the account login instruction may be issued by a target user represented by a target user node.
Further, if there is more than one service server, the account login command may contain a target server identification indicating which service server the target user wants to login to.
S302: and the target user node constructs an account login request according to the account login instruction, and signs the account login request through a target block chain account corresponding to the target user node.
In step S302, the target user node needs to sign the account login request through the target blockchain account to indicate that the account login request is authorized by the target blockchain account. And the account login instruction comprises an account identifier of the target block chain account.
S304: and the target user node sends the account login request to a service server.
In step S304, if the account login instruction includes a target server identifier, the target user node sends the account login request to a service server corresponding to the target server identifier.
S306: and after determining that the account login request passes the signature verification, the service server inquires a ticket identifier corresponding to the account identifier from the blockchain network according to the account login request.
In step S306, if the service server determines that the account login request passes the signature verification, it indicates that the account login request is authorized by the target blockchain account, which is equivalent to completing the user identity verification required for logging in the service account.
Next, the service server queries the blockchain network for a ticket identification corresponding to the account identification of the target blockchain account.
Further, if there is more than one ticket id queried, the service server may request the target user to select a ticket id.
S308: and the business server determines the business account corresponding to the inquired ticket identification and logs in the business account.
In step S308, the service server may determine the service account corresponding to the queried ticket identity according to the queried ticket identity and the pre-established correspondence between the ticket identity and the service account, which is the service account that the target user wants to log in.
Fig. 4 is a schematic flow chart of a service account selling method based on a block chain according to an embodiment of the present disclosure.
In practice, through the method shown in fig. 1 or fig. 2, the service account number is already mapped to the account number ticket in the blockchain network, and then the user can perform the transaction of the account number ticket through the own blockchain account. For the service server, usually, only the corresponding relationship between the ticket identification and the service account is maintained, and the personal information of the owner of the service account is not recorded, so that the users trade the own account ticket through a block chain network, and the business account trading under the chain is indirectly realized.
In a blockchain network, transactions between user nodes are generally authorized by a blockchain account of a transaction initiating node, and are issued to the blockchain after being authenticated by a consensus of each user node. This determines that valid transactions between user nodes are not revocable and therefore, changes in ownership of account credentials that occur through transactions between user nodes are also not revocable. This provides a safe and reliable business account transaction channel for users.
The service account selling method shown in fig. 4 includes the following steps:
s400: the selling user node receives an account selling instruction.
The selling user node is a user node controlled by a selling user who wants to sell the business account of the selling user node. It should be noted that, the selling user generally needs to provide the own private key with the blockchain program installed on the selling user node to log in the own blockchain account (for descriptive convenience, it is referred to as a selling blockchain account), and also obtains control over the selling user node.
The account number selling instruction can be issued by a selling user, and the intention of the selling user is to instruct the selling user node to sell an account right owned by the selling block chain account. In the business account selling method shown in fig. 4, an intelligent contract for executing logic related to account transaction is deployed on each user node. The details of the logic related to account transaction are described later. The method and apparatus shown in FIG. 4 is described below
The intelligent contract referred to in the description of the method shown in fig. 5 refers to an intelligent contract for executing logic associated with an account transaction.
The account sales instructions typically include a specified ticket identification and a sales amount. The account number ticket corresponding to the designated ticket identification is an account number ticket corresponding to a selling account identification, and the selling account identification is an account identification of a selling user account corresponding to the selling user node.
S402: and the selling user node constructs an account selling message according to the account selling instruction, and signs the account selling message through the selling block chain account.
The account number sale message comprises the sale account identification, the designated ticket identification and the sale amount. In step S402, the selling user node needs to sign the account number selling message through the selling blockchain account to indicate that the account number selling message is authorized through the selling blockchain account.
S404: the selling user node broadcasts the account selling message to a blockchain network.
S406: and for each user node obtaining the account selling message, after determining that the account selling message passes signature verification, the user node establishes a corresponding relation among the specified ticket identification, the selling amount and the contract identification of the intelligent contract based on the deployed intelligent contract.
In step S406, each user node determines that the account selling message is authorized by the owner identified by the designated ticket after determining that the account selling message passes signature verification.
Each user node may then establish a correspondence between the specified ticket identification, the sales amount, and the contract identification of the intelligent contract based on the deployed intelligent contract. This amounts to temporarily transferring account number credentials owned by the selling blockchain account to the smart contract custody, which in effect acts as a transaction intermediary. In a service account purchasing method to be mentioned later, it will be seen how a purchasing user purchases a service account from the smart contract.
S408: the user node issues the account selling message to a blockchain.
Meanwhile, each user node also needs to issue an account selling message passing signature verification to a block chain, and record and disclose the account selling behavior of the selling user.
In addition, in the service account selling method shown in fig. 4, after the account right corresponding to the specified right identifier is temporarily transferred to the smart contract, the selling user may cancel the selling at any time before the account right corresponding to the specified right identifier is not finally sold by the smart contract.
In particular, the selling user node may receive a revocation selling instruction, the revocation selling instruction including the designated ticket identification; then according to the revocation selling instruction, a revocation selling message is constructed, and the revocation selling message is signed through a selling block chain account corresponding to the selling user node, wherein the account selling message comprises a selling account identifier of the selling block chain account and the appointed ticket identifier; the sell revocation message is then broadcast to the blockchain network. In this way, for each user node that obtains the revocation sale message, after determining that the revocation sale message passes signature verification, the user node releases the correspondence among the designated ticket identification, the sale amount, and the contract identification of the smart contract based on the deployed smart contract, and issues the revocation sale message to a block chain.
Fig. 5 is a schematic flowchart of a service account purchasing method based on a block chain according to an embodiment of the present disclosure, including the following steps:
s500: the purchasing user node receives an account purchasing instruction.
The purchasing user node is a user node controlled by a purchasing user who wants to purchase a business account. It should be noted that, the purchasing user usually needs to provide its private key with the blockchain program installed on the purchasing user node to log in its blockchain account (for descriptive convenience, it is referred to as purchasing blockchain account), and also obtains control over the purchasing user node.
The account purchasing instruction can be issued by a purchasing user, and the intention of the purchasing user is to instruct the purchasing user node to purchase a desired business account. In the business account number purchasing method shown in fig. 5, an intelligent contract for executing logic related to account number transaction is deployed on each user node.
The account purchase instruction typically contains a specified ticket identification. And the designated ticket identifies the corresponding account ticket.
S502: and the purchasing user node constructs an account purchasing message according to the account purchasing instruction and signs the account purchasing message through a purchasing block chain account corresponding to the purchasing user node.
The account purchase message includes a purchase account identification and the designated ticket identification for the purchase blockchain account. In step S502, the purchasing user node needs to sign the account purchase message with the purchasing blockchain account to indicate that the account purchase message is authorized by the purchasing blockchain account.
S504: the purchasing user node broadcasts the account purchasing message to the blockchain network.
S506: and for each user node obtaining the account number purchasing information, after determining that the account number purchasing information passes signature verification, the user node deducts the selling amount corresponding to the appointed ticket identification from the purchasing block chain account based on the intelligent contract, and adds the selling amount to the selling block chain account of the selling account identification corresponding to the appointed ticket identification.
In step S406, after determining that the account purchase message passes signature verification, each user node determines that the account purchase message passes authorization of an owner of the purchase blockchain account corresponding to the purchase account identifier.
S508: the user node removes the corresponding relation among the appointed ticket identification, the selling amount and the contract identification, removes the corresponding relation between the appointed ticket identification and the selling account identification and establishes the corresponding relation between the appointed ticket identification and the purchasing account identification based on the deployed intelligent contract.
Each user node may then settle the transaction amount based on the deployed smart contract, based on the smart contract, and alter ownership of the account number ticket corresponding to the designated ticket identification. This corresponds to selling an account number ticket corresponding to the designated ticket id temporarily held by the smart contract to the purchasing blockchain account.
S510: the user node issues the account purchase message to a blockchain.
Meanwhile, each user node also needs to issue an account purchasing message passing signature verification to a block chain, and record and disclose account purchasing behaviors of the purchasing user.
In addition, in practical applications, each user node in the blockchain network may also perform service account transfer (generally, free).
Fig. 6 is a schematic flow chart of a service account number transfer method based on a block chain according to an embodiment of the present disclosure, which includes the following steps:
s600: and giving a user node to receive an account number transfer instruction.
The giving-out user node is a user node controlled by a giving-out user who wants to give the business account of the user node to others. Of course, the giving user should first take control of the giving user node.
The receiving account number transfer instruction is generally sent by the giving-out user, and the intention is to instruct the giving-out user node to transfer all account number tickets of the corresponding giving-out blockchain account to other blockchain accounts.
S602: and the giving-out user node constructs an account number transfer message according to the account number transfer instruction, and signs the account number transfer message through a giving-out block chain account corresponding to the giving-out user node.
S604: and the giving-out user node broadcasts the account number transfer message to the blockchain network.
S606: and for each user node which obtains the account number transfer message, after determining that the account number transfer message passes signature verification, the user node relieves the corresponding relation between the designated ticket identification and the giving-up account identification based on a deployed intelligent contract, and establishes the corresponding relation between the designated ticket identification and the given-up account identification.
In the business account number transfer method shown in fig. 6, transfer transactions are actually performed between two user nodes, and intelligent contracts do not need to be invoked.
Specifically, the giving user node constructs an account number transfer message and signs and authorizes through the giving block chain account. The account number transfer message comprises a giving-up account identifier, the designated ticket identifier and the transferee account identifier of the giving-up blockchain account.
And then, the user node broadcasts the account number transfer message after signature authorization to the block chain network, so that each user node which obtains the account number transfer message firstly carries out signature verification on the account number transfer message, and after the verification is passed, the ownership of the account number ticket corresponding to the appointed ticket identification is changed.
S608: and the user node issues the account number transfer message to a block chain.
Meanwhile, each user node issues the account number transfer message to a blockchain for showing so as to ensure that the ownership change of the account number ticket corresponding to the specified ticket identification cannot be revoked.
Through the service account management method based on the block chain shown in fig. 1 to fig. 6, the following beneficial effects can be achieved:
1. the method comprises the steps of mapping a service account number of a user into an account number ticket in a block chain account of the user, issuing the generated account number ticket and the attribution to a block chain after passing consensus verification by user nodes of the whole network, wherein the generation and the attribution of the account number ticket cannot be tampered, and the method is equivalent to the method that each user node in the block chain network carries out endorsement on the ownership of the service account number of the user, so that the service account number of the user cannot be lost.
2. The user can log in the service account number through the account number ticket in the own block chain account. Since the user's blockchain account is difficult to be hacked (the blockchain account is only controlled by the user's private key, which is very complicated and difficult to be hacked), the user's business account is also difficult to be hacked.
3. The transaction and transfer of account number tickets can be carried out between the blockchain accounts, which is equivalent to the transaction and transfer of business account numbers. Because the change of the account number ticket in any blockchain account needs to be issued to the blockchain for public notice after passing the consensus verification of each user node, and the change record of the account number ticket cannot be tampered, the change record is equivalent to a safe channel for transaction and transfer of business account numbers.
In addition, when the service account is a game account and the service server is a game server, after understanding the core idea of the present disclosure, a person skilled in the art can easily perform a right to a property in one game account, and map the right to a property right in a block chain, which is equivalent to registering the ownership of the property in the game account by the user in the block chain. Therefore, in the block chain, one block chain account not only can own a plurality of account number tickets, but also further owns a plurality of property tickets under each account number ticket. Therefore, the user can realize the transaction and transfer of the property right through the block chain network, and the transaction and transfer of the property in the service account number are also indirectly realized.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation system, an application function implementation device and a corresponding terminal.
Corresponding to the service account registration method shown in fig. 1, an embodiment of the present disclosure provides a service account registration system, as shown in fig. 7, including a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account number ticket related logic;
the target user node (solid node) receives an account registration instruction; according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node, wherein the account registration message contains an account identifier of the target block chain account; broadcasting the account registration message to the blockchain network;
each user node of the account registration message is obtained, after the account registration message is confirmed to pass signature verification, an account ticket is generated based on a deployed intelligent contract, and the corresponding relation between the ticket identification of the account ticket and the account identification is established; and issuing the account registration message to a block chain;
and the business server acquires the ticket identification from the block chain network, creates a business account and establishes a corresponding relation between the business account and the ticket identification.
Corresponding to the service account registration method shown in fig. 2, an embodiment of the present disclosure provides a service account registration system, as shown in fig. 7, including a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account number ticket related logic;
the target user node (solid node) receives an account registration instruction, wherein the account registration instruction comprises a business account; according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node, wherein the account registration message contains an account identifier of the target block chain account; broadcasting the account registration message to the blockchain network: and sending the business account and the ticket identification of the generated account ticket to the business server;
each user node of the account registration message is obtained, after the account registration message is confirmed to pass signature verification, an account ticket is generated based on a deployed intelligent contract, and the corresponding relation between the ticket identification of the account ticket and the account identification is established; issuing the account registration message to a block chain;
and the business server establishes the corresponding relation between the business account and the ticket identification.
Corresponding to the service account login method shown in fig. 3, the embodiment of the present disclosure provides a service account login system, as shown in fig. 7, including a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts;
the target user node (solid node) receives an account login instruction; according to the account login instruction, an account login request is constructed, the account login request is signed through a target block chain account corresponding to the target user node, and the account login instruction comprises an account identifier of the target block chain account; sending the account login request to the service server;
the business server inquires a ticket identifier corresponding to the account identifier from the block chain network according to the account login request after the account login request is confirmed to pass signature verification; determining a business account corresponding to the inquired ticket identification, and logging in the business account;
the service account is registered by the service account registration method, or the service account is registered by the service account registration method.
Corresponding to the service account selling method shown in fig. 4, an embodiment of the present disclosure provides a service account selling system, as shown in fig. 8, including a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account transaction related logic;
the selling user node (solid node) receives an account selling instruction, the account selling instruction comprises a designated ticket identifier and a selling amount, the account ticket corresponding to the designated ticket identifier is the account ticket corresponding to the selling account identifier, the selling account identifier is the account identifier of the selling user account corresponding to the selling user node, and the service account corresponding to the designated ticket identifier is registered by the service account registration method or is registered by the service account registration method; constructing an account number selling message according to the account number selling instruction, and signing the account number selling message through the selling block chain account, wherein the account number selling message comprises a selling account identifier, the appointed ticket identifier and the selling amount; broadcasting the account sale message to the blockchain network;
obtaining each user node of the account selling message, and after determining that the account selling message passes signature verification, establishing a corresponding relation among the designated ticket identification, the selling amount and the contract identification of the intelligent contract based on a deployed intelligent contract; and issuing the account selling message to a blockchain.
Corresponding to the service account purchasing method shown in fig. 5, the embodiment of the present disclosure provides a service account purchasing system, as shown in fig. 8, including a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account transaction related logic;
a purchasing user node (solid node) receives an account purchasing instruction, wherein the account purchasing instruction comprises a specified ticket identifier, and a service account corresponding to the specified ticket identifier is registered by the service account registration method or is registered by the service account registration method; according to an account purchasing instruction, an account purchasing message is constructed, and the account purchasing message is signed through a purchasing block chain account corresponding to the purchasing user node, wherein the account purchasing message comprises a purchasing account identifier of the purchasing block chain account and the designated ticket identifier; broadcasting the account purchase message to the blockchain network;
each user node obtaining the account purchasing information, deducting the selling amount corresponding to the appointed ticket identification from the purchasing block chain account based on the intelligent contract after determining that the account purchasing information passes signature verification, and adding the selling amount to the selling block chain account of the selling account identification corresponding to the appointed ticket identification, wherein the corresponding relation among the appointed ticket identification, the selling amount and the contract identification is established by the business account selling method; based on the deployed intelligent contract, removing the corresponding relation among the appointed ticket identification, the selling amount and the contract identification, removing the corresponding relation between the appointed ticket identification and the selling account identification, and establishing the corresponding relation between the appointed ticket identification and the purchasing account identification; and issuing the account number purchase message to a blockchain.
Corresponding to the service account number transfer method shown in fig. 6, the embodiment of the present disclosure provides a service account number transfer system, as shown in fig. 8, including a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts;
the method comprises the steps that a giving-out user node (solid node) receives an account number transfer instruction, wherein the account number transfer instruction comprises a given account identification and a designated ticket identification, and a business account number corresponding to the designated ticket identification is registered by the business account number registration method or is registered by the business account number registration method; according to an account number transfer instruction, an account number transfer message is constructed, and the account number transfer message is signed through a giving-out block chain account corresponding to the giving-out user node, wherein the account number transfer message comprises a giving-out account identifier, an appointed ticket identifier and an assigned account identifier of the giving-out block chain account; broadcasting the account number transfer message to the blockchain network;
each user node of the account number transfer message is obtained, after the account number transfer message is confirmed to pass signature verification, the corresponding relation between the appointed ticket identification and the giving-out account identification is released based on a deployed intelligent contract, and the corresponding relation between the appointed ticket identification and the given account contract identification is established; and issuing the account number transfer message to a block chain.
Corresponding to the service account registration method shown in fig. 1, there is provided a service account registration-based device, as shown in fig. 9, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing account ticket-related logic is deployed on the user node, and the device is any user node, and the device includes:
a receiving module 901, which receives an account registration instruction;
the processing module 902 constructs an account registration message according to the account registration instruction, and signs the account registration message through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
the broadcasting module 903 broadcasts the account registration message to the blockchain network, so that each user node that obtains the account registration message generates an account ticket based on a deployed intelligent contract after determining that the account registration message passes signature verification, establishes a corresponding relationship between a ticket identifier of the account ticket and the account identifier, issues the account registration message to a blockchain, and further enables a service server to establish a service account after obtaining the ticket identifier from the blockchain network, and establishes a corresponding relationship between the service account and the ticket identifier.
Corresponding to the service account registration method shown in fig. 1, there is also provided a service account registration apparatus based on a blockchain, as shown in fig. 10, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing account right related logic is deployed on the user node, and the apparatus includes:
the processing module 1001, after obtaining the ticket identification from the block chain network, creates a service account and establishes a corresponding relationship between the service account and the ticket identification;
the account right is generated by a user node which obtains an account registration message based on a deployed intelligent contract after a target user node constructs the account registration message according to a received account registration instruction, signs the account registration message through a target block chain account corresponding to the target user node and broadcasts the signed account registration message to a block chain network.
Corresponding to the service account registration method shown in fig. 2, there is provided a service account registration apparatus based on a blockchain, as shown in fig. 11, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing an account ticket related logic is deployed on the user node, and the apparatus is any user node, and the apparatus includes:
a receiving module 1101, which receives an account registration instruction; the account registration instruction comprises a service account;
the processing module 1102 is configured to construct an account registration message according to the account registration instruction, and sign the account registration message through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
the broadcasting module 1103 is configured to broadcast the account registration message to the blockchain network, so that each user node that obtains the account registration message generates an account ticket based on a deployed intelligent contract after determining that the account registration message passes signature verification, establishes a correspondence between a ticket identifier of the account ticket and the account identifier, and issues the account registration message to a blockchain;
the sending module 1104 sends the ticket identifier and the service account to a service server, so that the service server establishes a corresponding relationship between the service account and the ticket identifier.
Corresponding to the service account registration method shown in fig. 2, there is provided a service account registration apparatus based on a blockchain, as shown in fig. 12, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing account ticket related logic is deployed on the user node, and the apparatus includes:
the receiving module 1201 receives a ticket identifier and a service account sent by a target user node;
the processing module 1202, which establishes a corresponding relationship between the service account and the ticket identifier;
the account ticket corresponding to the ticket identifier is generated by the user node which obtains the account registration message based on a deployed intelligent contract after the target user node constructs an account registration message according to the received account registration instruction, signs the account registration message through a target block chain account corresponding to the target user node and broadcasts the signed account registration message to a block chain network.
Corresponding to the service account login method shown in fig. 3, there is provided a service account login device based on a block chain, as shown in fig. 13, where a block chain network includes a plurality of user nodes, the user nodes are in one-to-one correspondence with a plurality of block chain accounts, the device is any user node, and the device includes:
the receiving module 1301 receives an account login instruction;
the processing module 1302 is configured to construct an account login request according to the account login instruction, and sign the account login request through a target block chain account corresponding to the target user node; the account login instruction comprises an account identifier of the target blockchain account;
a sending module 1303, configured to send the account login request to a service server, so that after determining that the account login request passes signature verification, the service server queries, according to the account login request, a ticket identifier corresponding to the account identifier from the blockchain network, and further determines a service account corresponding to the queried ticket identifier, and logs in the service account;
the service account is registered by the service account registration method, or the service account is registered by the service account registration method.
Corresponding to the service account login method shown in fig. 3, another service account login apparatus based on a block chain is provided, as shown in fig. 14, a block chain network includes a plurality of user nodes, the user nodes are in one-to-one correspondence with a plurality of block chain accounts, and the apparatus includes:
a receiving module 1401, configured to receive an account login request sent by a target user node; the account login request is constructed by the target user node according to the received account login instruction; the account login request is signed by the target user node through a target block chain account corresponding to the target user node;
the query module 1402, after determining that the account login request passes the signature verification, queries a ticket identifier corresponding to the account identifier from the blockchain network according to the account login request;
the processing module 1403 determines the service account corresponding to the inquired ticket identifier, and logs in the service account.
The service account is registered by the service account registration method, or the service account is registered by the service account registration method.
Corresponding to the service account selling method shown in fig. 4, there is provided a service account selling apparatus based on a block chain, as shown in fig. 15, where a block chain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of block chain accounts, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, and the apparatus is any user node, and the apparatus includes:
the receiving module 1501 receives an account selling instruction; the account selling instruction comprises a designated ticket identification and a selling amount; the account number ticket corresponding to the appointed ticket identification is an account number ticket corresponding to a selling account identification, and the selling account identification is the account identification of a selling user account corresponding to the selling user node; the business account corresponding to the designated ticket identification is registered by the business account registration method, or is registered by the business account registration method;
the processing module 1502 constructs an account selling message according to the account selling instruction, and signs the account selling message through the selling block chain account; the account number selling message comprises the selling account identification, the appointed ticket identification and the selling amount;
the broadcasting module 1503 broadcasts the account selling message to the blockchain network, so that each user node that obtains the account selling message establishes a corresponding relationship among the designated ticket identifier, the selling amount, and the contract identifier of the intelligent contract based on a deployed intelligent contract after determining that the account selling message passes signature verification, and issues the account selling message to a blockchain.
Corresponding to the service account purchasing method shown in fig. 5, there is provided a service account purchasing apparatus based on a blockchain, as shown in fig. 16, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, and the apparatus is any user node, and the apparatus includes:
the receiving module 1601 is used for receiving an account purchasing instruction; the account purchasing instruction comprises a specified ticket identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method, or is registered by the business account registration method;
the processing module 1602, which constructs an account purchasing message according to the account purchasing instruction, and signs the account purchasing message through a purchasing block chain account corresponding to the purchasing user node; the account purchase message includes a purchase account identification and the designated ticket identification of the purchase blockchain account;
a broadcasting module 1603, configured to broadcast the account number purchase message to the blockchain network, so that each user node that obtains the account number purchase message deducts a sale amount corresponding to the specified ticket identifier from the purchase blockchain account based on the smart contract after determining that the account number purchase message passes signature verification, adds the sale amount to a sale blockchain account of a sale account identifier corresponding to the specified ticket identifier, removes a corresponding relationship between the specified ticket identifier, the sale amount, and the contract identifier, removes the corresponding relationship between the specified ticket identifier and the sale account identifier, establishes a corresponding relationship between the specified ticket identifier and the purchase account identifier, and issues the account number purchase message to a blockchain;
the corresponding relation among the appointed ticket identification, the sale amount and the contract identification is established by the business account sale method.
Corresponding to the service account transfer method shown in fig. 6, there is provided a service account transfer device based on a blockchain, as shown in fig. 17, where a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and the device is any user node, and the device includes:
a receiving module 1701 for receiving an account number transfer instruction; the account number transfer instruction comprises a designated ticket identifier and a transferee account identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method, or is registered by the business account registration method;
the processing module 1702 constructs an account number transfer message according to the account number transfer instruction, and signs the account number transfer message through a giving-out block chain account corresponding to the giving-out user node; the account number transfer message comprises a giving-up account identifier, the appointed ticket identifier and the transferee account identifier of the giving-up blockchain account;
a broadcasting module 1703, configured to broadcast the account number transfer message to the blockchain network, so that each user node that obtains the account number transfer message cancels the correspondence between the designated ticket identifier and the giving-up account identifier based on a deployed intelligent contract after determining that the account number transfer message passes signature verification, establishes the correspondence between the designated ticket identifier and the giving-up account identifier, and issues the account number transfer message to a blockchain.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, in one aspect, embodiments of the present disclosure provide a computer device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to implement the method shown in any one of FIGS. 1-6.
Fig. 18 is a schematic structural diagram of a computer device 1800 provided by the present disclosure. For example, the apparatus 1800 may be a user device, which may be embodied as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, a smart band, a smart running shoe, and the like.
Referring to fig. 18, the apparatus 1800 may include one or more of the following components: processing component 1802, memory 1804, power component 1806, multimedia component 1808, audio component 1810, input/output (I/O) interface 1812, sensor component 1814, and communications component 1816.
The processing component 1802 generally controls the overall operation of the device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 may include one or more processors 1820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1802 may include one or more modules that facilitate interaction between the processing component 1802 and other components. For example, the processing component 1802 can include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802.
The memory 1804 is configured to store various types of data to support operation at the device 1800. Examples of such data include instructions for any application or method operating on the device 1800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1804 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1806 provides power to the various components of the device 1800. The power components 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1800.
The multimedia component 1808 includes a screen providing an output interface between the apparatus 1800 and a user as described above. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when the device 1800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1800 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1804 or transmitted via the communication component 1816. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
I/O interface 1812 provides an interface between processing component 1802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1814 includes one or more sensors for providing various aspects of state assessment for the apparatus 1800. For example, the sensor assembly 1814 may detect an open/closed state of the device 1800, the relative positioning of components such as the display and keypad of the apparatus 1800, a change in position of the apparatus 1800 or a component of the apparatus 1800, the presence or absence of user contact with the apparatus 1800, an orientation or acceleration/deceleration of the apparatus 151800, and a change in temperature of the apparatus 1800. Sensor assembly 1814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1816 is configured to facilitate communications between the apparatus 1800 and other devices in a wired or wireless manner. The apparatus 1800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 1816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1804 including instructions that, when executed by the processor 1820 of the apparatus 1800, enable the apparatus 1800 to perform the method of any of FIGS. 1-6, is also provided.
The non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
As shown in fig. 19, fig. 19 is a schematic diagram illustrating a structure of an apparatus 1900 according to an exemplary embodiment. For example, the apparatus 1900 may be provided as an application server. Referring to fig. 19, the apparatus 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1919, for storing instructions, e.g., applications, executable by the processing component 1922. The applications stored in memory 1919 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method of transmitting information.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in the storage 1919, such as Android, iOS, Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM, FreeBSDTMOr the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 1919 that includes instructions, that are executable by the processing component 1922 of the apparatus 1900 to perform the method described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the instructions in the memory 1919, when executed by the processing component 1922, enable the apparatus 1900 to perform a method of transmitting information comprising:
other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (36)

1. A service account registration method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account number ticket correlation logic is deployed on the user node, and the method comprises the following steps:
a target user node receives an account registration instruction;
the target user node constructs an account registration message according to the account registration instruction, and signs the account registration message through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
the target user node broadcasts the account registration message to the blockchain network;
for each user node obtaining the account registration message, after determining that the account registration message passes signature verification, the user node generates an account ticket based on a deployed intelligent contract and establishes a corresponding relation between a ticket identifier of the account ticket and the account identifier;
the user node issues the account registration message to a block chain;
and after acquiring the ticket identification from the block chain network, the service server creates a service account and establishes a corresponding relationship between the service account and the ticket identification.
2. The method of claim 1, wherein for each user node, more than one intelligent contract is deployed on the user node for performing account ticket-related logic; contract identifications of more than one intelligent contract deployed on the user node correspond to more than one server identification one by one;
the method for receiving the account registration instruction by the target user node specifically comprises the following steps:
a target user node receives an account registration instruction containing a target server identifier;
the target user node constructs an account registration message according to the account registration instruction, and the method specifically comprises the following steps:
the target user node determines a contract identifier corresponding to the target server identifier according to the target server identifier contained in the account registration instruction, and the contract identifier is used as a target contract identifier;
the target user node constructs an account registration message; the account registration message contains an account identifier of a target block chain account corresponding to the target user node and the target contract identifier;
generating a target account number ticket based on a deployed intelligent contract, and establishing a corresponding relation between a ticket identifier of the account number ticket and the account identifier, wherein the method specifically comprises the following steps:
generating an account number ticket based on the intelligent contract corresponding to the target contract identification, and establishing a corresponding relation between the account number ticket and the account identification;
the obtaining, by the service server, the ticket identifier from the blockchain network specifically includes:
and when the service server corresponding to the target server identification monitors that the account number ticket is generated by the intelligent contract corresponding to the target contract identification, acquiring the ticket identification from the block chain network.
3. A service account registration method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account number ticket correlation logic is deployed on the user node, and the method comprises the following steps:
a target user node receives an account registration instruction; the account registration instruction comprises a service account;
the target user node constructs an account registration message according to the account registration instruction, and signs the account registration message through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
the target user node broadcasts the account registration message to the blockchain network;
for each user node obtaining the account registration message, after determining that the account registration message passes signature verification, the user node generates an account ticket based on a deployed intelligent contract and establishes a corresponding relation between a ticket identifier of the account ticket and the account identifier;
the user node issues the account registration message to a block chain;
the target user node sends the ticket identification and the business account to a business server;
and the business server establishes a corresponding relation between the business account and the ticket identification.
4. The method of claim 3, wherein for each user node, more than one intelligent contract is deployed on the user node for performing account ticket-related logic; contract identifications of more than one intelligent contract deployed on the user node correspond to more than one server identification one by one;
the account registration instruction comprises a target server identifier and a service account registered on a service server corresponding to the target server identifier;
the target user node constructs an account registration message according to the account registration instruction, and specifically comprises the following steps:
the target user node determines a contract identifier corresponding to the target server identifier according to the target server identifier contained in the account registration instruction, and the contract identifier is used as a target contract identifier;
the target user node constructs an account registration message; the account registration message contains an account identifier of a target block chain account corresponding to the target user node and the target contract identifier;
generating a target account number ticket based on a deployed intelligent contract, and establishing a corresponding relation between a ticket identifier of the account number ticket and the account identifier, wherein the method specifically comprises the following steps:
generating an account number ticket based on the intelligent contract corresponding to the target contract identification, and establishing a corresponding relation between the ticket identification of the account number ticket and the account identification;
the target user node sends the ticket identifier and the service account to a service server, and specifically includes:
and the target user node sends the ticket identification and the business account number to a business server corresponding to the target server identification.
5. A service account login method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and the method comprises the following steps:
a target user node receives an account login instruction;
the target user node constructs an account login request according to the account login instruction, and signs the account login request through a target block chain account corresponding to the target user node; the account login instruction comprises an account identifier of the target blockchain account;
the target user node sends the account login request to a service server;
after determining that the account login request passes signature verification, the service server queries a ticket identifier corresponding to the account identifier from the blockchain network according to the account login request;
the business server determines a business account corresponding to the inquired ticket identification and logs in the business account;
the business account is registered by the business account registration method of any one of claims 1 to 2, or the business account is registered by the business account registration method of any one of claims 3 to 4.
6. The method of claim 5, wherein the receiving, by the target user node, the account login instruction specifically comprises:
a target user node receives an account login instruction containing a target server identifier;
the target user node sends the account login request to a service server, and the method specifically includes:
and the target user node sends the account login request to a service server corresponding to the target server identifier.
7. A block chain-based business account selling method is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account transaction related logic is deployed on the user node, and the method comprises the following steps:
the selling user node receives an account selling instruction; the account selling instruction comprises a designated ticket identification and a selling amount; the account number ticket corresponding to the appointed ticket identification is an account number ticket corresponding to a selling account identification, and the selling account identification is the account identification of a selling user account corresponding to the selling user node; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
the selling user node constructs an account selling message according to the account selling instruction, and signs the account selling message through the selling block chain account; the account number selling message comprises the selling account identification, the appointed ticket identification and the selling amount;
the selling user node broadcasts the account selling message to the block chain network;
for each user node obtaining the account selling message, after determining that the account selling message passes signature verification, the user node establishes a corresponding relation among the designated ticket identification, the selling amount and the contract identification of the intelligent contract based on a deployed intelligent contract;
the user node issues the account selling message to a blockchain.
8. The method of claim 7, wherein the method further comprises:
the selling user node receives a sale canceling instruction; the revocation sale instruction includes the designated ticket identification;
the selling user node constructs a canceling selling message according to the canceling selling instruction, and signs the canceling selling message through a selling block chain account corresponding to the selling user node; the account number selling message comprises a selling account identifier and the designated ticket identifier of the selling blockchain account;
the selling user node broadcasting the revoke selling message to the blockchain network;
for each user node obtaining the revocation sale message, after determining that the revocation sale message passes signature verification, the user node releases the corresponding relation among the designated ticket identification, the sale amount and the contract identification of the intelligent contract based on the deployed intelligent contract;
the user node issues the sell revoke message to a blockchain.
9. A method for purchasing a business account based on a blockchain, wherein a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, and the method includes:
a purchasing user node receives an account purchasing instruction; the account purchasing instruction comprises a specified ticket identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
the purchasing user node constructs an account purchasing message according to an account purchasing instruction, and signs the account purchasing message through a purchasing block chain account corresponding to the purchasing user node; the account purchase message includes a purchase account identification and the designated ticket identification of the purchase blockchain account;
the purchasing user node broadcasts the account purchasing message to the block chain network;
for each user node obtaining the account number purchasing information, after determining that the account number purchasing information passes signature verification, the user node deducts the selling amount corresponding to the appointed ticket identification from the purchasing block chain account based on the intelligent contract, and adds the selling amount to the selling block chain account of the selling account identification corresponding to the appointed ticket identification; the corresponding relation among the designated ticket identification, the sale amount and the contract identification is established by the business account sale method of claim 7;
the user node removes the corresponding relation among the appointed ticket identification, the sale amount and the contract identification, removes the corresponding relation between the appointed ticket identification and the sale account identification and establishes the corresponding relation between the appointed ticket identification and the purchase account identification based on the deployed intelligent contract;
the user node issues the account purchase message to a blockchain.
10. A service account number transfer method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and the method comprises the following steps:
giving a user node to receive an account number transfer instruction; the account number transfer instruction comprises a designated ticket identifier and a transferee account identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
the giving-out user node constructs an account number transfer message according to the account number transfer instruction, and signs the account number transfer message through a giving-out block chain account corresponding to the giving-out user node; the account number transfer message comprises a giving-up account identifier, the appointed ticket identifier and the transferee account identifier of the giving-up blockchain account;
the giving-out user node broadcasts the account number transfer message to the blockchain network;
for each user node obtaining the account number transfer message, after determining that the account number transfer message passes signature verification, the user node relieves the corresponding relation between the designated ticket identification and the giving-up account identification based on a deployed intelligent contract, and establishes the corresponding relation between the designated ticket identification and the given account identification;
and the user node issues the account number transfer message to a block chain.
11. A service account registration system based on a block chain is characterized by comprising a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account number ticket related logic;
the target user node receives an account registration instruction; according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node, wherein the account registration message contains an account identifier of the target block chain account; broadcasting the account registration message to the blockchain network;
each user node of the account registration message is obtained, after the account registration message is confirmed to pass signature verification, an account ticket is generated based on a deployed intelligent contract, and the corresponding relation between the ticket identification of the account ticket and the account identification is established; and issuing the account registration message to a block chain;
and the business server acquires the ticket identification from the block chain network, creates a business account and establishes a corresponding relation between the business account and the ticket identification.
12. A service account registration system based on a block chain is characterized by comprising a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account number ticket related logic;
the target user node receives an account registration instruction, wherein the account registration instruction comprises a service account; according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node, wherein the account registration message contains an account identifier of the target block chain account; broadcasting the account registration message to the blockchain network: and sending the business account and the ticket identification of the generated account ticket to the business server;
each user node of the account registration message is obtained, after the account registration message is confirmed to pass signature verification, an account ticket is generated based on a deployed intelligent contract, and the corresponding relation between the ticket identification of the account ticket and the account identification is established; issuing the account registration message to a block chain;
and the business server establishes the corresponding relation between the business account and the ticket identification.
13. A service account login system based on a block chain is characterized by comprising a service server and a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts;
the target user node receives an account login instruction; according to the account login instruction, an account login request is constructed, the account login request is signed through a target block chain account corresponding to the target user node, and the account login instruction comprises an account identifier of the target block chain account; sending the account login request to the service server;
the business server inquires a ticket identifier corresponding to the account identifier from the block chain network according to the account login request after the account login request is confirmed to pass signature verification; determining a business account corresponding to the inquired ticket identification, and logging in the business account;
the business account is registered by the business account registration method of any one of claims 1 to 2, or the business account is registered by the business account registration method of any one of claims 3 to 4.
14. A block chain-based business account selling system is characterized by comprising a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account transaction related logic;
a selling user node, which receives an account selling instruction, wherein the account selling instruction comprises a designated ticket identifier and a selling amount, the account ticket corresponding to the designated ticket identifier is the account ticket corresponding to a selling account identifier, the selling account identifier is the account identifier of a selling user account corresponding to the selling user node, and a service account corresponding to the designated ticket identifier is registered by the service account registration method according to any one of claims 1 to 2, or is registered by the service account registration method according to any one of claims 3 to 4; constructing an account number selling message according to the account number selling instruction, and signing the account number selling message through the selling block chain account, wherein the account number selling message comprises a selling account identifier, the appointed ticket identifier and the selling amount; broadcasting the account sale message to the blockchain network;
obtaining each user node of the account selling message, and after determining that the account selling message passes signature verification, establishing a corresponding relation among the designated ticket identification, the selling amount and the contract identification of the intelligent contract based on a deployed intelligent contract; and issuing the account selling message to a blockchain.
15. A service account number purchasing system based on a block chain is characterized by comprising a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts; for each user node, deploying an intelligent contract on the user node for executing account transaction related logic;
a purchasing user node, which receives an account purchasing instruction, wherein the account purchasing instruction comprises a designated ticket identifier, and a business account corresponding to the designated ticket identifier is registered by the business account registration method of any one of claims 1 to 2, or is registered by the business account registration method of any one of claims 3 to 4; according to an account purchasing instruction, an account purchasing message is constructed, and the account purchasing message is signed through a purchasing block chain account corresponding to the purchasing user node, wherein the account purchasing message comprises a purchasing account identifier of the purchasing block chain account and the designated ticket identifier; broadcasting the account purchase message to the blockchain network;
each user node obtaining the account purchasing information, after determining that the account purchasing information passes signature verification, deducting a selling amount corresponding to the specified ticket identification from the purchasing blockchain account based on the intelligent contract, and adding the selling amount to a selling blockchain account of the selling account identification corresponding to the specified ticket identification, wherein the corresponding relationship among the specified ticket identification, the selling amount and the contract identification is established by the business account selling method of claim 7; based on the deployed intelligent contract, releasing the corresponding relation among the designated ticket identification, the selling amount and the contract identification, releasing the corresponding relation between the designated ticket identification and the selling account identification, and establishing the corresponding relation between the designated ticket identification and the purchasing account identification; and issuing the account number purchase message to a blockchain.
16. A service account number transfer system based on a block chain is characterized by comprising a block chain network;
the blockchain network comprises a plurality of user nodes, and the user nodes are in one-to-one correspondence with a plurality of blockchain accounts;
the system comprises a giving-out user node and a service account registration method, wherein the giving-out user node receives an account transfer instruction, the account transfer instruction comprises a given account identifier and a specified ticket identifier, and a service account corresponding to the specified ticket identifier is registered by the service account registration method according to any one of claims 1-2, or is registered by the service account registration method according to any one of claims 3-4; according to an account number transfer instruction, an account number transfer message is constructed, and the account number transfer message is signed through a giving-out block chain account corresponding to the giving-out user node, wherein the account number transfer message comprises a giving-out account identifier, an appointed ticket identifier and an assigned account identifier of the giving-out block chain account; broadcasting the account number transfer message to the blockchain network;
each user node of the account number transfer message is obtained, after the account number transfer message is confirmed to pass signature verification, the corresponding relation between the appointed ticket identification and the giving-out account identification is released based on a deployed intelligent contract, and the corresponding relation between the appointed ticket identification and the given account contract identification is established; and issuing the account number transfer message to a block chain.
17. A service account registration method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account number ticket correlation logic is deployed on the user node, and the method comprises the following steps:
a target user node receives an account registration instruction;
according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
broadcasting the account registration message to the blockchain network so that each user node obtaining the account registration message generates an account ticket based on a deployed intelligent contract after determining that the account registration message passes signature verification, establishing a corresponding relation between a ticket identifier of the account ticket and the account identifier, issuing the account registration message to a blockchain, further enabling a service server to establish a service account after obtaining the ticket identifier from the blockchain network, and establishing a corresponding relation between the service account and the ticket identifier.
18. A service account registration method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account number ticket correlation logic is deployed on the user node, and the method comprises the following steps:
after acquiring the ticket identification from the block chain network, the service server creates a service account and establishes a corresponding relationship between the service account and the ticket identification;
the account right is generated by a user node which obtains an account registration message based on a deployed intelligent contract after a target user node constructs the account registration message according to a received account registration instruction, signs the account registration message through a target block chain account corresponding to the target user node and broadcasts the signed account registration message to a block chain network.
19. A service account registration method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account number ticket correlation logic is deployed on the user node, and the method comprises the following steps:
a target user node receives an account registration instruction; the account registration instruction comprises a service account;
according to the account registration instruction, an account registration message is constructed, and the account registration message is signed through a target block chain account corresponding to the target user node; the account registration message contains an account identifier of the target blockchain account;
broadcasting the account registration message to the blockchain network so that each user node obtaining the account registration message generates an account ticket based on a deployed intelligent contract after determining that the account registration message passes signature verification, establishes a corresponding relation between a ticket identifier of the account ticket and the account identifier, and issues the account registration message to a blockchain;
and sending the ticket identification and the service account number to a service server so that the service server establishes a corresponding relationship between the service account number and the ticket identification.
20. A service account registration method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account number ticket correlation logic is deployed on the user node, and the method comprises the following steps:
the service server receives a ticket identification and a service account sent by a target user node;
establishing a corresponding relation between the business account and the ticket identification;
the account ticket corresponding to the ticket identifier is generated by the user node which obtains the account registration message based on a deployed intelligent contract after the target user node constructs an account registration message according to the received account registration instruction, signs the account registration message through a target block chain account corresponding to the target user node and broadcasts the signed account registration message to a block chain network.
21. A service account login method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and the method comprises the following steps:
a target user node receives an account login instruction;
according to the account login instruction, an account login request is constructed, and the account login request is signed through a target block chain account corresponding to the target user node; the account login instruction comprises an account identifier of the target blockchain account;
sending the account login request to a service server, so that the service server inquires a ticket identifier corresponding to the account identifier from the blockchain network according to the account login request after determining that the account login request passes signature verification, further determining a service account corresponding to the inquired ticket identifier, and logging in the service account;
the business account is registered by the business account registration method of any one of claims 1 to 2, or the business account is registered by the business account registration method of any one of claims 3 to 4.
22. A service account login method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and the method comprises the following steps:
a service server receives an account login request sent by a target user node; the account login request is constructed by the target user node according to the received account login instruction; the account login request is signed by the target user node through a target block chain account corresponding to the target user node;
after the account login request is confirmed to pass signature verification, inquiring a ticket identifier corresponding to the account identifier from the block chain network according to the account login request;
determining a business account corresponding to the inquired ticket identification, and logging in the business account;
the business account is registered by the business account registration method of any one of claims 1 to 2, or the business account is registered by the business account registration method of any one of claims 3 to 4.
23. A block chain-based business account selling method is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and for each user node, an intelligent contract used for executing account transaction related logic is deployed on the user node, and the method comprises the following steps:
the selling user node receives an account selling instruction; the account selling instruction comprises a designated ticket identification and a selling amount; the account number ticket corresponding to the appointed ticket identification is an account number ticket corresponding to a selling account identification, and the selling account identification is the account identification of a selling user account corresponding to the selling user node; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
constructing an account number selling message according to the account number selling instruction, and signing the account number selling message through the selling block chain account; the account number selling message comprises the selling account identification, the appointed ticket identification and the selling amount;
broadcasting the account selling message to the block chain network so that each user node obtaining the account selling message establishes a corresponding relation among the designated right identification, the selling amount and the contract identification of the intelligent contract based on a deployed intelligent contract after determining that the account selling message passes signature verification, and issuing the account selling message to a block chain.
24. A method for purchasing a business account based on a blockchain, wherein a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, and the method includes:
a purchasing user node receives an account purchasing instruction; the account purchasing instruction comprises a specified ticket identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
according to an account purchasing instruction, an account purchasing message is constructed, and the account purchasing message is signed through a purchasing block chain account corresponding to the purchasing user node; the account purchase message includes a purchase account identification and the designated ticket identification of the purchase blockchain account;
broadcasting the account number purchasing message to the blockchain network so that each user node obtaining the account number purchasing message deducts a selling amount corresponding to the appointed ticket identification from the purchasing blockchain account based on the intelligent contract after determining that the account number purchasing message passes signature verification, adds the selling amount to a selling blockchain account of the selling account identification corresponding to the appointed ticket identification, removes the corresponding relation among the appointed ticket identification, the selling amount and the contract identification, removes the corresponding relation between the appointed ticket identification and the selling account identification, establishes the corresponding relation between the appointed ticket identification and the purchasing account identification, and issues the account number purchasing message to a blockchain;
wherein, the corresponding relation among the appointed ticket identification, the sale amount and the contract identification is established by the business account sale method of claim 7.
25. A service account number transfer method based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, and the method comprises the following steps:
giving a user node to receive an account number transfer instruction; the account number transfer instruction comprises a designated ticket identifier and a transferee account identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
according to the account number transfer instruction, an account number transfer message is constructed, and the account number transfer message is signed through a giving-out block chain account corresponding to the giving-out user node; the account number transfer message comprises a giving-up account identifier, the appointed ticket identifier and the transferee account identifier of the giving-up blockchain account;
broadcasting the account number transfer message to the blockchain network so that each user node obtaining the account number transfer message can release the corresponding relation between the appointed ticket identification and the giving-out account identification based on a deployed intelligent contract after determining that the account number transfer message passes signature verification, establishing the corresponding relation between the appointed ticket identification and the given account identification, and issuing the account number transfer message to a blockchain.
26. A service account registration device based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, for each user node, an intelligent contract used for executing account number ticket related logic is deployed on the user node, the device is any user node, and the device comprises:
the receiving module receives an account registration instruction;
the processing module is used for constructing an account registration message according to the account registration instruction and signing the account registration message through a target block chain account corresponding to a target user node; the account registration message contains an account identifier of the target blockchain account;
the broadcasting module is used for broadcasting the account registration message to the block chain network so as to enable each user node obtaining the account registration message to generate an account ticket based on a deployed intelligent contract after the account registration message is confirmed to pass signature verification, establishing a corresponding relation between a ticket identifier of the account ticket and the account identifier, issuing the account registration message to the block chain, enabling a service server to establish a service account after acquiring the ticket identifier from the block chain network, and establishing the corresponding relation between the service account and the ticket identifier.
27. A service account registration apparatus based on a blockchain, wherein a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing account ticket related logic is deployed on the user node, the apparatus includes:
the processing module is used for establishing a business account and establishing a corresponding relation between the business account and the ticket identification after the business server acquires the ticket identification from the block chain network;
the account right is generated by a user node which obtains an account registration message based on a deployed intelligent contract after a target user node constructs the account registration message according to a received account registration instruction, signs the account registration message through a target block chain account corresponding to the target user node and broadcasts the signed account registration message to a block chain network.
28. A service account registration apparatus based on a blockchain, wherein a blockchain network includes a plurality of user nodes, the plurality of user nodes correspond to a plurality of blockchain accounts one-to-one, and for each user node, an intelligent contract for executing account ticket related logic is deployed on the user node, the apparatus is any user node, and the apparatus includes:
the receiving module receives an account registration instruction; the account registration instruction comprises a service account;
the processing module is used for constructing an account registration message according to the account registration instruction and signing the account registration message through a target block chain account corresponding to a target user node; the account registration message contains an account identifier of the target blockchain account;
the broadcast module is used for broadcasting the account registration message to the block chain network so as to enable each user node obtaining the account registration message to generate an account ticket based on a deployed intelligent contract after determining that the account registration message passes signature verification, establishing a corresponding relation between a ticket identifier of the account ticket and the account identifier, and issuing the account registration message to a block chain;
and the sending module is used for sending the ticket identification and the business account number to a business server so that the business server establishes the corresponding relation between the business account number and the ticket identification.
29. A service account registration apparatus based on a blockchain, wherein a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing account ticket related logic is deployed on the user node, the apparatus includes:
the receiving module is used for receiving the ticket identification and the service account sent by the target user node;
the processing module is used for establishing a corresponding relation between the business account and the ticket identification;
the account ticket corresponding to the ticket identifier is generated by the user node which obtains the account registration message based on a deployed intelligent contract after the target user node constructs an account registration message according to the received account registration instruction, signs the account registration message through a target block chain account corresponding to the target user node and broadcasts the signed account registration message to a block chain network.
30. A service account login device based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes are in one-to-one correspondence with a plurality of block chain accounts, the device is any user node, and the device comprises:
the receiving module receives an account login instruction;
the processing module is used for constructing an account login request according to the account login instruction and signing the account login request through a target block chain account corresponding to a target user node; the account login instruction comprises an account identifier of the target blockchain account;
the sending module is used for sending the account login request to a service server so that the service server inquires a ticket identifier corresponding to the account identifier from the block chain network according to the account login request after the account login request is confirmed to pass signature verification, further confirms a service account corresponding to the inquired ticket identifier and logs in the service account;
the business account is registered by the business account registration method of any one of claims 1 to 2, or the business account is registered by the business account registration method of any one of claims 3 to 4.
31. A service account login device based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes are in one-to-one correspondence with a plurality of block chain accounts, and the device comprises:
the receiving module is used for receiving an account login request sent by a target user node; the account login request is constructed by the target user node according to the received account login instruction; the account login request is signed by the target user node through a target block chain account corresponding to the target user node;
the query module is used for querying a ticket identifier corresponding to the account identifier from the blockchain network according to the account login request after the account login request is confirmed to pass signature verification;
the processing module is used for determining the business account corresponding to the inquired ticket identification and logging in the business account;
the business account is registered by the business account registration method of any one of claims 1 to 2, or the business account is registered by the business account registration method of any one of claims 3 to 4.
32. A block chain-based business account selling apparatus, wherein a block chain network includes a plurality of user nodes, the plurality of user nodes correspond to a plurality of block chain accounts one-to-one, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, and the apparatus is any user node, and the apparatus includes:
the receiving module receives an account number selling instruction; the account selling instruction comprises a designated ticket identification and a selling amount; the account number ticket corresponding to the appointed ticket identification is an account number ticket corresponding to a selling account identification, and the selling account identification is the account identification of a selling user account corresponding to the selling user node; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
the processing module is used for constructing an account number selling message according to the account number selling instruction and signing the account number selling message through the selling block chain account; the account number selling message comprises the selling account identification, the appointed ticket identification and the selling amount;
and the broadcasting module is used for broadcasting the account selling message to the block chain network so as to enable each user node obtaining the account selling message to establish a corresponding relation among the specified ticket identification, the selling amount and the contract identification of the intelligent contract based on a deployed intelligent contract after the account selling message is confirmed to pass signature verification, and then issuing the account selling message to the block chain.
33. A device for purchasing a business account based on a blockchain, wherein a blockchain network includes a plurality of user nodes, the plurality of user nodes are in one-to-one correspondence with a plurality of blockchain accounts, and for each user node, an intelligent contract for executing logic related to account transaction is deployed on the user node, the device is any user node, and the device includes:
the receiving module receives an account purchasing instruction; the account purchasing instruction comprises a specified ticket identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
the processing module is used for constructing an account purchasing message according to an account purchasing instruction and signing the account purchasing message through a purchasing block chain account corresponding to the purchasing user node; the account purchase message includes a purchase account identification and the designated ticket identification of the purchase blockchain account;
a broadcasting module, configured to broadcast the account number purchase message to the blockchain network, so that each user node that obtains the account number purchase message deducts a sale amount corresponding to the specified ticket identifier from the purchase blockchain account based on the intelligent contract after determining that the account number purchase message passes signature verification, adds the sale amount to a sale blockchain account of a sale account identifier corresponding to the specified ticket identifier, removes a correspondence between the specified ticket identifier, the sale amount, and the contract identifier, removes a correspondence between the specified ticket identifier and the sale account identifier, establishes a correspondence between the specified ticket identifier and the purchase account identifier, and issues the account number purchase message to a blockchain;
wherein, the corresponding relation among the appointed ticket identification, the sale amount and the contract identification is established by the business account sale method of claim 7.
34. A service account number transfer device based on a block chain is characterized in that a block chain network comprises a plurality of user nodes, the user nodes correspond to a plurality of block chain accounts one by one, the device is any user node, and the device comprises:
the receiving module is used for receiving an account number transfer instruction; the account number transfer instruction comprises a designated ticket identifier and a transferee account identifier; the business account corresponding to the designated ticket identification is registered by the business account registration method of any one of claims 1 to 2, or by the business account registration method of any one of claims 3 to 4;
the processing module is used for constructing an account number transfer message according to the account number transfer instruction and signing the account number transfer message through a giving-out block chain account corresponding to a giving-out user node; the account number transfer message comprises a giving-up account identifier, the appointed ticket identifier and the transferee account identifier of the giving-up blockchain account;
and the broadcasting module is used for broadcasting the account number transfer message to the blockchain network so as to enable each user node obtaining the account number transfer message to release the corresponding relation between the appointed ticket identification and the yielding account identification based on a deployed intelligent contract after the account number transfer message is confirmed to pass signature verification, establish the corresponding relation between the appointed ticket identification and the yielding account identification and issue the account number transfer message to a blockchain.
35. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the steps of the method of any of claims 1-10, 17-25.
36. An apparatus for transmitting information, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps of the method of any one of claims 26 to 34.
CN201811386666.XA 2018-11-20 2018-11-20 Business account management method and system based on block chain Active CN109617861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811386666.XA CN109617861B (en) 2018-11-20 2018-11-20 Business account management method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811386666.XA CN109617861B (en) 2018-11-20 2018-11-20 Business account management method and system based on block chain

Publications (2)

Publication Number Publication Date
CN109617861A CN109617861A (en) 2019-04-12
CN109617861B true CN109617861B (en) 2021-07-23

Family

ID=66004252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811386666.XA Active CN109617861B (en) 2018-11-20 2018-11-20 Business account management method and system based on block chain

Country Status (1)

Country Link
CN (1) CN109617861B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175915B (en) * 2019-04-23 2021-04-06 创新先进技术有限公司 Service execution result obtaining method and system based on block chain
CN110163608A (en) * 2019-05-27 2019-08-23 北京亿生生网络科技有限公司 A kind of organization number registration management method, system and storage medium based on block chain
CN110598456B (en) * 2019-09-24 2021-04-30 腾讯科技(深圳)有限公司 Data storage method and device, electronic equipment and storage medium
CN112001800B (en) * 2020-10-28 2024-04-16 支付宝(杭州)信息技术有限公司 Method and device for processing business in block chain system
CN112732730B (en) * 2020-12-29 2023-06-16 中国联合网络通信集团有限公司 Block chain-based card data updating method, system and provider platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system
CN107066893A (en) * 2017-02-28 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of accounts information in block chain
CN107077675A (en) * 2016-12-30 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain based currency management method and system
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium
CN107248074A (en) * 2017-03-29 2017-10-13 阿里巴巴集团控股有限公司 A kind of method for processing business and equipment based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170132615A1 (en) * 2015-11-11 2017-05-11 Bank Of America Corporation Block chain alias for person-to-person payments
US20170178127A1 (en) * 2015-12-18 2017-06-22 International Business Machines Corporation Proxy system mediated legacy transactions using multi-tenant transaction database
US10679215B2 (en) * 2016-02-22 2020-06-09 Bank Of America Corporation System for control of device identity and usage in a process data network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system
CN107077675A (en) * 2016-12-30 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain based currency management method and system
CN107066893A (en) * 2017-02-28 2017-08-18 腾讯科技(深圳)有限公司 The treating method and apparatus of accounts information in block chain
CN107248074A (en) * 2017-03-29 2017-10-13 阿里巴巴集团控股有限公司 A kind of method for processing business and equipment based on block chain
CN107220820A (en) * 2017-05-16 2017-09-29 腾讯科技(深圳)有限公司 Resource transfers method, device and storage medium

Also Published As

Publication number Publication date
CN109617861A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN109617861B (en) Business account management method and system based on block chain
CN108614878B (en) Protocol data management method, device, storage medium and system
WO2014142617A1 (en) Secure mobile payment using media binding
JP6482601B2 (en) Management of secure transactions between electronic devices and service providers
CN111401867A (en) Resource transfer method and device based on block chain, node equipment and storage medium
KR20170046690A (en) Using a wireless beacon to provide access credentials to a secure network
CN112118227A (en) Card binding method and terminal
KR20080106280A (en) Apparatus and methods for incentivized superdistribution of content
CN109146470A (en) Generate the method and device of payment code
CN110597924B (en) Block chain-based user identification processing method, device, equipment and storage medium
CN111599062A (en) Ticket information processing method, device and system
CN111045568A (en) Virtual article processing method, device, equipment and storage medium based on block chain
CN108898388A (en) Method of payment and device
CN112184218A (en) Data processing method and device and data processing device
CN111367993A (en) Data service method and device based on end-to-end
CN117879814A (en) Vehicle key sharing method, device and storage medium
WO2023206543A1 (en) Data preservation method and apparatus, electronic device, and nontransient computer-readable storage medium
CN110287723B (en) Resource information determination method and device, electronic equipment and storage medium
TW201424355A (en) Video playback system allowing multiple mobile communication devices to control the same video decoder and related computer program products
CN114722262A (en) Order information query system, and query method, device and equipment of order information
CN106603229B (en) Signing messages generation method and device
CN115499254B (en) User data processing method, device and system and readable storage medium
CN107294985A (en) Information Authentication method, apparatus and system
CN114247150B (en) Virtual team building method and device, electronic equipment and storage medium
CN112685765B (en) Data quality evaluation method and device for data quality evaluation

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