Data processing method, device and equipment and readable storage medium

By encrypting the transaction voucher data using a character password book and a preset encryption number N, it is manifested as visual characters, which solves the problem of invisible characters caused by existing encryption methods, and realizes more efficient data identification, query and storage, while improving data security.

CN119918068APending Publication Date: 2025-05-02SHENZHEN XIAOYUDIAN DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311441510.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

After the existing encryption method encrypts transaction data, the generated encrypted data contains invisible characters, which makes it difficult to recognize, poor readability, and is not conducive to data query and storage.

Method used

By using a character password book and a preset encryption number N, the transaction voucher data is encrypted to make the encrypted data appear as visual characters, thereby reducing the difficulty of data recognition and improving readability.

Benefits of technology

The encrypted transaction voucher data is visualized, which reduces the difficulty of data recognition, improves the readability of data, is conducive to data query and storage, and improves data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119918068A_ABST
    Figure CN119918068A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method, device and equipment and a readable storage medium, and the method comprises the steps: obtaining the transaction data of a target transaction, the transaction data comprises transaction voucher data and transaction content data, the transaction voucher data is used for indicating the transaction voucher type and transaction voucher number of the target transaction, and the transaction content data is used for indicating the transaction voucher type and transaction voucher number of the target transaction; the transaction voucher data comprises a plurality of visual characters to be encrypted; according to the character password book and a preset encryption frequency N, performing encryption processing on the transaction voucher data to obtain encrypted transaction voucher data, the encrypted transaction voucher data comprising a plurality of encrypted visual characters; and according to the transaction content data and the encrypted transaction voucher data, determining encrypted transaction data of the target transaction, and storing the encrypted transaction data of the target transaction in the block chain. Through the method provided by the invention, the encrypted transaction voucher data can be represented in a visual character form, the data identification difficulty is effectively reduced, and data query and data storage are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, a data processing device, a computer equipment, and a computer-readable storage medium. Background Art

[0002] Blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and is a distributed storage method that is cryptographically guaranteed to be tamper-proof and unforgeable. When using blockchain to conduct transactions between multiple parties, the transaction data of resource transactions can be stored in the blockchain.

[0003] In order to ensure the security of transaction data, the transaction data of resource transactions is usually encrypted. After the transaction data is encrypted using the existing encryption method, the encrypted data usually contains invisible characters (such as spaces). Such encrypted data is difficult to identify, has poor readability, and is not conducive to data query and data storage. Summary of the invention

[0004] The embodiments of the present application provide a data processing method, apparatus, device and readable storage medium, which can make the encrypted transaction voucher data appear in the form of visible characters, effectively reduce the difficulty of data recognition, and facilitate data query and data storage.

[0005] On the one hand, an embodiment of the present application provides a data processing method, the method comprising:

[0006] Acquire transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used to indicate a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted;

[0007] The transaction voucher data is encrypted according to a character code book and a preset number of encryption times N to obtain encrypted transaction voucher data, wherein the encrypted transaction voucher data includes a plurality of encrypted visible characters, wherein the character code book is obtained by randomly extracting a plurality of initial visible characters included in an initial character string and combining the extracted initial visible characters, and N is an integer greater than or equal to 1;

[0008] Determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction credential data, and store the encrypted transaction data of the target transaction in the blockchain.

[0009] On the one hand, an embodiment of the present application provides a data processing device, the device comprising:

[0010] An acquisition unit, used for acquiring transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used for indicating a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted;

[0011] a processing unit, configured to encrypt the transaction voucher data according to a character code book and a preset number of encryption times N to obtain encrypted transaction voucher data, wherein the encrypted transaction voucher data includes a plurality of encrypted visible characters, wherein the character code book is obtained by randomly extracting a plurality of initial visible characters included in an initial character string and combining the extracted initial visible characters, and N is an integer greater than or equal to 1;

[0012] A determination unit is used to determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction credential data, and store the encrypted transaction data of the target transaction in the blockchain.

[0013] On the one hand, an embodiment of the present application provides a computer device, comprising: a processor, a communication interface and a memory, wherein the processor, the communication interface and the memory are interconnected, wherein the memory stores an executable program code, and the processor is used to call the executable program code to implement the data processing method provided in the embodiment of the present application.

[0014] Accordingly, an embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer implements the data processing method provided by the embodiment of the present application.

[0015] Accordingly, an embodiment of the present application further provides a computer program product, the computer program product comprising a computer program or computer instructions, the computer program or computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device implements the data processing method provided in the embodiment of the present application.

[0016] Through the data processing method provided in the embodiment of the present application, the transaction voucher data in the transaction data can be encrypted using a character code book and a preset encryption number N, so that the encrypted transaction voucher data is presented in the form of visible characters, effectively ensuring the readability of the encrypted transaction voucher data and reducing the difficulty of data recognition. At the same time, the transaction voucher data containing visible characters is conducive to improving the efficiency of data retrieval and data storage; the transaction voucher data can be encrypted multiple times using a preset encryption number N, so that the encrypted transaction voucher data has high security and is not easy to be cracked; the encrypted transaction data determined according to the transaction content data and the encrypted transaction voucher data can be stored in the blockchain, thereby realizing the distributed storage of transaction data and ensuring the security and reliability of the transaction data. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 is a schematic diagram of the system architecture of a data processing system provided in an embodiment of the present application;

[0019] Figure 2 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0020] Figure 3 It is a flowchart of another data processing method provided in an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of a method for determining an encrypted character provided in an embodiment of the present application;

[0022] Figure 5 It is a schematic diagram of a character codebook determination method provided in an embodiment of the present application;

[0023] Figure 6 is a schematic diagram of an encryption method provided in an embodiment of the present application;

[0024] Figure 7 is a schematic diagram of a decryption method provided in an embodiment of the present application;

[0025] Figure 8 is a structural block diagram of a data processing device provided in an embodiment of the present application;

[0026] Fig. 9 It is a structural block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] It should be noted that the descriptions of "first", "second", etc. involved in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the technical features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0029] Blockchain technology can be used to store transaction data of resource transactions (e.g., logistics resource transactions). In order to ensure the security of transaction data, transaction data is usually encrypted before being stored in the blockchain. However, existing encryption methods usually make the encrypted transaction data include invisible characters (e.g., spaces, etc.), which makes the encrypted transaction data poorly readable and difficult to identify, and is not conducive to data query and data storage.

[0030] Based on this, the embodiment of the present application provides a data processing method, which can obtain the transaction data of the target transaction, the transaction data includes transaction voucher data and transaction content data, the transaction voucher data is used to indicate the transaction voucher type and transaction voucher number of the target transaction, and the transaction voucher data includes multiple visible characters to be encrypted; the transaction voucher data is encrypted according to the character code book and the preset number of encryption times N to obtain the encrypted transaction voucher data, and the encrypted transaction voucher data includes multiple encrypted visible characters; the encrypted transaction data of the target transaction is determined according to the transaction content data and the encrypted transaction voucher data, and the encrypted transaction data of the target transaction is stored in the blockchain. Through the method provided by the embodiment of the present application, the encrypted transaction voucher data can be presented in the form of visible characters, which effectively reduces the difficulty of data recognition, improves the readability of the transaction voucher data, and is conducive to data query and data storage.

[0031] The data processing method provided in the embodiment of the present application can be applied to the field of blockchain. Blockchain is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods, each of which contains a batch of network transaction information for verifying the validity of its information (anti-counterfeiting) and generating the next block. Blockchain can include a blockchain underlying platform, a platform product service layer, and an application service layer. When multiple participants conduct resource transactions, transaction data will be generated. The method provided in the embodiment of the present application can be used to encrypt the transaction voucher data in the transaction data according to the character code book and the preset number of encryptions, determine the processed transaction data according to the encrypted transaction voucher data containing visible characters, and store the processed transaction data in the blockchain, thereby effectively improving the readability of the transaction voucher data, reducing the difficulty of data recognition, and improving the efficiency of data query and data storage.

[0032] The architecture of the data processing system provided in the embodiments of the present application will be introduced below in conjunction with the accompanying drawings.

[0033] See also Figure 1 , which is a schematic diagram of the system architecture of a data processing system provided in an embodiment of the present application, wherein the data processing system includes a terminal device 101 and multiple blockchain nodes ( Figure 1 In the figure, three blockchain nodes are shown as examples, namely, blockchain node 102, blockchain node 103 and blockchain node 104. Each blockchain node forms a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on the Transmission Control Protocol (TCP). The terminal device 101 can interact with the blockchain node for data.

[0034] The terminal device 101 can participate in resource transactions and generate transaction data, which may include transaction voucher data and transaction content data. The terminal device 101 can store the transaction data in the blockchain. The terminal device 101 can be a handheld device with communication functions (such as a smart phone, tablet computer), a computing device (such as a personal computer (PC), an intelligent voice interaction device, a wearable device or other intelligent device, but is not limited thereto.

[0035] Blockchain nodes (i.e. Figure 1 The blockchain nodes 102, 103 and 104 in the figure can be servers or terminal devices, and the blockchain nodes include a hardware layer, an intermediate layer, an operating system layer and an application layer. Figure 1 The figure shows the functions of each blockchain node in the data processing system, which mainly include three functions: routing, application and blockchain storage. The routing function is a basic function of the node, which is used to support communication between nodes; the application function is used to be deployed in the blockchain node to implement specific business according to actual business needs, record the data related to the implementation function to form record data, carry a digital signature in the record data to indicate the source of the task data, and send the record data to other nodes in the blockchain system for other nodes to add the record data to the temporary block when they successfully verify the source and integrity of the record data; the device corresponding to the blockchain storage function includes a series of blocks (Block) that are connected to each other in the order of generation. Once a new block is added to the blockchain, it will not be removed again. The block records the record data submitted by the nodes in the blockchain system.

[0036] The following will explain in detail Figure 1 The working principle of the data processing system shown:

[0037] The terminal device 101 generates transaction data of a target transaction (for example, a logistics resource transaction), the transaction data including transaction voucher data and transaction content data, the transaction voucher data being used to indicate the transaction voucher type and transaction voucher number of the target transaction, the transaction voucher data including a plurality of visible characters to be encrypted; the terminal device 101 sends the transaction data to the blockchain node 102, after the blockchain node 102 obtains the transaction data of the target transaction, it can utilize the application function to encrypt the transaction voucher data according to the character code book and the preset number of encryption times N, to obtain the encrypted transaction voucher data, the encrypted transaction voucher data including a plurality of encrypted visible characters, the character code book being obtained by randomly extracting a plurality of initial visible characters included in the initial character string, and combining the extracted initial visible characters, N being an integer greater than or equal to 1; the encrypted transaction data of the target transaction is determined according to the transaction content data and the encrypted transaction voucher data, the blockchain node 102 can implement the blockchain storage function, and store the encrypted transaction data of the target transaction in the blockchain. Through the data processing method provided in the embodiment of the present application, the encrypted transaction voucher data can contain visible characters, thereby reducing the difficulty of data recognition and enhancing the readability of the data. At the same time, it can also improve the efficiency of data query and data storage.

[0038] It is understandable that the architectural diagram of the data processing system described in the embodiment of the present application is to more clearly illustrate the data processing method of the embodiment of the present application, and does not constitute a limitation on the data processing method provided in the embodiment of the present application. For example, the data processing method provided in the embodiment of the present application can be executed by the blockchain node 102, the terminal device 101 can also implement the processing of transaction data, and can also be executed by other devices that are different from the blockchain node 102 and can communicate with the terminal device 101. It is known to those skilled in the art that Figure 1 The number of terminal devices 101 and blockchain nodes in the example are merely illustrative. Any number of devices and nodes may be configured according to business implementation needs. Moreover, with the evolution of the system architecture and the emergence of new business scenarios, the data processing method provided in the embodiment of the present application is also applicable to similar technical problems.

[0039] See also Figure 2 , Figure 2 A flow chart of a data processing method provided in an embodiment of the present application. The data processing method can be implemented by the above-mentioned blockchain node 102, or by other devices. The flow of the data processing method provided in the embodiment of the present application includes but is not limited to:

[0040] S201. Acquire transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used to indicate a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted.

[0041] In the embodiment of the present application, the transaction data of the target transaction can be obtained. The target transaction can be a transaction implemented by blockchain technology and involving multiple participants (for example, resource parties, platform parties, acquisition parties, etc.), such as logistics resource transactions. The transaction data includes transaction voucher data and transaction content data. The transaction voucher data is used to indicate the transaction type and transaction number of the target transaction, and the transaction content data is used to indicate the specific transaction content of the target transaction, such as the amount of resources in the transaction, the identification information of the transaction participants, etc. The transaction voucher data may include the transaction voucher type and transaction voucher number of the target transaction, and the transaction voucher data usually includes multiple visible characters to be encrypted. Visible characters usually refer to characters with specific reference symbols, such as: visible characters "A", visible characters "1"; invisible characters usually refer to characters without specific reference symbols, such as: spaces are invisible characters, which have no specific reference symbols, and carriage returns are also invisible characters. Invisible characters in character strings will increase the difficulty of data recognition and reduce the readability of character strings. The transaction data of the target transaction usually does not contain invisible characters, but after the transaction data is encrypted using the existing encryption method, the encrypted data may contain invisible characters, which increases the difficulty of data recognition and is not conducive to data query. The data processing method provided in the embodiment of the present application can be used to encrypt the transaction data of the target transaction to avoid the appearance of new invisible characters in the encrypted transaction data, reduce the difficulty of data recognition, and facilitate data query and data storage.

[0042] In one embodiment, when storing transaction data in a blockchain, the storage format of the transaction data may be a key-value format, wherein the transaction voucher data is the key (i.e., the transaction voucher type and the transaction voucher number are combined into a key), and the transaction content data is the value. When searching for data in a blockchain, the search is usually based on the key, so the key may be encrypted before the data is stored to ensure the security of the data. In order to ensure the efficiency of data retrieval, the transaction voucher data in the transaction data may be encrypted using the data processing method provided in the embodiment of the present application, so that the encrypted transaction voucher data is presented in the form of visible characters, which effectively enhances the readability of the data, reduces the difficulty of data identification, and can also effectively improve the efficiency of data query.

[0043] S202. Encrypt the transaction voucher data according to a character code book and a preset number of encryption times N to obtain encrypted transaction voucher data, wherein the encrypted transaction voucher data includes a plurality of encrypted visible characters. The character code book is obtained by randomly extracting a plurality of initial visible characters included in an initial character string and combining the extracted initial visible characters, and N is an integer greater than or equal to 1.

[0044] In the embodiment of the present application, the transaction voucher data can be encrypted according to the character code book and the preset number of encryption times N to obtain the encrypted transaction voucher data, which can include multiple encrypted visible characters; compared with the transaction voucher data, the encrypted transaction voucher data will not have new invisible characters. The character code book is obtained by randomly extracting multiple initial visible characters included in the initial character string and combining the extracted initial visible characters, and the character code book can contain multiple visible characters. The preset number of encryption times N is used to indicate the number of rounds for encrypting the transaction voucher data, and N is an integer greater than or equal to 1. Through the data processing method provided in the embodiment of the present application, the transaction voucher data can be encrypted using the code book, so that the encrypted transaction voucher data is in the form of visible characters, effectively ensuring the readability of the transaction voucher data and reducing the difficulty of data recognition; the transaction voucher data can be encrypted multiple times according to the preset number of encryption times N, thereby effectively improving the confidentiality of the transaction voucher data and improving the security of the transaction data.

[0045] It should be noted that the device for implementing the encryption process of the transaction voucher data can be the above Figure 1 The blockchain node 102 may also be a terminal device 101 that generates transaction data.

[0046] S203: Determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction voucher data, and store the encrypted transaction data of the target transaction in the blockchain.

[0047] In the embodiment of the present application, the encrypted transaction data of the target transaction can be determined based on the transaction content data and the encrypted transaction voucher data, and the encrypted transaction data of the target transaction can be stored in the blockchain. Since the transaction voucher data (key) is encrypted, the transaction voucher data cannot be accurately determined by conventional methods, and the transaction content data (value) stored in the blockchain cannot be determined based on the transaction voucher data. The data processing method provided in the embodiment of the present application can effectively ensure the security of transaction data.

[0048] In one embodiment, the implementation method of obtaining transaction data from the blockchain can be: querying the blockchain using query conditions to obtain the transaction data to be decrypted, the transaction data to be decrypted includes the transaction voucher data to be decrypted and the query transaction content data, and the transaction voucher data to be decrypted includes multiple visible characters to be decrypted; using the character code book to symmetric decrypt the transaction voucher data to be decrypted to obtain the decrypted transaction voucher data; combining the decrypted transaction voucher data and the query transaction content data to obtain the decrypted transaction data. The query condition can be used to query the blockchain to obtain the transaction data to be decrypted, the query condition can be a string containing only multiple visible characters, the transaction data to be decrypted includes the transaction voucher data to be decrypted and the query transaction content data, and the transaction voucher data to be decrypted includes multiple visible characters to be decrypted; the character code book used in the encryption process can be used to symmetric decrypt the transaction voucher data to be decrypted to obtain the decrypted transaction voucher data; the decrypted transaction voucher data and the query transaction content data can be combined to obtain the decrypted transaction data. Through the method provided in the embodiment of the present application, the transaction data to be decrypted can be quickly queried through the query conditions, which effectively improves the speed of data query. At the same time, the data processing method adopted in the embodiment of the present application is a symmetric encryption method, which can quickly realize data decryption using a character code to obtain decrypted transaction credential data, while ensuring data security, it also improves the efficiency of data processing.

[0049] Through the data processing method provided in the embodiment of the present application, the transaction credential data in the transaction data can be encrypted using a character code book, so that the encrypted transaction credential data is presented in the form of visible characters, reducing the difficulty of data recognition and improving data readability; the transaction credential data can be encrypted multiple times using a preset number of encryption times, effectively improving the security of the data, and the transaction data to be decrypted can be quickly queried through query conditions, effectively improving the speed of data query. At the same time, the data processing method adopted in the embodiment of the present application is a symmetric encryption method, and the character code book can be used to quickly realize data decryption and obtain the decrypted transaction credential data, thereby improving the efficiency of data processing.

[0050] See also Figure 3 , Figure 3 A flow chart of another data processing method provided in an embodiment of the present application. The data processing method can be implemented by the above-mentioned blockchain node 102, or by other devices. The flow of the data processing method provided in an embodiment of the present application includes but is not limited to:

[0051] S301. Acquire transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used to indicate a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted.

[0052] In the embodiment of the present application, a visible character generally refers to a character with a specific reference symbol, for example: a visible character "A", a visible character "1"; an invisible character generally refers to a character without a specific reference symbol, for example: a space is an invisible character, it has no specific reference symbol, and a carriage return is also an invisible character. Invisible characters in a string will increase the difficulty of data recognition and reduce the readability of the string. The transaction data of the target transaction can be obtained. The target transaction can be a transaction implemented using blockchain technology and involving multiple parties (for example: a resource party, a platform party, an acquisition party, etc.), for example: a logistics resource transaction. The transaction data includes transaction voucher data and transaction content data. The transaction voucher data is used to indicate the transaction type and transaction number of the target transaction, and the transaction content data is used to indicate the specific transaction content of the target transaction, for example: the amount of resources in the transaction, the identification information of multiple parties in the transaction, etc. The transaction voucher data may include the transaction voucher type and transaction voucher number of the target transaction, and the transaction voucher data generally includes multiple visible characters to be encrypted. The transaction data of the target transaction usually does not contain invisible characters, but after the transaction data is encrypted using the existing encryption method, the encrypted data may contain invisible characters, which increases the difficulty of data recognition and is not conducive to data query. The data processing method provided in the embodiment of the present application can be used to encrypt the transaction data of the target transaction to avoid the appearance of new invisible characters in the encrypted transaction data, reduce the difficulty of data recognition, and facilitate data query and data storage.

[0053] S302: Acquire an initial character string, where the initial character string includes a plurality of initial visible characters arranged in a preset order.

[0054] In an embodiment of the present application, the initial character string may include multiple initial visible characters arranged in a preset order, and the initial visible characters in the initial character string may be characters that appear frequently in the transaction voucher data of the transaction data. For example, if the characters that appear frequently in the transaction voucher data are numbers and uppercase and lowercase letters, the initial character string may be determined to be "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; if the characters that appear frequently in the transaction voucher data are numbers, uppercase and lowercase letters, and some punctuation marks, the initial character string may be determined to be ".,.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ". In an embodiment of the present application, the initial character string may be used to generate a character code book, and may also be used to indicate whether the characters in the transaction voucher data need to be replaced and encrypted. By using the method provided in an embodiment of the present application, the initial character string may be determined, which is beneficial to the subsequent replacement and encryption of the visible characters in the transaction voucher data.

[0055] S303. Determine reference position data of the characters to be processed based on the initial character string, wherein, during the first encryption process, the characters to be processed are visible characters to be encrypted included in the transaction voucher data; during the Kth encryption process, the characters to be processed are characters included in the encrypted character string obtained by the K-1th encryption process, K is an integer greater than or equal to 2 and less than or equal to a preset number of encryption times N, and N is an integer greater than or equal to 1.

[0056] In the embodiment of the present application, multiple encryption processes can be performed according to the preset number of encryption times N. During the first encryption process, the characters to be processed are the visible characters to be encrypted included in the transaction voucher data, and the reference position data of the characters to be processed can be determined according to the initial character string; during the Kth (K is an integer greater than or equal to 2 and less than or equal to N) encryption process, the characters to be processed are the characters included in the encrypted character string obtained by the K-1th encryption process, that is, at this time, the characters to be processed are the characters included in the encrypted character string obtained by the previous encryption process. For example: during the first encryption process, the transaction voucher data is "123xyz", then the characters to be processed are the visible characters to be encrypted included in the transaction voucher data; assuming that N is 3, the encrypted character string obtained by the second encryption process is "678wld", then when K is 3, the characters to be processed are the characters included in the encrypted character string ("678wld") obtained by the second encryption process. Through the method provided in the embodiment of the present application, the reference position data of the characters to be processed in different encryption times can be determined, which is convenient for the subsequent replacement encryption process of the characters according to the reference position data, improves the processing efficiency, and ensures the security of the data.

[0057] In one embodiment, the implementation method of determining the reference position data of the character to be processed based on the initial character string can be: matching the character to be processed with multiple initial visible characters included in the initial character string to obtain a matching result; if the matching result indicates that there is a matching character matching the character to be processed in the initial character string, the position data of the matching character in the initial character string is determined as the reference position data of the character to be processed; if the matching result indicates that there is no matching character matching the character to be processed in the initial character string, the preset position data is determined as the reference position data of the character to be processed. The character to be processed can be matched with multiple initial visible characters included in the initial character string to obtain a matching result to determine whether the initial character string contains the same initial visible character as the character to be processed. If so, the character to be processed can be subsequently replaced and encrypted. If not, it means that the character to be processed may be a character with a low frequency of use or an invisible character, and it is not necessary to replace and encrypt the character to be processed. If the matching result indicates that there is a matching character in the initial string that matches the character to be processed, the position data of the matching character in the initial string is determined as the reference position data of the character to be processed. For example, if the initial string is "123abc" and the character to be processed is "2", the matching result indicates that there is a matching character in the initial string that matches the character to be processed, and the position data of the matching character in the initial string (the position data in the initial string increases from 0, and the position data of "2" is 1) is determined as the reference position data of the character to be processed. If the matching result indicates that there is no character in the initial string that matches the character to be processed, the preset position data can be determined as the reference position data of the character to be processed. For example, if the initial string is "123abc" and the character to be processed is "x", the matching result indicates that there is no matching character in the initial string that matches the character to be processed, and the preset position data (-1) is determined as the reference position data of the character to be processed. It should be noted that the value of the preset position data is usually different from the position data of the matching character in the initial string. For example, the position data of the matching character in the initial string generally starts from 0 and gradually increases. The maximum value of the position data is related to the length of the initial string. Therefore, the value of the preset position data can be a negative integer or a larger positive integer.

[0058] The implementation process of determining the reference position data of the character to be processed can be shown as the following formula (1):

[0059] pos=strings.index(pwdSource,string(ch))(1)

[0060] In the above formula (1), pos represents the reference position data of the character to be processed, pwdSource represents the initial string, ch represents the character to be processed, and strings.index represents the reference position data calculation function, which is used to determine the reference position data of the character to be processed ch in pwdSource. Through the method provided in the embodiment of the present application, the reference position data of the character to be processed can be accurately and efficiently determined, which facilitates the subsequent replacement encryption processing of the character to be processed according to the reference position data.

[0061] S304. Replace each of the characters to be processed according to the reference position data of each of the characters to be processed and the character code book to obtain an encrypted character string, and use the encrypted character string obtained by the Nth encryption process as encrypted transaction credential data, wherein the encrypted transaction credential data includes a plurality of encrypted visible characters, and the character code book is obtained by randomly extracting a plurality of initial visible characters included in the initial character string and combining the extracted initial visible characters.

[0062] In the embodiment of the present application, each character to be processed can be encrypted according to the reference position data of each character to be processed and the character code book to obtain an encrypted string. After multiple encryptions according to the preset number of encryptions N, the encrypted string obtained by the Nth encryption process is used as the encrypted transaction voucher data. The encrypted transaction voucher data may include multiple encrypted visible characters; compared with the transaction voucher data, the encrypted transaction voucher data will not have new invisible characters. The character code book is obtained by randomly extracting multiple initial visible characters included in the initial character string and combining the extracted initial visible characters. The character code book may contain multiple visible characters. Through the data processing method provided in the embodiment of the present application, the transaction voucher data can be encrypted using the code book, so that the encrypted transaction voucher data is in the form of visible characters, effectively ensuring the readability of the transaction voucher data and reducing the difficulty of data recognition; the transaction voucher data can be encrypted multiple times according to the preset number of encryptions N, thereby effectively improving the confidentiality of the transaction voucher data and improving the security of the transaction data.

[0063] In one embodiment, the implementation method of encrypting the transaction voucher data according to the character code book and the preset number of encryption times N to obtain the encrypted transaction voucher data can also be: obtaining an initial character string, the initial character string including a plurality of initial visible characters arranged in a preset order; when K is 1, determining the reference position data of each visible character to be encrypted in the transaction voucher data according to the reference character string, and replacing each visible character to be encrypted according to the reference position data of each visible character to be encrypted and the character code book to obtain the encrypted character string after the first encryption process; when K is greater than 1 and K is less than or equal to the preset number of encryption times N, determining the reference position data of each character in the encrypted character string after the K-1th encryption process according to the reference character string, and replacing each character according to the reference position data of each character and the character code book to obtain the encrypted character string after the Kth encryption process, where K is an integer; and determining the encrypted character string after the Nth encryption process as the encrypted transaction voucher data. The embodiment of the present application describes the overall process of performing N encryption processes, obtaining an initial string, and during the first encryption process (i.e., K=1), the reference position data of each visible character to be encrypted in the transaction voucher data can be determined according to the initial string (the method for determining the reference position data can be as shown in the above step S303), and each visible character to be encrypted is replaced according to the reference position data of each visible character to be encrypted and the character code book, and the encrypted string obtained by the first encryption process is obtained; during the Kth encryption process (K is greater than 1 and less than or equal to N), the reference position data of each character in the encrypted string after the K-1th encryption process can be determined according to the reference string, and each character is replaced according to the reference position data of each character and the character code book, and the encrypted string after the Kth encryption process is obtained; after completing the Nth encryption process, the encrypted string after the Nth encryption process can be determined as the encrypted transaction voucher data. Through the method provided in the embodiment of the present application, multiple encryption of the string can be achieved, ensuring the security of the transaction voucher data.

[0064] In one embodiment, the implementation method of replacing each character to be processed according to the reference position data of each character to be processed and the character code book to obtain the encrypted character string can be: for any character to be processed among the characters to be processed, determine whether the reference position data of any character to be processed is the preset position data; if so, determine any character to be processed as the encrypted character corresponding to any character to be processed; if not, determine the original position data of any character to be processed in the transaction voucher data or the encrypted character string obtained by the K-1th encryption process, and replace any character to be processed according to the reference position data of any character to be processed, the original position data of any character to be processed and the character code book to obtain the encrypted character corresponding to any character to be processed; add the encrypted character corresponding to any character to be processed to the intermediate character string, which is composed of the encrypted characters corresponding to the processed characters; after adding the encrypted characters corresponding to each character to be processed to the intermediate character string, determine the intermediate character string as the encrypted character string. For any character to be processed among the characters to be processed, it can be determined whether the reference position data of any character to be processed is the preset position data; if so, it means that the character to be processed is not included in the initial character string and does not need to be replaced and encrypted. Then, any character to be processed can be determined as the encrypted character corresponding to the character to be processed. For example: the initial character string is "ABCD" and the character to be processed is "a", then the reference position data of the character to be processed is the preset position data, and the character to be processed is determined as the encrypted character corresponding to the character to be processed (that is, the encrypted character is "a"). If not, it means that the character to be processed is included in the initial string and needs to be replaced and encrypted. Then, the original position data of the character to be processed in the transaction voucher data or the encrypted string obtained by the K-1 encryption process can be determined. If it is the first encryption process, the character to be processed is a character in the transaction voucher data, and the original position data is the position data of the character to be processed in the transaction voucher data; if it is the Kth encryption process (K is greater than 1 and less than or equal to the preset number of encryptions N), the character to be processed is a character in the encrypted string obtained by the K-1th encryption process, and the original position data is the position data of the character to be processed in the encrypted string obtained by the K-1th encryption process. According to the reference position data of the string to be processed, the original position data of the string to be processed and the character code book, the character to be processed is replaced to obtain the encrypted character corresponding to the character to be processed.After determining the encrypted character corresponding to any character to be processed, the encrypted character corresponding to the character to be processed can be added to the intermediate string, which is composed of the encrypted characters corresponding to the processed characters. For example: the intermediate string is "321", and the encrypted character corresponding to the first character to be processed is determined to be "a", then the encrypted character corresponding to the first character to be processed is added to the intermediate string, at this time, the intermediate string is "321a"; and the encrypted character corresponding to the second character to be processed is determined to be "b", then the encrypted character corresponding to the second character to be processed is added to the intermediate string, at this time, the intermediate string is "321ab". After the encrypted characters corresponding to each character to be processed are added to the intermediate string, the intermediate string is determined as the encrypted string. Through the method provided in the embodiment of the present application, the encrypted string can be accurately and quickly determined, and the replacement encryption processing of the transaction voucher data can be realized, thereby improving the confidentiality and security of the data.

[0065] It should be noted that in order to avoid taking too long to encrypt the transaction voucher data, the value of the preset number of encryption times N should not be too large. At the same time, in order to ensure the security and confidentiality of the encrypted transaction voucher data, the value of the preset number of encryption times N should not be too small. In some cases, the value of the preset number of encryption times N can be 3. The value of the preset number of encryption times N can be adaptively adjusted according to different actual application scenarios.

[0066] In one embodiment, according to the reference position data of any character to be processed, the original position data of any character to be processed and the character code book, any character to be processed is replaced to obtain the implementation method of the encrypted character corresponding to any character to be processed, which can be: if the original position data of any character to be processed is less than the first position threshold, the first coordinate data is generated according to the original position data of any character to be processed and the reference position data of any character to be processed, and the encrypted character corresponding to any character to be processed is determined from the character code book using the first coordinate data; if the original position data of any character to be processed is greater than or equal to the first position threshold, the second coordinate data is generated according to the target character in the intermediate character string and the reference position data of any character to be processed, and the encrypted character corresponding to any character to be processed is determined from the character code book using the second coordinate data, and the target character is the last character in the intermediate character string. The first position threshold can be the position data corresponding to the first character in the character string, that is, the first position threshold can be determined according to the starting position data of the character string, for example: the position data corresponding to the first character in the character string is 0, that is, the starting position data of the character string is 0, and the first position threshold can be 1. The character code book includes multiple reference strings, each of which may include visible characters. The positions of the visible characters in the character code book can be represented by array coordinates. For example, pwdBook[1][2] can represent the third character in two reference strings arranged from top to bottom in the character code book (the position data of the characters in the reference strings gradually increase from 0). If the original position of any character to be processed is less than the first position threshold, the first coordinate data can be generated according to the original position data of the character to be processed and the reference position data of the character to be processed, and the encrypted character corresponding to the character to be processed can be determined from the character code book using the first coordinate data. For example, if the original position data of a character to be processed is 0 and is less than the first position threshold 1, the first coordinate data [0][5] can be generated according to the original position data of the character to be processed and the reference position data (5) of the character to be processed, and the encrypted character corresponding to the character to be processed can be determined from the character code book using the first coordinate data. The encrypted character can be expressed as pwdBook[0][5], that is, the encrypted character corresponding to the character to be processed is the 6th character in the first reference character string in the character code book.

[0067] If the original position data of any character to be processed is greater than or equal to the first position threshold, the second coordinate data can be generated according to the target character in the intermediate character string and the reference position data of any character to be processed, and the target character is the last character in the intermediate character string. For example, if the intermediate character string is "987xy", the second coordinate data can be generated according to the target character "y" and the reference position data of any character to be processed. In some cases, the second coordinate data can be generated according to the American Standard Code for Information Interchange (ASCII) of the target character and the reference position data of any character to be processed. For example, if the target character is "a", the ASCII value of "a" is 97, and the reference position data of the character to be processed is 30, the second coordinate data

[97]

[30] can be generated. The second coordinate data can be used to determine the encrypted character corresponding to any character to be processed from the character code book. For example, if the second coordinate data is

[28]

[39] , the encrypted character corresponding to the character to be processed can be determined from the character code book according to the second coordinate data. The encrypted character can be expressed as pwdBook

[28]

[39] , that is, the encrypted character is the 40th character in the 29th (the serial number of the reference string in the character code book gradually increases from 0) reference string in the character code book. The method provided in the embodiment of the present application can accurately replace the characters, effectively ensuring the security of the data, and because the replaced characters are all visible characters, the readability of the data is effectively improved and the difficulty of data recognition is reduced.

[0068] See also Figure 4 , which is a schematic diagram of an encrypted character determination method provided by an embodiment of the present application. The transaction voucher data is a string "rw", including two visible characters, the preset number of encryption times N is 1, the initial string is "werf1234567", the reference position data of the to-be-processed character "r" in the transaction voucher data is 2, the reference position data of the to-be-processed character "w" is 0, and the reference position data of the two to-be-processed characters are not preset position data. Figure 4 The Chinese character codebook includes 150 reference strings, among which the first reference string ( Figure 4 The serial number is 0) is "21efw4r536", the second reference string ( Figure 4 The serial number is 1) is "5r6ef1w432", the 102nd reference string ( Figure 4The sequence number in the character code is 101) is "2f4e3w1r56". For the character "r" to be processed, its original position data is 0, which is less than the first position threshold 1. Therefore, the first coordinate data is determined according to the original position data (value is 0) and the reference position data (value is 2) of the character to be processed, which is pwdBook[0][2]. The encrypted character corresponding to the character "r" to be processed can be determined from the character code book according to the first coordinate data, which is the third character "e" in the first reference string (the sequence number of the characters in the reference string gradually increases from 0). The encrypted character is added to the intermediate string. At this time, the intermediate string is "e". For the character "w" to be processed, its original position data is 1, which is equal to the first position threshold value 1. Therefore, the second coordinate data is determined according to the last character "e" of the intermediate character string and the reference position data of the character "w" to be processed, which is pwdBook

[101] [0] (where 101 is the ASCII value of the character e, and 0 is the reference position data of the character "w" to be processed); the encrypted character corresponding to the character "w" to be processed can be determined from the character code book according to the second coordinate data, which is the first character "2" in the 102nd reference character string in the character code book. The encrypted character is added to the intermediate character string. At this time, the intermediate character string is "e2". Through the method provided in the embodiment of the present application, the encrypted character corresponding to the character to be processed can be determined from the character code book, so that the encryption of the character can be realized, and the security and confidentiality of the data can be improved.

[0069] In one embodiment, the implementation method of determining the character codebook can be: in the Ith extraction round, a plurality of initial visible characters included in the initial character string are randomly extracted, and after the extraction of the initial visible characters included in the initial character string is completed, the extracted initial visible characters are combined according to the extraction order to obtain a reference character string corresponding to the Ith extraction round, where I is greater than or equal to 1 and less than or equal to the total extraction round M, and I and M are integers greater than or equal to 1; the character codebook is determined according to the reference character strings corresponding to the M extraction rounds. M rounds of extraction can be performed for the initial character string, and M (M is an integer greater than or equal to 1) reference character strings are obtained according to the extracted characters, and the character codebook is determined by the M reference character strings. In the Ith (I is greater than or equal to 1, and less than or equal to the total number of extraction rounds M, I is an integer) extraction round, a plurality of initial visible characters included in the initial character string can be randomly extracted. After the extraction of the initial visible characters included in the initial character string is completed (i.e., each initial visible character included in the initial character string has been extracted once), the extracted initial visible characters can be combined according to the extraction order to obtain a reference character string corresponding to the Ith extraction round. For example, the initial character string is "abcABC123", and the initial visible characters in the initial character string are randomly extracted. After the extraction of the initial visible characters in the initial character string is completed (i.e., each initial visible character has been extracted once), the reference character string is determined to be "cBaA1C3b2" according to the extraction order. The character code book can be determined according to the reference character strings corresponding to the M extraction rounds. The method provided in the embodiment of the present application can determine a character code book containing a plurality of reference character strings, which is conducive to using the character code book to perform replacement encryption processing on the characters to be processed, thereby improving the confidentiality and security of data.

[0070] It should be noted that the reference strings included in the character code book are different from each other. If there are two identical reference strings, one of the reference strings needs to be deleted, and the multiple initial visible characters included in the initial string are randomly extracted. After the initial visible characters included in the initial string are extracted, the extracted initial visible characters are combined according to the extraction order to obtain a new reference string. The character code book is used to replace the characters to be processed. During the replacement process, the character in the reference string in the character code book can be selected according to the original position data of the character to be processed (when the original position data indicates that the character is the first character in the string) or the ASCII value of the target character to be replaced. The ASCII value range of common characters and control characters is [0, 127]. Therefore, the number of reference strings included in the character code book can be greater than 127, and the value of the total extraction round M can be 150, or it can be other integers greater than 127. The value of the total extraction round M can be adaptively adjusted according to different actual application scenarios.

[0071] See also Figure 5 , which is a schematic diagram of a character codebook determination method provided in an embodiment of the present application. Figure 5 In the example, the initial string is "12345abcdeABCDE", and the value of the total extraction round M can be 3, that is, the initial string is randomly extracted and combined three times. In the first extraction round, multiple initial visible characters included in the initial character string are randomly extracted, and the extracted initial visible characters are combined according to the extraction order, so that the reference character string corresponding to the first extraction round is "Eca1Db2d3A4C5Be"; in the second extraction round, multiple initial visible characters included in the initial character string are randomly extracted, and the extracted initial visible characters are combined according to the extraction order, so that the reference character string corresponding to the second extraction round is "2AEcDa1b4Cd3B5e"; in the third extraction round, multiple initial visible characters included in the initial character string are randomly extracted, and the extracted initial visible characters are combined according to the extraction order, so that the reference character string corresponding to the third extraction round is "32EcCa15DebA4Bd". The character code book is determined according to the reference strings corresponding to the three extraction rounds, and the reference string with sequence number 0 in the character code book is "Eca1Db2d3A4C5Be", the reference string with sequence number 1 is "2AEcDa1b4Cd3B5e", and the reference string with sequence number 2 is "32EcCa15DebA4Bd". The method provided in the embodiment of the present application can quickly and accurately determine the character code book, ensure the complexity of the character code book, and thus ensure the security of the encrypted transaction voucher data.

[0072] In one embodiment, in order to ensure data security, the character code book may be updated regularly, for example, the character code book may be updated weekly or monthly, thereby ensuring the confidentiality and security of transaction credential data encrypted using the character code book.

[0073] See also Figure 6 , which is a schematic diagram of an encryption method provided in an embodiment of the present application. Figure 6 In the method, for any character to be processed in any encryption process, the reference position data of the character to be processed in the initial character string can be determined to determine whether the reference position data of the character to be processed is the preset position data; if so, there is no need to replace the character to be processed, and the character to be processed is determined as the encrypted character corresponding to the character to be processed; if not, the original position data of the character to be processed in the corresponding character string (i.e., the transaction voucher data or the encrypted character string obtained by the K-1th encryption process) is determined; it is determined whether the original position data of the character to be processed is less than the first position threshold value; if so, first coordinate data is generated according to the original position data of the character to be processed and the reference position data of the character to be processed, and the encrypted character corresponding to the character to be processed is determined from the character code book using the first coordinate data; if not, second coordinate data is generated according to the target character in the intermediate character string (the target character is the last character in the intermediate character string) and the reference position data of the character to be processed, and the encrypted character corresponding to the character to be processed is determined from the character code book using the second coordinate data; the determined encrypted character of the character to be processed is added to the intermediate character string. After the encrypted characters corresponding to the characters to be processed are added to the intermediate string, the intermediate string can be determined as the encrypted string, and the encrypted string obtained by the last encryption process can be determined as the encrypted transaction voucher data. Through the method provided in the embodiment of the present application, the encrypted characters of the characters to be processed can be accurately and quickly determined, and the replacement encryption process of the string can be realized, which improves the encryption efficiency and ensures the readability and security of the encryption result.

[0074] S305: Determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction voucher data, and store the encrypted transaction data of the target transaction in the blockchain.

[0075] In the embodiment of the present application, the transaction content data and the encrypted transaction voucher data can be combined and processed to obtain the encrypted transaction data of the target transaction, and the encrypted transaction data of the target transaction is stored in the blockchain. Since the transaction voucher data (key) is encrypted, the transaction voucher data cannot be accurately determined by conventional methods, and the transaction content data (value) stored in the blockchain cannot be determined based on the transaction voucher data. The data processing method provided in the embodiment of the present application can effectively ensure the security of transaction data.

[0076] In one embodiment, the implementation method of obtaining transaction data from the blockchain can be: querying the blockchain using query conditions to obtain the transaction data to be decrypted, the transaction data to be decrypted includes the transaction voucher data to be decrypted and the query transaction content data, and the transaction voucher data to be decrypted includes multiple visible characters to be decrypted; using the character code book to symmetric decrypt the transaction voucher data to be decrypted to obtain the decrypted transaction voucher data; combining the decrypted transaction voucher data and the query transaction content data to obtain the decrypted transaction data. The query condition can be used to query the blockchain to obtain the transaction data to be decrypted, the query condition can be a string containing only multiple visible characters, the transaction data to be decrypted includes the transaction voucher data to be decrypted and the query transaction content data, and the transaction voucher data to be decrypted includes multiple visible characters to be decrypted; the character code book used in the encryption process can be used to symmetric decrypt the transaction voucher data to be decrypted to obtain the decrypted transaction voucher data; the decrypted transaction voucher data and the query transaction content data can be combined to obtain the decrypted transaction data. Through the method provided in the embodiment of the present application, the transaction data to be decrypted can be quickly queried through the query conditions, which effectively improves the speed of data query. At the same time, the data processing method adopted in the embodiment of the present application is a symmetric encryption method, which can quickly realize data decryption using a character code to obtain decrypted transaction credential data, while ensuring data security, it also improves the efficiency of data processing.

[0077] In one embodiment, the method for symmetrically decrypting the transaction voucher data to be decrypted using the character code book to obtain the decrypted transaction voucher data may be as follows: obtaining each character to be decrypted; for any character to be decrypted among the characters to be decrypted, determining the original position data of any character to be decrypted in the transaction voucher data to be decrypted or the decrypted string obtained by the J-1th decryption process; determining a reference string corresponding to any character to be decrypted according to the original position data of any character to be decrypted and the character code book; determining the reference position data of any character to be decrypted in the corresponding reference string; if the reference position data of any character to be decrypted is the preset position data, determining any character to be decrypted as the decrypted character corresponding to any character to be decrypted; if any character to be decrypted is the preset position data, determining any character to be decrypted as the decrypted character corresponding to any character to be decrypted; If the reference position data of the encrypted character is not the preset position data, the decryption character corresponding to any character to be decrypted is determined according to the initial character string and the reference position data of any character to be decrypted; after the decryption characters corresponding to each character to be decrypted are determined, the decryption character string is determined according to the decryption characters corresponding to each character to be decrypted, and the decrypted character string obtained by the Oth decryption process is determined as the decrypted transaction voucher data; wherein, during the 1st decryption process, the characters to be decrypted are the characters included in the transaction voucher data to be decrypted; during the Jth decryption process, the characters to be decrypted are the characters included in the decryption character string obtained by the J-1th decryption process, J is an integer greater than or equal to 2 and less than or equal to the preset decryption number O, and the value of the preset decryption number O is the same as the value of the preset encryption number N.

[0078] The data encryption method provided by the embodiment of the present application is a symmetric encryption method. The transaction voucher data to be decrypted can be decrypted in a manner similar to the encryption method. The number of decryption times is the same as the number of encryption times. When decrypting, each character to be decrypted is obtained. When the first decryption process is performed, the character to be decrypted is the character in the transaction voucher data to be decrypted. When the Jth (J is greater than 1 and less than or equal to the preset number of decryption times O) decryption process is performed, the character to be decrypted is the character in the decrypted string obtained by the J-1th decryption process. For any one of the multiple characters to be decrypted, the original position data of the character to be decrypted in the corresponding string is determined. If the original position data of the character to be decrypted indicates that the character to be decrypted is the first character in the corresponding string, then the first reference string in the character code book is determined as the reference string corresponding to the character to be decrypted; if the original position data of the character to be decrypted indicates that the character to be decrypted is not the first character in the corresponding string, then the reference string of the character to be decrypted is determined according to the ASCII value of the previous character of the character to be decrypted in the corresponding string. For example: the string to be decrypted is "ab", for the character to be decrypted "a", it The original position data indicates that the character to be decrypted is the first character in the corresponding string, then the first reference string in the character code book is determined to be the reference string corresponding to the character to be decrypted; for the character to be decrypted "b", its original position data indicates that the character to be decrypted is not the first character in the corresponding string, and the ASCII value of the previous character "a" of the character to be decrypted "b" in the corresponding string is 97, then the reference string corresponding to the character to be decrypted can be expressed as pwdBook

[97] , that is, the 98th (the serial number of the reference strings in the character code book starts from 0) reference string in the character code book is the reference string corresponding to the character to be decrypted.

[0079] After determining the reference string corresponding to the character to be decrypted, the reference position data of the character to be decrypted in the corresponding reference string can be determined. If the reference position data of the character to be decrypted is the preset position data, it means that the corresponding reference string does not contain the character to be decrypted, and the character to be decrypted does not need to be replaced. The character to be decrypted can be determined as the decrypted character corresponding to the character to be decrypted. If the reference position data of the character to be decrypted is not the preset position data, it means that the corresponding reference string contains the character to be decrypted, and the character to be decrypted needs to be replaced. The decrypted character corresponding to the character to be decrypted can be determined from the initial string according to the reference position data of the character to be decrypted. For example, if the reference position data of a character to be decrypted is 12, which is not the preset position data, the decrypted character corresponding to the character to be decrypted can be expressed as pwdSource

[12] , that is, the 13th character in the initial string (the sequence number of the characters in the initial string gradually increases from 0) is determined as the decrypted character corresponding to the character to be decrypted. After determining the decrypted characters corresponding to each character to be decrypted, the decrypted string can be determined according to the decrypted characters corresponding to each character to be decrypted, and the decrypted string obtained by the 0th decryption process is determined as the decrypted transaction voucher data. Through the method provided in the embodiment of the present application, the decryption of transaction credential data can be achieved quickly and accurately, which not only ensures the security and integrity of the data, but also improves the efficiency of the decryption process.

[0080] In one embodiment, in order to further improve the security and confidentiality of data, after obtaining the transaction data, the transaction content data can be encrypted using the transaction voucher data to obtain the encrypted transaction content data, and the transaction voucher data can be replaced and encrypted using the data processing method provided in the embodiment of the present application to obtain the encrypted transaction voucher data, and the encrypted transaction data of the target transaction can be determined according to the encrypted transaction content data and the encrypted transaction voucher data, and the encrypted transaction data of the target transaction can be stored in the blockchain. When decrypting data, the transaction data to be decrypted can be obtained, and the transaction data to be decrypted includes the transaction voucher data to be decrypted and the transaction content data to be decrypted. The data processing method provided in the embodiment of the present application can be used to perform symmetrical decryption processing on the transaction voucher data to be decrypted to obtain the decrypted transaction voucher data, and the decrypted transaction voucher data can be used to decrypt the transaction content data to be decrypted to obtain the decrypted transaction content data; the decrypted transaction data can be determined according to the decrypted transaction voucher data and the decrypted transaction content data. Through the method provided in the embodiment of the present application, the encryption complexity of the transaction data can be further improved, thereby further improving the security and confidentiality of the transaction data.

[0081] See also Figure 7 , which is a schematic diagram of a decryption method provided in an embodiment of the present application. Figure 7In the method, for any character to be decrypted in any decryption process, the original position data of the character to be decrypted in the corresponding character string (the transaction voucher data to be decrypted or the decrypted character string obtained by the J-1th decryption process) can be determined; it is judged whether the original position data of the character to be decrypted indicates that the character to be decrypted is the first character, if so, the first reference character string in the character code book is determined as the reference character string corresponding to the character to be decrypted, if not, the ASCII value of the previous character of the character to be decrypted in the character string corresponding to the character to be decrypted is determined, and the reference character string corresponding to the character to be decrypted is determined from the character code book according to the ASCII value; the reference position data of the character to be decrypted in the reference character string corresponding to the character to be decrypted is determined; it is judged whether the reference position data of the character to be decrypted is the preset position data, if so, the character to be decrypted is determined as the decrypted character corresponding to the character to be decrypted, if not, the decrypted character corresponding to the character to be decrypted is determined from the initial character string according to the reference position data of the character to be decrypted. After determining the decrypted characters corresponding to each character to be decrypted, the decrypted character string can be determined according to the decrypted characters corresponding to each character to be decrypted, and the decrypted character string obtained by the Oth (predicted decryption times is O)th decryption process is determined as the decrypted transaction voucher data. Through the method provided in the embodiment of the present application, the decryption processing of transaction credential data can be accurately and efficiently implemented, thereby improving data processing efficiency and enhancing the user experience.

[0082] Through the data processing method provided in the embodiment of the present application, the transaction credential data in the transaction data can be encrypted using a character code book, so that the encrypted transaction credential data is presented in the form of visible characters, reducing the difficulty of data recognition and improving data readability; the transaction credential data can be encrypted multiple times using a preset number of encryptions, effectively improving the security and confidentiality of the data, and the transaction data to be decrypted can be quickly queried through query conditions, effectively improving the speed of data query. At the same time, the data processing method adopted in the embodiment of the present application is a symmetric encryption method, which can quickly realize data encryption and decryption using a character code book and an initial character string, thereby improving the efficiency of data processing and effectively improving the data processing experience.

[0083] See also Figure 8 , Figure 8 This is a structural block diagram of a data processing device provided in an embodiment of the present application. The device includes:

[0084] An acquisition unit 801 is used to acquire transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used to indicate a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted;

[0085] The processing unit 802 is used to encrypt the transaction voucher data according to the character code book and a preset encryption number N to obtain the encrypted transaction voucher data, wherein the encrypted transaction voucher data includes a plurality of encrypted visible characters, wherein the character code book is obtained by randomly extracting a plurality of initial visible characters included in the initial character string and combining the extracted initial visible characters, and N is an integer greater than or equal to 1;

[0086] The determination unit 803 is used to determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction credential data, and store the encrypted transaction data of the target transaction in the blockchain.

[0087] In one embodiment, when the processing unit 802 encrypts the transaction voucher data according to a character code book and a preset number of encryption times N to obtain the encrypted transaction voucher data, it is specifically used to: obtain an initial character string, the initial character string including a plurality of initial visible characters arranged in a preset order; determine reference position data of the characters to be processed according to the initial character string; replace each of the characters to be processed according to the reference position data of each of the characters to be processed and the character code book to obtain an encrypted character string, and use the encrypted character string obtained by the Nth encryption process as the encrypted transaction voucher data; wherein, during the first encryption process, the characters to be processed are the visible characters to be encrypted included in the transaction voucher data; during the Kth encryption process, the characters to be processed are the characters included in the encrypted character string obtained by the K-1th encryption process, and K is an integer greater than or equal to 2 and less than or equal to N.

[0088] In one embodiment, when the processing unit 802 determines the reference position data of the character to be processed based on the initial character string, it is specifically used to: match the character to be processed with multiple initial visible characters included in the initial character string to obtain a matching result; if the matching result indicates that there is a matching character that matches the character to be processed in the initial character string, the position data of the matching character in the initial character string is determined as the reference position data of the character to be processed; if the matching result indicates that there is no matching character that matches the character to be processed in the initial character string, the preset position data is determined as the reference position data of the character to be processed.

[0089] In one embodiment, when the processing unit 802 replaces each of the characters to be processed according to the reference position data of each of the characters to be processed and the character code book to obtain an encrypted character string, it is specifically used to: determine, for any of the characters to be processed, whether the reference position data of the any character to be processed is the preset position data; if so, determine the any character to be processed as the encrypted character corresponding to the any character to be processed; if not, determine the original position data of the any character to be processed in the transaction voucher data or the encrypted character string obtained by the K-1th encryption process, and replace the any character to be processed according to the reference position data of the any character to be processed, the original position data of the any character to be processed and the character code book to obtain the encrypted character corresponding to the any character to be processed; add the encrypted character corresponding to the any character to be processed to an intermediate character string, and the intermediate character string is composed of the encrypted characters corresponding to the processed characters; after adding the encrypted characters corresponding to each of the characters to be processed to the intermediate character string, determine the intermediate character string as the encrypted character string.

[0090] In one embodiment, when the processing unit 802 replaces any character to be processed according to the reference position data of any character to be processed, the original position data of any character to be processed and the character code book to obtain the encrypted character corresponding to any character to be processed, it is specifically used to: if the original position data of any character to be processed is less than a first position threshold, generate first coordinate data according to the original position data of any character to be processed and the reference position data of any character to be processed, and use the first coordinate data to determine the encrypted character corresponding to any character to be processed from the character code book; if the original position data of any character to be processed is greater than or equal to the first position threshold, generate second coordinate data according to the target character in the intermediate character string and the reference position data of any character to be processed, and use the second coordinate data to determine the encrypted character corresponding to any character to be processed from the character code book, the target character being the last character in the intermediate character string.

[0091] In one embodiment, the processing unit 802 is further used to: in the Ith extraction round, randomly extract multiple initial visible characters included in the initial character string; after the extraction of the initial visible characters included in the initial character string is completed, combine the extracted initial visible characters according to the extraction order to obtain a reference character string corresponding to the Ith extraction round, I is greater than or equal to 1 and less than or equal to the total extraction rounds M, and I and M are integers greater than or equal to 1; determine the character code book according to the reference character strings corresponding to the M extraction rounds.

[0092] In one embodiment, the processing unit 802 is further used to: perform query processing on the blockchain using query conditions to obtain transaction data to be decrypted, the transaction data to be decrypted includes transaction credential data to be decrypted and query transaction content data, and the transaction credential data to be decrypted includes multiple visible characters to be decrypted; perform symmetric decryption processing on the transaction credential data to be decrypted using the character code book to obtain decrypted transaction credential data; combine the decrypted transaction credential data and the query transaction content data to obtain decrypted transaction data.

[0093] It can be understood that the functions of each functional unit of the data processing device of the embodiment of the present application can be specifically implemented according to the data processing method in the above method embodiment, and its specific implementation process can refer to the relevant description in the above data processing method embodiment, which will not be repeated here.

[0094] Through the data processing device provided in the embodiment of the present application, the transaction credential data in the transaction data can be encrypted using a character code book, so that the encrypted transaction credential data is presented in the form of visible characters, reducing the difficulty of data recognition and improving data readability; the transaction credential data can be encrypted multiple times using a preset number of encryption times, effectively improving the security and confidentiality of the data, and the transaction data to be decrypted can be quickly queried through query conditions, effectively improving the speed of data query. At the same time, the data processing method adopted in the embodiment of the present application is a symmetric encryption method, which can quickly realize data encryption and decryption using a character code book and an initial character string, thereby improving the efficiency of data processing and effectively improving the data processing experience.

[0095] See also Fig. 9 , Fig. 9 A block diagram of a computer device provided in an embodiment of the present application. The computer device described in the embodiment of the present application includes: a processor 901, a communication interface 902, and a memory 903. The processor 901, the communication interface 902, and the memory 903 may be connected via a bus or other means, and the embodiment of the present application takes the connection via a bus as an example.

[0096] Among them, the processor 901 (or CPU (Central Processing Unit)) is the computing core and control core of the computer device, which can parse various instructions in the computer device and process various data of the computer device. For example, the CPU can be used to parse the power on and off instructions sent by the user to the computer device, and control the computer device to perform power on and off operations; for another example, the CPU can transmit various interactive data between the internal structures of the computer device, and so on. The communication interface 902 can optionally include a standard wired interface, a wireless interface (such as Wi-Fi, a mobile communication interface, etc.), which is controlled by the processor 901 to send and receive data. The memory 903 (Memory) is a memory device in the computer device for storing programs and data. It can be understood that the memory 903 here can include both the built-in memory of the computer device and the extended memory supported by the computer device. The memory 903 provides a storage space, which stores the operating system of the computer device, which may include but is not limited to: Android system, iOS system, Windows Phone system, etc., and this application does not limit this.

[0097] In the embodiment of the present application, the processor 901 performs the following operations by running the executable program code in the memory 903:

[0098] Acquire transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used to indicate a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted;

[0099] The transaction voucher data is encrypted according to a character code book and a preset number of encryption times N to obtain encrypted transaction voucher data, wherein the encrypted transaction voucher data includes a plurality of encrypted visible characters, wherein the character code book is obtained by randomly extracting a plurality of initial visible characters included in an initial character string and combining the extracted initial visible characters, and N is an integer greater than or equal to 1;

[0100] Determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction credential data, and store the encrypted transaction data of the target transaction in the blockchain.

[0101] In one embodiment, when the processor 901 encrypts the transaction voucher data according to a character code book and a preset number of encryption times N to obtain the encrypted transaction voucher data, it is specifically used to: obtain an initial character string, the initial character string including a plurality of initial visible characters arranged in a preset order; determine the reference position data of the characters to be processed according to the initial character string; replace each of the characters to be processed according to the reference position data of each of the characters to be processed and the character code book to obtain an encrypted character string, and use the encrypted character string obtained by the Nth encryption process as the encrypted transaction voucher data; wherein, during the first encryption process, the characters to be processed are the visible characters to be encrypted included in the transaction voucher data; during the Kth encryption process, the characters to be processed are the characters included in the encrypted character string obtained by the K-1th encryption process, and K is an integer greater than or equal to 2 and less than or equal to N.

[0102] In one embodiment, when the processor 901 determines the reference position data of the character to be processed based on the initial character string, it is specifically used to: match the character to be processed with multiple initial visible characters included in the initial character string to obtain a matching result; if the matching result indicates that there is a matching character that matches the character to be processed in the initial character string, the position data of the matching character in the initial character string is determined as the reference position data of the character to be processed; if the matching result indicates that there is no matching character that matches the character to be processed in the initial character string, the preset position data is determined as the reference position data of the character to be processed.

[0103] In one embodiment, when the processor 901 replaces each of the characters to be processed according to the reference position data of each of the characters to be processed and the character code book to obtain an encrypted character string, it is specifically used to: determine, for any of the characters to be processed, whether the reference position data of the any character to be processed is the preset position data; if so, determine the any character to be processed as the encrypted character corresponding to the any character to be processed; if not, determine the original position data of the any character to be processed in the transaction voucher data or the encrypted character string obtained by the K-1th encryption process, and replace the any character to be processed according to the reference position data of the any character to be processed, the original position data of the any character to be processed and the character code book to obtain the encrypted character corresponding to the any character to be processed; add the encrypted character corresponding to the any character to be processed to an intermediate character string, and the intermediate character string is composed of the encrypted characters corresponding to the processed characters; after adding the encrypted characters corresponding to each of the characters to be processed to the intermediate character string, determine the intermediate character string as the encrypted character string.

[0104] In one embodiment, when the processor 901 replaces any character to be processed according to the reference position data of any character to be processed, the original position data of any character to be processed and the character code book to obtain the encrypted character corresponding to any character to be processed, it is specifically used to: if the original position data of any character to be processed is less than a first position threshold, generate first coordinate data according to the original position data of any character to be processed and the reference position data of any character to be processed, and use the first coordinate data to determine the encrypted character corresponding to any character to be processed from the character code book; if the original position data of any character to be processed is greater than or equal to the first position threshold, generate second coordinate data according to the target character in the intermediate character string and the reference position data of any character to be processed, and use the second coordinate data to determine the encrypted character corresponding to any character to be processed from the character code book, the target character being the last character in the intermediate character string.

[0105] In one embodiment, the processor 901 is further used to: in the Ith extraction round, randomly extract multiple initial visible characters included in the initial character string; after the extraction of the initial visible characters included in the initial character string is completed, combine the extracted initial visible characters according to the extraction order to obtain a reference character string corresponding to the Ith extraction round, I is greater than or equal to 1 and less than or equal to the total extraction rounds M, and I and M are integers greater than or equal to 1; determine the character code book according to the reference character strings corresponding to the M extraction rounds.

[0106] In one embodiment, the processor 901 is further used to: use the query conditions to query the blockchain to obtain transaction data to be decrypted, the transaction data to be decrypted includes transaction credential data to be decrypted and query transaction content data, and the transaction credential data to be decrypted includes multiple visible characters to be decrypted; use the character code book to symmetric decrypt the transaction credential data to obtain decrypted transaction credential data; combine the decrypted transaction credential data and the query transaction content data to obtain decrypted transaction data.

[0107] In a specific implementation, the processor 901, the communication interface 902, and the memory 903 described in the embodiment of the present application can execute the implementation method of the blockchain node described in a data processing method provided in an embodiment of the present application, and can also execute the implementation method described in a data processing device provided in an embodiment of the present application, which will not be repeated here.

[0108] Through the computer device provided in the embodiment of the present application, the transaction credential data in the transaction data can be encrypted using a character code book, so that the encrypted transaction credential data is presented in the form of visible characters, reducing the difficulty of data recognition and improving data readability; the transaction credential data can be encrypted multiple times using a preset number of encryption times, effectively improving the security and confidentiality of the data, and the transaction data to be decrypted can be quickly queried through query conditions, effectively improving the speed of data query. At the same time, the data processing method adopted in the embodiment of the present application is a symmetric encryption method, which can quickly realize data encryption and decryption using a character code book and an initial character string, thereby improving the efficiency of data processing and effectively improving the data processing experience.

[0109] The present application also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is run on a computer, the computer executes the data processing method described in the present application. The specific implementation method can be referred to the above description, and will not be repeated here.

[0110] The embodiment of the present application also provides a computer program product, which includes a computer program or a computer instruction, and the computer program or the computer instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device performs the data processing method as described in the embodiment of the present application. The specific implementation method can be referred to the above description, which will not be repeated here.

[0111] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0112] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0113] The above disclosure is only part of the embodiments of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method, characterized in that: The method comprises: Acquire transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used to indicate a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted; The transaction voucher data is encrypted according to a character code book and a preset number of encryption times N to obtain encrypted transaction voucher data, wherein the encrypted transaction voucher data includes a plurality of encrypted visible characters, wherein the character code book is obtained by randomly extracting a plurality of initial visible characters included in an initial character string and combining the extracted initial visible characters, and N is an integer greater than or equal to 1; Determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction credential data, and store the encrypted transaction data of the target transaction in the blockchain.

2. The method according to claim 1, characterized in that The step of encrypting the transaction voucher data according to the character code book and the preset encryption times N to obtain the encrypted transaction voucher data includes: Acquire an initial character string, wherein the initial character string includes a plurality of initial visible characters arranged in a preset order; Determine reference position data of characters to be processed according to the initial character string; Performing a replacement process on each of the characters to be processed according to the reference position data of each of the characters to be processed and the character code book to obtain an encrypted string, and using the encrypted string obtained by the Nth encryption process as the encrypted transaction voucher data; Among them, during the first encryption processing, the characters to be processed are the visible characters to be encrypted included in the transaction voucher data; during the Kth encryption processing, the characters to be processed are the characters included in the encrypted string obtained by the K-1th encryption processing, and K is an integer greater than or equal to 2 and less than or equal to N.

3. The method according to claim 2, characterized in that The step of determining reference position data of characters to be processed according to the initial character string comprises: Matching the character to be processed with a plurality of initial visible characters included in the initial character string to obtain a matching result; If the matching result indicates that there is a matching character in the initial character string that matches the character to be processed, the position data of the matching character in the initial character string is determined as the reference position data of the character to be processed; If the matching result indicates that there is no matching character in the initial character string that matches the character to be processed, the preset position data is determined as the reference position data of the character to be processed.

4. The method according to claim 3, characterized in that: The step of replacing each of the characters to be processed according to the reference position data of each of the characters to be processed and the character code book to obtain an encrypted character string includes: For any character to be processed among the characters to be processed, determining whether the reference position data of the character to be processed is the preset position data; If yes, then determining the any character to be processed as the encrypted character corresponding to the any character to be processed; If not, determining the original position data of any character to be processed in the transaction voucher data or the encrypted string obtained by the K-1th encryption process, and performing a replacement process on any character to be processed according to the reference position data of any character to be processed, the original position data of any character to be processed and the character code book, to obtain the encrypted character corresponding to any character to be processed; Adding the encrypted character corresponding to any character to be processed to an intermediate character string, wherein the intermediate character string is composed of the encrypted characters corresponding to the processed characters; After the encrypted characters corresponding to the characters to be processed are added to the intermediate character string, the intermediate character string is determined as the encrypted character string.

5. The method according to claim 4, characterized in that The replacing process is performed on any character to be processed according to the reference position data of any character to be processed, the original position data of any character to be processed and the character code book to obtain the encrypted character corresponding to any character to be processed, including: If the original position data of any character to be processed is less than a first position threshold, first coordinate data is generated according to the original position data of any character to be processed and the reference position data of any character to be processed, and the encrypted character corresponding to any character to be processed is determined from the character code book using the first coordinate data; If the original position data of any character to be processed is greater than or equal to the first position threshold, second coordinate data is generated based on the target character in the intermediate character string and the reference position data of any character to be processed, and the encrypted character corresponding to any character to be processed is determined from the character code book using the second coordinate data, where the target character is the last character in the intermediate character string.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In an I-th extraction round, a plurality of initial visible characters included in the initial character string are randomly extracted, and after the extraction of the initial visible characters included in the initial character string is completed, the extracted initial visible characters are combined according to an extraction order to obtain a reference character string corresponding to the I-th extraction round, where I is greater than or equal to 1 and less than or equal to the total number of extraction rounds M, and I and M are integers greater than or equal to 1; The character codebook is determined according to the reference character strings corresponding to the M extraction rounds.

7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Using the query condition to query the blockchain, to obtain the transaction data to be decrypted, the transaction data to be decrypted includes the transaction voucher data to be decrypted and the query transaction content data, the transaction voucher data to be decrypted includes a plurality of visible characters to be decrypted; Using the character code book to perform symmetrical decryption processing on the transaction voucher data to be decrypted, to obtain decrypted transaction voucher data; The decrypted transaction voucher data and the query transaction content data are combined and processed to obtain the decrypted transaction data.

8. A data processing device, characterized in that: The device comprises: An acquisition unit, used for acquiring transaction data of a target transaction, wherein the transaction data includes transaction voucher data and transaction content data, wherein the transaction voucher data is used for indicating a transaction voucher type and a transaction voucher number of the target transaction, and wherein the transaction voucher data includes a plurality of visible characters to be encrypted; a processing unit, configured to encrypt the transaction voucher data according to a character code book and a preset number of encryption times N to obtain encrypted transaction voucher data, wherein the encrypted transaction voucher data includes a plurality of encrypted visible characters, wherein the character code book is obtained by randomly extracting a plurality of initial visible characters included in an initial character string and combining the extracted initial visible characters, and N is an integer greater than or equal to 1; A determination unit is used to determine the encrypted transaction data of the target transaction according to the transaction content data and the encrypted transaction credential data, and store the encrypted transaction data of the target transaction in the blockchain.

9. A computer device, characterized in that: include: A processor, a communication interface and a memory, wherein the processor, the communication interface and the memory are interconnected, wherein the memory stores an executable program code, and the processor is used to call the executable program code to implement the data processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which, when executed on a computer, enable the computer to implement the data processing method according to any one of claims 1 to 7.