CN114202329A - Service processing method, device, node equipment and storage medium - Google Patents

Service processing method, device, node equipment and storage medium Download PDF

Info

Publication number
CN114202329A
CN114202329A CN202110121979.8A CN202110121979A CN114202329A CN 114202329 A CN114202329 A CN 114202329A CN 202110121979 A CN202110121979 A CN 202110121979A CN 114202329 A CN114202329 A CN 114202329A
Authority
CN
China
Prior art keywords
account
target
service request
group
target account
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110121979.8A
Other languages
Chinese (zh)
Inventor
付博
李茂材
石巍
孔利
种衍雪
黄业辉
提江伟
崔嘉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110121979.8A priority Critical patent/CN114202329A/en
Publication of CN114202329A publication Critical patent/CN114202329A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/227Payment schemes or models characterised in that multiple accounts are available, e.g. to the payer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

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

Abstract

The embodiment of the invention discloses a service processing method, a device, node equipment and a storage medium, wherein the method comprises the following steps: receiving a service request sent by a target account to a block chain network, wherein the service request carries an address identifier of a target account group to which the target account belongs; acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information is used for indicating each account to carry out authorization verification on the service request; and if the authorization verification of the target number of accounts on the service request is passed in at least one account, executing the service indicated by the service request. By adopting the embodiment of the invention, the execution efficiency of the multi-account cooperation service can be improved.

Description

Service processing method, device, node equipment and storage medium
The present application is a divisional application of a chinese patent application filed on 18/9/2020 of china patent office under application number 2020109828639 entitled "service processing method, device, node device, and storage medium", and the entire contents of the application are incorporated by application in the present application.
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a service processing method and apparatus, a node device, and a storage medium.
Background
As blockchain technology evolves, blockchains are used by more and more enterprises and users. In using the blockchain, a user or an enterprise needs to register an account in the blockchain, and then a service request issued by the user or the enterprise to the blockchain network can be regarded as that the corresponding account is submitted to the blockchain network.
The process of the blockchain network executing the service request submitted by the user is as follows: after receiving a service request submitted by any account, storing the service request into a transaction pool; when an instruction for generating a new block is detected, selecting data including the service request from a transaction pool and packaging the data into the new block; broadcasting the new block to a consensus node in a block chain network, and performing consensus by the consensus node; after the consensus passes, a new block is added to the blockchain and the service indicated by the service request, such as a transfer service, is performed.
It can be seen that once a user submits a transaction to the blockchain network, the blockchain network performs the above process, and this may cause the transaction processing process to be repeated in some blockchain services, resulting in some unnecessary power consumption overhead. For example, in a service in which a plurality of accounts transfer to one account, for example, user a and user B transfer to user C, user a and user B submit transaction requests to the blockchain network respectively, and the blockchain network processes the requests of user a and user B respectively according to the above process, so as to transfer data resources in the accounts of user a and user B to user C. In summary, how to effectively perform service processing in a blockchain network becomes a hot issue of research.
Disclosure of Invention
The embodiment of the invention provides a service processing method, a service processing device, node equipment and a storage medium, which enrich service processing modes and further save the power consumption overhead of service processing.
In one aspect, an embodiment of the present invention provides a service method, including:
receiving a service request sent by a target account to a block chain network, wherein the service request carries an address identifier of a target account group to which the target account belongs;
acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information is used for indicating each account to perform authorization verification on the service request;
and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
In one aspect, an embodiment of the present invention provides a service processing apparatus, including:
a receiving unit, configured to receive a service request sent by a target account to a blockchain network, where the service request carries an address identifier of a target account group to which the target account belongs;
an obtaining unit, configured to obtain at least one account related to the service request in the target account group according to the address identifier;
a sending unit, configured to send notification information of authorization verification to each account of the at least one account, where the notification information is used to instruct each account to perform authorization verification on the service request;
and the execution unit is used for executing the service indicated by the service request if the authorization verification of the target number of accounts on the service request is passed in the at least one account.
In one embodiment, the blockchain network includes a to-be-authorized transaction pool and a to-be-executed transaction pool; after receiving the service request, storing the service request to the transaction pool to be authorized; and after the authorization verification of the target number of accounts on the service request is completed in the at least one account, the service request is transferred from the transaction pool to be authorized to the transaction pool to be executed before the service indicated by the service request is executed.
In one embodiment, when executing the service indicated by the service request, the execution unit executes the following steps: selecting at least one service from the transaction pool to be executed, wherein the at least one service comprises the service indicated by the service request; packaging the at least one service into a target block to be verified, and informing a consensus node in the block chain network to verify the target block to be verified; and if the target block to be verified is verified, executing the service indicated by the service request, and connecting the target block to a block chain.
In one embodiment, the service processing apparatus further includes a processing unit:
the receiving unit is further configured to receive an account group creation request submitted by the target account, where the account group creation request includes at least one account identifier;
and the processing unit is used for forming a target account group by the target account and the account indicated by each account identifier in the at least one account identifier after the account group creation request is verified, and allocating a target address identifier to the target account group.
In an embodiment, the target account is an account having an administrative right to the target account group, and the processing unit is further configured to set the account having the administrative right to the target account group as the target account.
In one embodiment, the receiving unit is further configured to receive a management authority transfer request sent by the target account; and the processing unit is further configured to update the account with the management authority from the target account to the account indicated by the management authority transfer request after the management authority transfer request is verified.
In one embodiment, the receiving unit is further configured to receive an intra-group account update request submitted by the target account, where the intra-group account update request is used to indicate that a new account is added to the target account group, or that an existing account in the target account group is deleted; and the processing unit is further configured to update the accounts included in the target account group according to the intra-group account update request after the intra-group account update request is verified.
In one embodiment, when the target account and the account indicated by the at least one account identifier are grouped into a target account group, the processing unit performs the following steps:
sending a creation notification to the account indicated by each account identifier of the at least one account identifier; and forming a target account group by the account with the confirmation instruction input to the creating notification and the target account from the accounts indicated by each account identification.
In an embodiment, the service indicated by the service request includes a data resource transfer-out service, the service request carries a transfer-out party account identifier of the data resource transfer-out service, the at least one account is an account in the target account group that matches the transfer-out party account identifier, and the target number is a total number of accounts of the at least one account.
In an embodiment, the service indicated by the service request includes a multi-account collaboration service, the at least one account refers to each account included in the target account group, and the target number is determined according to an account number proportion threshold corresponding to the multi-account collaboration service and a total number of accounts of the at least one account.
In one aspect, an embodiment of the present invention provides a node device, where the node device includes: a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
receiving a service request sent by a target account to a block chain network, wherein the service request carries an address identifier of a target account group to which the target account belongs;
acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information is used for indicating each account to perform authorization verification on the service request;
and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
In one aspect, an embodiment of the present invention provides a computer storage medium, where computer program instructions are stored in the computer storage medium, and when executed by a processor, the computer program instructions are configured to perform the following steps:
receiving a service request sent by a target account to a block chain network, wherein the service request carries an address identifier of a target account group to which the target account belongs;
acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information is used for indicating each account to perform authorization verification on the service request;
and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
In the embodiment of the invention, a block chain network receives a service request sent by a target account, acquires at least one account related to the service request in a target account group to which the target account belongs according to an address identifier carried in the service request, and then sends notification information for performing authorization verification on the service request to each account in the at least one account; and if the authorization verification of the target number of accounts on the service request is passed in at least one account, executing the service indicated by the service request. It can be seen that, in the service processing process, the service request submitted to the blockchain network is sent by one member account of the target accounts, and after the blockchain network receives the service request, the blockchain network does not directly execute the service request, but executes the service indicated by the service request only after the service request is verified by the target number of accounts in at least one account related to the service request in the target account group. The service request is executed through the authorization of a plurality of accounts, and the service processing modes in the blockchain network are enriched, so that the multi-account cooperation service in the blockchain network can be optimized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a relationship between an account and a smart contract provided by an embodiment of the invention;
fig. 2 is a schematic structural diagram of a blockchain network according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service processing system according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a service processing method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of another service processing method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a service processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a node device according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The blockchain network is a novel application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism and encryption algorithm, and is essentially a decentralized database. The main concepts involved in blockchain networks include smart contracts, accounts, and transactions.
The intelligent contracts are the cores of the blockchain network and are equivalent to automatic agents in the blockchain network, and each intelligent contract corresponds to one contract address. When a transaction including a contract address is received, an intelligent contract corresponding to the contract address is activated and a blockchain network runs code corresponding to the intelligent contract.
An intelligent contract is associated with a contract account in a blockchain network. The contract account is one of the blockchain network accounts, and the blockchain network also comprises an external account which is controlled by the private key and does not have any code associated with the external account. And a contract account is an account assigned to an intelligent contract, controlled by the contract code and having a code associated therewith. The address of the external account number is determined by the public key, while the address of the contract account is determined when the smart contract is created. Each account has a corresponding balance that can be changed by exchanges with ethernet coins sent by other users. Information interaction can be carried out between the external account and the contract account and between the contract account and the contract account. Referring to fig. 1, an interaction diagram among an external account, a contract account, and an intelligent contract provided for an embodiment of the present invention is that a developer defines service logic of the intelligent contract through the contract account, that is, the developer deploys the intelligent contract in the contract account, and the external account may trigger execution of the intelligent contract corresponding to the contract account by sending a transaction to the contract account to complete the transaction between the accounts.
A transaction, which may also be understood as a service request, is an information exchange between one account and another account, and in colloquial terms, a transaction is a process in which one account sends a signed message packet to another account, and the blockchain network records and stores corresponding data. An identification of the sender of the transaction (i.e., the user owning the external account), an identification of the recipient of the transaction, the amount of resources of the transaction, and other data may be included in a transaction. Any one of the external accounts may create and sign a transaction, which may be a transfer transaction or a transaction related to a smart contract, such as a transaction used to create or trigger a smart contract, using its corresponding private key.
In an embodiment, the blockchain network may be regarded as a data sharing system, and referring to fig. 2, a schematic structural diagram of a blockchain network provided in an embodiment of the present invention is shown, the blockchain network may be regarded as a system for performing data sharing between nodes, the blockchain network may include a plurality of nodes 101, and the plurality of nodes 101 may refer to respective clients added to the blockchain network. Each node 101, while operating normally, may receive a transaction, otherwise referred to as a service request, entered into the blockchain network and maintain shared data within the blockchain network based on the received transaction. In order to ensure information intercommunication in the blockchain network, information connection can exist between each node, and information transmission can be carried out between the nodes through the information connection. For example, when any node in the blockchain network receives an input transaction, other nodes in the blockchain network acquire the transaction according to the consensus algorithm, and store the transaction as data in the consensus data, so that the data stored on all the nodes in the blockchain network are consistent.
In one embodiment, the data stored by each node in the blockchain network is stored on a blockchain, and each node maintains an identical blockchain. The block chain is composed of a plurality of blocks, the first block on the block chain is called a created block, the created block comprises a block head and a block main body, the block head stores a characteristic value, a version number, a timestamp and a difficulty value of a transaction, and the block main body stores the transaction; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the characteristic value of the transaction of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the information in the blocks is ensured.
In one embodiment, the obtaining of the transaction by the other nodes in the blockchain network according to the consensus algorithm may refer to: after receiving the transaction submitted to the blockchain network, any node in the blockchain network packs the transaction and other transactions into a new block; then broadcasting the new block to each node through information connection between the nodes, and carrying out consensus verification on the new block by each node through a consensus algorithm; after the verification is passed, the new block is connected to the block chain.
In the existing blockchain network, transactions received by nodes are submitted to the blockchain network by taking account individuals as units, so that the execution of multi-account cooperation services in the blockchain network is not facilitated, such as a many-to-one data resource transfer service or an intelligent contract calling service. Based on this, the embodiment of the present invention provides a service processing scheme, where the service processing scheme may be applied to a blockchain network, and the blockchain network may include at least one account group, where each account group includes at least two accounts; and if the accounts with the target quantity pass the authorization of the service request, executing the service indicated by the service request. The service request submitted to the block chain network by the target account carries the address identifier of the target account group, the service request can be regarded as being in account group unit, the node device performs service processing on the service request in account group unit, service processing modes in the block chain network are enriched, and multi-account cooperation service in the block chain network can be optimized.
Based on the service processing scheme, the embodiment of the invention provides a service processing system. Referring to fig. 3, which is a schematic structural diagram of a business processing system according to an embodiment of the present invention, the business processing system shown in fig. 3 may include a blockchain network 301 and at least one account group 302, each account group 302 may include at least one account 303, and each account 303 may refer to an external account in the blockchain network. Other accounts 304 not in any account group may also be included in the business processing system shown in fig. 3.
In one embodiment, the blockchain network 301 may include a plurality of node devices 3011, and each node device 3011 may be a terminal or a server. The terminal can be equipment such as a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent sound box, an intelligent watch and the like; the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, big data and artificial intelligence platform and the like.
In one embodiment, each account group 302 may be created by initiating an account group creation request to the blockchain network, where the account group creation request may carry a plurality of account identifiers, and the node device 3011 combines the account from which the account group creation request is initiated and the account indicated by each account identifier in the plurality of account identifiers in the account group creation request into one account group. In addition, after an account group is successfully created, the node device 3011 may assign a unique address identifier to the account group.
Also, the node device 3011 may set the account initiating the account group creation request as an account having a management authority for the account group, and the account having the management authority may manage the account group, such as deleting an account in the group, adding a new account, or sending a service request to the blockchain network in units of account groups. The sending of the service request to the blockchain network by taking the account group as a unit is to send the service request carrying the address identifier of the account group to the blockchain network.
In one embodiment, an account 303 with management authority in any account group may submit a service request carrying an address identifier of the account group to which the account group belongs to the blockchain network through a user terminal used by the account 303. The user terminal used by the account 303 may be a node device in the blockchain network 301, or may not be a node device in the blockchain network 301 but may communicate with any node device in the blockchain network 301. It is assumed in fig. 3 that the user terminal used by account 303 is not a node device in the blockchain network 301. The user terminal can be terminal equipment such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart sound box and a smart watch.
After the blockchain network 301 receives the service request, any node device 3011 in the blockchain network executes the service processing scheme described above, so as to implement execution of the service indicated by the service request.
Based on the service processing system, the embodiment of the invention provides a service processing method. Referring to fig. 4, a flow chart of a service processing method according to an embodiment of the present invention is schematically shown. The traffic processing method shown in fig. 4 may be performed by any node device in the blockchain network. The service processing method shown in fig. 4 may include the following steps:
step S401, receiving a service request sent by a target account to a node device, wherein the service request carries an address identifier of a target account group to which the target account belongs.
In one embodiment, the target account group is generated from an account group creation request submitted to the node device by the target account. In a specific implementation, a node device receives an account group creation request submitted by a target account, wherein the account group creation request may include at least one account identifier; and after the verification of the account group creation request by the node equipment is passed, forming a target account group by the target account and the accounts indicated by each account identifier in the at least one account identifier, and allocating address identifiers for the target account group. An account group is uniquely identified by its corresponding address identifier.
In one embodiment, the node device may group the target account and the account indicated by each account identifier in the at least one account identifier into a target account group, which may include: sending a creation notification to the account indicated by each account identifier of the at least one account identifier; and forming a target account group by the account, which is indicated by each account and has input a confirmation instruction for the creation notification, and the target account. The creation notification received by any account may include an account group creator, that is, a target account, and an account other than the own account in at least one account identifier.
That is, before forming a target account and an account indicated by at least one account identifier into a target account group, the node device may notify a creation notification of the account group indicated by each account identifier in the at least one account identifier to notify that each account is to be added to one account group; if any account agrees to be added into the account group, a confirmation instruction can be input, and further, the node device forms the target account group by the account into which the confirmation instruction is input and the target account, so that each account can select whether to be added into a certain account group by itself, and the security of data resources in the account can be ensured.
In one embodiment, the target account may be any one of a group of target accounts; alternatively, the target account may be an account having administrative rights to a group of target accounts. The management authority may refer to adding an account to the target account group, deleting an original account, or dissolving the target account group, or the like.
Optionally, after the node device forms a target account group with the target account and the account indicated by the at least one account identifier, an account having a management right for the target account group may also be set as the target account. That is, the node device may default the account from which the account group creation request originated as an account having administrative rights to the account.
In one embodiment, after an account group is successfully created, the actual payer is a member of the group with a service request initiated by the account group. For example, a data resource transfer-out service initiated by taking an account group as a unit should be an account in the account group.
Step S402, at least one account related to the service request in the target account group is obtained according to the address identification, and notification information of authorization verification is sent to each account in the at least one account.
As can be seen from the foregoing, one account group corresponds to one unique address identifier, and the node device may acquire all accounts included in the target account through the address identifier of the target account. In step S402, the acquiring at least one account related to the service request in the target account group according to the address identifier includes: and acquiring all accounts in the target account group according to the address identification, and selecting at least one account related to the service request from all the accounts.
And selecting at least one account related to the service request according to different services indicated by the service request. In one embodiment, if the service indicated by the service request is a data resource transfer-out service, and the service request carries a transfer-out party account, at least one account related to the service request is an account in the target account group, which is matched with the transfer-out party account. For example, the target account group includes an account a, an account B, and an account C, the service indicated by the service request is a data resource transfer-out service, and the transfer-out party accounts carried in the service request are a user a and a user C, so that the user a and the user C in the target account group can be used as accounts related to the service request.
In other embodiments, if the service indicated by the service request is a multi-account collaboration service, such as invoking an intelligent contract, the at least one account associated with the service request may refer to all accounts in the target account.
In one embodiment, after determining at least one account related to the service request, notification information of authorization verification may be sent to each account of the at least one account, where the notification information is used to instruct each account to perform authorization verification on the service request.
In one embodiment, each account may verify the service request with a digital signature. Optionally, the digital signature means that each account has a pair of signature keys, which are a public key and a private key, respectively, the public key is disclosed in the blockchain network, and the private key is stored by the account itself. When the service request needs to be verified, any one account uses the respective private key to sign the service request; and the node equipment verifies the signed service request by adopting the public key corresponding to each account, and if the service request passes the verification, the authorization verification of any account on the service request is determined to pass.
In one embodiment, the service request sent by the target account to the blockchain network in step S401 may also carry a digital signature of the target account, that is, it is equivalent to that the authorization verification of the service request is completed when the target account sends the service request. Based on this, in order to save power consumption overhead, if there is a target account in at least one account related to the service request, the node device may send an authorization verification notification to other accounts except the target account in the at least one account before sending notification information of authorization verification to each account in the at least one account.
Step S403, if the authorization verification of the service request by the target number of accounts in the at least one account passes, executing the service indicated by the service request.
In one embodiment, the target quantity is related to a total quantity of accounts for the service indicated by the service request and the at least one account. In a specific implementation, if a service indicated by the service request is a data resource transfer-out service, and the service request carries a transfer-out party account identifier of the data resource transfer-out service, in this case, at least one account refers to an account in a target account group that is matched with the transfer-out party account identifier carried in the service request, and the target number may be equal to the total number of accounts of the at least one account. In short, if the service indicated by the service request is a data resource transfer-out service and the transfer-out party account is at least one account in the target account group, it is required that each account in the at least one account performs signature verification on the service request, and then the data resource can be transferred out from each account.
In other embodiments, if the service indicated by the service request is a multi-account collaboration service, such as intelligent contract invocation, in this case, the at least one account may refer to all accounts in a target account group, and the target number may be determined based on an account number proportion threshold corresponding to the multi-account collaboration service and the total number of accounts of the at least one account. In a specific implementation, the node device may preset that the executed multi-account collaboration service requires authorized signing on accounts greater than or equal to the proportion threshold among the accounts related to the service. For example, if the percentage threshold of the number of accounts corresponding to a certain multi-account collaboration service is 70%, indicating that, in the accounts related to the multi-account collaboration service, if more than or equal to 70% of the accounts perform authorized signature on the multi-account collaboration service, the multi-account collaboration service may be executed.
Based on this, the determining the target number based on the multi-account collaboration service and the total number of accounts of the at least one account includes: acquiring an account quantity proportion threshold corresponding to the multi-account cooperative service; determining a target number based on the proportional threshold and the total number of accounts. For example, assuming that the total number of accounts of at least one account related to a certain multi-account collaboration service is 10, and the percentage threshold of the number of accounts corresponding to the multi-account collaboration service is 50%, if any 5 accounts among the 10 accounts are authorized to be signed, the multi-account collaboration service may be executed.
In one embodiment, the executing the service indicated by the service request includes: selecting at least one service including the service and packaging the service into a target block to be verified; informing a consensus node in a block chain network to verify the target block to be verified; and if the target block to be verified is verified, executing the service indicated by the service request, and linking the target block to the block chain.
In the embodiment of the invention, a block chain network receives a service request sent by a target account, acquires at least one account related to the service request in a target account group to which the target account belongs according to an address identifier carried in the service request, and then sends notification information for performing authorization verification on the service request to each account in the at least one account; and if the authorization verification of the target number of accounts on the service request is passed in at least one account, executing the service indicated by the service request. It can be seen that, in the service processing process, the service request submitted to the blockchain network is sent by one member account of the target accounts, and after the blockchain network receives the service request, the blockchain network does not directly execute the service request, but executes the service indicated by the service request only after the service request is verified by the target number of accounts in at least one account related to the service request in the target account group. The service request is executed through the authorization of a plurality of accounts, and the service processing modes in the blockchain network are enriched, so that the multi-account cooperation service in the blockchain network can be optimized.
Based on the foregoing service processing method, an embodiment of the present invention provides another service processing method. Referring to fig. 5, a schematic flow chart of another service processing method according to an embodiment of the present invention is shown. The service processing method shown in fig. 5 may be executed by any node device in the blockchain network, and may specifically be executed by a processor of the node device. The service processing method shown in fig. 5 may include the following steps:
step S501, receiving an account group creation request submitted by a target account.
In one embodiment, the account group creation request may include at least one account identifier, each account identifier uniquely indicates one account, and the target account carries at least one account identifier in the account group creation request, indicating that the target account wants to select to form one target account group with the account indicated by each account identifier in the at least one account identifier. Optionally, when the target account group selects at least one account identifier, an account identifier having business with the target account group may be selected from accounts of the multiple block chain networks, for example, the target account is account a, and account a often has a cooperative relationship with account B and account C, so that account a may carry the account identifiers of account B and account C in the account group creation request.
As another optional embodiment, for the many-to-one data resource transfer service, if the target account is a transfer party account in the data resource transfer service, the target account may select that other transfer party accounts in the many-to-one data resource transfer service are carried in the account group creation request; or, if the target account is the transferring party account in the data resource transferring service, the target account may also select other transferring party accounts in the many-to-one data resource transferring service to be carried in the account group creation request.
In other embodiments, the target account may also randomly select at least one account identifier from the plurality of blockchain network accounts to be carried in the account group creation request.
Step S502, after the verification of the account group creation request is passed, the target account and the accounts indicated by each account identifier in the at least one account identifier form a target account group.
Assuming that in fig. 5, the accounts indicated by each account id in the at least one account id are account a and account B, respectively, the blockchain network forms a target account group from the target account, account a, and account B.
Step S503, allocating address identification for the target account group, and setting the account having management authority for the target account group as the target account.
In one embodiment, after the verification of the account group creation request by the node device is passed, the target accounts and the accounts indicated by each account identifier form a target account group, and address identifiers are allocated to the target account group. And setting the target account as an account having management authority to the target account group by default, or setting the target account as a management account of the target account group.
After the setting is successful, the target account may manage the target account group, where the managing may include updating an account in the target account group, such as deleting an account of the target account group or adding a new account in the account group, and the managing may further include sending a service request carrying an address identifier of the target account group to the blockchain network.
In a specific implementation, when the target account updates the intra-group account of the target account group, the node device may perform: receiving an intra-group account updating request submitted by a target account, wherein the intra-group account updating request is used for indicating that a new account is added in the target account group or an existing account in the target account group is deleted; and after the verification of the intra-group account updating request is passed, the node equipment updates the accounts included in the target account group according to the intra-group account updating request.
Optionally, if the intra-group account update request indicates that a new account is added to the target account group, the intra-group account update request may carry an account identifier of the new account, and after the intra-group account update request is verified, the new account is added to the target account group; if the intra-group account updating request indicates to delete an existing account in the target account group, the intra-group account updating request may carry an account identifier of the account to be deleted, and after the intra-group account updating request is verified, the node device may delete the account indicated by the account identifier from the target account group.
In one embodiment, the target account may also transfer administrative rights to any one of the accounts within the target account group. In specific implementation, the node equipment receives a management authority transfer request sent by a target account; and after the node equipment passes the verification of the management authority transfer request, updating the account with the management authority from the target account to the account indicated by the management authority transfer request. For example, the target account group includes an account a, an account B, and an account C, where the account a is an account with management authority, the account a may submit a management authority transfer request to the blockchain network to transfer the management authority to the account C, and after the management authority transfer, the account C is an account with management authority in the target account group.
In one embodiment, the transfer of administrative rights for the target account may be performed after approval from other accounts within the target account group is required. Based on this, after receiving the management permission transfer request sent by the target account, the receiving device may send a notification that the management permission is to be transferred to another account other than the target account in the target account group, where the notification that the management permission is to be transferred may include an account indicated by the management permission transfer request; if the account with more than a certain number, such as more than half of accounts, exists in other accounts, and a determination instruction is input to the notification to be transferred of the management authority, the node device executes a step of updating the account with the management authority from the target account to the account indicated by the management authority transfer request. In this way, fairness of any decision within the target account group can be guaranteed.
After receiving the notification of the to-be-transferred management authority, the other accounts in the target account group can determine whether to agree with the transfer of the management authority according to the account balance condition, the account credit condition and other information of the account indicated by the management authority transfer request carried in the notification of the to-be-transferred management authority.
And step S504, receiving the service request sent by the target account, and storing the service request in a transaction pool to be authorized.
In one embodiment, the blockchain network includes a transaction pool to be authorized and a transaction pool to be executed, the transaction pool to be authorized is used for caching service requests submitted to the blockchain by accounts in each account group in units of the account group, the transaction pool to be executed is used for caching service requests submitted to the blockchain network by accounts in the blockchain network in units of individuals, and the service requests authorized to pass through in the transaction pool to be authorized.
The service request sent by the target account to the blockchain network carries the address identifier of the target account group, so the service request can be regarded as a service request in the unit of the target account group, and the service request is not authorized to pass by other users in the target account group, so the service request needs to be stored in the transaction pool to be authorized.
Step S505, at least one account related to the service request in the target account group is obtained according to the address identifier carried in the service request, and notification information of authorization verification is sent to each account in the at least one account.
In an embodiment, some possible implementations included in step S505 may refer to the relevant descriptions in step S402 in the embodiment in fig. 4, and are not described herein again. Assuming that account a and account B are accounts related to the service request in fig. 5, the node device sends notification information of authorization verification to account a and account B, respectively.
Step S506, if the authorization verification of the service request by the target number of accounts in the at least one account passes, transferring the service request from the to-be-authorized transaction pool to the to-be-executed transaction pool, and executing the service indicated by the service request.
In one embodiment, if the authorization verification of the service request is passed by the target number of accounts in at least one account, the service request is transferred from the transaction pool to be authorized to the transaction pool to be executed, and the service indicated by the service request is executed.
In one embodiment, the executing the service indicated by the service request includes: selecting at least one service from the transaction pool to be executed, wherein the at least one service comprises the service indicated by the service request; packaging the at least one service into a target block to be verified, and informing a consensus node in the block chain network to verify the target block to be verified; and if the target block to be verified is verified, executing the service indicated by the service request, and connecting the target block to a block chain.
In the embodiment of the invention, after receiving an account group creation request submitted by a target account, a node device forms a target account group according to the target account and an account indicated by at least one account identifier carried in the account group creation request, allocates an address identifier to the target account group, and sets the target account as an account having management authority on the target account group. Some accounts form an account group, and the execution of some multi-account cooperative services is facilitated subsequently, such as a many-to-one data resource transfer service, an intelligent contract service call and the like, so that a new service processing mode is provided for a block chain network.
Further, the target account may initiate a service request to the blockchain network, after receiving the service request, a node device of the blockchain network stores the service request in a to-be-authorized transaction pool, and may obtain at least one account related to the service request in the target account group according to an address identifier carried in the service request, and send notification information of authorization verification to the at least one account to indicate each account in the at least one account to perform authorization verification on the service request; and if the target number of accounts in at least one account passes the verification of the service request, transferring the service request from the transaction pool to be authorized to the transaction pool to be executed, and further executing the service indicated by the service request.
In the service processing process, the management account of the target account group submits the service request to the block chain network by taking the target account group as a unit, and then the node equipment performs service processing on the service request by taking the account group as a unit, so that the service processing mode in the block chain network is enriched, and the multi-account cooperative service in the block chain network can be optimized.
Based on the foregoing method embodiment, an embodiment of the present invention provides a service processing apparatus. Referring to fig. 6, which is a schematic structural diagram of a service processing apparatus according to an embodiment of the present invention, the service processing apparatus shown in fig. 6 may operate the following units:
a receiving unit 601, configured to receive a service request sent by a target account to a blockchain network, where the service request carries an address identifier of a target account group to which the target account belongs;
an obtaining unit 602, configured to obtain at least one account in the target account group according to the address identifier;
a sending unit 603, configured to send notification information of authorization verification to each account in the at least one account, where the notification information is used to instruct each account to perform authorization verification on the service request;
an executing unit 604, configured to execute the service indicated by the service request if the authorization verification of the service request by the target number of accounts is passed in the at least one account.
In one embodiment the blockchain network includes a to-be-authorized transaction pool and a to-be-executed transaction pool; after receiving the service request, storing the service request to the transaction pool to be authorized; and after the authorization verification of the target number of accounts on the service request is completed in the at least one account, the service request is transferred from the transaction pool to be authorized to the transaction pool to be executed before the service indicated by the service request is executed.
In one embodiment, the executing unit 604 performs the following steps when executing the service indicated by the service request: selecting at least one service from the transaction pool to be executed, wherein the at least one service comprises the service indicated by the service request; packaging the at least one service into a target block to be verified, and informing a consensus node in the block chain network to verify the target block to be verified; and if the target block to be verified is verified, executing the service indicated by the service request, and connecting the target block to a block chain.
In one embodiment, the service processing apparatus further includes the processing unit 605: the receiving unit 601 is further configured to receive an account group creation request submitted by the target account, where the account group creation request includes at least one account identifier; the processing unit 605 is configured to, after the account group creation request is verified, form a target account group by the target account and the account indicated by each account identifier in the at least one account identifier, and allocate a target address identifier to the target account group.
In an embodiment, the target account is an account having an administrative right to the target account group, and the processing unit 605 is further configured to set the account having the administrative right to the target account group as the target account.
In an embodiment, the receiving unit 601 is further configured to receive a management authority transfer request sent by the target account; the processing unit 605 is further configured to update the account with the management authority from the target account to the account indicated by the management authority transfer request after the management authority transfer request is verified.
In one embodiment, the receiving unit 601 is further configured to receive an intra-group account update request submitted by the target account, where the intra-group account update request is used to indicate that a new account is added to the target account group, or that an existing account in the target account group is deleted; the processing unit 605 is further configured to update the accounts included in the target account group according to the intra-group account update request after the intra-group account update request is verified.
In one embodiment, the processing unit 605, when the target account and the account indicated by the at least one account identifier are formed into a target account group, performs the following steps:
sending a creation notification to the account indicated by each account identifier of the at least one account identifier; and forming a target account group by the account with the confirmation instruction input to the creating notification and the target account from the accounts indicated by each account identification.
In an embodiment, the service indicated by the service request includes a data resource transfer-out service, the service request carries a transfer-out party account identifier of the data resource transfer-out service, the at least one account is an account in the target account group that matches the transfer-out party account identifier, and the target number is a total number of accounts of the at least one account.
In an embodiment, the service indicated by the service request includes a multi-account collaboration service, the at least one account refers to each account included in the target account group, and the target number is determined according to an account number proportion threshold corresponding to the multi-account collaboration service and a total number of accounts of the at least one account.
The steps involved in the service processing methods shown in fig. 4 and 5 may be performed by the units in the service processing apparatus shown in fig. 6 according to an embodiment of the present invention. For example, step S401 illustrated in fig. 4 may be performed by the receiving unit 601 in the service processing apparatus illustrated in fig. 6, step S402 may be performed by the obtaining unit 602 in the service processing apparatus illustrated in fig. 6, step S403 may be performed by the sending unit 603 in the service processing apparatus illustrated in fig. 6, and step S404 may be performed by the executing unit 604 in the service processing apparatus illustrated in fig. 6; as another example, in the service processing method shown in fig. 5, step S501 and step S504 may be performed by the receiving unit 601 in the service processing device shown in fig. 6, step S502 and step S503 may be performed by the processing unit 605 in the service processing device shown in fig. 6, step S505 may be performed by the obtaining unit 602 in the service processing device shown in fig. 6, and step S506 may be performed by the executing unit 604 in the service processing device shown in fig. 6.
According to another embodiment of the present invention, the units in the service processing apparatus shown in fig. 6 may be respectively or entirely combined into one or several other units to form the service processing apparatus, or some unit(s) therein may be further split into multiple units with smaller functions to form the service processing apparatus, which may implement the same operation without affecting implementation of technical effects of embodiments of the present invention. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present invention, the service-based processing device may also include other units, and in practical applications, these functions may also be implemented by being assisted by other units, and may be implemented by cooperation of multiple units.
According to another embodiment of the present invention, the business processing apparatus shown in fig. 6 can be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods shown in fig. 4 and 5 on a general-purpose computing device such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and a business processing method according to an embodiment of the present invention can be implemented. The computer program may be embodied on a computer-readable storage medium, for example, and loaded into and executed by the above-described computing apparatus via the computer-readable storage medium.
In the embodiment of the invention, a block chain network receives a service request sent by a target account, acquires at least one account related to the service request in a target account group to which the target account belongs according to an address identifier carried in the service request, and then sends notification information for performing authorization verification on the service request to each account in the at least one account; and if the authorization verification of the target number of accounts on the service request is passed in at least one account, executing the service indicated by the service request. It can be seen that, in the service processing process, the service request submitted to the blockchain network is sent by one member account of the target accounts, and after the blockchain network receives the service request, the blockchain network does not directly execute the service request, but executes the service indicated by the service request only after the service request is verified by the target number of accounts in at least one account related to the service request in the target account group. The service request is executed through the authorization of a plurality of accounts, and the service processing modes in the blockchain network are enriched, so that the multi-account cooperation service in the blockchain network can be optimized.
Based on the above method and apparatus embodiments, an embodiment of the present invention provides a node device, and referring to fig. 7, a schematic structural diagram of a node device provided in an embodiment of the present invention is shown. The node apparatus shown in fig. 7 may include at least a processor 701, an input interface 702, an output interface 703, and a computer storage medium 704. The processor 701, the input interface 702, the output interface 703, and the computer storage medium 704 may be connected by a bus or other means.
A computer storage medium 704 may be stored in the memory of the node device, the computer storage medium 701 being adapted to store a computer program comprising program instructions, the processor 1201 being adapted to execute the program instructions stored by the computer storage medium 704. The processor 701 (or CPU) is a computing core and a control core of the node device, and is adapted to implement one or more instructions, and specifically adapted to load and execute:
receiving a service request sent by a target account to a block chain network, wherein the service request carries an address identifier of a target account group to which the target account belongs; acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information is used for indicating each account to perform authorization verification on the service request; and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
An embodiment of the present invention further provides a computer storage medium (Memory), which is a Memory device in the node device and is used to store programs and data. It is understood that the computer storage medium herein may include both a built-in storage medium in the node device and, of course, an extended storage medium supported by the node device. The computer storage medium provides a storage space that stores an operating system of the node device. Also stored in this memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 701. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, the computer storage medium may be loaded by processor 701 and executed with one or more instructions stored therein to implement the corresponding steps described above with respect to the business processing methods illustrated in fig. 4 and 5. In particular implementations, one or more instructions in the computer storage medium are loaded by processor 701 and perform the following steps:
receiving a service request sent by a target account to a block chain network, wherein the service request carries an address identifier of a target account group to which the target account belongs; acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information is used for indicating each account to perform authorization verification on the service request; and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
In one embodiment, the blockchain network includes a to-be-authorized transaction pool and a to-be-executed transaction pool; after receiving the service request, storing the service request to the transaction pool to be authorized; and after the authorization verification of the target number of accounts on the service request is completed in the at least one account, the service request is transferred from the transaction pool to be authorized to the transaction pool to be executed before the service indicated by the service request is executed.
In one embodiment, the processor 701, when executing the service indicated by the service request, performs the following steps: selecting at least one service from the transaction pool to be executed, wherein the at least one service comprises the service indicated by the service request; packaging the at least one service into a target block to be verified, and informing a consensus node in the block chain network to verify the target block to be verified; and if the target block to be verified is verified, executing the service indicated by the service request, and connecting the target block to a block chain.
In one embodiment, the processor 701 is further configured to: receiving an account group creation request submitted by the target account, the account group creation request including at least one account identifier; and after the account group creation request is verified, forming a target account group by the target account and the accounts indicated by each account identifier in the at least one account identifier, and allocating an address identifier for the target account group.
In one embodiment, the target account is an account having an administrative right for the target account group, and after the target account and the account indicated by the at least one account identifier are combined into the target account group, the processor 701 is further configured to: and setting the account with the management authority to the target account group as the target account.
In one embodiment, the processor 701 is further configured to: receiving a management authority transfer request sent by the target account; and after the management authority transfer request is verified, updating the account with the management authority from the target account to the account indicated by the management authority transfer request.
In one embodiment, the processor 701 is further configured to: receiving an intra-group account updating request submitted by the target account, wherein the intra-group account updating request is used for indicating that a new account is added in the target account group or existing accounts in the target account group are deleted; and after the verification of the intra-group account updating request is passed, updating the accounts included in the target account group according to the intra-group account updating request.
In one embodiment, the processor 701, when forming the target account and the account indicated by the at least one account identifier into a target account group, performs the following steps: sending a creation notification to the account indicated by each account identifier of the at least one account identifier; and forming a target account group by the account with the confirmation instruction input to the creating notification and the target account from the accounts indicated by each account identification.
In an embodiment, the service indicated by the service request includes a data resource transfer-out service, the service request carries a transfer-out party account identifier of the data resource transfer-out service, the at least one account is an account in the target account group that matches the transfer-out party account identifier, and the target number is a total number of accounts of the at least one account.
In an embodiment, the service indicated by the service request includes a multi-account collaboration service, the at least one account refers to each account included in the target account group, and the target number is determined according to an account number proportion threshold corresponding to the multi-account collaboration service and a total number of accounts of the at least one account.
In the embodiment of the invention, a block chain network receives a service request sent by a target account, acquires at least one account related to the service request in a target account group to which the target account belongs according to an address identifier carried in the service request, and then sends notification information for performing authorization verification on the service request to each account in the at least one account; and if the authorization verification of the target number of accounts on the service request is passed in at least one account, executing the service indicated by the service request. It can be seen that, in the service processing process, the service request submitted to the blockchain network is sent by one member account of the target accounts, and after the blockchain network receives the service request, the blockchain network does not directly execute the service request, but executes the service indicated by the service request only after the service request is verified by the target number of accounts in at least one account related to the service request in the target account group. The service request is executed through the authorization of a plurality of accounts, and the service processing modes in the blockchain network are enriched, so that the multi-account cooperation service in the blockchain network can be optimized.
According to an aspect of the present application, an embodiment of the present invention also provides a computer product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor 701 reads the computer instructions from the computer-readable storage medium, and the processor 701 executes the computer instructions, so that the image processing apparatus executes the service processing method shown in fig. 4 and 5, specifically: receiving a service request sent by a target account to a block chain network, wherein the service request carries an address identifier of a target account group to which the target account belongs; acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information is used for indicating each account to perform authorization verification on the service request; and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
The above disclosure is intended to be illustrative of only some embodiments of the invention, and is not intended to limit the scope of the invention.

Claims (12)

1. A method for processing a service, comprising:
receiving a service request sent by a target account, wherein the service request is sent by taking a target account group as a unit after the target account passes digital signature verification based on the target account, and the service request carries an address identifier of the target account group to which the target account belongs;
acquiring at least one account related to the service request in the target account group according to the address identifier, and sending notification information of authorization verification to each account in the at least one account, wherein the notification information of authorization verification is used for notifying the at least one account to carry out authorization verification on the service request by adopting respective digital signature;
and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
2. The method of claim 1, wherein prior to receiving the service request sent by the target account, the method further comprises:
receiving an account group creation request sent by the target account, wherein the account group creation request carries at least one account identifier, and the at least one account identifier is selected by the target account from a plurality of account identifiers included in the blockchain network;
and after the account group creation request is verified, forming a target account group by the target account and the account indicated by the at least one account identifier, and allocating an address identifier for the target account group.
3. The method of claim 2, wherein after assigning an address identifier to the group of target accounts, the method further comprises:
setting an account having management authority on the target account group as the target account, wherein the management authority comprises any one or more of the following: adding an account in the target account group, deleting an account in the target account group, and dissembling the target account group.
4. The method of claim 3, wherein the method further comprises:
receiving a management authority transfer request sent by the target account;
sending a management authority transfer notification to at least one other account except the target account in the target account group according to the management authority transfer request, wherein the management authority transfer notification comprises the account indicated by the management authority transfer request, and the management authority transfer notification is used for indicating the at least one other account to confirm the management authority transfer operation based on the management authority transfer notification;
and if the specified number of accounts in the at least one other account inputs a determination instruction for the management authority transfer notification, updating the account with the management authority in the target account group from the target account to the account indicated by the management authority transfer request.
5. A business processing method applied to a blockchain network, wherein the blockchain network comprises a target account group, and the target account group comprises a target account, and the method is executed by the target account, and comprises the following steps:
verifying the service request based on the digital signature of the target account;
if the verification is passed, the service request is sent to the block chain network by taking the target account group as a unit, and the service request carries the address identifier of the target account group; the service request is used for indicating the blockchain network to acquire at least one account related to the service request in the target account group according to the address identifier and sending notification information of authorization verification to each account in the at least one account, wherein the notification information of authorization verification is used for notifying the at least one account to carry out authorization verification on the service request by adopting respective digital signature; and if the authorization verification of the target number of accounts on the service request is passed in the at least one account, executing the service indicated by the service request.
6. The method of claim 5, wherein prior to verifying the service request based on the digital signature of the target account, the method further comprises:
selecting at least one account identifier from a plurality of account identifiers comprised by the blockchain network;
sending an account group creation request to the blockchain network, wherein the account group creation request comprises the at least one account identifier, and the account group creation request is used for indicating the blockchain network to form a target account group by the target account and the account indicated by the at least one account identifier after the account group creation request is verified, and allocating an address identifier to the target account group.
7. The method of claim 6, wherein said selecting at least one account identifier from a plurality of account identifiers included in the blockchain network comprises:
and taking the account identifier which has business communication with the target account from a plurality of account identifiers included in the block chain network as the selected account identifier.
8. The method of claim 6, wherein after assigning an address identifier to the target account group, the blockchain network sets the target account as an account having management rights to the target account group, the management rights including any one or more of: adding an account in the target account group, deleting the account in the target account group and dissolving the target account group; the method further comprises the following steps:
sending a management authority transfer request to the blockchain network, wherein the management authority transfer request is used for instructing the blockchain network to send a management authority transfer notification to at least one other account except the target account in the target account group, and the management authority transfer notification is used for instructing the at least one other account to confirm the management authority transfer operation based on the management authority transfer notification; and if the specified number of accounts in the at least one other account inputs a determination instruction for the management authority transfer notification, updating the account with the management authority in the target account group from the target account to the account indicated by the management authority transfer request.
9. A transaction processing method applied to a blockchain network, wherein the blockchain network includes a target account group, and the target account group includes a target account and at least one other account, and the method is performed by any other account of the at least one other account, and the method includes:
receiving authorization verification notification information sent by the blockchain network, wherein the authorization verification notification information is sent after the blockchain network acquires at least one account related to a service request in the target account group according to an address identifier corresponding to the target account group, and the at least one account includes any other account; the service request is submitted to the block chain network by taking the target account group as a unit after the target account passes the verification of the digital signature based on the target account; the address identifier is carried in the service request;
and performing authorization verification on the service request by adopting the digital signature of any other account.
10. The method of claim 9, wherein the verifying the authorization of the service request using the digital signature of any other account comprises:
signing the service request by adopting a private key corresponding to any other account to obtain a service request after digital signature;
and sending the service request subjected to the digital signature to the block chain network so as to instruct the block chain network to verify the service request subjected to the digital signature by adopting the public key corresponding to any other account.
11. The method of claim 9, wherein the method further comprises:
receiving a management authority transfer notification sent by the blockchain network, wherein the management authority transfer notification is sent after the blockchain network receives a management authority transfer request sent by the target account, and the management authority transfer notification comprises an account indicated by the management authority transfer request;
and confirming the management authority transfer operation based on the management authority transfer notification.
12. The method of claim 11, wherein the confirming the management authority transfer operation based on the management authority transfer notification comprises:
acquiring related information of an account indicated by the management authority transfer request;
determining whether to agree with management authority transfer operation according to the related information, wherein the related information comprises any one or two of account balance condition and account credit condition;
and if yes, inputting a determination instruction aiming at the management authority transfer notification.
CN202110121979.8A 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium Pending CN114202329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110121979.8A CN114202329A (en) 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010982863.9A CN111932239B (en) 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium
CN202110121979.8A CN114202329A (en) 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010982863.9A Division CN111932239B (en) 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114202329A true CN114202329A (en) 2022-03-18

Family

ID=73334555

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110121979.8A Pending CN114202329A (en) 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium
CN202010982863.9A Active CN111932239B (en) 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010982863.9A Active CN111932239B (en) 2020-09-18 2020-09-18 Service processing method, device, node equipment and storage medium

Country Status (1)

Country Link
CN (2) CN114202329A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174599A (en) * 2022-05-13 2022-10-11 达闼机器人(成都)有限公司 Method, device, equipment and medium for creating service filing node and processing data

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113487315A (en) * 2021-07-12 2021-10-08 网易(杭州)网络有限公司 Account contract processing method, device, equipment and storage medium
CN115455838B (en) * 2022-09-26 2023-09-01 大连海事大学 High-spatial-resolution flow field reconstruction method for time-course data

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3060790C (en) * 2019-04-12 2021-06-08 Alibaba Group Holding Limited Performing parallel execution of transactions in a distributed ledger system
MY192336A (en) * 2019-07-23 2022-08-17 Advanced New Technologies Co Ltd Managing transactions on blockchain networks
CN112200575B (en) * 2020-05-28 2022-05-31 支付宝(杭州)信息技术有限公司 Node group creating method and node group-based transaction method in alliance chain network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174599A (en) * 2022-05-13 2022-10-11 达闼机器人(成都)有限公司 Method, device, equipment and medium for creating service filing node and processing data

Also Published As

Publication number Publication date
CN111932239A (en) 2020-11-13
CN111932239B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US20220069994A1 (en) Methods and systems implemented in a network architecture with nodes capable of performing message-based transactions
CN111932239B (en) Service processing method, device, node equipment and storage medium
WO2020253634A1 (en) Data processing method, system and device
CN111400112B (en) Writing method and device of storage system of distributed cluster and readable storage medium
CN111460504B (en) Service processing method, device, node equipment and storage medium
CN112231741B (en) Data processing method, device, medium and electronic equipment based on block chain system
CN111291060A (en) Method, device and computer readable medium for managing block chain nodes
CN112702402A (en) System, method, device, processor and storage medium for realizing government affair information resource sharing and exchange based on block chain technology
CN112291372B (en) Asynchronous posting method, device, medium and electronic equipment for block chain
CN110149323B (en) Processing device with ten-million-level TPS (platform secure protocol) contract processing capacity
CN113255014B (en) Data processing method based on block chain and related equipment
CN111275555A (en) Block chain transaction processing method, transaction node and block chain system
JP2021189638A (en) Migration support system, migration support method, and node
CN114327827A (en) Task processing method and device and storage medium
KR20220074971A (en) Blockchain-based data processing method, apparatus and device, and readable storage medium
CN115328645A (en) Computing task scheduling method, computing task scheduling device and electronic equipment
CN110855688A (en) Block chain information processing method and related equipment
US20210019705A1 (en) Method and apparatus for sharing data across groups
CN113596168A (en) Block chain alliance chain-based verification method and device
US20230259930A1 (en) Cross-chain transaction processing method and apparatus, electronic device, and storage medium
CN112231415B (en) Data synchronization method and system of block chain network, electronic device and readable medium
CN114584940B (en) Slice service processing method and device
CN112988852A (en) Block chain-based data management method, device and medium
CN117540356B (en) Block chain-based data processing method, device, equipment and readable storage medium
CN114978702B (en) Account management method, platform and system, computing device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40064948

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination