Cross-border e-commerce transaction method and system based on big data

By dynamically expanding the number of block sub-chain nodes, the blockchain overhead problem caused by the increase in data volume in cross-border e-commerce transactions is solved, and the data is securely recorded and immutable, taking into account performance and resource management.

CN119067664APending Publication Date: 2024-12-03GANSU GAN CHEF E-COMMERCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411120028.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In cross-border e-commerce transactions, with the increase in transaction volume and transaction data, how to take into account the overhead of blockchain has become a challenge. It is necessary to ensure the security and immutability of data, but also to excessively increase the load of blockchain. .

Method used

By configuring block sub-chains for cross-border e-commerce trading parties and traded parties on the e-commerce server, and dynamically expanding the number of block sub-chain nodes according to the number of transactions, synchronizing transaction data and accounting to ensure data security and immutability while controlling the overhead of blockchain.

Benefits of technology

It realizes the secure accounting and immutability of cross-border e-commerce transaction data on the blockchain, and at the same time effectively manages the resource use of blockchain, avoiding performance problems caused by excessive data volume.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119067664A_ABST
    Figure CN119067664A_ABST
Patent Text Reader

Abstract

The invention provides a cross-border e-commerce transaction method and system based on big data, belongs to the technical field of block chains, and aims to ensure the security and non-tampering of data and consider the overhead of the block chain when cross-border e-commerce transaction data is synchronized to the block chain for bookkeeping. The method comprises the steps that an e-commerce server obtains first transaction information of a cross-border e-commerce transaction under the condition that a cross-border e-commerce transaction party and a cross-border e-commerce transacted party perform the cross-border e-commerce transaction; the e-commerce server synchronizes the first transaction information to a first block sub-chain for bookkeeping, the first block sub-chain is configured for a cross-border e-commerce transaction party and a cross-border e-commerce traded party, and the e-commerce server performs chain extension on the first block sub-chain as the cross-border e-commerce transaction party and the cross-border e-commerce traded party continue to perform cross-border e-commerce transaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a cross-border e-commerce transaction method and system based on big data. Background Art

[0002] In recent years, blockchain technology, with its unique advantages, is gradually changing our lives. Especially in cross-border e-commerce transactions, the application of blockchain technology has greatly improved the efficiency and security of transactions. In simple terms, blockchain technology is a distributed data storage technology that stores data in blocks in an open, distributed network. Each data block contains a certain amount of transaction information, and this information is encrypted through cryptography to ensure the security and immutability of the data.

[0003] Taking cross-border e-commerce transactions as an example, the application of blockchain technology is mainly reflected in the following aspects:

[0004] First, blockchain technology can achieve real-time synchronization of transaction data. In traditional cross-border e-commerce transactions, the complexity and uncertainty of the transaction process are greatly increased due to the laws, regulations, and currency exchange issues of different countries and regions. The application of blockchain technology can synchronize transaction data in real time between all parties involved, thereby greatly improving the efficiency of transactions. Secondly, blockchain technology can achieve the immutability of transaction data. In cross-border e-commerce transactions, tampering with transaction data may lead to the failure of transactions and may even cause disputes. The application of blockchain technology, through cryptographic encryption, ensures the immutability of transaction data, thereby greatly improving the security of transactions. Finally, blockchain technology can achieve decentralization of transactions. In traditional cross-border e-commerce transactions, transaction information is usually stored in a centralized node device, which poses the risk of data being tampered with or attacked. The application of blockchain technology stores transaction data in a decentralized manner on various nodes in the network, thereby achieving decentralization of transactions and greatly improving the stability of transactions.

[0005] However, with the development of cross-border e-commerce transactions, the transaction volume and transaction data are increasing. When these data are recorded in the blockchain, how to take into account the overhead of the blockchain is a problem that needs to be solved. Summary of the invention

[0006] The embodiments of the present invention provide a cross-border e-commerce transaction method and system based on big data, so as to synchronize the transaction data of cross-border e-commerce to the blockchain for accounting, thereby ensuring the security and non-tamperability of the data and taking into account the overhead of the blockchain.

[0007] In order to achieve the above object, the present invention adopts the following technical scheme:

[0008] In a first aspect, a cross-border e-commerce transaction method based on big data is provided, which is applied to an e-commerce server, and the method includes: when a cross-border e-commerce transaction party and a cross-border e-commerce transaction party conduct a cross-border e-commerce transaction, the e-commerce server obtains first transaction information of the cross-border e-commerce transaction; the e-commerce server synchronizes the first transaction information to a first block sub-chain for accounting, wherein the first block sub-chain is configured for the cross-border e-commerce transaction party and the cross-border e-commerce transaction party, and as the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server expands the first block sub-chain.

[0009] Optionally, the e-commerce server obtains the first transaction information of the cross-border e-commerce transaction, including: the e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instructions of the cross-border e-commerce transaction party; when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party pass the verification, the e-commerce server obtains the first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party.

[0010] Optionally, the e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instruction of the cross-border e-commerce transaction party, including: the e-commerce server receives cross-border e-commerce transaction information from the cross-border e-commerce transaction party, the cross-border e-commerce transaction information includes a first MAC value and at least one of the following information: a signature of the cross-border e-commerce transaction party, a signature of the cross-border e-commerce transaction party, or information used to indicate the cross-border e-commerce transaction, at least one of which is used to jointly instruct the cross-border e-commerce transaction direction to initiate a cross-border e-commerce transaction to the cross-border e-commerce transaction party; the e-commerce server generates a second MAC value according to at least one piece of information; the e-commerce server verifies whether the first MAC value is the same as the second MAC value; if the first MAC If the first MAC value is the same as the second MAC value, the e-commerce server verifies whether the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures; otherwise, if the first MAC value is different from the second MAC value, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed; if the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has passed; otherwise, if any one of the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party is not a legal signature, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed. Correspondingly, the e-commerce server obtains first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party, including: after verifying that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party have passed, the e-commerce server obtains first transaction sub-information from the cross-border e-commerce transaction party, and obtains second transaction sub-information from the cross-border e-commerce transaction party; wherein, the key information in the first transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the first identity identifier, the second identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party, and the key information in the second transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the third identity identifier, the fourth identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party; if the key information in the first transaction sub-information is consistent with that in the second transaction sub-information, the e-commerce server determines the first transaction information, and the first transaction information is the combination of the first transaction sub-information and the second transaction sub-information.

[0011] Optionally, the first identity identifier is an identifier used by a cross-border e-commerce transaction party to describe itself, the second identity identifier is an identifier used by a cross-border e-commerce transaction party to describe an entity involved in the cross-border e-commerce transaction, the third identity identifier is an identifier used by the cross-border e-commerce transaction party to describe itself, and the fourth identity identifier is an identifier used by the cross-border e-commerce transaction party to describe the entity involved in the cross-border e-commerce transaction. The key information in the first transaction sub-information and the second transaction sub-information is consistent, including: the first identity identifier is the same as the fourth identity identifier, the second identity identifier is the same as the third identity identifier, the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction is the same as the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, and the number of transactions recorded by the cross-border e-commerce transaction party is the same as the number of transactions recorded by the cross-border e-commerce transaction party.

[0012] Optionally, the e-commerce server generates a second MAC value based on at least one item of information, including: the e-commerce server uses a long-term key to hash at least one item of information to obtain a second MAC value, where the long-term key is a key assigned by the e-commerce server to the cross-border e-commerce transaction party when the cross-border e-commerce transaction party registers with the e-commerce server.

[0013] Optionally, the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, including: the e-commerce server determines that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting a cross-border e-commerce transaction for the first time based on the number of transactions n=1 in the first transaction information; in response to the fact that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting a cross-border e-commerce transaction for the first time, the e-commerce server allocates a first block subchain to the cross-border e-commerce transaction party and the cross-border e-commerce transaction party from the blockchain, the first block subchain including a first central node and three edge nodes, the three edge nodes are all connected to the first central node to form a first block subchain with a star structure; the e-commerce server instructs the first central node to account for the first transaction information, and instructs the three edge nodes to account for the first transaction information through the first central node.

[0014] Optionally, after the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, the method also includes: when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains second transaction information of the cross-border e-commerce transaction; in response to the number of transactions n=X1 in the second transaction information, X1 is an integer greater than 1, the e-commerce server expands the first block subchain to obtain a second block subchain, and the number of nodes in the second block subchain is greater than the number of nodes in the first block subchain; the e-commerce server synchronizes the second transaction information to the second block subchain for accounting.

[0015] Optionally, the e-commerce server expands the first block subchain to obtain a second block subchain, including: the e-commerce server selects a first edge node from three edge nodes; the e-commerce server configures at least two nodes in the blockchain connected to the first edge node as edge nodes in the block subchain where the first edge node is located to obtain a second block subchain, at least two nodes are connected in sequence, at least one node located at an endpoint of the at least two nodes is connected to the first edge node, at least two nodes and the first edge node constitute a block subchain, and the second block subchain includes two edge nodes, a block subchain and a first central node; accordingly, the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, including: the e-commerce server instructs the first central node to account for the second transaction information, and instructs the two edge nodes respectively through the first central node, and each node in the block subchain to account for the second transaction information.

[0016] Optionally, after the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, the method also includes: when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains third transaction information of the cross-border e-commerce transaction; in response to the number of transactions n=X2 in the third transaction information, X2 is an integer greater than X1, the e-commerce server expands the second block subchain to obtain a third block subchain, and the number of nodes in the third block subchain is greater than the number of nodes in the second block subchain; the e-commerce server synchronizes the third transaction information to the third block subchain for accounting.

[0017] Optionally, the e-commerce server expands the first block subchain to obtain a second block subchain, including: the e-commerce server selects a second edge node from the block subchain, the second edge node is a node at one end of the block subchain that is not connected to the first central node; the e-commerce server configures a node in the blockchain connected to the second edge node as a second central node in the block subchain where the second edge node is located, and configures two nodes in the blockchain connected to the second central node as edge nodes in the block subchain where the second central node is located, to obtain a third block subchain, the third block subchain including four edge nodes, a block subchain, a first central node and a second central node; accordingly, the e-commerce server synchronizes the third transaction information to the third block subchain for accounting, including: the e-commerce server instructs the first central node to account for the third transaction information, instructs the second central node to account for the third transaction information, and instructs the four edge nodes through the first central node and the second central node respectively, and each node in the block subchain to account for the third transaction information.

[0018] In a second aspect, a cross-border e-commerce transaction system based on big data is provided, the system includes an e-commerce server, and the system is configured as follows: when a cross-border e-commerce transaction party and a cross-border e-commerce transaction party conduct a cross-border e-commerce transaction, the e-commerce server obtains first transaction information of the cross-border e-commerce transaction; the e-commerce server synchronizes the first transaction information to a first block sub-chain for accounting, wherein the first block sub-chain is configured for the cross-border e-commerce transaction party and the cross-border e-commerce transaction party, and as the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server expands the first block sub-chain

[0019] Optionally, the e-commerce server obtains the first transaction information of the cross-border e-commerce transaction, including: the e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instructions of the cross-border e-commerce transaction party; when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party pass the verification, the e-commerce server obtains the first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party.

[0020] Optionally, the e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instruction of the cross-border e-commerce transaction party, including: the e-commerce server receives cross-border e-commerce transaction information from the cross-border e-commerce transaction party, the cross-border e-commerce transaction information includes a first MAC value and at least one of the following information: a signature of the cross-border e-commerce transaction party, a signature of the cross-border e-commerce transaction party, or information used to indicate the cross-border e-commerce transaction, at least one of which is used to jointly instruct the cross-border e-commerce transaction direction to initiate a cross-border e-commerce transaction to the cross-border e-commerce transaction party; the e-commerce server generates a second MAC value according to at least one piece of information; the e-commerce server verifies whether the first MAC value is the same as the second MAC value; if the first MAC If the first MAC value is the same as the second MAC value, the e-commerce server verifies whether the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures; otherwise, if the first MAC value is different from the second MAC value, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed; if the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has passed; otherwise, if any one of the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party is not a legal signature, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed. Correspondingly, the e-commerce server obtains first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party, including: after verifying that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party have passed, the e-commerce server obtains first transaction sub-information from the cross-border e-commerce transaction party, and obtains second transaction sub-information from the cross-border e-commerce transaction party; wherein, the key information in the first transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the first identity identifier, the second identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party, and the key information in the second transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the third identity identifier, the fourth identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party; if the key information in the first transaction sub-information is consistent with that in the second transaction sub-information, the e-commerce server determines the first transaction information, and the first transaction information is the combination of the first transaction sub-information and the second transaction sub-information.

[0021] Optionally, the first identity identifier is an identifier used by a cross-border e-commerce transaction party to describe itself, the second identity identifier is an identifier used by a cross-border e-commerce transaction party to describe an entity involved in the cross-border e-commerce transaction, the third identity identifier is an identifier used by the cross-border e-commerce transaction party to describe itself, and the fourth identity identifier is an identifier used by the cross-border e-commerce transaction party to describe the entity involved in the cross-border e-commerce transaction. The key information in the first transaction sub-information and the second transaction sub-information is consistent, including: the first identity identifier is the same as the fourth identity identifier, the second identity identifier is the same as the third identity identifier, the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction is the same as the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, and the number of transactions recorded by the cross-border e-commerce transaction party is the same as the number of transactions recorded by the cross-border e-commerce transaction party.

[0022] Optionally, the e-commerce server generates a second MAC value based on at least one item of information, including: the e-commerce server uses a long-term key to hash at least one item of information to obtain a second MAC value, where the long-term key is a key assigned by the e-commerce server to the cross-border e-commerce transaction party when the cross-border e-commerce transaction party registers with the e-commerce server.

[0023] Optionally, the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, including: the e-commerce server determines that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting a cross-border e-commerce transaction for the first time based on the number of transactions n=1 in the first transaction information; in response to the fact that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting a cross-border e-commerce transaction for the first time, the e-commerce server allocates a first block subchain to the cross-border e-commerce transaction party and the cross-border e-commerce transaction party from the blockchain, the first block subchain including a first central node and three edge nodes, the three edge nodes are all connected to the first central node to form a first block subchain with a star structure; the e-commerce server instructs the first central node to account for the first transaction information, and instructs the three edge nodes to account for the first transaction information through the first central node.

[0024] Optionally, after the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, the system is further configured as follows: when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains second transaction information of the cross-border e-commerce transaction; in response to the number of transactions n=X1 in the second transaction information, where X1 is an integer greater than 1, the e-commerce server expands the first block subchain to obtain a second block subchain, and the number of nodes in the second block subchain is greater than the number of nodes in the first block subchain; the e-commerce server synchronizes the second transaction information to the second block subchain for accounting.

[0025] Optionally, the e-commerce server expands the first block subchain to obtain a second block subchain, including: the e-commerce server selects a first edge node from three edge nodes; the e-commerce server configures at least two nodes in the blockchain connected to the first edge node as edge nodes in the block subchain where the first edge node is located to obtain a second block subchain, at least two nodes are connected in sequence, at least one node located at an endpoint of the at least two nodes is connected to the first edge node, at least two nodes and the first edge node constitute a block subchain, and the second block subchain includes two edge nodes, a block subchain and a first central node; accordingly, the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, including: the e-commerce server instructs the first central node to account for the second transaction information, and instructs the two edge nodes respectively through the first central node, and each node in the block subchain to account for the second transaction information.

[0026] Optionally, after the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, the system is further configured as: when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains third transaction information of the cross-border e-commerce transaction; in response to the number of transactions n=X2 in the third transaction information, X2 is an integer greater than X1, the e-commerce server expands the second block subchain to obtain a third block subchain, and the number of nodes in the third block subchain is greater than the number of nodes in the second block subchain; the e-commerce server synchronizes the third transaction information to the third block subchain for accounting.

[0027] Optionally, the e-commerce server expands the first block subchain to obtain a second block subchain, including: the e-commerce server selects a second edge node from the block subchain, the second edge node is a node at one end of the block subchain that is not connected to the first central node; the e-commerce server configures a node in the blockchain connected to the second edge node as a second central node in the block subchain where the second edge node is located, and configures two nodes in the blockchain connected to the second central node as edge nodes in the block subchain where the second central node is located, to obtain a third block subchain, the third block subchain including four edge nodes, a block subchain, a first central node and a second central node; accordingly, the e-commerce server synchronizes the third transaction information to the third block subchain for accounting, including: the e-commerce server instructs the first central node to account for the third transaction information, instructs the second central node to account for the third transaction information, and instructs the four edge nodes through the first central node and the second central node respectively, and each node in the block subchain to account for the third transaction information.

[0028] In summary, the above method and system have the following technical effects:

[0029] When a cross-border e-commerce transaction party conducts a cross-border e-commerce transaction with a cross-border e-commerce transaction party, the e-commerce server can configure a block sub-chain of corresponding size according to the number of transactions, such as the first block sub-chain, and synchronize the first transaction information to the first block sub-chain for accounting. After that, as the number of transactions increases, the e-commerce server will expand the first block sub-chain, otherwise, it will not expand the chain. In this way, when the transaction data of the cross-border e-commerce is synchronized to the blockchain for accounting, the security and immutability of the data are guaranteed, while taking into account the overhead of the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of the architecture of a cross-border e-commerce transaction system based on big data provided by an embodiment of the present invention;

[0031] Figure 2 A schematic diagram of a process of a cross-border e-commerce transaction method based on big data provided by an embodiment of the present invention;

[0032] Figure 3 A schematic diagram of an application scenario of a cross-border e-commerce transaction method based on big data provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The technical solution of the present invention will be described below in conjunction with the accompanying drawings.

[0034] The present invention will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the drawings. In addition, combinations of these schemes may also be used.

[0035] In addition, in the embodiments of the present invention, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the word "exemplary" is used to present concepts in a specific way.

[0036] In the embodiments of the present invention, "information", "signal", "message", "channel" and "signaling" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. In addition, the " / " mentioned in the present invention can be used to express an "or" relationship.

[0037] The network architecture and business scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.

[0038] To facilitate understanding of the embodiments of the present invention, first Figure 1 The cross-border e-commerce transaction system based on big data shown in the figure is used as an example to explain in detail the cross-border e-commerce transaction system based on big data applicable to the embodiment of the present invention.

[0039] Figure 1 A schematic diagram of the architecture of a cross-border e-commerce transaction system based on big data applicable to the cross-border e-commerce transaction method based on big data provided in an embodiment of the present invention. Figure 1 As shown, the cross-border e-commerce transaction system based on big data includes: cross-border e-commerce transaction participants and an e-commerce server.

[0040] Participants in cross-border e-commerce transactions may include cross-border e-commerce transacting parties and cross-border e-commerce transacted parties. Cross-border e-commerce transacting parties may be sellers in cross-border e-commerce transactions, and cross-border e-commerce transacted parties may be buyers in cross-border e-commerce transactions.

[0041] Among them, the equipment forms of cross-border e-commerce transaction participants and e-commerce servers are terminals, which can be terminals with transceiver functions, or chips or chip systems that can be set in the terminal. The terminal can also be called user equipment (UE), access terminal, subscriber unit, user station, mobile station (MS), mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device. The terminal in the embodiments of the present invention may be a mobile phone, a cellular phone, a smart phone, a tablet computer, a wireless data card, a personal digital assistant (PDA), a wireless modem, a handset, a laptop computer, a machine type communication (MTC) terminal, a computer with a wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a vehicle-mounted terminal, a road side unit (RSU) with a terminal function, etc. The terminal of the present invention may also be a vehicle-mounted module, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit built into a vehicle as one or more components or units. Alternatively, the terminal may also be customer-premises equipment (CPE).

[0042] For ease of understanding, the following will combine Figure 2 The cross-border e-commerce transaction method based on big data provided by an embodiment of the present invention is specifically described.

[0043] For example, Figure 2 A schematic diagram of a process flow of a cross-border e-commerce transaction method based on big data provided by an embodiment of the present invention. The method may involve interaction between a cross-border e-commerce transaction participant and an e-commerce server.

[0044] like Figure 2 As shown, the process of the cross-border e-commerce transaction method based on big data is as follows:

[0045] S201, when a cross-border e-commerce transaction party and a cross-border e-commerce transaction party conduct a cross-border e-commerce transaction, an e-commerce server obtains first transaction information of the cross-border e-commerce transaction.

[0046] Among them, the first transaction information may include various relevant information of the cross-border e-commerce transaction. The specific path is constructed by the e-commerce server based on the acquired information, which is described in detail below.

[0047] The e-commerce server can verify the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instructions of the cross-border e-commerce transaction party.

[0048] For example, the e-commerce server may receive cross-border e-commerce transaction information from the cross-border e-commerce transacted party, and the cross-border e-commerce transaction information includes a first integrity verification (MAC) value and at least one of the following information: a signature of the cross-border e-commerce transacting party (such as a data signature), a signature of the cross-border e-commerce transacted party (also such as a data signature), or information used to indicate the cross-border e-commerce transaction, and the at least one information is used to jointly indicate the cross-border e-commerce transacting party to initiate a cross-border e-commerce transaction to the cross-border e-commerce transacted party. The e-commerce server generates a second MAC value based on at least one piece of information. For example, the e-commerce server may use a long-term key to hash at least one piece of information to obtain a second MAC value, and the long-term key is the key assigned by the e-commerce server to the cross-border e-commerce transacted party when the cross-border e-commerce transacted party registers with the e-commerce server, and the key is unique, that is, it is limited to the cross-border e-commerce transacted party. Similarly, if it is a normal cross-border e-commerce transacted party, the cross-border e-commerce transacted party can generate the first MAC in the same way, that is, use the long-term key to hash at least one piece of information to obtain the first MAC value. In this way, the e-commerce server can verify whether the first MAC value is the same as the second MAC value, that is, verify whether the cross-border e-commerce transaction information has been tampered with.

[0049] If the first MAC value is the same as the second MAC value, it means that the cross-border e-commerce transaction information has not been tampered with, then the e-commerce server verifies whether the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures, such as using an existing data signature algorithm to verify the digital signature, such as Rabin signature, DSS signature, RSA signature verification, without restriction. If the first MAC value is different from the second MAC value, it means that the cross-border e-commerce transaction information has been tampered with, then the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has not passed, and the subsequent process terminates. In other words, only when the information has not been tampered with, the subsequent verification signature is a valid operation, otherwise it is an invalid redundant operation. Therefore, if the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures, then the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has passed, otherwise, if any of the signatures of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party is not a legal signature, then the e-commerce server can determine that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has not passed.

[0050] It is understandable that part of the information in at least one item of cross-border e-commerce transaction information, such as the signature of the cross-border e-commerce transaction party, may be obtained by the cross-border e-commerce transaction party from the cross-border e-commerce transaction party. Therefore, in the above process, the cross-border e-commerce transaction party also needs to be verified.

[0051] When the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are verified, the e-commerce server obtains first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party.

[0052] For example, when verifying that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party have passed, the e-commerce server can obtain the first transaction sub-information from the cross-border e-commerce transaction party and the second transaction sub-information from the cross-border e-commerce transaction party. If the key information in the first transaction sub-information is consistent with the key information in the second transaction sub-information, the e-commerce server determines the first transaction information, and the first transaction information is the combination of the first transaction sub-information and the second transaction sub-information.

[0053] Among them, the key information in the first transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction (such as the time, type, product information, amount, etc. of the transaction), the first identity identifier, the second identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party; the key information in the second transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the third identity identifier, the fourth identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party. Among them, the first identity identifier is an identifier used by a cross-border e-commerce transaction party to describe itself, the second identity identifier is an identifier used by a cross-border e-commerce transaction party to describe an entity participating in a cross-border e-commerce transaction (i.e., the counterparty, which is normally the cross-border e-commerce transaction party), the third identity identifier is an identifier used by a cross-border e-commerce transaction party to describe itself, and the fourth identity identifier is an identifier used by a cross-border e-commerce transaction party to describe an entity participating in a cross-border e-commerce transaction (i.e., the counterparty, which is normally the cross-border e-commerce transaction party). The key information in the first transaction sub-information and the second transaction sub-information is consistent, including: the first identity identifier is the same as the fourth identity identifier, the second identity identifier is the same as the third identity identifier, the information used by the cross-border e-commerce transaction party to describe a cross-border e-commerce transaction is the same as the information used by the cross-border e-commerce transaction party to describe a cross-border e-commerce transaction, and the number of transactions recorded by the cross-border e-commerce transaction party is the same as the number of transactions recorded by the cross-border e-commerce transaction party.

[0054] S202, the e-commerce server synchronizes the first transaction information to the first block subchain for accounting.

[0055] Among them, the first block subchain can be configured for the cross-border e-commerce transaction party and the cross-border e-commerce transaction party. For example, the e-commerce server determines that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting cross-border e-commerce transactions for the first time (i.e., the first time) according to the number of transactions n=1 in the first transaction information. In response to the cross-border e-commerce transaction party and the cross-border e-commerce transaction party conducting a cross-border e-commerce transaction for the first time, the e-commerce server allocates the first block subchain to the cross-border e-commerce transaction party and the cross-border e-commerce transaction party from the blockchain, such as selecting 4 nodes with relatively low loads, and assigning them the identifier of the first block subchain to construct the first block subchain. For example, the first block subchain includes a first central node and three edge nodes, and the three edge nodes are all connected to the first central node to form a first block subchain with a star structure. In the process of constructing the first block subchain, the first block subchain can configure the identifier of the first block subchain and the address of the first central node to the three edge nodes. Similarly, the addresses of the three edge nodes and the identifier of the first block subchain are also configured to the first central node to achieve the construction of the first block subchain. In the first block subchain, the first central node can interact with the e-commerce server, while the three edge nodes cannot interact with the e-commerce server. The three edge nodes can only interact with the first central node. In other words, a star structure is constructed so that the first central node can interact with each edge node, thereby improving the efficiency of data record synchronization.

[0056] On this basis, the e-commerce server can instruct the first central node to account for the first transaction information, and instruct the three edge nodes to account for the first transaction information through the first central node. For example, the e-commerce server can encrypt the first transaction information and send it to the first central node for recording, and also send a synchronization instruction. The first central node synchronizes the encrypted first transaction information to the three edge nodes for accounting according to the synchronization instruction.

[0057] For example, an example of the first block subchain can be as follows Figure 3 As shown in (a) in .

[0058] Subsequently, as the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server can expand the first block subchain. For example, after the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains the second transaction information of the cross-border e-commerce transaction; in response to the number of transactions n=X1 in the second transaction information, X1 is an integer greater than 1, such as X1=6, the e-commerce server can expand the first block subchain to obtain the second block subchain, and the number of nodes in the second block subchain is greater than the number of nodes in the first block subchain; the e-commerce server synchronizes the second transaction information to the second block subchain for accounting. That is to say, before the chain expansion, when n=2 to 5, its transaction information is synchronized and accounted in the first block subchain.

[0059] Specifically, the e-commerce server selects a first edge node from the three edge nodes, such as the one with the lowest load. Figure 3 The e-commerce server can configure at least two nodes in the blockchain connected to the first edge node as edge nodes in the block subchain where the first edge node is located, to obtain a second block subchain, wherein at least two nodes are connected in sequence, and at least one node located at an endpoint of the at least two nodes is connected to the first edge node, and at least two nodes and the first edge node form a block subchain, and the second block subchain includes two edge nodes, a block subchain and a first central node. For example, Figure 3 As shown in (b), it includes central node #1, edge node #1, edge node #2, and the block sub-chain includes edge node #3, edge node #4, and edge node #5. On this basis, the e-commerce server instructs the first central node to account for the second transaction information, and instructs the two edge nodes through the first central node, and each node in the block sub-chain to account for the second transaction information. The principle is similar to the first block sub-chain mentioned above, and can be understood by reference. The difference is that the second transaction information recorded by the next hop node in the block sub-chain needs to be synchronized to it by its previous hop, for example Figure 3 The middle edge node #3 is synchronized to the edge node #4, and the edge node #4 is synchronized to the edge node #5.

[0060] Subsequently, after the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains the third transaction information of the cross-border e-commerce transaction; in response to the transaction number n=X2 in the third transaction information, X2 is an integer greater than X1, such as X2=12, the e-commerce server expands the second block subchain to obtain the third block subchain, and the number of nodes in the third block subchain is greater than the number of nodes in the second block subchain; the e-commerce server synchronizes the third transaction information to the third block subchain for accounting. That is to say, before the chain expansion, when n=7 to 11, its transaction information is synchronized and accounted in the second block subchain.

[0061] For example, the e-commerce server selects a second edge node from the block chain, where the second edge node is a node at one end of the block chain that is not connected to the first central node (e.g. Figure 3 The e-commerce server configures a node in the blockchain connected to the second edge node as the second center node in the block subchain where the second edge node is located, and configures two nodes in the blockchain connected to the second center node as edge nodes in the block subchain where the second center node is located, thereby obtaining a third block subchain, which includes four edge nodes, a block subchain, a first center node, and a second center node. For example, Figure 3 As shown in (c), it includes central node #1, central node #2, edge node #1, edge node #2, the block chain includes edge node #3, edge node #4, edge node #5, and also includes edge node #6 and edge node #7 connected to central node #2.

[0062] It is understandable that when expanding the chain, the configuration of each node by the e-commerce server is similar to the above, that is, configuring the block subchain identifier and configuring the addresses of each other. It is understandable that the identifiers of the third block subchain and the third block subchain can both use the identifier of the first block subchain.

[0063] On this basis, the e-commerce server instructs the first central node to record the third transaction information, instructs the second central node to record the third transaction information, and instructs the four edge nodes and each node in the block chain to record the third transaction information through the first central node and the second central node respectively. That is, synchronization can be performed through the two central nodes. When the amount of data increases and the scale of the block sub-chain expands, its efficiency also needs to be guaranteed accordingly.

[0064] It can be understood that the above is only an example. If chain expansion is required, the logic is similar to the above. For example, edge node #2 is selected to expand the second block chain, and then the third central node is expanded. Subsequently, edge node #1 is selected to expand the third block chain, and then the fourth central node is expanded, and so on.

[0065] In summary, when a cross-border e-commerce transaction party conducts a cross-border e-commerce transaction with a cross-border e-commerce transaction party, the e-commerce server can configure a block sub-chain of corresponding scale according to the number of transactions, such as the first block sub-chain, and synchronize the first transaction information to the first block sub-chain for accounting. After that, as the number of transactions increases, the e-commerce server will expand the first block sub-chain, otherwise, the chain will not be expanded. In this way, when the transaction data of the cross-border e-commerce is synchronized to the blockchain for accounting, the security and immutability of the data are guaranteed, while taking into account the overhead of the blockchain.

[0066] Combination of the above Figure 2 The cross-border e-commerce transaction method based on big data provided by the embodiment of the present invention is described in detail. The system for executing the cross-border e-commerce transaction method based on big data provided by the embodiment of the present invention is described in detail below.

[0067] The system includes an e-commerce server, which is configured as follows: when a cross-border e-commerce transaction party and a cross-border e-commerce transaction party conduct a cross-border e-commerce transaction, the e-commerce server obtains first transaction information of the cross-border e-commerce transaction; the e-commerce server synchronizes the first transaction information to a first block subchain for accounting, wherein the first block subchain is configured for the cross-border e-commerce transaction party and the cross-border e-commerce transaction party, and as the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server expands the first block subchain

[0068] Optionally, the e-commerce server obtains the first transaction information of the cross-border e-commerce transaction, including: the e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instructions of the cross-border e-commerce transaction party; when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party pass the verification, the e-commerce server obtains the first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party.

[0069] Optionally, the e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instruction of the cross-border e-commerce transaction party, including: the e-commerce server receives cross-border e-commerce transaction information from the cross-border e-commerce transaction party, the cross-border e-commerce transaction information includes a first MAC value and at least one of the following information: a signature of the cross-border e-commerce transaction party, a signature of the cross-border e-commerce transaction party, or information used to indicate the cross-border e-commerce transaction, at least one of which is used to jointly instruct the cross-border e-commerce transaction direction to initiate a cross-border e-commerce transaction to the cross-border e-commerce transaction party; the e-commerce server generates a second MAC value according to at least one piece of information; the e-commerce server verifies whether the first MAC value is the same as the second MAC value; if the first MAC If the first MAC value is the same as the second MAC value, the e-commerce server verifies whether the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures; otherwise, if the first MAC value is different from the second MAC value, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed; if the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has passed; otherwise, if any one of the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party is not a legal signature, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed. Correspondingly, the e-commerce server obtains first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party, including: after verifying that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party have passed, the e-commerce server obtains first transaction sub-information from the cross-border e-commerce transaction party, and obtains second transaction sub-information from the cross-border e-commerce transaction party; wherein, the key information in the first transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the first identity identifier, the second identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party, and the key information in the second transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the third identity identifier, the fourth identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party; if the key information in the first transaction sub-information is consistent with that in the second transaction sub-information, the e-commerce server determines the first transaction information, and the first transaction information is the combination of the first transaction sub-information and the second transaction sub-information.

[0070] Optionally, the first identity identifier is an identifier used by a cross-border e-commerce transaction party to describe itself, the second identity identifier is an identifier used by a cross-border e-commerce transaction party to describe an entity involved in the cross-border e-commerce transaction, the third identity identifier is an identifier used by the cross-border e-commerce transaction party to describe itself, and the fourth identity identifier is an identifier used by the cross-border e-commerce transaction party to describe the entity involved in the cross-border e-commerce transaction. The key information in the first transaction sub-information and the second transaction sub-information is consistent, including: the first identity identifier is the same as the fourth identity identifier, the second identity identifier is the same as the third identity identifier, the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction is the same as the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, and the number of transactions recorded by the cross-border e-commerce transaction party is the same as the number of transactions recorded by the cross-border e-commerce transaction party.

[0071] Optionally, the e-commerce server generates a second MAC value based on at least one item of information, including: the e-commerce server uses a long-term key to hash at least one item of information to obtain a second MAC value, where the long-term key is a key assigned by the e-commerce server to the cross-border e-commerce transaction party when the cross-border e-commerce transaction party registers with the e-commerce server.

[0072] Optionally, the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, including: the e-commerce server determines that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting a cross-border e-commerce transaction for the first time based on the number of transactions n=1 in the first transaction information; in response to the fact that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting a cross-border e-commerce transaction for the first time, the e-commerce server allocates a first block subchain to the cross-border e-commerce transaction party and the cross-border e-commerce transaction party from the blockchain, the first block subchain including a first central node and three edge nodes, the three edge nodes are all connected to the first central node to form a first block subchain with a star structure; the e-commerce server instructs the first central node to account for the first transaction information, and instructs the three edge nodes to account for the first transaction information through the first central node.

[0073] Optionally, after the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, the system is further configured as follows: when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains second transaction information of the cross-border e-commerce transaction; in response to the number of transactions n=X1 in the second transaction information, where X1 is an integer greater than 1, the e-commerce server expands the first block subchain to obtain a second block subchain, and the number of nodes in the second block subchain is greater than the number of nodes in the first block subchain; the e-commerce server synchronizes the second transaction information to the second block subchain for accounting.

[0074] Optionally, the e-commerce server expands the first block subchain to obtain a second block subchain, including: the e-commerce server selects a first edge node from three edge nodes; the e-commerce server configures at least two nodes in the blockchain connected to the first edge node as edge nodes in the block subchain where the first edge node is located to obtain a second block subchain, at least two nodes are connected in sequence, at least one node located at an endpoint of the at least two nodes is connected to the first edge node, at least two nodes and the first edge node constitute a block subchain, and the second block subchain includes two edge nodes, a block subchain and a first central node; accordingly, the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, including: the e-commerce server instructs the first central node to account for the second transaction information, and instructs the two edge nodes respectively through the first central node, and each node in the block subchain to account for the second transaction information.

[0075] Optionally, after the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, the system is further configured as: when the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server obtains third transaction information of the cross-border e-commerce transaction; in response to the number of transactions n=X2 in the third transaction information, X2 is an integer greater than X1, the e-commerce server expands the second block subchain to obtain a third block subchain, and the number of nodes in the third block subchain is greater than the number of nodes in the second block subchain; the e-commerce server synchronizes the third transaction information to the third block subchain for accounting.

[0076] Optionally, the e-commerce server expands the first block subchain to obtain a second block subchain, including: the e-commerce server selects a second edge node from the block subchain, the second edge node is a node at one end of the block subchain that is not connected to the first central node; the e-commerce server configures a node in the blockchain connected to the second edge node as a second central node in the block subchain where the second edge node is located, and configures two nodes in the blockchain connected to the second central node as edge nodes in the block subchain where the second central node is located, to obtain a third block subchain, the third block subchain including four edge nodes, a block subchain, a first central node and a second central node; accordingly, the e-commerce server synchronizes the third transaction information to the third block subchain for accounting, including: the e-commerce server instructs the first central node to account for the third transaction information, instructs the second central node to account for the third transaction information, and instructs the four edge nodes through the first central node and the second central node respectively, and each node in the block subchain to account for the third transaction information.

[0077] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program or instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0078] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0079] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0080] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0081] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0082] Those skilled in the art 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 aforementioned method embodiments and will not be repeated here.

[0083] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0084] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0085] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0086] If the functions 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. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0087] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A cross-border e-commerce transaction method based on big data, characterized in that: Applied to an e-commerce server, the method includes: When a cross-border e-commerce transaction party and a cross-border e-commerce transaction party conduct a cross-border e-commerce transaction, the e-commerce server obtains first transaction information of the cross-border e-commerce transaction; The e-commerce server synchronizes the first transaction information to the first block sub-chain for accounting, wherein the first block sub-chain is configured for the cross-border e-commerce transaction party and the cross-border e-commerce transaction party. As the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server expands the first block sub-chain.

2. The method according to claim 1, characterized in that The e-commerce server obtains first transaction information of the cross-border e-commerce transaction, including: The e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instruction of the cross-border e-commerce transaction party; When the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are verified, the e-commerce server obtains the first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party.

3. The method according to claim 2, characterized in that The e-commerce server verifies the cross-border e-commerce transaction party and the cross-border e-commerce transaction party according to the instruction of the cross-border e-commerce transaction party, including: The e-commerce server receives cross-border e-commerce transaction information from the cross-border e-commerce transacted party, wherein the cross-border e-commerce transaction information includes a first MAC value and at least one of the following information: a signature of the cross-border e-commerce transacting party, a signature of the cross-border e-commerce transacted party, or information indicating a cross-border e-commerce transaction, wherein the at least one piece of information is used to jointly instruct the cross-border e-commerce transacting party to initiate a cross-border e-commerce transaction with the cross-border e-commerce transacted party; The e-commerce server generates a second MAC value according to the at least one item of information; The e-commerce server verifies whether the first MAC value is the same as the second MAC value; If the first MAC value is the same as the second MAC value, the e-commerce server verifies whether the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures; otherwise, if the first MAC value is different from the second MAC value, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed; If the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party are legal signatures, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has passed; otherwise, if any one of the signature of the cross-border e-commerce transaction party and the signature of the cross-border e-commerce transaction party is not a legal signature, the e-commerce server determines that the verification of the cross-border e-commerce transaction party and the cross-border e-commerce transaction party has failed; Correspondingly, the e-commerce server obtains the first transaction information from the cross-border e-commerce transaction party and the cross-border e-commerce transaction party, including: In the case of verifying that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party have passed, the e-commerce server obtains the first transaction sub-information from the cross-border e-commerce transaction party, and obtains the second transaction sub-information from the cross-border e-commerce transaction party; wherein the key information in the first transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the first identity identifier, the second identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party; the key information in the second transaction sub-information includes: information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, the third identity identifier, the fourth identity identifier, and the number of transactions recorded by the cross-border e-commerce transaction party; If the key information in the first transaction sub-information is consistent with the key information in the second transaction sub-information, the e-commerce server determines the first transaction information, and the first transaction information is a collection of the first transaction sub-information and the second transaction sub-information.

4. The method according to claim 3, characterized in that The first identity identifier is an identifier used by the cross-border e-commerce transaction party to describe itself, the second identity identifier is an identifier used by the cross-border e-commerce transaction party to describe an entity participating in the cross-border e-commerce transaction, the third identity identifier is an identifier used by the cross-border e-commerce transaction party to describe itself, and the fourth identity identifier is an identifier used by the cross-border e-commerce transaction party to describe an entity participating in the cross-border e-commerce transaction. The key information in the first transaction sub-information and the second transaction sub-information is consistent, including: the first identity identifier is the same as the fourth identity identifier, the second identity identifier is the same as the third identity identifier, the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction is the same as the information used by the cross-border e-commerce transaction party to describe the cross-border e-commerce transaction, and the number of transactions recorded by the cross-border e-commerce transaction party is the same as the number of transactions recorded by the cross-border e-commerce transaction party.

5. The method according to any one of claims 1 to 4, characterized in that The e-commerce server synchronizes the first transaction information to the first block subchain for accounting, including: The e-commerce server determines, according to the transaction number n=1 in the first transaction information, that the cross-border e-commerce transaction party and the cross-border e-commerce transaction party are conducting a cross-border e-commerce transaction for the first time; In response to the cross-border e-commerce transaction party and the cross-border e-commerce transaction party conducting a cross-border e-commerce transaction for the first time, the e-commerce server allocates the first block subchain to the cross-border e-commerce transaction party and the cross-border e-commerce transaction party from the blockchain, wherein the first block subchain includes a first central node and three edge nodes, and the three edge nodes are all connected to the first central node to form the first block subchain with a star structure; The e-commerce server instructs the first central node to record the first transaction information, and instructs the three edge nodes to record the first transaction information through the first central node.

6. The method according to claim 5, characterized in that After the e-commerce server synchronizes the first transaction information to the first block subchain for accounting, the method further includes: In a case where the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct the cross-border e-commerce transaction, the e-commerce server obtains second transaction information of the cross-border e-commerce transaction; In response to the transaction number n=X1 in the second transaction information, where X1 is an integer greater than 1, the e-commerce server expands the first block subchain to obtain a second block subchain, where the number of nodes in the second block subchain is greater than the number of nodes in the first block subchain; The e-commerce server synchronizes the second transaction information to the second block subchain for accounting.

7. The method according to claim 6, characterized in that The e-commerce server expands the first block subchain to obtain a second block subchain, including: The e-commerce server selects a first edge node from the three edge nodes; The e-commerce server configures at least two nodes in the blockchain connected to the first edge node as edge nodes in the block subchain where the first edge node is located, to obtain the second block subchain, wherein the at least two nodes are connected in sequence, one of the at least two nodes located at an endpoint is connected to the first edge node, the at least two nodes and the first edge node form a block subchain, and the second block subchain includes two edge nodes, one of the block subchains and one of the first central nodes; Correspondingly, the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, including: The e-commerce server instructs the first central node to record the second transaction information, and instructs the two edge nodes and each node in the block chain to record the second transaction information through the first central node.

8. The method according to claim 7, characterized in that After the e-commerce server synchronizes the second transaction information to the second block subchain for accounting, the method further includes: In a case where the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct the cross-border e-commerce transaction, the e-commerce server obtains third transaction information of the cross-border e-commerce transaction; In response to the number of transactions n=X2 in the third transaction information, where X2 is an integer greater than X1, the e-commerce server expands the second block subchain to obtain a third block subchain, where the number of nodes in the third block subchain is greater than the number of nodes in the second block subchain; The e-commerce server synchronizes the third transaction information to the third block subchain for accounting.

9. The method according to claim 8, characterized in that The e-commerce server expands the first block subchain to obtain a second block subchain, including: The e-commerce server selects a second edge node from the block chain, where the second edge node is a node at one end of the block chain that is not connected to the first central node; The e-commerce server configures a node in the blockchain connected to the second edge node as a second central node in the block subchain where the second edge node is located, and configures two nodes in the blockchain connected to the second central node as edge nodes in the block subchain where the second central node is located, to obtain the third block subchain, wherein the third block subchain includes four edge nodes, one block subchain, one first central node, and one second central node; Correspondingly, the e-commerce server synchronizes the third transaction information to the third block subchain for accounting, including: The e-commerce server instructs the first central node to record the third transaction information, instructs the second central node to record the third transaction information, and instructs the four edge nodes and each node in the block chain to record the third transaction information through the first central node and the second central node.

10. A cross-border e-commerce transaction system based on big data, characterized in that: The system includes an e-commerce server, and the system is configured as follows: When a cross-border e-commerce transaction party and a cross-border e-commerce transaction party conduct a cross-border e-commerce transaction, the e-commerce server obtains first transaction information of the cross-border e-commerce transaction; The e-commerce server synchronizes the first transaction information to the first block sub-chain for accounting, wherein the first block sub-chain is configured for the cross-border e-commerce transaction party and the cross-border e-commerce transaction party. As the cross-border e-commerce transaction party and the cross-border e-commerce transaction party continue to conduct cross-border e-commerce transactions, the e-commerce server expands the first block sub-chain.