Working method of cross-chain browser for carrying out cross-chain based on chain card, cross-chain browser for carrying out cross-chain based on chain card, electronic equipment and storage medium

Through a cross-chain browser based on chain cards, the problem that blockchain browsers are difficult to query cross-chain information is solved, and efficient information exchange and interconnection between blockchains are achieved.

CN120200728APending Publication Date: 2025-06-24QINGDAO HAIER SPECIAL REFRIGERATOR CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311792875.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

Existing blockchain browsers have difficulty in querying cross-chain information, which makes it difficult to communicate and interconnect between blockchains.

Method used

Through a cross-chain browser based on chain cards, chain cards are used as the basic software component to realize cross-chain operations, communication channels between blockchains are established to realize cross-chain transactions and information query.

Benefits of technology

The query and display of cross-chain information is realized, and users can obtain cross-chain information through simple query operations, improving the interconnection between blockchains.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120200728A_ABST
    Figure CN120200728A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of block chains, and discloses a working method of a cross-chain browser for carrying out cross-chain based on a chain card. The working method comprises the following steps: in response to a first query operation of a user, generating a first query request corresponding to the first query operation; wherein the first query operation is used for querying the latest cross-chain information; the first query request is sent to a block chain node, latest cross-chain information fed back by the block chain node is obtained, the latest cross-chain information comprises latest block chain information and latest chain card information, a chain card is a basic software component for realizing cross-chain operation, the latest chain card is a chain card involved in latest cross-chain transaction, and the latest cross-chain information comprises the latest block chain information and the latest chain card information; the block chain information is block chain information involved in the cross-chain transaction; and displaying the latest cross-chain information. By adopting the working method, a user can conveniently inquire the cross-chain information. The invention further discloses a cross-chain browser for cross-chain based on the chain card, electronic equipment and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain technology. For example, it relates to a working method of a cross-chain browser for cross-chain based on chain cards, a cross-chain browser for cross-chain based on chain cards, an electronic device, and a storage medium. Background Art

[0002] Currently, blockchain can establish credit based on its core advantage of decentralization and is widely used in fields such as finance, logistics, healthcare, and intellectual property. The display of blockchain data can be achieved through a blockchain browser, which details information such as each block, each transaction, and wallet and exchange addresses in the blockchain.

[0003] In the process of implementing the embodiments of this application, it is found that at least the following problems exist in the related technologies:

[0004] With the rapid development of blockchain, the problems of blockchain have gradually emerged. A single blockchain is more like a value island. The communication and interconnection between blockchains have become an important concern in society, and cross-chain technology has emerged accordingly. With the continuous development and maturity of cross-chain technology, cross-chain blockchain systems have emerged one after another. However, each blockchain has its own algorithm and ecosystem, which results in blockchain browsers mainly supporting single-blockchain information query, and it is difficult for users to query cross-chain information.

[0005] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of this application. Therefore, it may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0006] To have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key / important constituent elements or delineate the protection scope of these embodiments. Instead, it serves as a preface to the subsequent detailed description.

[0007] The embodiments of this application provide a working method of a cross-chain browser for cross-chain based on chain cards, a cross-chain browser for cross-chain based on chain cards, an electronic device, and a storage medium to facilitate users to query cross-chain information.

[0008] In some embodiments, a working method of a cross-chain browser for cross-chain based on chain cards includes: in response to a user's first query operation, generating a first query request corresponding to the first query operation; wherein, the first query operation is used to query the latest cross-chain information; sending the first query request to a blockchain node to obtain the latest cross-chain information fed back by the blockchain node, wherein the latest cross-chain information includes the latest blockchain information and the latest chain card information, the chain card is a basic software component for implementing cross-chain operations, the latest chain card is the chain card involved in the latest cross-chain transaction, and the blockchain information is the information of the blockchain involved in the cross-chain transaction; displaying the latest cross-chain information.

[0009] Optionally, sending the first query request to a blockchain node to obtain the latest cross-chain information fed back by the blockchain node includes: sending the first query request to a cross-chain platform, and the cross-chain platform, in response to the first query request, obtains the cross-chain information involved in the latest cross-chain transaction that has been recorded; the cross-chain platform establishes a connection with the blockchain through the chain card and conducts communication; obtaining the cross-chain information involved in the latest cross-chain transaction fed back by the cross-chain platform, and taking the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information.

[0010] Optionally, during the process of cross-chain transactions, the cross-chain platform records the blockchain information involved in the cross-chain transaction; obtaining the cross-chain information involved in the latest cross-chain transaction fed back by the cross-chain platform, and taking the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information includes: obtaining the blockchain information involved in the latest cross-chain transaction according to the timestamp in the block data; obtaining the chain card information corresponding to each blockchain information; taking the information of each blockchain and its corresponding chain card information as the latest cross-chain information.

[0011] Optionally, during the process of cross-chain transactions, the cross-chain platform records the chain card information involved in the cross-chain transaction; obtaining the cross-chain information involved in the latest cross-chain transaction fed back by the cross-chain platform, and taking the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information includes: obtaining the chain card information involved in the latest cross-chain transaction according to the timestamp in the block data; obtaining the blockchain information corresponding to the chain card information; taking the chain card information and its corresponding blockchain information as the latest cross-chain information.

[0012] Optionally, the transaction records in the cross-chain platform are recorded in the following manner:

[0013] In response to the first cross-chain transaction, obtaining the second chain ID and the second account corresponding to the second platform account, and initiating the second cross-chain transaction. After the second cross-chain transaction is completed, record the first chain ID and the second chain ID involved in the first cross-chain transaction, or, after the second cross-chain transaction is completed, record the first chain card information required for the first chain to communicate with the cross-chain platform, and the second chain card information required for the second chain to communicate with the cross-chain platform.

[0014] Among them, the first chain card information has a corresponding relationship with the first chain ID, and the second chain card information has a corresponding relationship with the second chain ID; the first cross-chain transaction is initiated under the following circumstances:

[0015] During the process of transferring assets from the first platform account to the second platform account, in the first account of the first chain corresponding to the first platform account, the assets to be transferred are locked through the first smart contract, and the first cross-chain transaction is initiated; both the first platform account and the second platform account are accounts registered on the cross-chain platform. The first platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID, and the second platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID;

[0016] The second cross-chain transaction can be responded to by the second account of the second chain. In response to the second cross-chain transaction, the second account generates assets equivalent to the assets to be transferred through the second smart contract.

[0017] Optionally, the cross-chain platform obtains the chain card information in the following way: receiving the basic blockchain information provided by the blockchain operator for the cross-chain platform and the selected type of chain card installation package; the basic blockchain information includes: node address, alternate node address, and operator information, and the type of chain card installation package corresponds to the blockchain platform; verifying the identity information provided by the blockchain operator, and after successful verification, issuing the chain card installation package and opening the cross-chain permission; the cross-chain permission includes: the permission for the cross-chain platform to obtain all cross-chain information of the blockchain, and the permission for the blockchain to obtain all cross-chain information related to this blockchain on the cross-chain platform; after the chain card installation package is installed on the blockchain, the chain card information is sent by the blockchain to the cross-chain platform, or, when the blockchain conducts the first cross-chain transaction, the chain card information is sent by the blockchain to the cross-chain platform.

[0018] Optionally, displaying the latest cross-chain information includes one or more of the following:

[0019] Displaying the name of the chain card;

[0020] Displaying the version number of the chain card;

[0021] Displaying the consensus algorithm of the blockchain corresponding to the chain card;

[0022] Displaying the ID of the blockchain corresponding to the chain card;

[0023] Displaying the creation time corresponding to the chain card.

[0024] Optionally, the working method of the cross-chain browser for cross-chain based on chain cards further includes: in response to a second query operation of the user, generating a second query request corresponding to the second query operation, where the second query request is used to query data of a selected blockchain; sending the second query request to a blockchain node, and obtaining and displaying one or more of the block height, cumulative transaction count, cumulative contract count, number of organizations, number of nodes, number of users on the chain, transaction graph in the most recent 24 hours, the latest block, and the latest transaction corresponding to the selected blockchain.

[0025] Optionally, the working method of the cross-chain browser for cross-chain based on chain cards further includes: in response to a third query operation of the user, generating a third query request corresponding to the third query operation, where the third query operation includes a retrieval primary key composed of one or more of an event, a transaction hash, a block hash, a block height, an address, and a contract address, and the third query operation is used to perform a retrieval based on the primary key; sending the third query request to a blockchain node, and obtaining and displaying information corresponding to the primary key.

[0026] Optionally, the working method of the cross-chain browser for cross-chain based on chain cards further includes: in response to a fourth query operation of the user, generating a fourth query request corresponding to the fourth query operation, where the fourth query operation is used to query all chain card information; sending the fourth query request to a blockchain node, and obtaining and displaying all chain card information.

[0027] Optionally, the working method of the cross-chain browser for cross-chain based on chain cards further includes: in response to a fifth query operation of the user, generating a fifth query request corresponding to the fifth query operation, where the fifth query request is used to query chain card information bound to the current blockchain; sending the fifth query request to a blockchain node, and obtaining and displaying chain card information bound to the current blockchain.

[0028] In some embodiments, the cross-chain browser for cross-chain based on chain cards includes a first generation module, an obtaining module, and a first display module.

[0029] The first generation module is used to generate a first query request corresponding to the first query operation in response to the first query operation of the user; where the first query operation is used to query the latest cross-chain information; the obtaining module is used to send the first query request to a blockchain node and obtain the latest cross-chain information fed back by the blockchain node, where the latest cross-chain information includes the latest blockchain information and the latest chain card information, the chain card is a basic software component for implementing cross-chain operations, the latest chain card is the chain card involved in the latest cross-chain transaction, and the blockchain information is the information of the blockchain involved in the cross-chain transaction; the first display module is used to display the latest cross-chain information.

[0030] In some embodiments, an electronic device includes a processor and a memory storing program instructions. The processor is configured to execute the working method of the cross-chain browser for cross-chain based on chain cards provided in the foregoing embodiments when executing the program instructions.

[0031] In some embodiments, a storage medium stores program instructions. The program instructions execute the working method of the cross-chain browser for cross-chain based on chain cards provided in the foregoing embodiments when running.

[0032] The working method of the cross-chain browser for cross-chain based on chain cards, the cross-chain browser for cross-chain based on chain cards, the electronic device, and the storage medium provided in the embodiments of the present application can achieve the following technical effects:

[0033] As a basic software component for implementing cross-chain operations, a chain card can establish a communication path between two blockchains, thereby realizing cross-chain transactions. In response to the first query operation input by the user, the cross-chain browser can obtain the latest cross-chain information, and then can display the chain card information and blockchain information involved in the cross-chain information, which enables the browser to display the cross-chain information and allows the user to obtain the cross-chain information, that is, the user queries the cross-chain information. During the working process of the cross-chain browser, the required trigger operation is the first query operation input by the user. The cross-chain browser can display the cross-chain information based on the first query operation. For the user, inputting the first query operation can obtain the corresponding cross-chain information, and the entire query process is relatively convenient.

[0034] The above general description and the following description are only exemplary and explanatory, and are not used to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] One or more embodiments are exemplarily illustrated by the corresponding drawings. These exemplary illustrations and the drawings do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are regarded as similar elements, and among them:

[0036] Figure 1 is a schematic flowchart of a working method of a cross-chain browser for cross-chain based on chain cards provided by an embodiment of the present application;

[0037] Figure 2 is a schematic diagram of a browser interface provided by an embodiment of the present application;

[0038] Figure 3 is a schematic diagram of the logical relationship of a cross-chain platform provided by an embodiment of the present application;

[0039] Figure 4 is a schematic flowchart of a working method of a cross-chain browser for cross-chain based on chain cards provided by an embodiment of the present application;

[0040] Figure 5 It is a schematic diagram of the process for a blockchain to be registered on a cross-chain platform provided by an embodiment of the present application;

[0041] Figure 6 It is a schematic diagram of the interface for a cross-chain browser provided by an embodiment of the present application to display data of a selected blockchain;

[0042] Figure 7 It is a schematic diagram of a cross-chain browser for cross-chain based on chain cards provided by an embodiment of the present application;

[0043] Figure 8 It is a schematic diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0044] In order to be able to understand the features and technical content of the embodiments of the present application in more detail, the implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The attached drawings are only for reference and explanation, and are not used to limit the embodiments of the present application. In the following technical descriptions, for the sake of explanation, numerous details are provided to give a thorough understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be shown in a simplified manner to simplify the drawings.

[0045] Terms such as "first" and "second" in the specification, claims and the above-mentioned drawings of the embodiments of the present application are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so as to implement the embodiments of the present application described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion.

[0046] Unless otherwise specified, the term "plurality" means more than two.

[0047] In the embodiments of the present application, the character " / " indicates that the objects before and after are in an "or" relationship. For example, A / B means: A or B.

[0048] The term "and / or" is an associative relationship describing an object, indicating that three relationships can exist. For example, A and / or B means: A or B, or, the three relationships of A and B.

[0049] In the embodiments of the present application, different blockchains are parallel chains to each other. Parallel chains refer to various independent homogeneous and heterogeneous blockchains in a blockchain network.

[0050] The cross-chain in the embodiments of the present application refers to the cross-chain between two blockchains that are parallel chains to each other.

[0051] The cross-chain browser in the embodiments of the present application is applied to a blockchain that implements cross-chain using the chain card technology.

[0052] The chain card in the embodiments of the present application, also known as the Inter Blockchain Adapter, is a basic software component for implementing cross-chain operations, and is used to support data communication and interaction between different blockchain platforms. The chain card provides communication protocols, communication encryption and decryption mechanisms, cross-chain monitoring mechanisms, cross-chain master data standards, cross-chain interface calls, multi-language cross-chain smart contracts, identity authentication, etc. required for cross-chain, and decouples these technical details from the application program, and realizes the interaction of multiple blockchain systems without considering the underlying technical differences too much.

[0053] Figure 1 It is a schematic flow chart of the working method of a cross-chain browser for cross-chain based on a chain card provided by the embodiments of the present application.

[0054] Combined with Figure 1 shown in the figure, the working method of the cross-chain browser for cross-chain based on a chain card includes:

[0055] S101. In response to the user's first query operation, generate a first query request corresponding to the first query operation.

[0056] Among them, the first query operation is used to query the latest cross-chain information.

[0057] A text input box can be set in the browser, and the first query operation can be that the user inputs a query instruction and confirms it.

[0058] Alternatively, a virtual button can be set in the cross-chain browser, and this button is marked for querying the latest cross-chain information. The first query operation is that the user clicks this virtual button.

[0059] The first query request can be a query function, and those skilled in the art can set a query function corresponding to the programming language according to the different programming languages.

[0060] S102. Send the first query request to the blockchain node and obtain the latest cross-chain information fed back by the blockchain node.

[0061] Among them, the latest cross-chain information includes the latest blockchain information and the latest chain card information. The chain card is a basic software component for implementing cross-chain operations. The latest chain card is the chain card involved in the latest cross-chain transaction, and the blockchain information is the information of the blockchain involved in the cross-chain transaction.

[0062] During the cross-chain transaction process, both parallel chains record this transaction. The aforementioned sending the first query request to the blockchain node can be the blockchain where any one of the two parties in the cross-chain transaction is located.

[0063] In the case where the latest cross-chain information includes the latest chain card information, during the process of cross-chain transactions, each parallel chain also records the chain card information involved in their communication process.

[0064] S103. Display the latest cross-chain information.

[0065] Those skilled in the art can set the display method of the latest cross-chain information according to experience.

[0066] As a basic software component for implementing cross-chain operations, a chain card can establish a communication channel between two blockchains, thereby enabling cross-chain transactions. In response to the first query operation input by the user, a cross-chain browser can obtain the latest cross-chain information, and then can display the chain card information and blockchain information involved in the cross-chain information, which enables the browser to display the cross-chain information and enables the user to obtain this cross-chain information, that is, the user queries this cross-chain information. During the working process of the cross-chain browser, the required trigger operation is the first query operation input by the user. The cross-chain browser can display the cross-chain information based on this first query operation. For the user, inputting the first query operation can obtain the corresponding cross-chain information, and the entire query process is relatively convenient.

[0067] In some application scenarios, displaying the latest cross-chain information may include one or more of the following:

[0068] Display the name of the chain card;

[0069] Display the version number of the chain card;

[0070] Display the consensus algorithm of the blockchain corresponding to the chain card;

[0071] Display the ID of the blockchain corresponding to the chain card;

[0072] Display the creation time corresponding to the chain card.

[0073] Figure 2 It is a schematic diagram of a browser interface provided by an embodiment of the present application to exemplarily illustrate the display method of cross-chain information.

[0074] Combined with Figure 2 As shown, the cross-chain information is displayed in the form of a list, and the display content includes the name of the chain card, the version number of the chain card, the formula algorithms of the two blockchains corresponding to the chain card, the creation time of the chain card, etc.

[0075] In Figure 2 The chain card name is for exemplary illustration and has no other meaning; the version number is for exemplary illustration and has no other meaning. Those skilled in the art can also set the naming method of the version number of the chain card according to experience.

[0076] Figure 2One of the chain cards involves two blockchains, represented by Chain A and Chain B. The illustrated consensus algorithm is represented by a random code. Those skilled in the art can set the specific content presented by the consensus algorithm in the cross-chain browser according to the specific consensus algorithms of Chain A and Chain B.

[0077] Figure 2 The creation time in it is also for exemplary illustration. Those skilled in the art can also determine the specific content and specific format presented by the creation time according to the actual creation time of the chain card.

[0078] In addition, Figure 2 What is presented in it is the entire chain card interface. The order of the chain cards in the figure can be set according to the order of cross-chain transactions. In this case, when the user clicks on the all chain cards tab, it is the aforementioned first query operation.

[0079] The chain card information in the embodiments of the present application can be the information of newly created chain cards involved in the most recent cross-chain transactions, or can also be the information of already created chain cards involved in the most recent cross-chain transactions.

[0080] Of course, a subscription function can also be provided. In this case, the chain card information refers to the information of already created chain cards involved in the most recent transactions; the latest cross-chain information displayed in this case is the cross-chain information that the user has subscribed to and where cross-chain transactions have occurred most recently.

[0081] The process of cross-chain based on chain cards can also be completed through a cross-chain platform.

[0082] This cross-chain platform is an independent blockchain platform that provides a cross-chain hub function, supports cross-chain interactions of multiple parallel chains, and realizes operations such as cross-chain data sharing, cross-chain data storage, cross-chain asset transfer, and cross-chain application collaboration through the provision of chain cards.

[0083] In terms of the overall architecture, the cross-chain platform can include three layers: the infrastructure layer, the cross-chain middleware, and the application layer. Among them, the infrastructure layer communicates with cloud services that support the operation of the cross-chain platform and other blockchains (such as Figure 2 Chain A, Chain B, or Chain C in it); the cross-chain middleware is the core function of the cross-chain platform, including functions such as chain cards, transaction management, and privacy protection; the application layer is used to realize the function of cross-chain assets.

[0084] Figure 3 It is a schematic diagram of the logical relationship of a cross-chain platform provided by the embodiments of the present application.

[0085] Figure 3 It is a schematic diagram of the logical relationship of a chain and a cross-chain platform provided by the present application.

[0086] Chain A, Chain B, and Chain C are parallel to each other. The account Aa on Chain A, the account Ba on Chain B, and the account Ca on Chain C all belong to user a; the account Ab on Chain A, the account Bb on Chain B, and the account Cb on Chain C all belong to user b.

[0087] User a and user b can register accounts on the cross-chain platform. The account registered by user a is platform account a, and the account registered by user b is platform account b. During the process of user a registering an account on the cross-chain platform, user a submits Chain A (chain ID) and account Aa (the account corresponding to Chain A), Chain B and account Ba, and Chain C and account Ca to the cross-chain platform; during the process of user b registering an account on the cross-chain platform, user b submits Chain A and account Ab, Chain B and account Bb, and Chain C and account Cb to the cross-chain platform.

[0088] On the cross-chain platform, a corresponding relationship (mapping relationship) is formed among platform account a, the chain ID, and the account corresponding to the chain ID; a corresponding relationship is formed among platform account b, the chain ID, and the account corresponding to the chain ID.

[0089] This corresponding relationship can be as shown in Table 1.

[0090] Table 1 Cross-chain correspondence table of platform accounts

[0091]

[0092]

[0093] Among them, platform accounts are exemplified by platform account a and platform account b. In the specific application process, those skilled in the art can replace platform account a and platform account b with specific account names or account addresses.

[0094] The chain ID is exemplified by Chain A, Chain B, and Chain C. In the specific application process, those skilled in the art can replace Chain A, Chain B, and Chain C with specific chain IDs.

[0095] Similarly, the accounts Aa, Ba, Ca, Ab, Bb, and Cb on the chain are also used for exemplary illustration. In the specific application process, those skilled in the art can replace the above accounts with specific account names or account addresses.

[0096] In Figure 3 only two platform accounts are used for exemplary illustration. In the specific application process, those skilled in the art can set an appropriate number of platform accounts according to requirements.

[0097] In Figure 3In this example, only one platform account corresponds to three chain IDs, and only one account exists in each chain ID for illustrative purposes. In the specific application process, one platform account can also correspond to one chain ID, two chain IDs, or more than four chain IDs; and more than two accounts can exist in each chain ID.

[0098] During the process of a user registering an account on the cross-chain platform, the user can also submit identity information, company information, etc. to enhance the credibility of the platform account.

[0099] Figure 4 FIG. is a schematic flow chart of a working method of a cross-chain browser for cross-chain based on a chain card provided by an embodiment of the present application. Based on the above cross-chain platform, a working method of a cross-chain browser for cross-chain based on a chain card is illustrated by way of example.

[0100] Combined with Figure 4 as shown, the working method of a cross-chain browser for cross-chain based on a chain card includes:

[0101] S401. In response to a first query operation of a user, generate a first query request corresponding to the first query operation.

[0102] Among them, the first query operation is used to query the latest cross-chain information.

[0103] S402. Send the first query request to the cross-chain platform, and the cross-chain platform, in response to the first query request, obtains the cross-chain information involved in the latest recorded cross-chain transaction.

[0104] The cross-chain platform establishes a connection with the blockchain through the chain card and communicates therewith.

[0105] During the process of cross-chain transactions, the cross-chain platform can record the cross-chain information involved in the cross-chain transactions. The cross-chain information includes the chain card information for the blockchain to communicate with the cross-chain, and the blockchain information of the blockchains where the two parties to the transaction are located.

[0106] In addition, as described above for Figure 3 in, platform accounts can be registered on the cross-chain platform, and the corresponding relationships among the platform accounts, blockchain IDs, and the accounts corresponding to the blockchain IDs are recorded. In this case, the transaction records in the cross-chain platform can be recorded in the following manner:

[0107] In response to a first cross-chain transaction, obtain the second chain ID and the second account corresponding to the second platform account, and initiate a second cross-chain transaction. After the second cross-chain transaction is completed, record the first chain ID and the second chain ID involved in the first cross-chain transaction, or after the second cross-chain transaction is completed, record the first chain card information required for the first chain to communicate with the cross-chain platform, and the second chain card information required for the second chain to communicate with the cross-chain platform;

[0108] Among them, the first chain card information has a corresponding relationship with the first chain ID, and the second chain card information has a corresponding relationship with the second chain ID; the first cross-chain transaction is initiated under the following circumstances:

[0109] During the process of transferring assets from the first platform account to the second platform account, in the first account of the first chain corresponding to the first platform account, the assets to be transferred are locked through the first smart contract, and the first cross-chain transaction is initiated; both the first platform account and the second platform account are accounts registered on the cross-chain platform. The first platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID, and the second platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID;

[0110] The second cross-chain transaction can be responded to by the second account of the second chain. In response to the second cross-chain transaction, the second account generates assets equivalent to the assets to be transferred through the second smart contract.

[0111] In the above embodiments, taking the trading platform as the execution subject, an exemplary description of the method for obtaining transaction records is given.

[0112] The above first smart contract has the function of locking assets. The assets to be transferred can be sent to the first smart contract, and the locking of the assets to be transferred is completed through the first smart contract. The smart contract is a dynamic program, and those skilled in the art can set the first smart contract with the function of locking assets according to experience. The information of the assets to be transferred that have been locked is included in the first cross-chain transaction.

[0113] The information of the assets to be transferred that have been locked, as well as the information of the second chain ID and the second account, are included in the second cross-chain transaction. The second chain ID and the second account can be specified by the second platform account. For example, if the second user has the right to operate the second platform account, the second user can specify the second chain ID and the second account on the cross-chain platform. In this way, the cross-chain platform can read and obtain the second chain ID and the second account. In this case, the second account is invisible to the first platform account.

[0114] The second smart contract can have the function of unlocking assets. The quantity of the assets to be transferred can be written into the second smart contract, and the second smart contract unlocks the assets equivalent to the assets to be transferred. Those skilled in the art can set the second smart contract with the function of unlocking assets according to experience.

[0115] The first chain and the second chain in the embodiments of the present application are parallel chains to each other. Parallel chains refer to various independent homogeneous and heterogeneous blockchains in the blockchain network. The first chain and the second chain can be Figure 3 any two of the A chain, B chain, and C chain shown in

[0116] In a cross-chain platform, there is a corresponding relationship among the platform accounts, chain IDs, and on-chain accounts. Based on this corresponding relationship in the cross-chain platform, during the process of cross-chain asset transfer, the cross-chain can provide the on-chain accounts without the user directly providing them. In this way, the on-chain accounts are "invisible" and not visible to both parties of the transaction, improving the privacy and security during the cross-chain asset transfer process and being beneficial to the privacy protection of users.

[0117] In existing blockchain browsers, the accounts of both parties of the transaction are usually displayed. However, for a cross-chain browser that conducts cross-chain operations based on the above-mentioned cross-chain platform with registered platform accounts, it displays chain card information and blockchain information without displaying the account information of both parties of the transaction on the blockchain, which is also beneficial to the privacy and security during the cross-chain asset transfer process and is beneficial to the privacy protection of users.

[0118] Furthermore, on the premise that there are platform accounts registered on the cross-chain platform, cross-chain transactions can include transactions between different platform accounts on different blockchains.

[0119] Cross-chain transactions can also include asset transfers between different blockchains under the same platform account. Of course, they can also not include asset transfers between different blockchains under the same platform account. Those skilled in the art can determine the specific content included in cross-chain transactions according to the specific requirements for cross-chain information. For example, when focusing on whether two parallel chains have the ability to conduct cross-chain transactions, cross-chain transactions can include asset transfers between different blockchains under the same platform account; when focusing on the asset changes of different platform accounts, cross-chain transactions can not include asset transfers between different blockchains under the same platform account.

[0120] S403. Obtain the cross-chain information involved in the latest cross-chain transaction feedback by the cross-chain platform, and use the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information.

[0121] Optionally, during the cross-chain transaction process, the cross-chain platform records the blockchain information involved in the cross-chain transaction; obtaining the cross-chain information involved in the latest cross-chain transaction feedback by the cross-chain platform and using the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information includes: obtaining the blockchain information involved in the latest cross-chain transaction according to the timestamp in the block data; obtaining the chain card information corresponding to each blockchain information; and using the information of each blockchain and its corresponding chain card information as the latest cross-chain information.

[0122] Optionally, during the cross-chain transaction process, the cross-chain platform records the chain card information involved in the cross-chain transaction; obtains the latest cross-chain information involved in the cross-chain transaction feedback by the cross-chain platform, and uses the latest cross-chain information involved in the cross-chain transaction as the latest cross-chain information, including: obtaining the chain card information involved in the latest cross-chain transaction according to the timestamp in the block data; obtaining the blockchain information corresponding to the chain card information; and using the chain card information and its corresponding blockchain information as the latest cross-chain information.

[0123] S404. Display the latest cross-chain information.

[0124] The process of cross-chain transaction between the first chain and the second chain through the cross-chain platform in the above embodiment will be further described below.

[0125] Optionally, after locking the assets to be transferred through the first smart contract and before initiating the first cross-chain transaction, the asset cross-chain transfer method of the blockchain further includes: writing the second chain ID and the second platform account into the third smart contract.

[0126] The third smart contract in this process has the function of transmitting the second chain ID and the second platform account, and those skilled in the art can set the specific content of the third smart contract according to experience.

[0127] The third smart contract in this process can also be integrated with the aforementioned first smart contract, that is: writing the assets to be transferred, the second chain ID, and the second platform account into the first smart contract.

[0128] Optionally, after locking the assets to be transferred through the first smart contract and before initiating the first cross-chain transaction, the asset cross-chain transfer method of the blockchain further includes: writing the locked assets to be transferred into the fourth smart contract.

[0129] The fourth smart contract in this process has the function of transmitting the information of the assets to be transferred, and can write the information of the assets to be transferred into the first cross-chain transaction. Those skilled in the art can set the specific content of the fourth smart contract according to experience.

[0130] The fourth smart contract in this process can also be integrated with the first smart contract. After writing the assets to be transferred into the first smart contract, the first smart contract locks the assets to be transferred and writes the information of the assets to be transferred into the first cross-chain transaction.

[0131] The fourth smart contract and the third smart contract in this process can be one smart contract or two different smart contracts. Those skilled in the art can set according to experience.

[0132] Optionally, the cross-chain platform obtains the second chain ID and the second account corresponding to the second platform account, including: the cross-chain platform analyzes the first cross-chain transaction to obtain the second chain ID of the asset recipient and the second platform account; according to the corresponding relationship between the platform account, the chain ID, and the chain account, the second platform account and the second account corresponding to the second chain ID are obtained.

[0133] Optionally, before the cross-chain platform initiates the second cross-chain transaction, the asset cross-chain transfer method of the blockchain further includes: forming an asset mapping corresponding to the locked assets to be transferred, so as to map the locked assets to be transferred in the first chain to the equivalent assets in the second chain.

[0134] There is a phenomenon that the values of assets on different blockchains are not completely equivalent. The cross-chain platform contains relevant information of the first chain and the second chain, which can conveniently complete the asset mapping.

[0135] After completing the asset mapping, it is convenient to generate assets corresponding to the assets to be transferred in the second account in the subsequent steps.

[0136] Optionally, the second cross-chain transaction includes the equivalent assets in the second chain formed by mapping the assets to be transferred in the first chain.

[0137] Optionally, the second account of the second chain generates assets equivalent to the assets to be transferred through the second smart contract, including: obtaining the equivalent assets in the second cross-chain transaction; writing the equivalent assets into the second smart contract to generate assets equivalent to the assets to be transferred.

[0138] Optionally, after the second account of the second chain generates assets equivalent to the assets to be transferred through the second smart contract, the asset cross-chain transfer method of the blockchain further includes: the cross-chain platform obtains the information that the second chain transaction is completed and stores it on the chain for evidence; sending a cross-chain completion message to the first chain.

[0139] In the foregoing embodiments, the cross-chain platform has recorded cross-chain information, and the cross-chain information includes the chain card information and blockchain information involved in the cross-chain transaction. In the cross-chain platform, the chain card information and the blockchain information have a corresponding relationship. In this way, the cross-chain platform can obtain the chain card information corresponding to the blockchain information according to the blockchain information, or obtain the blockchain information corresponding to the chain card information according to the chain card information. Hereinafter, an exemplary description will be given of the manner in which the cross-chain platform initially obtains the chain card information.

[0140] Optionally, the cross-chain platform obtains the chain card information in the following manner:

[0141] Receiving the basic blockchain information provided by the blockchain operator for the cross-chain platform and the selected type of chain card installation package; the basic blockchain information includes: node address, backup node address, and operator information, and the type of chain card installation package corresponds to the blockchain platform;

[0142] Verify the identity information provided by the blockchain operator. After successful verification, issue the chain card installation package and grant cross-chain permissions. The cross-chain permissions include: the permission for the cross-chain platform to obtain all cross-chain information of the blockchain, and the permission for the blockchain to obtain all cross-chain information related to this blockchain on the cross-chain platform. After the chain card installation package is installed on the blockchain, the chain card information is sent by the blockchain to the cross-chain platform, or after the blockchain conducts its first cross-chain transaction, the chain card information is sent by the blockchain to the cross-chain platform.

[0143] The above-mentioned chain card installation package type corresponds to the blockchain platform, which means that the chain card installation package is the type selected by the blockchain operator according to the needs of its own blockchain platform. That is, the correspondence between the chain card installation package type and the blockchain platform can be determined by the blockchain operator according to the needs of its own blockchain platform.

[0144] The above-mentioned identity information is the identity information that can uniquely represent the blockchain, which can be the public key of the operator node in the blockchain.

[0145] In the above process, the aforementioned blockchain information, such as the blockchain ID and the consensus algorithm of the blockchain, can be included in the basic blockchain information. That is, when the cross-chain platform receives the basic blockchain information provided by the blockchain operator for the cross-chain platform, it can obtain the aforementioned blockchain information such as the blockchain ID and the consensus algorithm of the blockchain.

[0146] Or, after the chain card installation package is installed on the blockchain, the chain card information and the blockchain information can be sent by the blockchain to the cross-chain platform, or when the blockchain conducts its first cross-chain transaction, the chain card information and the blockchain information can be sent to the cross-chain platform.

[0147] Taking blockchain A chain as an example below, from the perspective of the whole composed of A chain and the cross-chain platform, an exemplary description of the registration process of A chain in the cross-chain platform is given.

[0148] Combined with Figure 5 As shown, the registration methods of the blockchain on the cross-chain platform include:

[0149] S501. The operator of A chain reports basic information (including node address, alternate node address, operator information, contact phone number, email, etc.) on the cross-chain platform and selects the chain card installation package type according to the situation of its own platform.

[0150] S502. The cross-chain platform verifies the identity information provided by the operator of A chain. After successful verification, issue identity authentication, the chain card installation package, and grant cross-chain permissions.

[0151] The cross-chain permissions include: for the cross-chain platform, obtaining all cross-chain information of A chain; for A chain, its chain card can obtain all cross-chain information related to A chain on the cross-chain platform.

[0152] The above identity authentication is used to indicate that Chain A has passed the authentication, which can be obtained by performing certain data splicing and transformation on one or more of the identity information of Chain A, the public key of Chain A, and the public key of the cross-chain platform.

[0153] S503. After the operator of Chain A successfully registers, obtain the chain card installation package and install it.

[0154] The data in the chain card is in Json format and is encrypted based on the public key of the cross-chain platform to ensure data security. The operator of Chain A decrypts it with the private key to obtain the relevant data. Alternatively, those skilled in the art can set the specific data format in the chain card according to their own experience.

[0155] S504. The Chain A account clarifies the scenario and application type, based on the master data standard protocol, and invokes the cross-chain smart contract to perform cross-chain operations.

[0156] The above scenario can be any one of data deposit, data sharing, and asset circulation. Alternatively, those skilled in the art can determine the scenario according to actual application requirements.

[0157] The above application type is the specific function in a specific scenario, such as data deposit of type A, data deposit of type B, etc.

[0158] The above master data standard protocol refers to the data format for the blockchain to communicate with the cross-chain platform through the chain card. It can be as shown in Table 2:

[0159] Table 2 Master Data Standard Protocol

[0160] Serial number Field Byte length 1 Version 3 2 Encryption 1 3 Transaction body length 1 4 Timestamp 8 5 Scene ID 32 6 Data source 8 7 Data confidentiality level 8 8 Data chain - up type 1 9 Chain - up data hash 32 10 Whether to save 1

[0161] Of course, the above master data standard protocol is only for illustrative purposes. In the specific application process, those skilled in the art can set the master data standard protocol that conforms to the blockchain platform and meets the scenario requirements according to their experience.

[0162] S505. The cross-chain platform performs cross-chain accounting according to the master data standard protocol.

[0163] In the above embodiment, the working process of the cross-chain browser in response to the first query operation is illustratively described.

[0164] Optionally, the working method of the cross-chain browser for cross-chain based on the chain card further includes:

[0165] In response to the user's second query operation, a second query request corresponding to the second query operation is generated. The second query request is used to query the data of the selected blockchain. The second query request is sent to the blockchain node, and one or more of the block height, cumulative transaction count, cumulative contract count, number of organizations, number of nodes, number of users on the chain, transaction graph in the most recent 24 hours, latest block, and latest transaction corresponding to the selected blockchain are obtained and displayed.

[0166] A text input box can be set in the browser, and the second query operation can be that the user inputs a query instruction and confirms it.

[0167] Alternatively, a virtual button can be provided in the cross-chain browser, and this button is marked for querying the latest cross-chain information. The second query operation is that the user clicks this virtual button.

[0168] The second query request can be a query function, and those skilled in the art can set a query function corresponding to the programming language according to the different programming languages.

[0169] Figure 6 FIG. is a schematic diagram of the interface for a cross-chain browser provided by an embodiment of the present application to display the data of the selected blockchain, for exemplarily illustrating the display content after the cross-chain browser responds to the second query operation.

[0170] Optionally, the working method of the cross-chain browser for cross-chain based on chain cards further includes:

[0171] In response to the user's third query operation, a third query request corresponding to the third query operation is generated. The third query operation includes a retrieval primary key, which is composed of one or more of an event, a transaction hash, a block hash, a block height, an address, and a contract address. The third query operation is used to perform a retrieval according to the primary key. The third query request is sent to the blockchain node, and the information corresponding to the primary key is obtained and displayed.

[0172] A text input box can be set in the browser, and the third query operation can be that the user inputs a query instruction and confirms it.

[0173] Alternatively, a virtual button can be provided in the cross-chain browser, and this button is marked for querying the latest cross-chain information. The third query operation is that the user clicks this virtual button.

[0174] The third query request can be a query function, and those skilled in the art can set a query function corresponding to the programming language according to the different programming languages.

[0175] Optionally, the working method of the cross-chain browser for cross-chain based on chain cards further includes:

[0176] In response to the user's fourth query operation, a fourth query request corresponding to the fourth query operation is generated. The fourth query operation is used to query all chain card information; the fourth query request is sent to the blockchain node, and all chain card information is obtained and displayed.

[0177] A text input box can be set in the browser. The fourth query operation can be that the user inputs a query instruction and confirms it.

[0178] Alternatively, a virtual button can be provided in the cross-chain browser. This button is marked for querying the latest cross-chain information. The fourth query operation is that the user clicks this virtual button.

[0179] The fourth query request can be a query function. Those skilled in the art can set a query function corresponding to the programming language according to the different programming languages.

[0180] Optionally, the working method of the cross-chain browser for cross-chain based on chain cards further includes:

[0181] In response to the user's fifth query operation, a fifth query request corresponding to the fifth query operation is generated. The fifth query request is used to query the chain card information bound to the current blockchain; the fifth query request is sent to the blockchain node, and the chain card information bound to the current blockchain is obtained and displayed.

[0182] A text input box can be set in the browser. The fifth query operation can be that the user inputs a query instruction and confirms it.

[0183] Alternatively, a virtual button can be provided in the cross-chain browser. This button is marked for querying the latest cross-chain information. The fifth query operation is that the user clicks this virtual button.

[0184] The fifth query request can be a query function. Those skilled in the art can set a query function corresponding to the programming language according to the different programming languages.

[0185] Figure 7 It is a schematic diagram of a cross-chain browser for cross-chain based on chain cards provided by an embodiment of the present application.

[0186] Combined with Figure 7 As shown, the cross-chain browser 70 for cross-chain based on chain cards includes a first generation module 71, an acquisition module 72, and a first display module 73.

[0187] The first generation module 71 is used to generate a first query request corresponding to the user's first query operation; wherein, the first query operation is used to query the latest cross-chain information;

[0188] The obtaining module 72 is used to send a first query request to a blockchain node and obtain the latest cross-chain information fed back by the blockchain node, where the latest cross-chain information includes the latest blockchain information and the latest chain card information. A chain card is a basic software component for implementing cross-chain operations, and the latest chain card is the chain card involved in the latest cross-chain transaction. The blockchain information is the information of the blockchain involved in the cross-chain transaction.

[0189] The first display module 73 is used to display the latest cross-chain information.

[0190] Optionally, the obtaining module 72 includes a sending unit and an obtaining unit.

[0191] The sending unit is used to send the first query request to a cross-chain platform. The cross-chain platform responds to the first query request and obtains the cross-chain information involved in the latest recorded cross-chain transaction. The cross-chain platform establishes a connection with the blockchain through a chain card and communicates. The obtaining unit is used to obtain the cross-chain information involved in the latest cross-chain transaction fed back by the cross-chain platform and use the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information.

[0192] Optionally, during the cross-chain transaction process, the cross-chain platform records the blockchain information involved in the cross-chain transaction. The obtaining unit is specifically used to: obtain the blockchain information involved in the latest cross-chain transaction according to the timestamp in the block data; obtain the chain card information corresponding to each blockchain information; and use the information of each blockchain and its corresponding chain card information as the latest cross-chain information.

[0193] Optionally, during the cross-chain transaction process, the cross-chain platform records the chain card information involved in the cross-chain transaction. The obtaining unit is specifically used to: obtain the chain card information involved in the latest cross-chain transaction according to the timestamp in the block data; obtain the blockchain information corresponding to the chain card information; and use the chain card information and its corresponding blockchain information as the latest cross-chain information.

[0194] Optionally, the transaction records in the cross-chain platform are recorded in the following manner:

[0195] In response to a first cross-chain transaction, obtain the second chain ID and the second account corresponding to the second platform account, and initiate a second cross-chain transaction. After the second cross-chain transaction is completed, record the first chain ID and the second chain ID involved in the first cross-chain transaction, or after the second cross-chain transaction is completed, record the first chain card information required for the first chain to communicate with the cross-chain platform and the second chain card information required for the second chain to communicate with the cross-chain platform.

[0196] Among them, the first chain card information has a corresponding relationship with the first chain ID, and the second chain card information has a corresponding relationship with the second chain ID. The first cross-chain transaction is initiated under the following circumstances:

[0197] In the process of transferring assets from the first platform account to the second platform account, in the first account of the first chain corresponding to the first platform account, the assets to be transferred are locked through the first smart contract, and the first cross-chain transaction is initiated; both the first platform account and the second platform account are accounts registered on the cross-chain platform. The first platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID, and the second platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID.

[0198] The second cross-chain transaction can be responded to by the second account of the second chain. In response to the second cross-chain transaction, the second account generates assets equivalent to the assets to be transferred through the second smart contract.

[0199] Optionally, the cross-chain platform obtains the chain card information in the following manner:

[0200] Receive the basic blockchain information provided by the blockchain operator for the cross-chain platform and the selected type of chain card installation package; the basic blockchain information includes: node address, alternate node address, and operator information, and the type of chain card installation package corresponds to the blockchain platform.

[0201] Verify the identity information provided by the blockchain operator. After verification, issue the chain card installation package and open the cross-chain permission; the cross-chain permission includes: the permission for the cross-chain platform to obtain all cross-chain information of the blockchain, and the permission for the blockchain to obtain all cross-chain information related to this blockchain on the cross-chain platform; after the chain card installation package is installed on the blockchain, the chain card information is sent by the blockchain to the cross-chain platform, or when the blockchain conducts the first cross-chain transaction, the chain card information is sent by the blockchain to the cross-chain platform.

[0202] Optionally, the first display module 73 includes one or more of a first display unit, a second display unit, a third display unit, a fourth display unit, and a fifth display unit.

[0203] The first display unit is used to display the name of the chain card; the second display unit is used to display the version number of the chain card; the third display unit is used to display the consensus algorithm of the blockchain corresponding to the chain card; the fourth display unit is used to display the ID of the blockchain corresponding to the chain card; the fifth display unit is used to display the creation time corresponding to the chain card.

[0204] Optionally, the cross-chain browser for cross-chain based on the chain card further includes a second generation module and a second display module.

[0205] The second generation module is configured to generate a second query request corresponding to the second query operation of the user in response to the second query operation of the user. The second query request is used to query the data of the selected blockchain. The second display module is configured to send the second query request to a blockchain node, and obtain and display one or more of the block height, cumulative transaction count, cumulative contract count, organization count, node count, on-chain user count, transaction graph in the most recent 24 hours, the latest block, and the latest transaction corresponding to the selected blockchain.

[0206] Optionally, the cross-chain browser for cross-chain based on chain cards further includes a third generation module and a third display module.

[0207] The third generation module is configured to generate a third query request corresponding to the third query operation of the user in response to the third query operation of the user. The third query operation includes a retrieval primary key, which is composed of one or more of an event, a transaction hash, a block hash, a block height, an address, and a contract address. The third query operation is used to perform a retrieval based on the primary key. The third display module is configured to send the third query request to a blockchain node, and obtain and display the information corresponding to the primary key.

[0208] Optionally, the cross-chain browser for cross-chain based on chain cards further includes a fourth generation module and a fourth display module.

[0209] The fourth generation module is configured to generate a fourth query request corresponding to the fourth query operation of the user in response to the fourth query operation of the user. The fourth query operation is used to query all chain card information. The fourth display module is configured to send the fourth query request to a blockchain node, and obtain and display all chain card information.

[0210] Optionally, the cross-chain browser for cross-chain based on chain cards further includes a fifth generation module and a fifth display module.

[0211] The fifth generation module is configured to generate a fifth query request corresponding to the fifth query operation of the user in response to the fifth query operation of the user. The fifth query request is used to query the chain card information bound to the current blockchain. The fifth display module is configured to send the fifth query request to a blockchain node, and obtain and display the chain card information bound to the current blockchain.

[0212] In some embodiments, the electronic device includes a processor and a memory storing program instructions. The processor is configured to execute the working method of the cross-chain browser for cross-chain based on chain cards provided in the foregoing embodiments when executing the program instructions.

[0213] Figure 8 is a schematic diagram of an electronic device provided by an embodiment of the present application. In combination with Figure 8 as shown, the electronic device 80 includes:

[0214] A processor 81 and a memory 82, and may further include a communication interface 83 and a bus 84. Among them, the processor 81, the communication interface 83, and the memory 82 can communicate with each other through the bus 84. The communication interface 83 can be used for information transmission. The processor 81 can call the logical instructions in the memory 82 to execute the working method of the cross-chain browser for cross-chain based on chain cards provided in the foregoing embodiments.

[0215] In addition, when the logical instructions in the above-mentioned memory 82 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.

[0216] The memory 82, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as the program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 81 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 82, that is, implements the methods in the above method embodiments.

[0217] The memory 82 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 82 may include a high-speed random access memory and may also include a non-volatile memory.

[0218] The embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions execute the working method of the cross-chain browser for cross-chain based on cross-chain provided in the foregoing embodiments when running.

[0219] The above-mentioned computer-readable storage medium may be a transient computer-readable storage medium.

[0220] The technical solutions of the embodiments of the present application can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium may be a non-transient storage medium, including: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes, or may also be a transient storage medium.

[0221] The above description and the accompanying drawings fully illustrate the embodiments of the present application, enabling those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. Embodiments only represent possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terms used in this application are only for describing embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to also include the plural forms. Additionally, when used in this application, the term "comprise" and its variants "comprises" and / or "comprising" etc. refer to the presence of the stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or groups of these. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, or device comprising the element. In this article, what each embodiment focuses on can be the differences from other embodiments, and the same or similar parts among the embodiments can be referred to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, the relevant parts can refer to the description of the method part.

[0222] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner can depend on the specific application and design constraints of the technical solution. Technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present application. Technicians can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0223] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units can be merely a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms. The units described as separate components can be or can not be physically separated. The components shown as units can be or can not be physical units. They can be located in one place or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. Additionally, in the embodiments of the present application, the various functional units can be integrated in one processing unit, or each unit can physically exist alone, or two or more units can be integrated in one unit.

[0224] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the block can occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. Each block in the block diagram and / or flowchart, as well as combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A working method of a cross-chain browser for cross-chain based on chain cards, characterized in that, Including: In response to a user's first query operation, generating a first query request corresponding to the first query operation; wherein, the first query operation is used to query the latest cross-chain information; Sending the first query request to a blockchain node to obtain the latest cross-chain information feedback by the blockchain node, wherein the latest cross-chain information includes the latest blockchain information and the latest chain card information, the chain card is a basic software component for implementing cross-chain operations, the latest chain card is the chain card involved in the latest cross-chain transaction, and the blockchain information is the information of the blockchain involved in the cross-chain transaction; Displaying the latest cross-chain information.

2. The working method according to claim 1, characterized in that Sending the first query request to a blockchain node to obtain the latest cross-chain information feedback by the blockchain node, including: Sending the first query request to a cross-chain platform, and the cross-chain platform, in response to the first query request, obtains the cross-chain information involved in the latest recorded cross-chain transaction; the cross-chain platform establishes a connection with the blockchain through the chain card and communicates; Obtaining the cross-chain information involved in the latest cross-chain transaction feedback by the cross-chain platform, and using the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information.

3. The working method according to claim 2, wherein During the cross-chain transaction process, the cross-chain platform records the blockchain information involved in the cross-chain transaction; obtaining the cross-chain information involved in the latest cross-chain transaction feedback by the cross-chain platform, and using the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information, including: obtaining the blockchain information involved in the latest cross-chain transaction according to the timestamp in the block data; obtaining the chain card information corresponding to each blockchain information; using the information of each blockchain and its corresponding chain card information as the latest cross-chain information; Or During the cross-chain transaction process, the cross-chain platform records the chain card information involved in the cross-chain transaction; obtaining the cross-chain information involved in the latest cross-chain transaction feedback by the cross-chain platform, and using the cross-chain information involved in the latest cross-chain transaction as the latest cross-chain information, including: obtaining the chain card information involved in the latest cross-chain transaction according to the timestamp in the block data; obtaining the blockchain information corresponding to the chain card information; using the chain card information and its corresponding blockchain information as the latest cross-chain information.

4. The working method according to claim 2, characterized in that, The transaction record in the cross-chain platform is recorded in the following manner: In response to a first cross-chain transaction, obtaining the second chain ID and the second account corresponding to the second platform account, and initiating a second cross-chain transaction. After the second cross-chain transaction is completed, recording the first chain ID and the second chain ID involved in the first cross-chain transaction, or, after the second cross-chain transaction is completed, recording the first chain card information required for the first chain to communicate with the cross-chain platform, and the second chain card information required for the second chain to communicate with the cross-chain platform; Wherein, the first chain card information has a corresponding relationship with the first chain ID, and the second chain card information has a corresponding relationship with the second chain ID; the first cross-chain transaction is initiated under the following circumstances: During the process of transferring assets from the first platform account to the second platform account, in the first account on the first chain corresponding to the first platform account, the assets to be transferred are locked through the first smart contract, and the first cross-chain transaction is initiated; both the first platform account and the second platform account are accounts registered on the cross-chain platform. The first platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID, and the second platform account corresponds to one or more chain IDs and the accounts corresponding to each chain ID. The second cross-chain transaction can be responded to by the second account on the second chain. In response to the second cross-chain transaction, the second account generates assets equivalent to the assets to be transferred through the second smart contract.

5. The working method according to claim 2, wherein The cross-chain platform obtains the chain card information in the following manner: Receiving the basic blockchain information provided by the blockchain operator for the cross-chain platform and the selected type of chain card installation package; the basic blockchain information includes: node address, alternate node address, and operator information, and the type of chain card installation package corresponds to the blockchain platform. Verifying the identity information provided by the blockchain operator, and after successful verification, issuing the chain card installation package and opening the cross-chain permissions; the cross-chain permissions include: the permission for the cross-chain platform to obtain all cross-chain information of the blockchain, and the permission for the blockchain to obtain all cross-chain information related to this blockchain on the cross-chain platform; after the chain card installation package is installed on the blockchain, the chain card information is sent by the blockchain to the cross-chain platform, or when the blockchain conducts the first cross-chain transaction, the chain card information is sent by the blockchain to the cross-chain platform.

6. The working method according to claim 1, characterized in that, Displaying the latest cross-chain information includes one or more of the following: Displaying the name of the chain card; Displaying the version number of the chain card; Displaying the consensus algorithm of the blockchain corresponding to the chain card; Displaying the ID of the blockchain corresponding to the chain card; Displaying the creation time corresponding to the chain card.

7. The working method according to any one of claims 1 to 6, characterized in that, It also includes one or more of the following: In response to the user's second query operation, generating a second query request corresponding to the second query operation, where the second query request is used to query the data of the selected blockchain; sending the second query request to the blockchain node, and obtaining and displaying one or more of the block height, cumulative transaction count, cumulative contract count, number of organizations, number of nodes, number of users on the chain, transaction graph in the most recent 24 hours, latest block, and latest transaction corresponding to the selected blockchain; In response to the user's third query operation, generating a third query request corresponding to the third query operation, where the third query operation includes a retrieval primary key, and the primary key is composed of one or more of an event, transaction hash, block hash, block height, address, and contract address, and the third query operation is used to perform a retrieval based on the primary key; sending the third query request to the blockchain node, and obtaining and displaying the information corresponding to the primary key; In response to the user's fourth query operation, generating a fourth query request corresponding to the fourth query operation, where the fourth query operation is used to query all chain card information; Sending the fourth query request to the blockchain node, and obtaining and displaying all chain card information; In response to the user's fifth query operation, generating a fifth query request corresponding to the fifth query operation, where the fifth query request is used to query the chain card information bound to the current blockchain; sending the fifth query request to the blockchain node, and obtaining and displaying the chain card information bound to the current blockchain.

8. A cross-chain browser for cross-chain based on chain cards, characterized in that, It includes: A first generation module, configured to generate a first query request corresponding to a first query operation of a user in response to the first query operation; wherein the first query operation is used to query the latest cross-chain information. An acquisition module, configured to send the first query request to a blockchain node and acquire the latest cross-chain information fed back by the blockchain node, where the latest cross-chain information includes the latest blockchain information and the latest chain card information, a chain card is a basic software component for implementing cross-chain operations, the latest chain card is the chain card involved in the latest cross-chain transaction, and the blockchain information is the information of the blockchain involved in the cross-chain transaction. A first display module, configured to display the latest cross-chain information.

9. An electronic device, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute the working method of the cross-chain browser for cross-chain based on chain cards according to any one of claims 1 to 7 when executing the program instructions.

10. A storage medium stores program instructions, characterized in that, The program instructions execute the working method of the cross-chain browser for cross-chain based on chain cards according to any one of claims 1 to 7 when running.