CN115576709A - Communication processing method and device based on block chain - Google Patents

Communication processing method and device based on block chain Download PDF

Info

Publication number
CN115576709A
CN115576709A CN202211123174.8A CN202211123174A CN115576709A CN 115576709 A CN115576709 A CN 115576709A CN 202211123174 A CN202211123174 A CN 202211123174A CN 115576709 A CN115576709 A CN 115576709A
Authority
CN
China
Prior art keywords
computing service
computing
computing device
message
service
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
CN202211123174.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.)
Ant Blockchain Technology Shanghai Co Ltd
Original Assignee
Ant Blockchain Technology Shanghai 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 Ant Blockchain Technology Shanghai Co Ltd filed Critical Ant Blockchain Technology Shanghai Co Ltd
Priority to CN202211123174.8A priority Critical patent/CN115576709A/en
Publication of CN115576709A publication Critical patent/CN115576709A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer And Data Communications (AREA)

Abstract

A communication processing method and device based on a block chain relate to a first computing device and a second computing device, wherein the first computing device and the second computing device are respectively connected with a first node and a second node in a block chain system in a butt joint mode, the first computing device and the second computing device belong to different participants and are respectively associated with a first computing service and a second computing service, and a network identifier of the second computing service is stored in the block chain system. The method comprises the following steps: a first computing device obtaining a first message from a first computing service, the first message including at least message content to be sent to a second computing service; the first computing device sends a second message to the second computing device according to the network identification of the second computing service acquired from the blockchain system, wherein the second message comprises the network identification of the second computing service and the message content in the first message; the second computing device provides the message content to the second computing service in accordance with the network identification of the second computing service.

Description

Communication processing method and device based on block chain
Technical Field
The embodiment of the present specification belongs to the technical field of block chains, and in particular, relates to a communication processing method and apparatus based on a block chain.
Background
The Blockchain (Blockchain) is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. In the block chain system, data blocks are combined into a chain data structure in a sequential connection mode according to a time sequence, and a distributed account book which is not falsifiable and counterfeitable is ensured in a cryptographic mode. Because the blockchain has the characteristics of decentralization, information non-tampering, autonomy and the like, the blockchain is also paid more and more attention and is applied by people. According to different application scenarios and user requirements, the block chains can be generally divided into three major classes, namely public chains (public blocks), private chains (private blocks) and federation chains (consortium blocks).
Disclosure of Invention
The invention aims to provide a communication processing method and device based on a block chain.
In a first aspect, a method for processing communication based on a blockchain is provided, where the method involves a first computing device and a second computing device, where the first computing device and the second computing device respectively interface a first node and a second node in a blockchain system, where the first computing device and the second computing device belong to different participants and are respectively associated with a first computing service and a second computing service, and a network identifier of the second computing service is stored in the blockchain system. The method comprises the following steps: the first computing device obtaining a first message from the first computing service, wherein the first message at least comprises message content to be sent to the second computing service; the first computing device sends a second message to the second computing device according to the network identifier of the second computing service acquired from the blockchain system, wherein the second message comprises the network identifier of the second computing service and the message content; the second computing device provides the message content to the second computing service according to the network identification of the second computing service included in the second message.
In a possible implementation manner, the first message further includes an application identifier of the distributed application to which the second computing service belongs, and the method further includes: and the first computing equipment sends a first transaction to the first node according to the application identifier, so that the first node returns the network identifier of the second computing service stored in the blockchain system.
In one possible embodiment, the method further comprises: the first computing equipment acquires an information query request from the first computing service, wherein the information query request comprises an application identifier of a distributed application to which the second computing service belongs; the first computing device sends a first transaction to the first node according to the application identifier, and the first node returns the network identifier of the second computing service stored in the blockchain system; the first computing device providing a network identification of the second computing service to the first computing service; wherein the first message further includes a network identification of the second computing service.
In one possible implementation, the blockchain system is a federation chain corresponding to a plurality of participants.
In one possible implementation, an intelligent contract is deployed in the blockchain system, and the first message and the second message further include a network identifier of the first computing service. Wherein the method further comprises: and the second equipment sends a second transaction for calling the intelligent contract to the second node, wherein the second transaction comprises the network identification of the first computing service, and the second node returns a query result which is used for indicating whether the first computing service is allowed to access the second computing service.
In one possible implementation, the second computing device is associated with a third party application; the method further comprises the following steps: providing the message content to the third party application.
In one possible implementation, the network identifier of the second computing service includes a first access path corresponding to the second computing device and a second access path corresponding to the second computing service.
In a second aspect, a blockchain-based communication processing method is provided, the method involving a first computing device and a second computing device, the first computing device and the second computing device respectively interfacing a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and respectively being associated with a first computing service and a second computing service, a network identification of the second computing service being stored in the blockchain system, the method being performed by the first computing device. The method comprises the following steps: acquiring a first message from the first computing service, wherein the first message at least comprises message content to be sent to the second computing service; and sending a second message to the second computing device according to the network identifier of the second computing service acquired from the blockchain system, wherein the second message comprises the network identifier of the second computing service and the message content, and enabling the second computing device to provide the message content to the second computing service according to the network identifier of the second computing service.
In a possible implementation manner, the first message further includes an application identifier of the distributed application to which the second computing service belongs. Wherein the method further comprises: the first computing device sends a first transaction to the first node according to the application identifier, and the first node returns the network identifier of the second computing service stored in the blockchain system.
In one possible embodiment, the method further comprises: acquiring an information query request from the first computing service, wherein the information query request comprises an application identifier of a distributed application to which the second computing service belongs; sending a first transaction to the first node according to the application identifier, and enabling the first node to return the network identifier of the second computing service stored in the blockchain system; providing a network identification of the second computing service to the first computing service; wherein the first message further includes a network identification of the second computing service.
In one possible implementation, the blockchain system is a federation chain corresponding to a plurality of participants.
In a possible embodiment, the first message and the second message further include a network identification of the first computing service.
In one possible implementation, the network identification of the second computing service includes a first access path corresponding to the second computing device and a second access path corresponding to the second computing service.
In a third aspect, a method for processing blockchain-based communications is provided, the method involving a first computing device and a second computing device respectively interfacing a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and respectively associated with a first computing service and a second computing service, the blockchain system having stored therein a network identification of the second computing service, the method being performed by the second computing device. The method comprises the following steps: receiving a second message from the first computing device, wherein the second message comprises a network identification of the second computing service acquired from the blockchain system and message content provided by the first computing service; providing the message content to the second computing service in accordance with the network identification of the second computing service.
In one possible implementation, the blockchain system is a federation chain corresponding to a plurality of participants.
In a possible implementation manner, an intelligent contract is deployed in the blockchain system, and the second message further includes a network identifier of the first computing service. Wherein the method further comprises: sending a second transaction for invoking the intelligent contract to the second node, wherein the second transaction comprises the network identifier of the first computing service, and enabling the second node to return a query result, wherein the query result is used for indicating whether the first computing service is allowed to access the second computing service.
In one possible implementation, the second computing device is associated with a third party application; the method further comprises the following steps: providing the message content to the third party application.
In one possible implementation, the network identifier of the second computing service includes a first access path corresponding to the second computing device and a second access path corresponding to the second computing service.
In a fourth aspect, an apparatus for processing communication based on a blockchain is provided, where the apparatus involves a first computing device and a second computing device, where the first computing device and the second computing device respectively interface a first node and a second node in a blockchain system, the first computing device and the second computing device belong to different participants and are respectively associated with a first computing service and a second computing service, and a network identifier of the second computing service is stored in the blockchain system, and the apparatus is deployed in the first computing device. The device comprises: a message acquiring unit configured to acquire a first message from the first computing service, the first message including at least message content to be sent to the second computing service; a message sending unit, configured to send a second message to the second computing device according to the network identifier of the second computing service acquired from the blockchain system, where the second message includes the network identifier of the second computing service and the message content, so that the second computing device provides the message content to the second computing service according to the network identifier of the second computing service.
In a fifth aspect, an apparatus for processing blockchain-based communication is provided, the apparatus involving a first computing device and a second computing device, the first computing device and the second computing device respectively interfacing with a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and respectively being associated with a first computing service and a second computing service, a network identifier of the second computing service being stored in the blockchain system, and the apparatus being deployed at the second computing device. The device comprises: a message receiving unit configured to receive a second message from the first computing device, wherein the second message includes a network identifier of the second computing service acquired from the blockchain system and message content provided by the first computing service; a message processing unit configured to provide the message content to the second computing service according to a network identification of the second computing service.
In a sixth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method of any of the second or third aspects.
In a seventh aspect, a computing device is provided, which includes a memory and a processor, where the memory stores executable code, and the processor executes the executable code to implement the method of any one of the second aspect or the third aspect.
By the method and the device provided in the embodiment of the present specification, for any two first nodes and second nodes belonging to different participants in a blockchain system, a first computing device and a second computing device, which are respectively connected to the first nodes and the second nodes and belong to different participants, are respectively associated with a first computing service and a second computing service, and a network identifier of the second computing service is stored in the blockchain system; on the basis, the first computing device can obtain a first message initiated by the affiliated party through the first computing service, wherein the first message at least comprises the message content expected to be delivered; then the first computing device can send a second message to the second computing device according to the network identifier of the second computing service stored in the blockchain system, wherein the second message comprises the network identifier of the second computing service and the message content; in turn, the second computing device may provide the aforementioned message content to the second computing service based on the network identification of the second computing service, such that the second computing service provides the aforementioned message content to the participant to which the second computing device belongs. Therefore, the message content expected to be delivered can be ensured to be timely and effectively delivered among the participants without using a third-party instant messaging tool, and the fact that the participants can mutually cooperate on the basis of the delivered message content can be further ensured to execute corresponding transactions on the basis of a block chain system.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments in the present specification, the drawings required to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments described in the present specification, and it is obvious for those skilled in the art that other drawings may be obtained according to these drawings without inventive labor.
Fig. 1 is a system architecture diagram of a blockchain system exemplarily provided in an embodiment of the present specification;
FIG. 2 is a schematic diagram of the relationship of an exemplary provided computing device and its associated computing service in an embodiment of the present description;
fig. 3 is one of schematic diagrams of a block chain-based communication processing method provided in an embodiment of the present specification;
fig. 4 is a second schematic diagram of a block chain-based communication processing method provided in the embodiment of the present disclosure;
fig. 5 is one of schematic diagrams of a block chain based communication processing apparatus provided in an embodiment of the present specification;
fig. 6 is a second schematic diagram of a block chain-based communication processing apparatus provided in an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without making any creative effort shall fall within the protection scope of the present specification.
The block chain system is a distributed network established by a plurality of nodes, and any two nodes included in the block chain system realize communication connection at an application layer through a Peer-to-Peer (P2P) network. Referring to fig. 1, the block chain system may include nodes 1 to 4, for example, and any two nodes of the nodes 1 to 4 may implement communication connection at the application layer through a P2P network. The blockchain system uses decentralized (or referred to as multicentric) distributed ledgers constructed by a chain blockchain structure to store on each node (or on most nodes) in the distributed blockchain network, so the blockchain system needs to solve the problem of consistency and correctness of respective ledger data on the decentralized (or multicentric) nodes. Each node of the blockchain system runs a blockchain program, and under the design of certain fault tolerance requirements, all loyalty nodes are ensured to have the same transaction through a consensus (consensus) mechanism, so that the execution results of all loyalty nodes on the same transaction are ensured to be consistent, a plurality of transactions arranged in sequence are packaged into blocks, and the world state is updated based on the execution results of the transactions. The consensus mechanisms in which the current mainstream may include, but are not limited to: proof of Work (POW), proof of stock right (POS), practical Byzantine Fault Tolerance (PBFT) algorithm, badger Byzantine Fault Tolerance (honeybadger bft) algorithm, and so on.
A transaction in a blockchain system refers to a task unit that is executed in the blockchain system and recorded in the blockchain system. The transaction typically includes a send field (From), a receive field (To), and a Data field (Data). Where the transaction is a transfer transaction, the From field indicates the address of the account From which the transaction was initiated (i.e., from which a transfer task To another account was initiated), the To field indicates the address of the account From which the transaction was received (i.e., from which a transfer was received), and the Data field includes the transfer amount. In the case where a transaction calls an intelligent contract in the blockchain system, the From field represents the account address From which the transaction originated, the To field represents the account address of the contract called by the transaction, and the Data field includes the name of the function in the calling contract and Data such as incoming parameters To the function for retrieving the code of the function From the blockchain system and executing the code of the function when the transaction is executed.
An intelligent contract in a blockchain system is a contract that can be executed triggered by a transaction. An intelligent contract may be defined in the form of code. For example, invoking an intelligent contract in a federation chain initiates a transaction directed to an intelligent contract address, such that each node in the network of the federation chain runs intelligent contract code in a distributed manner. It should be noted that, in addition to the creation of the intelligent contract by the user, the intelligent contract may also be set by the system in the creation block. This type of contract is generally referred to as a startup contract. In general, the data structure, parameters, attributes and methods of some blockchain systems may be set in the startup contract. Further, an account with system administrator privileges may create a contract at the system level, or modify a contract at the system level (simply a system contract).
In a scenario of deploying smart contracts, a transaction containing smart contract creation information (i.e., a transaction for creating a smart contract) may be sent into the blockchain system, the from field of the transaction being the account address of the transaction initiator, the data field of the transaction including the code (e.g., bytecode or machine code) of the smart contract to be created, and the to field of the transaction being null to indicate that the transaction is for deploying a contract. After the agreement is achieved between the nodes through a consensus mechanism, a contract address of a contract is determined, a contract account corresponding to the contract address of the intelligent contract is added into a state database, state storage corresponding to the contract account is allocated, and a contract code is stored in the state storage of the intelligent contract.
In the scenario of invoking a contract, a transaction for invoking a smart contract may be sent into the blockchain system, the from field of the transaction being the account address of the transaction initiator, the to field being the contract address of the invoked smart contract, the data field of the transaction including the method and parameters of invoking the smart contract. After the transaction is identified in the blockchain system, each node can execute the transaction respectively, so that the intelligent contract is executed respectively, and the state database is updated correspondingly based on the execution of the intelligent contract.
It should be noted that a contract account will typically also have states that are defined by state variables in the intelligent contract and that generate new values when the intelligent contract is created and executed. Wherein the contract account may be used to store contract status associated with the intelligent contract. Once an event triggers a term in the intelligent contract (execution condition is met), the code may be automatically executed. In a block chain system, the contract state of an intelligent contract is stored in a storage tree (storage tree), and the hash value of the root node of the storage tree is stored in a storage _ root, so that all contract states of the contract are locked to the contract account through a hash. The storage tree is an MPT tree structure that stores key-value mappings of state addresses to state values. The address of a state variable is stored from the root node to the leaf node of the memory tree, and the value of the state variable is stored in one leaf node.
The blockchain system may correspond to multiple participants, i.e., different nodes in the blockchain system may be responsible for interfacing with different computing devices, where the interfaced nodes and computing devices belong to the same participant, while different nodes/computing devices may belong to different participants, where the aforementioned participants may be organizations, or natural persons. For example, the blockchain system may be a federation chain corresponding to a plurality of participants, with node 1 and computing device 10 belonging to participant a, node 2 and computing device 20 belonging to participant B, node 3 and computing device 30 belonging to participant C, and node 4 and computing device 40 belonging to participant D. The computing equipment can be used for performing computing processing on corresponding data and transmitting a processing result to a node in butt joint with the computing equipment in a transaction form; communication connection can be established between different computing devices through a block chain Transmission Network (BTN) or the like.
The message content is often required to be communicated between the participants through online communication, so that the block chain system executes corresponding transactions based on the realization that the communicated message content is cooperated with each other. For example, party a holds brand P and party B may desire that party a authorize party a for brand P through the blockchain system, thereby allowing party B to produce and/or sell certain goods belonging to brand P using brand P held by party a; in this case, the participant B and the participant a may perform online communication to achieve a certain collaboration condition, and finally, the participant a may authorize the brand P to the participant B through the blockchain system according to the achieved collaboration condition, specifically, for example, the participant a and the participant B sequentially invoke a certain intelligent contract deployed in the blockchain system according to the achieved collaboration condition, and authorize the brand P held by the participant a to the participant B by modifying a contract state of the intelligent contract.
In the related art, a third-party instant messaging tool can be used for online communication among multiple participants corresponding to the blockchain system, however, the reliability of the third-party instant messaging tool is difficult to guarantee, for example, a server corresponding to the third-party instant messaging tool is disconnected/down or other problems occur in the third-party instant messaging tool itself, which may cause that the participants cannot timely and effectively transmit corresponding message contents in an online communication manner, and further normal execution of corresponding transactions is affected.
In view of the foregoing, embodiments of the present specification provide a method and an apparatus for processing communication based on a block chain. For any two first nodes and second nodes belonging to different participants in a block chain system, first computing equipment and second computing equipment which are respectively connected with the first nodes and the second nodes and belong to different participants are respectively associated with first computing services and second computing services, and network identifications of the second computing services are stored in the block chain system; on the basis, the first computing device can obtain a first message initiated by the affiliated party through the first computing service, wherein the first message at least comprises the message content expected to be delivered; then the first computing device can send a second message to the second computing device according to the network identifier of the second computing service stored in the blockchain system, wherein the second message comprises the network identifier of the second computing service and the message content; in turn, the second computing device may provide the aforementioned message content to the second computing service based on the network identification of the second computing service, such that the second computing service provides the aforementioned message content to the participant to which the second computing device belongs. Therefore, the message content expected to be delivered can be ensured to be timely and effectively delivered among the participants without using a third-party instant messaging tool, and the fact that the participants can mutually cooperate based on the delivered message content can be further ensured to execute corresponding affairs based on the blockchain system.
The computing service may be an application program running independently, or may be a component of Distributed Application (DAPP) based on a blockchain system. Wherein a DAPP based on a blockchain system can be generally divided into two components, a User Interface (UI) and a smart contract, all UIs of the DAPP being managed by computing services belonging to the DAPP, and thus the DAPP based on the blockchain system essentially comprises two components, a smart contract and computing services for managing the UIs; it should be noted, however, that the computing service described in the embodiments of the present specification may not only be used for managing the UI of the DAPP, but should also have other functions disclosed in the embodiments of the present specification.
The UI refers to an operable interactive page that can be directly presented to a user through a terminal such as a personal computer or a mobile phone, and for example, the UI of DAPP can be implemented through technologies such as JAVA, real, VUE, and the like. Where a terminal can act as a computing device that interfaces with a node in the blockchain system, or the terminal can be separate from the computing device that interfaces with a node in the blockchain system and communicatively connected with the respective computing device. Furthermore, the user can access the computing service belonging to the DAPP through the terminal, obtain the UI returned by the computing service and execute corresponding interactive operation based on the UI returned by the computing service; finally, the terminal/terminal connected computing device is caused to send a transaction to the blockchain system requesting invocation of the intelligent contracts belonging to the DAPPs, or the terminal is caused to trigger online communication of computing services belonging to a certain DAPP with computing services belonging to other DAPPs.
Computing services associated with a computing device may run directly in the computing device. Alternatively, computing services associated with a computing device may run in a computing node that relies on the computing device, such as in a Virtual Machine (VM) or other type of Virtual computing node that relies on the computing device, to securely isolate different computing services in the computing device. Alternatively, computing services associated with a computing device may run in other computing devices connected to the computing device; for example, referring to fig. 2, a computing device 10 interfacing with a node 1 is taken as an entry of a cluster P belonging to a participant a, the cluster P further comprising a computing device 11 and a computing device 12, and the computing service associated with the computing device 10 may be, for example, a computing service 2 running in the computing device 11 and belonging to a distributed application DAPP2, or a computing service 3 running in the computing device 12 and belonging to a distributed application DAPP 3.
The process of deploying and running computing service 1 associated with computing device 10 is described below, first with reference to FIG. 1 as previously described. Wherein, for example, industry application middleware 1 to industry middleware 4 can be deployed in sequence in the computing device 10 to the computing device 40, the computing service 1 belongs to, for example, a distributed application DAPP1 based on a blockchain system, and the DAPP1 is issued by, for example, a participant D through the computing device 40.
With respect to the aforementioned DAPP1, the developer thereof may, for example, log in to the publishing website of the DAPP and publish the DAPP1 on the computing device 40 through the industry application middleware 4, and may further send a transaction Tx1 to the blockchain system to deploy the intelligent contract C1 belonging to the DAPP1 in the blockchain system. For example, a user of the computing device 10 may log in a DAPP subscription website to subscribe to DAPP1 through the industry application middleware 1, and then complete deployment and operation of the computing service 1 belonging to DAPP1 in the computing device 10.
For example, when the developer issues DAPP1, the application information of DAPP1 may be uploaded to the blockchain system through the industry application middleware 4, for example, a transaction Tx2 requesting to call the intelligent contract C2 is sent to the blockchain system through the industry application middleware 4, so as to store the application information of DAPP1 into the contract state of the intelligent contract C2; the developer may also store the installation package corresponding to the computing service 1 belonging to the DAPP1 in the computing device 40. The application information of DAPP1 may include, but is not limited to, connection information of the computing device 40 and an application identifier of DAPP1, and may further include, for example, authorization information of DAPP1 on the computing device 10, a data structure of the service data associated with DAPP1, a policy that the service data associated with DAPP1 is circulated, and the like.
For example, when a user subscribes to DAPP1, application information of all DAPPs that can be subscribed by the computing device 10 may be acquired from the blockchain system through the industry application middleware 1; for example, by the industry application middleware 1 sending a transaction Tx3 to the blockchain system requesting to invoke the intelligent contract C2, the blockchain system filters application information authorized for the computing device 10 from the contract state of the intelligent contract C2, and if the authorization information for the computing device 10 included in the application information of DAPP1 can indicate that DAPP1 is authorized for the computing device 10, the blockchain system filters application information of DAPP1 from the contract state of the intelligent contract C2 and returns the filtered application information of DAPP1 to the computing device 10. Further, the computing device 10 may communicate with the computing device 40 that issued DAPP1 based on the connection information of the computing device 40 included in the application information of DAPP1 to acquire an installation package of the computing service 1 belonging to DAPP1, and deploy and run the computing service 1 belonging to DAPP1 in the computing device 10 according to the installation package. It should be particularly noted that the computing service 1 may run directly on the computing device 10, or may run on a computing node depending on the computing device 10, for example, a Virtual Machine (VM) or other type of Virtual computing node running on the computing device 10, so as to perform security isolation on different computing services in the computing device 10.
The process of deploying and running computing service 2 or computing service 3 differs from that of computing service 1 for computing service 2 or computing service 3 in that after computing device 10 acquires the installation package of computing service 2 or the installation package of computing service 3, computing device 10 may cooperate with computing device 11 to complete the deployment and running of computing service 2 in computing device 11, or cooperate with computing device 12 to complete the deployment and running of computing service 3 in computing device 12. Further, similar to the process of deploying and running computing services 1, 2, and 3, computing service 4 associated with computing device 20 may also be deployed and run, where computing service 4 belongs to, for example, distributed application DAPP4 based on a blockchain system and is published by computing device 30.
Computing devices are usually located in an intranet environment of their own participants, and thus, a computing service associated with a computing device needs to expose its network identifier to the outside, so that other computing devices located outside the intranet environment can accurately access the computing service according to the network identifier of the computing service. In one possible implementation, a computing service may send its network identification to the blockchain system, for example, through corresponding industry application middleware, to store the network identification of the computing service in the blockchain system. For example, after the computing device 10 finishes deploying and runs the computing service 1, the computing service 1 may send, through the industry application middleware 1, a transaction Tx4 for invoking the intelligent contract C2 to record, in a contract state of the intelligent contract C2, registration information of the computing service 1, where the registration information of the computing service 1 includes at least a network identifier of the computing service 1, an identity identifier of the participant a, and an application identifier of a DAPP1 to which the computing service 1 belongs, so that the registration information of the computing service 1 may indicate that the computing service 1 belonging to the DAPP1 is used by the participant a for online communication with other participants in the blockchain system.
The network identification of the computing service may include a first access path corresponding to its associated computing device, the first access path being used to support other computing devices to access the computing device. For example, the first access path corresponding to the computing device 10 may be a domain name address that is exposed to the outside by the computing device 10, or a combination of an IP address and a port number corresponding to the domain name address.
The network identification of the computing service may further include a second access path corresponding to the computing service, where the second access path is used to support the computing device associated with the computing service to access the computing service. As can be seen with reference to the foregoing, computing services associated with a computing device may include, but are not limited to, the following cases 1-3: in case 1, a computing service associated with a computing device runs directly in the computing device, in which case the second access path corresponding to the computing service may be a port number allocated to the computing service by the computing device associated with the computing service; in case 2, the computing service associated with the computing device runs in a computing node depending on the computing device, in which case the second access path corresponding to the computing service may be an IP address corresponding to the computing node and a port number allocated to the computing service; in case 3, the computing service associated with the computing device runs on other computing devices in the cluster to which the computing device belongs, in which case the second access path corresponding to the computing service may be an IP address corresponding to the computing device running the computing service and a port number allocated to the computing service by the computing device.
While the foregoing describes the process by which computing service 1 associated with computing device 10 stores its network identification to the blockchain system, it will be appreciated that other computing services, such as computing service 4, may accomplish storing its network identification to the blockchain system through a similar process. For any single participant, it may query, for example, the registration information of each computing service stored in the contract state of the intelligent contract C2 through the corresponding computing device, and learn the network identifier of the computing service used for online communication among the other participants and/or the application identifier of the DAPP to which the computing service belongs, so as to use the network identifier of the computing service and/or the application identifier of the DAPP to which the computing service belongs in the subsequent process to complete the delivery of the message content to the corresponding participant.
Fig. 3 is a schematic diagram of a block chain-based communication processing method provided in an embodiment of the present disclosure. The process of the computing service 1 obtaining the network identifier of the computing service 4 is described as an example, and referring to fig. 3, the process may include, but is not limited to, the following steps S31 to S34.
In step S31, the computing device 10 obtains an information query request from the computing service 1, where the information query request includes an application identifier of the distributed application DAPP4 to which the computing service 4 belongs.
Party a may for example know that the computing service 4 belonging to the distributed application DAPP4 is used by party B for online communication with the other parties involved in the blockchain system, i.e. party a may for example know the application identity of the distributed application DAPP4 to which the computing service 4 belongs. On this basis, the party a may for example trigger the computing service 1 to initiate an information query request containing an application identification of the distributed application DAPP4 to which the computing service 4 belongs to the industrial application middleware 1 deployed in the computing device 10.
At step S32, the computing device 10 sends transaction Tx5 to node 1 in the blockchain system according to the application identification of DAPP 4.
Computing device 10 sends transaction Tx5 to node 1, for example through industry application intermediary 1, transaction Tx5 being used to request a query for the network identification of computing service 4 from the blockchain system. More specifically, transaction Tx5 is used, for example, to invoke intelligent contract C2, whose Data field includes, for example, the application identification of DAPP4, to cause node 1 to execute intelligent contract C2 in accordance with transaction Tx5, to implement, from the registration information of computing service 4 recorded from the contract status of intelligent contract C2, the query for the network identification of computing service 4 and return to computing device 10.
At step S33, the computing device 10 receives the network identification of the computing service 4 returned by the node 1.
The computing device 10 receives the network identification of the computing service 4 returned by the node 1, for example, through the industry application middleware 1.
At step S34, computing device 10 provides computing service 1 with the network identification of computing service 4.
Computing device 10 provides computing service 1 with a network identification of computing service 4, for example, through industry application middleware 1.
Although the foregoing describes exemplarily a process in which the computing service 1 obtains the network identifier of the computing service 4, it does not mean that the computing service 1 must obtain the network identifier of the computing service 4 in order to communicate with the computing service 4, for example, it may directly use the application identifier of the distributed application DAPP4 to which the computing service 4 belongs to implement communication with the computing service 4.
Fig. 4 is a second schematic diagram of a block chain-based communication processing method provided in an embodiment of the present disclosure. The process of computing service 1 associated with computing device 10 communicating with computing service 4 associated with computing device 20 to deliver the corresponding message content to computing service 4 is described by way of example, and referring to fig. 4, the method may include, but is not limited to, steps S41 through S47 as follows.
At step S41, computing device 10 obtains computing service 1-initiated message M1.
When party a desires to deliver the corresponding message content to party B, party a may trigger computing service 1 to initiate message M1 through computing device 10, and computing service 1 initiated message M1 may be received by, for example, application middleware 1 in computing device 1. The message M1 includes at least the message content, and in addition, the message M1 may include at least one of the following information: a network identifier of the computing service 1, a network identifier of the computing service 4 associated with the computing device 20 held by the participant B, and an application identifier of the distributed application DAPP4 to which the computing service 4 belongs; as can be seen with reference to the foregoing, the network identification of the computing service 4 and/or the application identification of the DAPP4 contained in the message M1 may be obtained by the computing device 10 from the blockchain system.
In the case where the application identification of DAPP4 is included in message M1 and computing device 10 does not locally store the application identification of DAPP4 in association with the network identification of computing service 4, computing device 10 may sequentially perform steps S42-S44 as follows; in the case where the network identification of the computing service 4 is included in the message M1, or the application identification of the DAPP4 is included in the message M1 and the computing device 10 locally stores the application identification of the DAPP4 and the network identification of the computing service 4 in association, step S44 may be performed as follows.
At step S42, computing device 10 sends transaction Tx5 to node 1 in the blockchain system.
Computing device 10 sends transaction Tx5 to node 1, for example through industry application intermediary 1, transaction Tx5 being used to request a query for the network identification of computing service 4 from the blockchain system. More specifically, transaction Tx5 is used, for example, to invoke intelligent contract C2, whose Data field includes, for example, the application identification of DAPP4, to cause node 1 to execute intelligent contract C2 in accordance with transaction Tx5, to implement, from the registration information of computing service 4 recorded from the contract status of intelligent contract C2, the query for the network identification of computing service 4 and return to computing device 10.
At step S43, computing device 10 receives the network identification of computing service 4 returned by node 1.
The computing device 10 receives the network identification of the computing service 4 returned by the node 1, for example, through the industry application middleware 1.
At step S44, computing device 10 sends message M2 to computing device 20 based on the network identification of computing service 4.
Industry application middleware 1 in computing device 10, for example, can send message M2 to computing device 20 according to the first access path to which computing service 4 corresponds. The message M2 includes at least the network identification of the computing service 4 and the message content located in the message M1, and may include the network identification of the computing service 1 located in the message M1.
The computing device 20 may receive the message M2 from the computing device 10, for example, through the industry application middleware 2, and after it receives the message M2, may sequentially perform steps S45 to S47 as follows, or directly perform step 47 as follows.
At step S45, the computing device 20 sends a transaction Tx6 to node 2 in the blockchain system.
The computing device 20 may send a transaction Tx6 to the node 2, for example, through the industry application middleware 2, the transaction Tx6 being used to query the legitimacy of the network identification of the computing service 1 included in the message M2. Where transaction Tx6 is used, for example, to invoke intelligent contract C2, the Data field of which includes, for example, the network identification of computing service 1, causing node 2 to execute intelligent contract C2 in accordance with transaction Tx6 and return a query result to computing device 20 indicating whether computing service 1 is allowed to access computing service 2. More specifically, if node 2 fails to query the registration information containing the network identifier of computing service 1 from the contract state of intelligent contract C2, indicating that the network identifier of computing service 1 is not legitimate, node 2 may return a query result to computing device 20 indicating that computing service 1 is prohibited from accessing computing service 2; in contrast, if node 2 queries registration information containing the network identifier of computing service 1 from the contract state of intelligent contract C2, indicating that the network identifier of computing service 1 is legitimate, node 2 may return a query result to computing device 20 indicating that computing service 1 is allowed to access computing service 2.
At step S46, computing device 20 receives the query results returned by node 2.
Computing device 20 may receive the query result from node 2, for example, through industry application middleware 2, and in the event that the query result indicates that computing service 1 is allowed to access computing service 2, proceed to step S47 as follows.
At step S47, computing device 20 provides the message content to computing service 4 based on the network identification of computing service 4.
Industry application middleware 4 in computing device 20 may provide the message content located in message M2 to computing service 4, for example, according to a second access path corresponding to computing service 4. In turn, computing service 4 may provide the message content to party B, such as through computing device 20, and in particular display the message content to the party, such as through computing device 20.
Computing device 20 may also be associated with a third party application to which computing device 20 may also provide the message content in message M2 so that the message content may be presented to party B through the third party application. For example, the network identifier of the third-party application may be configured in the industry application middleware 2, and the industry application middleware 2 may provide the message content located in the message M2 to the third-party application according to the network identifier of the third-party application.
The method embodiment is based on the same concept, and the apparatus in this specification embodiment further provides a block chain based communication processing apparatus, the apparatus relates to a first computing device and a second computing device, the first computing device and the second computing device respectively interface a first node and a second node in a block chain system, the first computing device and the second computing device belong to different participants and are respectively associated with a first computing service and a second computing service, a network identifier of the second computing service is stored in the block chain system, and the apparatus is deployed on the first computing device. As shown in fig. 5, the apparatus includes: a message acquiring unit 51 configured to acquire a first message from the first computing service, the first message including at least message content to be sent to the second computing service; a message sending unit 53, configured to send a second message to the second computing device according to the network identifier of the second computing service acquired from the blockchain system, where the second message includes the network identifier of the second computing service and the message content, so that the second computing device provides the message content to the second computing service according to the network identifier of the second computing service.
The block chain based communication processing device relates to a first computing device and a second computing device, wherein the first computing device and the second computing device respectively interface a first node and a second node in a block chain system, the first computing device and the second computing device belong to different participants and are respectively associated with a first computing service and a second computing service, a network identifier of the second computing service is stored in the block chain system, and the device is deployed on the second computing device. As shown in fig. 6, the apparatus includes: a message receiving unit 61 configured to receive a second message from the first computing device, where the second message includes a network identifier of the second computing service acquired from the blockchain system and a message content provided by the first computing service; a message processing unit 63 configured to provide the message content to the second computing service according to the network identification of the second computing service.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development, but the original code before compiling is also written in a specific Programming Language, which is called Hardware Description Language (HDL), and the HDL is not only one kind but many kinds, such as abll (Advanced boot Expression Language), AHDL (alternate hard Description Language), traffic, CUPL (computer universal Programming Language), HDCal (Java hard Description Language), lava, lola, HDL, PALASM, software, rhydl (Hardware Description Language), and vhul-Language (vhyg-Language), which is currently used in the field. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in purely computer readable program code means, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be regarded as a hardware component and the means for performing the various functions included therein may also be regarded as structures within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a server system. Of course, this application does not exclude that with future developments in computer technology, the computer implementing the functionality of the above described embodiments may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device or a combination of any of these devices.
Although one or more embodiments of the present description provide method operational steps as described in the embodiments or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive approaches. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. When an actual apparatus or end product executes, it may execute sequentially or in parallel (e.g., parallel processors or multi-threaded environments, or even distributed data processing environments) according to the method shown in the embodiment or the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in processes, methods, articles, or apparatus that include the recited elements is not excluded. For example, if the terms first, second, etc. are used to denote names, they do not denote any particular order.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, when implementing one or more of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, etc. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage, graphene storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
As will be appreciated by one skilled in the art, one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points. In the description of the specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the specification. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
The above description is intended to be illustrative of one or more embodiments of the disclosure, and is not intended to limit the scope of one or more embodiments of the disclosure. Various modifications and alterations to one or more embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present specification should be included in the scope of the claims.

Claims (22)

1. A blockchain based communication processing method involving a first computing device and a second computing device that respectively interface a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and being respectively associated with a first computing service and a second computing service, the blockchain system having stored therein a network identification of the second computing service, the method comprising:
the first computing device obtaining a first message from the first computing service, wherein the first message at least comprises message content to be sent to the second computing service;
the first computing device sends a second message to the second computing device according to the network identifier of the second computing service acquired from the blockchain system, wherein the second message comprises the network identifier of the second computing service and the message content;
the second computing device provides the message content to the second computing service according to the network identification of the second computing service included in the second message.
2. The method of claim 1, further comprising an application identification of the distributed application to which the second computing service belongs in the first message, the method further comprising: and the first computing equipment sends a first transaction to the first node according to the application identifier, so that the first node returns the network identifier of the second computing service stored in the blockchain system.
3. The method of claim 1, further comprising:
the first computing equipment acquires an information query request from the first computing service, wherein the information query request comprises an application identifier of a distributed application to which the second computing service belongs;
the first computing device sends a first transaction to the first node according to the application identifier, and the first node returns the network identifier of the second computing service stored in the blockchain system;
the first computing device providing a network identification of the second computing service to the first computing service;
wherein the first message further includes a network identification of the second computing service.
4. The method of claim 1, the blockchain system is a federation chain corresponding to a plurality of participants.
5. The method of claim 1, the blockchain system having an intelligent contract deployed therein, the first and second messages further including therein a network identification of the first computing service;
wherein the method further comprises: and the second equipment sends a second transaction for calling the intelligent contract to the second node, wherein the second transaction comprises the network identification of the first computing service, and the second node returns a query result which is used for indicating whether the first computing service is allowed to access the second computing service.
6. The method of claim 1, the second computing device associated with a third party application; the method further comprises the following steps: providing the message content to the third party application.
7. The method of any of claims 1-6, the network identification of the second computing service comprising a first access path corresponding to the second computing device and a second access path corresponding to the second computing service.
8. A blockchain based communication processing method involving a first computing device and a second computing device that respectively interface a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and being respectively associated with a first computing service and a second computing service, the blockchain system having stored therein a network identification of the second computing service, the method being performed by the first computing device, the method comprising:
acquiring a first message from the first computing service, wherein the first message at least comprises message content to be sent to the second computing service;
and sending a second message to the second computing device according to the network identifier of the second computing service acquired from the blockchain system, wherein the second message comprises the network identifier of the second computing service and the message content, and enabling the second computing device to provide the message content to the second computing service according to the network identifier of the second computing service.
9. The method of claim 8, further comprising an application identification of the distributed application to which the second computing service belongs in the first message;
wherein the method further comprises: and the first computing equipment sends a first transaction to the first node according to the application identifier, so that the first node returns the network identifier of the second computing service stored in the blockchain system.
10. The method of claim 8, further comprising:
acquiring an information query request from the first computing service, wherein the information query request comprises an application identifier of a distributed application to which the second computing service belongs;
sending a first transaction to the first node according to the application identifier, and enabling the first node to return a network identifier of the second computing service stored in the blockchain system;
providing the network identification of the second computing service to the first computing service;
wherein the first message further includes a network identification of the second computing service.
11. The method of claim 8, the blockchain system is a federation chain of corresponding multiple participants.
12. The method of claim 8, further comprising, in the first message and the second message, a network identification of the first computing service.
13. The method of any of claims 8-12, the network identification of the second computing service comprising a first access path corresponding to the second computing device and a second access path corresponding to the second computing service.
14. A blockchain based communication processing method involving a first computing device and a second computing device respectively interfacing a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and respectively associated with a first computing service and a second computing service, the blockchain system having stored therein a network identification of the second computing service, the method being performed by the second computing device, the method comprising:
receiving a second message from the first computing device, wherein the second message comprises a network identification of the second computing service acquired from the blockchain system and message content provided by the first computing service;
providing the message content to the second computing service in accordance with the network identification of the second computing service.
15. The method of claim 14, the blockchain system is a federation chain of corresponding multiple participants.
16. The method of claim 14, the blockchain system having an intelligent contract deployed therein, the second message further including a network identification of the first computing service;
wherein the method further comprises: sending a second transaction for invoking the intelligent contract to the second node, wherein the second transaction comprises the network identifier of the first computing service, and enabling the second node to return a query result, wherein the query result is used for indicating whether the first computing service is allowed to access the second computing service.
17. The method of claim 14, the second computing device associated with a third party application; the method further comprises the following steps: providing the message content to the third party application.
18. The method of any of claims 14-17, the network identification of the second computing service comprising a first access path corresponding to the second computing device and a second access path corresponding to the second computing service.
19. An apparatus for blockchain based communication processing involving a first computing device and a second computing device that respectively interface a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and respectively associated with a first computing service and a second computing service, the blockchain system having stored therein a network identification of the second computing service, the apparatus being deployed at the first computing device, the apparatus comprising:
a message acquiring unit configured to acquire a first message from the first computing service, the first message including at least message content to be sent to the second computing service;
a message sending unit, configured to send a second message to the second computing device according to the network identifier of the second computing service acquired from the blockchain system, where the second message includes the network identifier of the second computing service and the message content, and enable the second computing device to provide the message content to the second computing service according to the network identifier of the second computing service.
20. An apparatus for blockchain-based communication processing involving a first computing device and a second computing device that respectively interface a first node and a second node in a blockchain system, the first computing device and the second computing device belonging to different participants and respectively associated with a first computing service and a second computing service, the blockchain system having stored therein a network identification of the second computing service, the apparatus being deployed at the second computing device, the apparatus comprising:
a message receiving unit configured to receive a second message from the first computing device, where the second message includes a network identifier of the second computing service acquired from the blockchain system and message content provided by the first computing service;
a message processing unit configured to provide the message content to the second computing service according to the network identification of the second computing service.
21. A computer-readable storage medium, on which a computer program is stored which, when executed in a computer, causes the computer to carry out the method of any one of claims 8-18.
22. A computing device comprising a memory having executable code stored therein and a processor that, when executing the executable code, implements the method of any of claims 8-18.
CN202211123174.8A 2022-09-15 2022-09-15 Communication processing method and device based on block chain Pending CN115576709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211123174.8A CN115576709A (en) 2022-09-15 2022-09-15 Communication processing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211123174.8A CN115576709A (en) 2022-09-15 2022-09-15 Communication processing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN115576709A true CN115576709A (en) 2023-01-06

Family

ID=84581034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211123174.8A Pending CN115576709A (en) 2022-09-15 2022-09-15 Communication processing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN115576709A (en)

Similar Documents

Publication Publication Date Title
US8788580B2 (en) Event broker for an improved application server platform for telecom-based applications
US9336020B1 (en) Workflows with API idiosyncrasy translation layers
CN114679457B (en) Node grouping method in block chain and block chain link point
WO2023160085A1 (en) Method for executing transaction, blockchain, master node, and slave node
CN114936092A (en) Method for executing transaction in block chain and main node of block chain
CN114513528B (en) Method and system for service reservation and delegation based on block chain
CN114936094A (en) Method for executing transaction in block chain, master node and slave node of block chain
CN115150409B (en) Method for executing transaction in blockchain system, node and computer readable storage medium
CN114785800B (en) Cross-link communication method, device, storage medium and computing equipment
CN116032756A (en) Method for updating configuration information of application program based on block chain and block chain link point
CN115098114A (en) Block chain-based distributed application deployment method and device
CN116795382A (en) Method for distributing contracts in block chain and block chain link point
CN116645061A (en) Customs clearance data processing method based on block chain system and consensus node
CN115576709A (en) Communication processing method and device based on block chain
CN113259462B (en) Block chain message distribution method and device
CN115714652A (en) Transaction execution method and block link point
CN115098483A (en) Pre-execution cache data cleaning method and block link point
CN115529352A (en) Routing processing method and device for computing service
CN108920277B (en) Service execution system, method and device and service isolation system
CN115664704A (en) Authority management method and device based on block chain and node in block chain system
EP3534588A1 (en) Network policy exchanging method and system
CN115665228B (en) Cross-node service discovery method and device
CN115880071A (en) Method for processing digital resources and nodes of block chain
CN115865365B (en) Block chain-based account dividing processing method, device and system
CN114785853B (en) Method, apparatus, storage medium and computing device for cross-chain communication in a blockchain system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination