Secure Transaction Protection Method and System Based on Zero-Knowledge Proof

By applying a zero-knowledge proof method in financial transactions, extracting and analyzing cryptographic protocol text and embedding semantics in transaction session information, calculating association weights and performing zero-knowledge proofs, the shortcomings of traditional transaction verification methods in privacy protection and security are solved, and more efficient and reliable transaction verification is achieved.

CN118917851BActive Publication Date: 2025-06-03GOLDEN NETWORK (BEIJING) E-COMMERCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410936761.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2025-06-03
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

Traditional financial transaction verification methods have shortcomings in protecting transaction privacy and ensuring transaction security. With the development of transaction fraud methods, a single verification method is difficult to meet the growing security needs.

Method used

A secure transaction protection method based on zero-knowledge proof is adopted. By obtaining the transaction session information to be proved and the transaction session authentication information, cryptographic protocol text is extracted, protocol text association weights and embedded semantic association weights are calculated, session association weights are determined, and zero-knowledge proof is performed based on this to verify the authenticity and legality of the transaction.

Benefits of technology

While protecting transaction privacy, it effectively verifies the authenticity and legality of transactions, improves the security and credibility of financial transactions, and meets the growth demand for high-level security guarantees.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917851B_ABST
    Figure CN118917851B_ABST
Patent Text Reader

Abstract

This application relates to the field of data analysis technology, and provides a security transaction protection method and system based on zero-knowledge proof. It comprehensively analyzes the relevance of transaction information from both the aspects of cryptographic protocol text and transaction semantics, and also uses zero-knowledge proof technology to prove the authenticity and legality of the transaction to the verifier while protecting transaction privacy. This innovative solution effectively solves the deficiencies of traditional transaction verification methods in terms of privacy protection and security, and provides more comprehensive and efficient security guarantees for financial transactions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data analysis technology, and in particular to a method and system for protecting secure transactions based on zero-knowledge proof. Background Art

[0002] In the field of financial transactions, ensuring the authenticity and security of transactions has always been a key issue that needs to be resolved. Traditional transaction verification methods often rely on direct comparison of transaction details. Although this method is intuitive, it has obvious shortcomings in protecting transaction privacy. At the same time, with the rapid development of financial technology, transaction fraud methods are becoming increasingly cunning and hidden, and a single verification method can no longer meet the growing security needs. Summary of the invention

[0003] In order to improve the above problems, the present application provides a secure transaction protection method and system based on zero-knowledge proof.

[0004] In a first aspect of an embodiment of the present application, a secure transaction protection method based on zero-knowledge proof is provided, which is applied to a secure transaction protection processing system, and the method includes:

[0005] Obtaining transaction session information to be verified and transaction session authentication information;

[0006] Obtaining a cryptographic protocol text extraction result in the transaction session information to be verified and a cryptographic protocol text extraction result in the transaction session authentication information;

[0007] Determining a protocol text association weight between the transaction session information to be proved and the transaction session authentication information based on a cryptographic protocol text extraction result in the transaction session information to be proved and a cryptographic protocol text extraction result in the transaction session authentication information;

[0008] Determining the proposition verification embedded semantics of the transaction session information to be proved and the proposition verification embedded semantics of the transaction session authentication information;

[0009] Determining a first embedded semantic association weight of the transaction session information to be proved and the transaction session authentication information based on the proposition verification embedded semantics of the transaction session information to be proved and the proposition verification embedded semantics of the transaction session authentication information;

[0010] Determining a session association weight between the transaction session information to be proved and the transaction session authentication information based on the protocol text association weights of the transaction session information to be proved and the transaction session authentication information and the first embedded semantic association weight;

[0011] Determine target session authentication information from the transaction session authentication information based on the session association weight between the to-be-proven transaction session information and the transaction session authentication information, and perform zero-knowledge proof on the to-be-proven transaction session information based on the target session authentication information.

[0012] In some alternative embodiments, the cryptographic protocol text extraction result in the to-be-proven transaction session information includes first cryptographic protocol text data extracted from the to-be-proven transaction session information, and the cryptographic protocol text extraction result in the transaction session authentication information includes second cryptographic protocol text data extracted from the transaction session authentication information;

[0013] Wherein, determining the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information includes:

[0014] Determine a first statistical label of the target cryptographic protocol text in the to-be-proven transaction session information based on the first cryptographic protocol text data;

[0015] Determine a second statistical label of the target cryptographic protocol text in the transaction session authentication information based on the second cryptographic protocol text data;

[0016] Determine a first label analysis value and a second label analysis value of the target cryptographic protocol text in the to-be-proven transaction session information and the transaction session authentication information based on the first statistical label and the second statistical label;

[0017] Determine the protocol text label association weight between the to-be-proven transaction session information and the transaction session authentication information based on the first label analysis value and the second label analysis value of the target cryptographic protocol text in the to-be-proven transaction session information and the transaction session authentication information;

[0018] Determine the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the protocol text label association weight between the to-be-proven transaction session information and the transaction session authentication information.

[0019] In some alternative embodiments, obtaining the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information includes:

[0020] Perform cryptographic protocol text refinement processing on the to-be-proven transaction session information and the transaction session authentication information respectively to determine the first cryptographic protocol text data included in the to-be-proven transaction session information and the second cryptographic protocol text data included in the transaction session authentication information;

[0021] Based on the first cryptographic protocol text data and the second cryptographic protocol text data, determine the cryptographic protocol text keywords matched by each session field in the to-be-proven transaction session information and the cryptographic protocol text keywords matched by each session field in the transaction session authentication information;

[0022] Decompose the to-be-proven transaction session information into X first session text sets, and decompose the transaction session authentication information into X second session text sets, where the X first session text sets and the X second session text sets correspond one by one, and X is an integer not less than 1;

[0023] Based on the cryptographic protocol text keywords matched by each session field in the to-be-proven transaction session information, determine the first cryptographic protocol text keywords matched by each session field in each first session text set as the cryptographic protocol text extraction result in the to-be-proven transaction session information;

[0024] Based on the cryptographic protocol text keywords matched by each session field in the transaction session authentication information, determine the second cryptographic protocol text keywords matched by each session field in each second session text set as the cryptographic protocol text extraction result in the transaction session authentication information.

[0025] In some alternative embodiments, based on the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information, determining the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information includes:

[0026] According to the first cryptographic protocol text keywords matched by each session field in each first session text set and the second cryptographic protocol text keywords matched by each session field in each second session text set, determine the keyword association weight between each first session text set and the corresponding second session text set;

[0027] According to the keyword association weight between each first session text set and the corresponding second session text set, determine the session topic association weight between the to-be-proven transaction session information and the transaction session authentication information;

[0028] Determine the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the session topic association weight between the to-be-proven transaction session information and the transaction session authentication information.

[0029] In some alternative embodiments, the first cryptographic protocol text keywords include first target cryptographic protocol text keywords, the second cryptographic protocol text keywords include second target cryptographic protocol text keywords, the first session text set includes a first target session text set, the second session text set includes a second target session text set, the first target session text set corresponds to the second target session text set, the session fields in the first target session text set belong to the first target cryptographic protocol text keywords, and the session fields in the second target session text set belong to the second target cryptographic protocol text keywords;

[0030] Among them, determining the keyword association weight between each first session text set and the corresponding second session text set includes:

[0031] Determine the number of keywords of the same cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords;

[0032] Determine the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords;

[0033] Determine the keyword association weight between the first target session text set and the second target session text set according to the number of keywords of the same cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords, and the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords.

[0034] In a third aspect of the embodiments of the present application, a secure transaction protection processing system is provided, including:

[0035] A data acquisition module, configured to: acquire to-be-proven transaction session information and transaction session authentication information; acquire the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information;

[0036] A weight analysis module, configured to determine the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information; determine the proposition verification embedded semantics of the to-be-proven transaction session information and the proposition verification embedded semantics of the transaction session authentication information; determine the first embedded semantics association weight between the to-be-proven transaction session information and the transaction session authentication information based on the proposition verification embedded semantics of the to-be-proven transaction session information and the proposition verification embedded semantics of the transaction session authentication information; determine the session association weight between the to-be-proven transaction session information and the transaction session authentication information based on the protocol text association weight and the first embedded semantics association weight between the to-be-proven transaction session information and the transaction session authentication information;

[0037] A security proof module, configured to determine target session authentication information from the transaction session authentication information based on the session association weight between the to-be-proven transaction session information and the transaction session authentication information, and perform zero-knowledge proof on the to-be-proven transaction session information based on the target session authentication information.

[0038] In some alternative embodiments, the cryptographic protocol text extraction result in the to-be-proven transaction session information includes first cryptographic protocol text data extracted from the to-be-proven transaction session information, and the cryptographic protocol text extraction result in the transaction session authentication information includes second cryptographic protocol text data extracted from the transaction session authentication information;

[0039] Wherein, determining the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information includes:

[0040] Determining a first statistical label of the target cryptographic protocol text in the to-be-proven transaction session information based on the first cryptographic protocol text data;

[0041] Determining a second statistical label of the target cryptographic protocol text in the transaction session authentication information based on the second cryptographic protocol text data;

[0042] Determining a first label analysis value and a second label analysis value of the target cryptographic protocol text in the to-be-proven transaction session information and the transaction session authentication information based on the first statistical label and the second statistical label;

[0043] Determine the protocol text label association weight between the to-be-proven transaction session information and the transaction session authentication information based on the first label analysis value and the second label analysis value of the target cryptographic protocol text in the to-be-proven transaction session information and the transaction session authentication information;

[0044] Determine the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the protocol text label association weight between the to-be-proven transaction session information and the transaction session authentication information.

[0045] In some alternative embodiments, obtaining the cryptographic protocol text extraction results in the to-be-proven transaction session information and the cryptographic protocol text extraction results in the transaction session authentication information includes:

[0046] Perform cryptographic protocol text refinement processing on the to-be-proven transaction session information and the transaction session authentication information respectively to determine the first cryptographic protocol text data included in the to-be-proven transaction session information and the second cryptographic protocol text data included in the transaction session authentication information;

[0047] Based on the first cryptographic protocol text data and the second cryptographic protocol text data, determine the cryptographic protocol text keywords matched by each session field in the to-be-proven transaction session information and the cryptographic protocol text keywords matched by each session field in the transaction session authentication information;

[0048] Decompose the to-be-proven transaction session information into X first session text sets, and decompose the transaction session authentication information into X second session text sets, where the X first session text sets and the X second session text sets correspond one by one, and X is an integer not less than 1;

[0049] Based on the cryptographic protocol text keywords matched by each session field in the to-be-proven transaction session information, determine the first cryptographic protocol text keywords matched by each session field in each first session text set as the cryptographic protocol text extraction result in the to-be-proven transaction session information;

[0050] Based on the cryptographic protocol text keywords matched by each session field in the transaction session authentication information, determine the second cryptographic protocol text keywords matched by each session field in each second session text set as the cryptographic protocol text extraction result in the transaction session authentication information;

[0051] Among them, determining the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information includes:

[0052] Determine the keyword association weight between each first session text set and the corresponding second session text set according to the first cryptographic protocol text keywords matched by each session field in each first session text set and the second cryptographic protocol text keywords matched by each session field in each second session text set;

[0053] Determine the session topic association weight between the to-be-proven transaction session information and the transaction session authentication information according to the keyword association weight between each first session text set and the corresponding second session text set;

[0054] Based on the session topic association weight between the to-be-proven transaction session information and the transaction session authentication information, determine the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information;

[0055] Wherein, the first cryptographic protocol text keywords include first target cryptographic protocol text keywords, the second cryptographic protocol text keywords include second target cryptographic protocol text keywords, the first session text set includes a first target session text set, the second session text set includes a second target session text set, the first target session text set corresponds to the second target session text set, the session fields in the first target session text set belong to the first target cryptographic protocol text keywords, and the session fields in the second target session text set belong to the second target cryptographic protocol text keywords;

[0056] Wherein, determining the keyword association weight between each first session text set and the corresponding second session text set includes:

[0057] Determine the number of keywords of the same cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords;

[0058] Determine the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords;

[0059] Determine the keyword association weight between the first target session text set and the second target session text set according to the number of keywords of the same cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords, and the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords.

[0060] In a third aspect of the embodiments of the present application, a secure transaction protection processing system is provided, including: a processor, a memory, and a bus connected to the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to call a computer program in the memory to execute the above-mentioned secure transaction protection method based on zero-knowledge proof.

[0061] In a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, the above-mentioned secure transaction protection method based on zero-knowledge proof is implemented.

[0062] The secure transaction protection method and system based on zero-knowledge proof provided by the embodiments of the present application propose a financial transaction verification method based on multi-dimensional correlation weight analysis and zero-knowledge proof. The embodiments of the present application not only comprehensively analyze the relevance of transaction information from two levels: the cryptographic protocol text and the transaction semantics, but also through the zero-knowledge proof technology, while protecting transaction privacy, prove the authenticity and legality of the transaction to the verifier. This innovative solution effectively solves the deficiencies of traditional transaction verification methods in terms of privacy protection and security, and provides more comprehensive and efficient security protection for financial transactions. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0064] Figure 1 It is a flowchart of a secure transaction protection method based on zero-knowledge proof provided by the embodiments of the present application.

[0065] Figure 2 It is a product module schematic diagram of a secure transaction protection processing system provided by the embodiments of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0066] The following will describe the exemplary embodiments disclosed in the present application in more detail with reference to the drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be completely conveyed to those skilled in the art.

[0067] To better understand the above technical solution, the technical solution of the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. Without conflict, the technical features in the embodiments of the present application and the embodiments can be combined with each other.

[0068] Please refer to Figure 1 , which is a flowchart of a security transaction protection method based on zero-knowledge proof provided by an embodiment of the present application. This method is applied to a security transaction protection processing system, and the specific content description of this method includes S101 - S106.

[0069] S101. Obtain the to-be-proven transaction session information and the transaction session authentication information; and obtain the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information.

[0070] S102. Based on the cryptographic protocol text extraction result in the to-be-proven transaction session information and the cryptographic protocol text extraction result in the transaction session authentication information, determine the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information.

[0071] S103. Determine the proposition verification embedded semantics of the to-be-proven transaction session information and the proposition verification embedded semantics of the transaction session authentication information.

[0072] S104. Based on the proposition verification embedded semantics of the to-be-proven transaction session information and the proposition verification embedded semantics of the transaction session authentication information, determine the first embedded semantics association weight between the to-be-proven transaction session information and the transaction session authentication information.

[0073] S105. Based on the protocol text association weight and the first embedded semantics association weight between the to-be-proven transaction session information and the transaction session authentication information, determine the session association weight between the to-be-proven transaction session information and the transaction session authentication information.

[0074] S106. Based on the session association weight between the to-be-proven transaction session information and the transaction session authentication information, determine the target session authentication information from the transaction session authentication information, and perform zero-knowledge proof on the to-be-proven transaction session information based on the target session authentication information.

[0075] In an online financial transaction scenario, a secure transaction protection processing system is used to ensure the security and credibility of transactions. The following are the detailed steps of the system in actual operation: First, the secure transaction protection processing system obtains the transaction session information to be proven and the transaction session authentication information. This information can include key data such as the account details of both parties to the transaction, the transaction amount, and the timestamp. At the same time, the system extracts the cryptographic protocol texts from this information. These texts are the specific contents of the encryption protocols used during the transaction process and are crucial for verifying the security and integrity of the transaction. Next, the system compares the cryptographic protocol texts in the transaction session information to be proven and the transaction session authentication information, and determines the protocol text association weight between the two through a specific algorithm. The purpose of this step is to measure the similarity and consistency of the two pieces of information at the protocol level. The higher the association weight, the closer the two pieces of information are in terms of protocol usage. After determining the protocol text association weight, the system further analyzes the propositional verification embedded semantics of the transaction session information to be proven and the transaction session authentication information. These embedded semantics are a deep understanding of the content of the transaction information and can reflect the essence and intention of the transaction. For example, the system can identify key actions such as "transfer" and "purchase", as well as related elements such as the amount and time. By comparing the propositional verification embedded semantics of the transaction session information to be proven and the transaction session authentication information, the system calculates the first embedded semantic association weight between the two. This weight reflects the similarity at the transaction intention and actual operation levels. By synthesizing the protocol text association weight and the first embedded semantic association weight, the secure transaction protection processing system can determine the session association weight between the transaction session information to be proven and the transaction session authentication information. This comprehensive weight provides a comprehensive evaluation index for the system to measure the overall similarity and credibility of the two pieces of transaction information. Finally, based on the session association weight, the system filters out the target session authentication information from the transaction session authentication information. These pieces of information are considered to have a high degree of consistency with the transaction session information to be proven and can therefore be used as the basis for zero-knowledge proof. Zero-knowledge proof is a cryptographic technique that allows one party to prove the truth of a proposition without revealing any useful information. In this scenario, the system uses the target session authentication information to construct a zero-knowledge proof to verify the truth and legality of the transaction session information to be proven, thus ensuring the secure conduct of the transaction. It can be seen that the secure transaction protection processing system provides an efficient and secure verification mechanism for online financial transactions by comprehensively applying techniques such as cryptographic protocol text extraction, semantic analysis, and zero-knowledge proof. This not only protects the privacy and rights of both parties to the transaction but also greatly improves the transparency and credibility of the transaction process.

[0076] To facilitate the clearer implementation of the above technical solution, the following will separately explain S101 - S106.

[0077] In S101, the transaction session information to be proven refers to the detailed data and information related to the transaction that need to be verified during the online financial transaction process. This can include the identity information of both parties to the transaction (such as account name, user ID, etc.), the specific content of the transaction (such as transaction amount, transaction type, transaction time, etc.), and other auxiliary data that can be used to verify the legality and authenticity of the transaction. These information are raw data that have not been verified and need to go through a series of verification steps to ensure their authenticity and security. The transaction session authentication information is auxiliary information used to verify the authenticity of the transaction session information to be proven. It can include previous transaction records related to the transaction to be proven, data on the user's behavior pattern analysis, the security assessment results of the transaction environment, etc. These information can be collected and stored by the secure transaction protection processing system for calling and analysis when needed. The accuracy and integrity of the transaction session authentication information are crucial for ensuring transaction security. The cryptographic protocol text extraction result refers to the text content related to the cryptographic protocol extracted from the transaction session information to be proven and the transaction session authentication information. These text contents describe the specific encryption methods, key exchange protocols, digital signature technologies, etc. used in the transaction. The purpose of extracting these texts is to analyze whether the cryptographic protocol used in the transaction process meets the security standards, whether there are potential security vulnerabilities, and to evaluate the security and credibility of the transaction accordingly.

[0078] In S101, the primary task of the secure transaction protection processing system is to obtain two types of key information: the transaction session information to be proven and the transaction session authentication information. These information are the basis for subsequent verification processes. When a new online financial transaction occurs, relevant transaction data (such as information of both parties to the transaction, transaction amount, transaction time, etc.) are captured in real time and used as the transaction session information to be proven. These information are the original and unprocessed transaction data that need further verification to ensure their authenticity and security. At the same time, the secure transaction protection processing system retrieves historical data, user behavior patterns, etc. related to this transaction from its database to form the transaction session authentication information. These information have been verified and stored in previous transactions and are now recalled to assist in verifying the authenticity of the current transaction. After obtaining these two types of information, the system further extracts the cryptographic protocol text. This is because the cryptographic protocol plays a crucial role in ensuring transaction security. By extracting the cryptographic protocol text, the system can analyze whether the appropriate encryption methods are used by both parties to the transaction, and whether protocols such as key exchange and digital signature are correctly executed. The system uses specialized text extraction techniques to identify and extract the text content related to the cryptographic protocol from the transaction session information to be proven and the transaction session authentication information. These text content details key information such as the encryption algorithms, key management methods, and digital signature techniques used in the transaction. The purpose of extracting these texts is to perform subsequent protocol text correlation weight analysis and embedded semantic correlation weight analysis, so as to comprehensively evaluate the security and credibility of the transaction.

[0079] In S102, the protocol text correlation weight refers to a quantitative indicator obtained after comparative analysis of the cryptographic protocol text in the transaction session information to be proven and the transaction session authentication information in the secure transaction protection processing system. This weight reflects the consistency and similarity in the use of the cryptographic protocol between the transaction session information to be proven and the transaction session authentication information. Specifically, when the cryptographic protocol text content in the two pieces of information highly matches and shows a high degree of consistency in aspects such as the encryption methods used, key management, and data integrity protection, the protocol text correlation weight will increase accordingly. Conversely, if there are significant differences or inconsistencies between the two, the correlation weight will decrease. This indicator is of great significance for evaluating the authenticity of transaction information and preventing potential security risks.

[0080] Furthermore, the secure transaction protection processing system will conduct an in-depth comparative analysis of the cryptographic protocol texts in the to-be-proven transaction session information and the transaction session authentication information extracted in the previous steps. The core purpose of this step is to calculate the protocol text correlation weight between the two pieces of information, so as to evaluate their similarity and consistency. First, the system makes a detailed comparison of the cryptographic protocol texts in the to-be-proven transaction session information and the transaction session authentication information. This includes checking whether the encryption algorithms used in the two pieces of information are the same, whether the key exchange protocols are the same, and whether the data integrity verification methods match, etc. By comparing these key elements one by one, the system can initially judge the similarity of the two pieces of information at the cryptographic protocol level. Next, the system calculates a specific protocol text correlation weight value based on the comparison results. This value can be a number between 0 and 1, where 1 represents a perfect match and 0 represents a complete mismatch. The calculation of the weight can involve multiple factors, such as the number of identical protocols, the correctness of protocol usage, and the consistency of protocol versions, etc. In addition, the system may also consider some additional weighting factors to more accurately reflect the actual correlation degree between the two pieces of information. For example, the use of certain key protocols or specific technologies can be given a higher weight because they have a more significant impact on transaction security. Finally, through the calculation and analysis of this step, the secure transaction protection processing system can obtain a specific protocol text correlation weight value. This value will provide an important reference basis for the subsequent session correlation weight calculation and zero-knowledge proof. At the same time, it also helps the system to more accurately identify potential security risks and inconsistencies, thus ensuring the security and credibility of online financial transactions.

[0081] In S103, the proposition verification embedded semantics refers to the key semantic information extracted after in-depth analysis and understanding of the core content of the to-be-proven transaction session information and the transaction session authentication information in the secure transaction protection processing system. These information are represented in the form of numerical feature vectors, which can accurately reflect the core intention and key features of the transaction information. For example, a numerical feature vector of proposition verification embedded semantics can include multiple dimensions, such as transaction type, transaction amount, identities of both parties in the transaction, etc., and each dimension is represented by a specific numerical value. Through such embedded semantics, the system can more accurately grasp the essence of the transaction information and provide strong support for subsequent transaction verification and zero-knowledge proof.

[0082] For example, there is a five-dimensional numerical feature vector to represent the propositional verification embedded semantics, in the form of [0.8, 0.3, 0.5, 0.9, 0.2]. Among them, the numerical value of each dimension represents the characteristics of a specific aspect in the transaction information. For example, the first dimension can represent the transaction type (such as transfer, purchase, etc.), and 0.8 can indicate that the transaction is more inclined to the transfer type; the second dimension can represent the size of the transaction amount, and 0.3 can indicate that the transaction amount is at a relatively low to medium level; and so on. The other dimensions can respectively represent key information such as the time and location of the transaction, and the credit of the two parties involved in the transaction. Through such a numerical feature vector, the transaction information can be comprehensively and accurately characterized, providing strong data support for the subsequent verification work.

[0083] In S103, the secure transaction protection processing system will further deepen the analysis of the transaction session information to be proven and the transaction session authentication information to determine their propositional verification embedded semantics. This step is crucial for the subsequent transaction verification because it can help the system more accurately understand the essence and intention of the transaction. First, the system uses technologies such as natural language processing and machine learning to perform text analysis and feature extraction on the transaction session information to be proven and the transaction session authentication information. This includes identifying key information such as transaction type, amount, and time, and converting this information into a numerical feature vector. In this process, the system can adopt algorithms such as word embedding and TF-IDF to extract the key features in the text and quantify these features into specific numerical values. Then, based on the extracted numerical feature vector, the system constructs the propositional verification embedded semantics of the transaction session information to be proven and the transaction session authentication information. These embedded semantics are represented in the form of a multi-dimensional numerical feature vector, which can comprehensively reflect the core content and key features of the transaction information. For example, a propositional verification embedded semantics can include multiple dimensions such as transaction type, amount size, and transaction time, and each dimension is represented by a specific numerical value. After determining the propositional verification embedded semantics of the transaction session information to be proven and the transaction session authentication information, the system can further compare the similarities and differences between the two. This helps the system evaluate the authenticity and credibility of the transaction to be proven, providing strong data support for the subsequent transaction verification and zero-knowledge proof. Therefore, S103 is a key analysis link in the secure transaction protection processing system, which can help the system more deeply understand the essence and intention of the transaction information and lay a solid foundation for the subsequent transaction verification work.

[0084] In S104, the first embedded semantic association weight refers to a quantitative index based on the similarity and relevance between the propositional verification embedded semantics of the transaction session information to be proven and the transaction session authentication information. This weight reflects the matching degree between the two sets of embedded semantics and is an important means to measure the authenticity of the transaction session information. Specifically, when the embedded semantics of the transaction session information to be proven are highly consistent with the embedded semantics of the transaction session authentication information, the first embedded semantic association weight will increase accordingly, indicating a strong association between the two, thus increasing the credibility of the transaction information. Conversely, if there are significant differences in the embedded semantics between the two, the association weight will decrease, which may mean that there is a risk of inconsistency or forgery in the transaction information.

[0085] Furthermore, the secure transaction protection processing system will use the propositional verification embedded semantics of the transaction session information to be proven and the transaction session authentication information extracted in the previous steps to calculate the first embedded semantic association weight between the two. The calculation of this weight is a key link in evaluating the authenticity of the transaction information. The system will first conduct a detailed comparative analysis of the embedded semantics of the transaction session information to be proven and the transaction session authentication information. This includes comparing the numerical feature vectors in each dimension, such as the matching degree of key information such as transaction type, amount, and time. By calculating the similarity between these feature vectors, the system can preliminarily evaluate the association between the two sets of embedded semantics. Next, the system will use a specific algorithm (such as cosine similarity, Euclidean distance, etc.) to comprehensively calculate a specific association weight value based on these similarity values, that is, the first embedded semantic association weight. This weight value not only considers the similarity of individual features but also comprehensively considers the overall matching degree between all features, so it can more comprehensively reflect the association between the transaction session information to be proven and the transaction session authentication information. In addition, the system may also combine other auxiliary information (such as the historical transaction records and credit scores of the two parties to the transaction) to further adjust and optimize the association weight to improve the accuracy of the evaluation. Finally, through the calculation and analysis in step S104, the secure transaction protection processing system can obtain a specific first embedded semantic association weight value. This value will provide an important reference basis for subsequent transaction verification and zero-knowledge proof, helping the system to more accurately judge the authenticity and credibility of the transaction information, thereby effectively preventing potential fraud behaviors and security risks.

[0086] In S105, in the context of zero-knowledge proof and secure transaction verification, the session association weight is a comprehensive metric used to quantify the overall relevance between the transaction session information to be proven and the transaction session authentication information. This weight takes into account multiple aspects, including the consistency of the protocol text, the similarity of transaction intent and semantics, and other multi-dimensional factors. Specifically, the session association weight is the result of a comprehensive calculation based on the protocol text association weight and the first embedded semantic association weight, and can comprehensively reflect the matching degree and credibility between the transaction to be proven and the authentication information. A high session association weight means that the transaction to be proven is highly consistent with the existing authentication information, thereby increasing the authenticity and reliability of the transaction.

[0087] Specifically, the secure transaction protection processing system will comprehensively consider the protocol text association weight and the first embedded semantic association weight calculated in the previous steps to determine the session association weight between the transaction session information to be proven and the transaction session authentication information. This step is crucial for comprehensively evaluating the authenticity and credibility of transaction information. The system will first review and obtain the protocol text association weight and the first embedded semantic association weight calculated in the previous steps. These two weights respectively represent the similarity and relevance of transaction information at the level of cryptographic protocol text and at the level of transaction intent and semantics. Next, the system will use a specific algorithm or model (such as weighted average, machine learning model, etc.) to combine these two weight values. This comprehensive process aims to find a single metric that can comprehensively reflect the overall relevance between the transaction session information to be proven and the transaction session authentication information, that is, the session association weight. When calculating the session association weight, the system may also consider the relative importance between different weights and weight them accordingly. For example, if the consistency of the protocol text is considered more important than the similarity of transaction intent, the contribution of the protocol text association weight may occupy a larger proportion in the final calculation. Finally, through the comprehensive calculation in step S105, the secure transaction protection processing system can obtain a specific session association weight value. This value will serve as an important basis for evaluating the overall relevance and credibility between the transaction session information to be proven and the transaction session authentication information. If the session association weight is higher than a preset threshold, the system may consider the transaction to be proven as true and credible; conversely, if the weight is lower than the threshold, it may trigger further risk assessment or verification processes.

[0088] In S106, in the context of zero - knowledge proof and secure transaction verification, the target session authentication information refers to specific transaction session authentication information that has a high degree of relevance and consistency with the transaction session information to be proven. This information is selected from numerous transaction session authentication information after a comprehensive analysis and comparison of the transaction to be proven, and is used as a key reference for zero - knowledge proof. The selection of the target session authentication information is based on the session association weight. That is, the authentication information that shows high similarity and consistency with the transaction to be proven at multiple levels such as protocol text and embedded semantics will be regarded as the target session authentication information. These information play a crucial role in the subsequent zero - knowledge proof process because they provide a reliable basis for verifying the authenticity and legality of the transaction to be proven.

[0089] Specifically, the secure transaction protection processing system will further utilize the previously calculated session association weight to accurately screen out the target session authentication information from the transaction session authentication information, and accordingly conduct zero - knowledge proof on the transaction session information to be proven. This step is a key link in ensuring transaction security and authenticity. The system will first examine all transaction session authentication information and sort them according to the session association weight between them and the transaction session information to be proven. Those authentication information with high association weights will be regarded as candidates for the target session authentication information. Then, the system will select the transaction session authentication information with the highest association weight from these candidates as the target session authentication information. This selection in this step is based on a comprehensive consideration of all previous analysis results, ensuring the reliability and effectiveness of the selected information. Once the target session authentication information is determined, the system will use this information for zero - knowledge proof. In the process of zero - knowledge proof, the system will not disclose any specific content of the transaction session information to be proven, but prove the high degree of relevance between the transaction to be proven and the target session authentication information through mathematical and cryptographic methods. This method not only protects the privacy of the transaction but also ensures that the authenticity and legality of the transaction can be effectively verified. Through the accurate screening and zero - knowledge proof in step S106, the secure transaction protection processing system can provide strong security guarantees for financial transactions, effectively prevent fraud and illegal transactions, and at the same time protect the privacy rights and interests of both parties to the transaction.

[0090] It is worth mentioning that conducting zero - knowledge proof on the transaction session information to be proven based on the target session authentication information is the core inventive point of the embodiment of this application. In this process, the characteristics of zero - knowledge proof are fully utilized, that is, to prove the truth of a statement to the verifier without disclosing any private information. Specifically, it can be summarized into the following key points:

[0091] (1) Select the target session authentication information: First, based on the session association weights calculated in the previous steps, accurately screen out the target session authentication information with the highest degree of association with the transaction session information to be proven from numerous transaction session authentication information. This step is the basis for subsequent zero-knowledge proofs;

[0092] (2) Construct a proof system: Next, construct a zero-knowledge proof system. This system includes a prover and a verifier. The prover knows all the details of the transaction session information to be proven, while the verifier only knows the target session authentication information. The task of the prover is to prove to the verifier the high degree of association between the transaction session information to be proven and the target session authentication information without revealing any specific transaction details;

[0093] (3) Conduct zero-knowledge proof: During the proof process, the prover will use a series of mathematical and cryptographic tools, such as hash functions, commitment schemes, zero-knowledge interactive proof protocols, etc., to construct a proof. This proof can show that the transaction session information to be proven is indeed associated with the target session authentication information, but does not disclose any specific content about the transaction. The verifier then verifies the authenticity of the transaction to be proven based on this proof and the target session authentication information;

[0094] (4) Judgment of verification results: Finally, the verifier determines the authenticity of the transaction session information to be proven based on the result of the zero-knowledge proof. If the proof is valid and consistent with the target session authentication information, the verifier can be convinced that the transaction to be proven is real. Otherwise, the transaction will be regarded as invalid or forged.

[0095] Through this method, it is possible to ensure the authenticity and legality of transactions while protecting transaction privacy. This not only improves the security of financial transactions but also provides users with a higher level of privacy protection. In addition, due to the mathematical rigor and cryptographic security of zero-knowledge proofs, this method can withstand various potential attacks and fraud behaviors, providing a more solid guarantee for financial transactions.

[0096] The technical solution proposed in the embodiments of this application significantly enhances the security of financial transactions by comprehensively applying cryptographic protocol text extraction, embedded semantic analysis, and zero-knowledge proof technology. Specifically, the embodiments of this application can accurately obtain and analyze the multi-dimensional correlation weights between the transaction session information to be proven and the transaction session authentication information, ensuring the consistency of transaction information not only at the level of cryptographic protocol text but also deeply exploring the relevance at the level of transaction intent and semantics. This all-round and multi-level verification mechanism greatly improves the accuracy and reliability of transaction verification. More importantly, the embodiments of this application achieve privacy protection for the transaction session information to be proven through zero-knowledge proof technology. Without revealing any sensitive transaction details, it proves the authenticity and legality of the transaction to the verifier, effectively balancing the requirements of transaction transparency and privacy protection. This innovation not only helps prevent financial fraud and illegal transactions but also provides a more secure and private transaction environment for users, which has far-reaching significance for enhancing the overall security of financial transactions and user trust.

[0097] In some alternative embodiments, the extraction result of the cryptographic protocol text in the transaction session information to be proven includes the first cryptographic protocol text data extracted from the transaction session information to be proven, and the extraction result of the cryptographic protocol text in the transaction session authentication information includes the second cryptographic protocol text data extracted from the transaction session authentication information; wherein, based on the extraction result of the cryptographic protocol text in the transaction session information to be proven and the extraction result of the cryptographic protocol text in the transaction session authentication information, determining the protocol text correlation weight between the transaction session information to be proven and the transaction session authentication information includes: determining the first statistical label of the target cryptographic protocol text in the transaction session information to be proven based on the first cryptographic protocol text data; determining the second statistical label of the target cryptographic protocol text in the transaction session authentication information based on the second cryptographic protocol text data; determining the first label analysis value and the second label analysis value of the target cryptographic protocol text in the transaction session information to be proven and the transaction session authentication information based on the first statistical label and the second statistical label; determining the protocol text label correlation weight between the transaction session information to be proven and the transaction session authentication information based on the first label analysis value and the second label analysis value of the target cryptographic protocol text in the transaction session information to be proven and the transaction session authentication information; determining the protocol text correlation weight between the transaction session information to be proven and the transaction session authentication information based on the protocol text label correlation weight between the transaction session information to be proven and the transaction session authentication information.

[0098] In this embodiment, the secure transaction protection processing system executes the following steps to process the transaction session information to be proven and the transaction session authentication information.

[0099] First, the secure transaction protection processing system extracts the first cryptographic protocol text data from the transaction session information to be proven. These data are the key text elements that form the basis of the transaction session. At the same time, the system also extracts the second cryptographic protocol text data from the transaction session authentication information. These data are the text components of the previously authenticated transaction session.

[0100] Next, to determine the protocol text association weight between the transaction session information to be proven and the transaction session authentication information, the secure transaction protection processing system performs a series of complex analyses. The system first determines the first statistical tags for the target cryptographic protocol text in the transaction session information to be proven based on the first cryptographic protocol text data. These tags can include word frequency, keyword occurrence times, text structure features, etc., which can reflect the core features of the text data.

[0101] Similarly, the system also determines the second statistical tags for the target cryptographic protocol text in the transaction session authentication information. The determination method of these tags is the same as that of the first statistical tags to ensure comparability between the two.

[0102] With these tags, the secure transaction protection processing system can calculate the first tag analysis value and the second tag analysis value of the target cryptographic protocol text in the transaction session information to be proven and the transaction session authentication information respectively based on the first statistical tags and the second statistical tags. These analysis values are obtained by comparing the tag data and can quantitatively reflect the similarity or difference between the two.

[0103] Subsequently, the system determines the protocol text tag association weight between the transaction session information to be proven and the transaction session authentication information according to these tag analysis values. This weight is actually a numerical value that represents the degree of association between the two at the cryptographic protocol text level.

[0104] Finally, based on this protocol text tag association weight, the secure transaction protection processing system can determine the final protocol text association weight between the transaction session information to be proven and the transaction session authentication information. This weight comprehensively considers all aspects of the text data and provides an important basis for subsequent zero - knowledge proof.

[0105] Through this series of precise and complex analysis steps, the secure transaction protection processing system can ensure a high degree of association between the transaction session information to be proven and the transaction session authentication information at the cryptographic protocol text level. This not only improves the accuracy of transaction verification but also lays a solid foundation for subsequent zero - knowledge proof.

[0106] In this way, the accuracy and security of transaction verification can be significantly improved, while protecting the privacy of transactions. By comprehensively applying technical means such as cryptographic protocol text extraction, tag analysis, and correlation weight calculation, the secure transaction protection processing system provides more comprehensive and in-depth security protection for financial transactions. This not only helps to prevent financial fraud, but also enhances users' trust in the transaction system and promotes the healthy development of the financial industry.

[0107] In some alternative embodiments, obtaining the cryptographic protocol text extraction result in the transaction session information to be proved and the cryptographic protocol text extraction result in the transaction session authentication information includes: respectively performing cryptographic protocol text refinement processing on the transaction session information to be proved and the transaction session authentication information to determine the first cryptographic protocol text data included in the transaction session information to be proved and the second cryptographic protocol text data included in the transaction session authentication information; based on the first cryptographic protocol text data and the second cryptographic protocol text data, determining the cryptographic protocol text keywords matched by each session field in the transaction session information to be proved and the cryptographic protocol text keywords matched by each session field in the transaction session authentication information; disassembling the transaction session information to be proved into X first session text sets, and disassembling the transaction session authentication information into X second session text sets, where the X first session text sets and the X second session text sets correspond one by one, and X is an integer not less than 1; based on the cryptographic protocol text keywords matched by each session field in the transaction session information to be proved, determining the first cryptographic protocol text keywords matched by each session field in each first session text set as the cryptographic protocol text extraction result in the transaction session information to be proved; based on the cryptographic protocol text keywords matched by each session field in the transaction session authentication information, determining the second cryptographic protocol text keywords matched by each session field in each second session text set as the cryptographic protocol text extraction result in the transaction session authentication information.

[0108] For example, the secure transaction protection processing system will perform the following detailed steps to obtain the cryptographic protocol text extraction results in the transaction session information to be proved and the transaction session authentication information.

[0109] First, the secure transaction protection processing system will perform cryptographic protocol text refinement processing on the transaction session information to be proved and the transaction session authentication information. The purpose of this step is to accurately extract the key cryptographic protocol text data from a large amount of transaction information. After the refinement processing, the system can determine the first cryptographic protocol text data included in the transaction session information to be proved and the second cryptographic protocol text data included in the transaction session authentication information.

[0110] Next, the system will further determine the cryptographic protocol text keywords that match each session field in the transaction session information to be proven and the transaction session authentication information, based on the extracted first cryptographic protocol text data and second cryptographic protocol text data. These keywords are the core vocabulary in the cryptographic protocol and can accurately reflect the key content and characteristics of the transaction session.

[0111] To analyze this information in more detail, the secure transaction protection processing system will disassemble the transaction session information to be proven into X first session text sets, and at the same time disassemble the transaction session authentication information into X second session text sets. Here, X is an integer not less than 1, representing the number of text sets after disassembly. These first session text sets and second session text sets are in one-to-one correspondence, facilitating subsequent comparison and analysis.

[0112] After the disassembly is completed, the system will further determine the first cryptographic protocol text keywords and second cryptographic protocol text keywords that match each session field in each first session text set and each second session text set, based on the previously determined cryptographic protocol text keywords. The determination of these keywords provides important data support for subsequent calculation of association weights and zero-knowledge proof.

[0113] Finally, these first cryptographic protocol text keywords and second cryptographic protocol text keywords will be used as the cryptographic protocol text extraction results in the transaction session information to be proven and the transaction session authentication information respectively.

[0114] Through this series of steps, the secure transaction protection processing system can accurately extract the key cryptographic protocol text data in the transaction session information to be proven and the transaction session authentication information, providing a solid foundation for subsequent analysis and proof.

[0115] In this way, not only the accuracy and efficiency of transaction verification are improved, but also more comprehensive security protection is provided for financial transactions. By comprehensively applying techniques such as cryptographic protocol text extraction, keyword matching, and text disassembly, the secure transaction protection processing system can ensure the authenticity and legality of transaction information, effectively preventing financial fraud. At the same time, this method also provides important support for subsequent zero-knowledge proof, achieving the proof of the authenticity and legality of transactions while protecting transaction privacy, further enhancing the security of financial transactions and user trust.

[0116] In some other preferred embodiments, determining the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the cryptographic protocol text extraction results in the to-be-proven transaction session information and the cryptographic protocol text extraction results in the transaction session authentication information includes: determining the keyword association weight between each first session text set and the corresponding second session text set according to the first cryptographic protocol text keywords matched by each session field in each first session text set and the second cryptographic protocol text keywords matched by each session field in each second session text set; determining the session topic association weight between the to-be-proven transaction session information and the transaction session authentication information according to the keyword association weight between each first session text set and the corresponding second session text set; and determining the protocol text association weight between the to-be-proven transaction session information and the transaction session authentication information based on the session topic association weight between the to-be-proven transaction session information and the transaction session authentication information.

[0117] Based on this embodiment, the secure transaction protection processing system performs a series of complex operations to accurately determine the degree of association between the to-be-proven transaction session information and the transaction session authentication information.

[0118] First, the secure transaction protection processing system extracts the cryptographic protocol text from the to-be-proven transaction session information and the transaction session authentication information. These texts contain key protocol fields, which are important bases for evaluating the authenticity and security of transactions.

[0119] Next, the system conducts an in-depth comparative analysis of the extracted first session text set (from the to-be-proven transaction session information) and the second session text set (from the transaction session authentication information). In this step, the system identifies and matches the cryptographic protocol text keywords in each session field. For example, if the keyword "public key encryption" is included in the first session text set and the same keyword is also included in the second session text set, then an association is established between these two text sets at this point.

[0120] Based on the matching of these keywords, the secure transaction protection processing system calculates the keyword association weight between each first session text set and the corresponding second session text set. This weight reflects the consistency and relevance of the two sets of texts in terms of cryptographic protocol content.

[0121] Subsequently, the system further determines the session topic association weight between the to-be-proven transaction session information and the transaction session authentication information according to these keyword association weights. This step is to evaluate whether the topics of the entire session are consistent, so as to determine whether the to-be-proven transaction session matches the authentication information.

[0122] Finally, based on the session topic association weight, the secure transaction protection processing system will determine the protocol text association weight between the transaction session information to be proven and the transaction session authentication information. This comprehensive weight provides a quantitative evaluation basis for the authenticity and security of the transaction.

[0123] Through the above steps, the secure transaction protection processing system can accurately identify forged or tampered transaction sessions, thus effectively protecting the rights and interests of both parties to the transaction and improving the security of the transaction. At the same time, this method of association analysis based on cryptographic protocol texts also provides a new and more accurate technical means for transaction verification. In this way, by deeply analyzing the cryptographic protocol texts of transaction sessions, strong technical support is provided for secure transactions. They not only enhance the accuracy and efficiency of transaction verification, but also contribute to building a more secure and reliable electronic transaction environment.

[0124] In the following steps, the first cryptographic protocol text keywords include the first target cryptographic protocol text keywords, the second cryptographic protocol text keywords include the second target cryptographic protocol text keywords, the first session text set includes the first target session text set, the second session text set includes the second target session text set, the first target session text set corresponds to the second target session text set, the session fields in the first target session text set belong to the first target cryptographic protocol text keywords, and the session fields in the second target session text set belong to the second target cryptographic protocol text keywords; wherein, determining the keyword association weight between each first session text set and the corresponding second session text set includes: determining the number of keywords of the same cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords; determining the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords; and determining the keyword association weight between the first target session text set and the second target session text set according to the number of keywords of the same cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords, and the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords.

[0125] For example, the secure transaction protection processing system will continue to deeply analyze the first cryptographic protocol text keywords and the second cryptographic protocol text keywords, especially the target keywords therein, and the first target session text set and the second target session text set corresponding to them respectively. The core purpose of this analysis process is to determine the keyword association weight between these text sets.

[0126] First, several key concepts need to be clarified. First, the keywords in the cryptographic protocol text are extracted from the information of the transaction session to be proved, which include specific first target cryptographic protocol text keywords. Similarly, the second cryptographic protocol text keywords are extracted from the transaction session authentication information, including the second target cryptographic protocol text keywords. These keywords are all key terms in the cryptographic protocol and are crucial for understanding the essence of the transaction session.

[0127] The first target session text set and the second target session text set are text collections corresponding to the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords respectively. The session fields in these text collections directly reflect the content of the keywords.

[0128] In the step of determining the keyword association weight, the secure transaction protection processing system will first identify and count the number of identical keywords in the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords. These identical keywords are a direct manifestation of the association between the two text sets.

[0129] Next, the system will calculate the total number of keywords in the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords. This total number covers all the unique items in the two groups of keywords and is the basis for subsequent calculation of the association weight.

[0130] Finally, by comparing the ratio of the number of identical keywords to the total number of keywords, the secure transaction protection processing system can determine the keyword association weight between the first target session text set and the second target session text set. This weight value reflects the similarity and association in the content of the cryptographic protocol between the two text sets. The higher the value, the stronger the association between the two text sets.

[0131] In this way, not only the accuracy of transaction verification is improved, but also an effective means is provided for the secure transaction protection processing system to identify and evaluate the authenticity and security of the transaction session. By deeply analyzing the cryptographic protocol text keywords and their corresponding session text sets, the system can more accurately identify potential fraud behaviors and security risks. Specifically, by determining the keyword association weight, the secure transaction protection processing system can more comprehensively understand the internal characteristics of the transaction session, thus providing more solid technical support for protecting the rights and interests of both parties in the transaction. This analysis method not only enhances the reliability of transaction verification, but also lays a solid foundation for building a more secure and transparent electronic transaction environment.

[0132] It is worth mentioning that zero-knowledge proof is a cryptographic technology that allows one party (the prover) to prove to another party (the verifier) ​​that a proposition is correct without revealing any information other than the correctness of the proposition. In the secure transaction protection processing system, zero-knowledge proof can be used to verify the authenticity of the transaction session information to be proved, while protecting the specific details of the transaction from being leaked. The following are the detailed steps for performing zero-knowledge proof on the transaction session information to be proved based on the target session authentication information:

[0133] 1. Preparation stage:

[0134] The prover (i.e., the holder of the transaction session information to be proved) needs to prepare a secret information about the transaction session, which is only known to the prover.

[0135] What the verifier (i.e., the secure transaction protection processing system or the counterparty) needs to verify is whether the secret information complies with certain predefined rules or conditions, such as the validity of the transaction.

[0136] 2. Construction proof:

[0137] The prover uses a zero-knowledge proof algorithm to combine the secret information and the target session authentication information to construct a mathematical proof. This proof can show that the secret information meets a certain condition (such as the validity of the transaction), but does not reveal the secret information itself.

[0138] In the process of constructing the proof, the prover may use some cryptographic tools, such as hash functions, public key cryptography, etc., to ensure the security and privacy of the proof.

[0139] 3. Verification Proof:

[0140] After receiving the proof, the verifier uses the same zero-knowledge proof algorithm and public information (such as the public key in the target session authentication information) as the prover to verify the validity of the proof.

[0141] The verification process is accomplished through a series of mathematical calculations and comparisons to ensure that the prover actually knows the secret information and that the information meets the predetermined conditions.

[0142] 4. Result determination:

[0143] If the verification is successful, the verifier can be assured that the transaction session information to be verified is authentic and complies with predetermined rules or conditions.

[0144] If the verification fails, it indicates that there may be problems with the transaction session information to be verified and further review or processing is required.

[0145] Throughout the process, zero-knowledge proofs ensure the privacy and security of transaction session information. Even if the verifier can verify the authenticity of the transaction, they cannot learn the specific details of the transaction or the prover's secret information. This feature makes zero-knowledge proofs have broad application prospects in fields such as finance and identity verification.

[0146] To better understand the above technical solution, a specific example is introduced below for illustration.

[0147] Alice and Bob are conducting a financial transaction. Alice wants to prove to Bob that she has a certain amount of funds, and that these funds are legal and not frozen, but she doesn't want to disclose the specific amount or source of the funds. For this purpose, they can use the method of zero-knowledge proof.

[0148] 1. Obtain information and extract results

[0149] Alice and Bob first obtain the transaction session information to be proved and the transaction session authentication information respectively. This information may include the time, location, amount, etc. of the transaction. Then, they use a certain technology (such as natural language processing) to extract the cryptographic protocol text from this information.

[0150] 2. Determine the correlation weight

[0151] Alice and Bob determine the protocol text correlation weight between the two by comparing the cryptographic protocol text in the transaction session information to be proved and the transaction session authentication information. This can help them understand the correlation between the transaction session and the authentication information. Next, they determine the propositional verification embedding semantics of the transaction session information to be proved and the transaction session authentication information, and calculate the first embedding semantics correlation weight accordingly. These weights help to further confirm the relevance between the transaction session and the authentication information. By integrating the protocol text correlation weight and the first embedding semantics correlation weight, Alice and Bob can determine the session correlation weight between the transaction session information to be proved and the transaction session authentication information. This weight reflects the overall correlation between the transaction session and the authentication information.

[0152] 3. Determine the target session authentication information

[0153] Based on the above correlation weight, Bob can screen out the most relevant part of the transaction session authentication information for the transaction session information to be proved, that is, the target session authentication information. This part of the information will be used in the subsequent zero-knowledge proof process.

[0154] 4. Conduct zero-knowledge proof

[0155] Alice now uses the target session authentication information to conduct a zero-knowledge proof on the transaction session information to be proved. The specific steps are as follows:

[0156] 4.1. Alice selects a random number and combines it with her secret information (such as the specific amount or source of funds). Through a specific algorithm, she generates a proof. This proof can show that she indeed has funds that meet the conditions without revealing any specific details;

[0157] 4.2. Alice sends this proof to Bob. Since this proof is constructed based on the principle of zero - knowledge proof, Bob cannot infer Alice's secret information from this proof;

[0158] 4.3. Bob uses the target session authentication information to verify Alice's proof. If the verification is successful, it means that Alice indeed has the funds she claims, and these funds are legal and not frozen. If the verification fails, it means that Alice's proof is invalid.

[0159] In this way, it can be seen how zero - knowledge proof works in financial transactions. Alice can prove to Bob that she has a sum of legal funds without revealing any sensitive information. This proof method not only protects Alice's privacy but also enhances the security and credibility of the transaction. At the same time, by calculating the correlation weight and screening the target session authentication information, Bob can more accurately evaluate the risk and credibility of the transaction.

[0160] Please refer to Figure 2 , the embodiment of this application also provides a secure transaction protection processing system 100, including a processor 111, and a memory 112 and a bus 113 connected to the processor 111. Among them, the processor 111 and the memory 112 complete mutual communication through the bus 113. The processor 111 is used to call program instructions in the memory 112 to execute the above - mentioned secure transaction protection method based on zero - knowledge proof.

[0161] It should also be noted that the term "including", "comprising" or any other variant thereof is intended to cover non - exclusive inclusion, so that a process, method, commodity or system including a series of elements not only includes those elements but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, commodity or system. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, commodity or system including the element.

[0162] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0163] The above are only the embodiments of the present application and are not used to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A secure transaction protection method based on zero-knowledge proof, characterized in that: Applied to a secure transaction protection processing system, the method comprises: Obtaining transaction session information to be verified and transaction session authentication information; Obtaining a cryptographic protocol text extraction result in the transaction session information to be verified and a cryptographic protocol text extraction result in the transaction session authentication information; Determining a protocol text association weight between the transaction session information to be proved and the transaction session authentication information based on a cryptographic protocol text extraction result in the transaction session information to be proved and a cryptographic protocol text extraction result in the transaction session authentication information; Determining the proposition verification embedded semantics of the transaction session information to be proved and the proposition verification embedded semantics of the transaction session authentication information; Determining a first embedded semantic association weight of the transaction session information to be proved and the transaction session authentication information based on the proposition verification embedded semantics of the transaction session information to be proved and the proposition verification embedded semantics of the transaction session authentication information; Determining a session association weight between the transaction session information to be proved and the transaction session authentication information based on the protocol text association weights of the transaction session information to be proved and the transaction session authentication information and the first embedded semantic association weight; Based on the session association weight between the transaction session information to be proved and the transaction session authentication information, determine the target session authentication information from the transaction session authentication information, and perform zero-knowledge proof on the transaction session information to be proved based on the target session authentication information; The cryptographic protocol text extraction result in the transaction session information to be proved includes first cryptographic protocol text data extracted from the transaction session information to be proved, and the cryptographic protocol text extraction result in the transaction session authentication information includes second cryptographic protocol text data extracted from the transaction session authentication information; Wherein, based on the cryptographic protocol text extraction result in the transaction session information to be proved and the cryptographic protocol text extraction result in the transaction session authentication information, determining the protocol text association weight of the transaction session information to be proved and the transaction session authentication information includes: Determine a first statistical tag of a target cryptographic protocol text in the transaction session information to be verified based on the first cryptographic protocol text data; Determine a second statistical tag of the target cryptographic protocol text in the transaction session authentication information based on the second cryptographic protocol text data; Determine, based on the first statistical tag and the second statistical tag, a first tag analysis value and a second tag analysis value of a target cryptographic protocol text in the transaction session information to be verified and the transaction session authentication information; Determine a protocol text label association weight of the transaction session information to be proved and the transaction session authentication information based on a first label analysis value and a second label analysis value of the target cryptographic protocol text in the transaction session information to be proved and the transaction session authentication information; Determining the protocol text association weight of the transaction session information to be proved and the transaction session authentication information based on the protocol text tag association weight of the transaction session information to be proved and the transaction session authentication information; Obtaining the cryptographic protocol text extraction result in the transaction session information to be verified and the cryptographic protocol text extraction result in the transaction session authentication information, including: Perform cryptographic protocol text extraction processing on the transaction session information to be verified and the transaction session authentication information respectively, so as to determine the first cryptographic protocol text data included in the transaction session information to be verified and the second cryptographic protocol text data included in the transaction session authentication information; Based on the first cryptographic protocol text data and the second cryptographic protocol text data, determine the cryptographic protocol text keywords matched by each session field in the transaction session information to be proved and the cryptographic protocol text keywords matched by each session field in the transaction session authentication information; Decomposing the transaction session information to be verified into X first session text sets, and decomposing the transaction session authentication information into X second session text sets, wherein the X first session text sets correspond to the X second session text sets one by one, and X is an integer not less than 1; Determine, based on the cryptographic protocol text keywords matched by each session field in the transaction session information to be proved, the first cryptographic protocol text keywords matched by each session field in each first session text set as the cryptographic protocol text extraction result in the transaction session information to be proved; Based on the cryptographic protocol text keywords matched by each session field in the transaction session authentication information, second cryptographic protocol text keywords matched by each session field in each second session text set are determined as the cryptographic protocol text extraction result in the transaction session authentication information.

2. The method according to claim 1, characterized in that Determining a protocol text association weight between the transaction session information to be proved and the transaction session authentication information based on a cryptographic protocol text extraction result in the transaction session information to be proved and a cryptographic protocol text extraction result in the transaction session authentication information, including: Determine a keyword association weight between each first conversation text set and the corresponding second conversation text set according to the first cryptographic protocol text keyword matched by each conversation field in each first conversation text set and the second cryptographic protocol text keyword matched by each conversation field in each second conversation text set; Determining a conversation topic association weight between the transaction conversation information to be verified and the transaction conversation authentication information according to a keyword association weight between each first conversation text set and a corresponding second conversation text set; Based on the session subject association weights of the transaction session information to be proved and the transaction session authentication information, a protocol text association weight between the transaction session information to be proved and the transaction session authentication information is determined.

3. The method according to claim 2, characterized in that The first cryptographic protocol text keyword includes a first target cryptographic protocol text keyword, the second cryptographic protocol text keyword includes a second target cryptographic protocol text keyword, the first session text set includes a first target session text set, the second session text set includes a second target session text set, the first target session text set corresponds to the second target session text set, a session field in the first target session text set belongs to the first target cryptographic protocol text keyword, and a session field in the second target session text set belongs to the second target cryptographic protocol text keyword; The step of determining the keyword association weights between each first conversation text set and the corresponding second conversation text set includes: Determine the number of keywords of the cryptographic protocol text that are identical to the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword; Determine the total number of keywords of the cryptographic protocol text of the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword; The keyword association weights of the first target conversation text set and the second target conversation text set are determined based on the number of keywords in the cryptographic protocol text that are the same as the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword, and the total number of keywords in the cryptographic protocol text that are the same as the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword.

4. A secure transaction protection processing system, characterized in that: include: A data acquisition module, used to: acquire transaction session information to be verified and transaction session authentication information; Obtaining a cryptographic protocol text extraction result in the transaction session information to be verified and a cryptographic protocol text extraction result in the transaction session authentication information; A weight analysis module, used to determine the protocol text association weight of the transaction session information to be proved and the transaction session authentication information based on the cryptographic protocol text extraction result in the transaction session information to be proved and the cryptographic protocol text extraction result in the transaction session authentication information; Determine the proposition verification embedded semantics of the transaction session information to be proved and the proposition verification embedded semantics of the transaction session authentication information; determine a first embedded semantic association weight of the transaction session information to be proved and the transaction session authentication information based on the proposition verification embedded semantics of the transaction session information to be proved and the proposition verification embedded semantics of the transaction session authentication information; Determining a session association weight between the transaction session information to be proved and the transaction session authentication information based on the protocol text association weights of the transaction session information to be proved and the transaction session authentication information and the first embedded semantic association weight; a security proof module, configured to determine target session authentication information from the transaction session authentication information based on a session association weight between the transaction session information to be proved and the transaction session authentication information, and perform zero-knowledge proof on the transaction session information to be proved based on the target session authentication information; The cryptographic protocol text extraction result in the transaction session information to be proved includes first cryptographic protocol text data extracted from the transaction session information to be proved, and the cryptographic protocol text extraction result in the transaction session authentication information includes second cryptographic protocol text data extracted from the transaction session authentication information; Wherein, based on the cryptographic protocol text extraction result in the transaction session information to be proved and the cryptographic protocol text extraction result in the transaction session authentication information, determining the protocol text association weight of the transaction session information to be proved and the transaction session authentication information includes: Determine a first statistical tag of a target cryptographic protocol text in the transaction session information to be verified based on the first cryptographic protocol text data; Determine a second statistical tag of the target cryptographic protocol text in the transaction session authentication information based on the second cryptographic protocol text data; Determine, based on the first statistical tag and the second statistical tag, a first tag analysis value and a second tag analysis value of a target cryptographic protocol text in the transaction session information to be verified and the transaction session authentication information; Determine a protocol text label association weight of the transaction session information to be proved and the transaction session authentication information based on a first label analysis value and a second label analysis value of the target cryptographic protocol text in the transaction session information to be proved and the transaction session authentication information; Determining the protocol text association weight of the transaction session information to be proved and the transaction session authentication information based on the protocol text tag association weight of the transaction session information to be proved and the transaction session authentication information; Obtaining the cryptographic protocol text extraction result in the transaction session information to be verified and the cryptographic protocol text extraction result in the transaction session authentication information, including: Perform cryptographic protocol text extraction processing on the transaction session information to be verified and the transaction session authentication information respectively, so as to determine the first cryptographic protocol text data included in the transaction session information to be verified and the second cryptographic protocol text data included in the transaction session authentication information; Based on the first cryptographic protocol text data and the second cryptographic protocol text data, determine the cryptographic protocol text keywords matched by each session field in the transaction session information to be proved and the cryptographic protocol text keywords matched by each session field in the transaction session authentication information; Decomposing the transaction session information to be verified into X first session text sets, and decomposing the transaction session authentication information into X second session text sets, wherein the X first session text sets correspond to the X second session text sets one by one, and X is an integer not less than 1; Determine, based on the cryptographic protocol text keywords matched by each session field in the transaction session information to be proved, the first cryptographic protocol text keywords matched by each session field in each first session text set as the cryptographic protocol text extraction result in the transaction session information to be proved; Determine, based on the cryptographic protocol text keywords matched by each session field in the transaction session authentication information, the second cryptographic protocol text keywords matched by each session field in each second session text set as the cryptographic protocol text extraction result in the transaction session authentication information; Wherein, based on the cryptographic protocol text extraction result in the transaction session information to be proved and the cryptographic protocol text extraction result in the transaction session authentication information, determining the protocol text association weight of the transaction session information to be proved and the transaction session authentication information includes: Determine a keyword association weight between each first conversation text set and the corresponding second conversation text set according to the first cryptographic protocol text keyword matched by each conversation field in each first conversation text set and the second cryptographic protocol text keyword matched by each conversation field in each second conversation text set; Determining a conversation topic association weight between the transaction conversation information to be verified and the transaction conversation authentication information according to a keyword association weight between each first conversation text set and a corresponding second conversation text set; Determining a protocol text association weight between the transaction session information to be proved and the transaction session authentication information based on a session subject association weight between the transaction session information to be proved and the transaction session authentication information; The first cryptographic protocol text keyword includes a first target cryptographic protocol text keyword, the second cryptographic protocol text keyword includes a second target cryptographic protocol text keyword, the first session text set includes a first target session text set, the second session text set includes a second target session text set, the first target session text set corresponds to the second target session text set, the session field in the first target session text set belongs to the first target cryptographic protocol text keyword, and the session field in the second target session text set belongs to the second target cryptographic protocol text keyword; The step of determining the keyword association weights between each first conversation text set and the corresponding second conversation text set includes: Determine the number of keywords of the cryptographic protocol text that are identical to the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword; Determine the total number of keywords of the cryptographic protocol text of the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword; The keyword association weights of the first target conversation text set and the second target conversation text set are determined based on the number of keywords in the cryptographic protocol text that are the same as the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword, and the total number of keywords in the cryptographic protocol text that are the same as the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword.

5. A secure transaction protection processing system, characterized in that: It comprises a processor, a memory and a bus connected to the processor; the processor and the memory communicate with each other via the bus; The processor is used to call the computer program in the memory to execute the secure transaction protection method based on zero-knowledge proof as described in any one of claims 1-3.

6. A computer-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the secure transaction protection method based on zero-knowledge proof as described in any one of claims 1-3 is implemented.

Citation Information

Patent Citations

  • Contract information verification method and device based on zero knowledge proof

    CN111931209A

  • Decentralized techniques for validating data in transport layer security and other contexts

    CN114946152A