Secure transaction protection method and system based on zero-knowledge proof

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

CN118917851AActive Publication Date: 2024-11-08GOLDEN NETWORK (BEIJING) E-COMMERCE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional financial transaction verification methods have shortcomings in protecting transaction privacy and security, and are difficult to meet the growing security needs, especially when facing complex and hidden fraudulent means.

Method used

A secure transaction protection method based on zero-knowledge proof is adopted to obtain and analyze the cryptographic protocol text and embedding semantics in transaction session information, multi-dimensional correlation weights are calculated, and the authenticity and legality of transactions are verified using zero-knowledge proof technology.

Benefits of technology

While protecting transaction privacy, it provides a more efficient and reliable transaction verification mechanism, enhances transaction security and transparency, and effectively prevents financial fraud and illegal transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917851A_ABST
    Figure CN118917851A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data analysis, and provides a zero-knowledge proof-based secure transaction protection method and system, which not only comprehensively analyzes the relevance of transaction information from two levels of cryptographic protocol text and transaction semantics, but also protects the transaction privacy through a zero-knowledge proof technology, thereby improving the security of the transaction information. The authenticity and legality of the transaction are proved to a verifier. According to the innovative scheme, the defects of a traditional transaction verification method in the aspects of privacy protection and safety are effectively overcome, and more comprehensive and efficient safety guarantee is provided 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] Based on the session association weight between the transaction session information to be proved and the transaction session authentication information, target session authentication information is determined from the transaction session authentication information, and zero-knowledge proof is performed on the transaction session information to be proved based on the target session authentication information.

[0012] In some optional embodiments, 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;

[0013] 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:

[0014] 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;

[0015] 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;

[0016] 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;

[0017] 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;

[0018] Based on the protocol text tag association weights of the transaction session information to be verified and the transaction session authentication information, the protocol text association weights of the transaction session information to be verified and the transaction session authentication information are determined.

[0019] In some optional embodiments, 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 includes:

[0020] 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;

[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 transaction session information to be proved and the cryptographic protocol text keywords matched by each session field in the transaction session authentication information;

[0022] 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;

[0023] 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;

[0024] 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.

[0025] In some optional embodiments, determining 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 includes:

[0026] 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;

[0027] 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;

[0028] 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.

[0029] In some optional embodiments, 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;

[0030] The step of determining the keyword association weights between each first conversation text set and the corresponding second conversation text set includes:

[0031] 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;

[0032] 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;

[0033] 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.

[0034] A third aspect of the embodiment of the present application provides a secure transaction protection processing system, including:

[0035] A data acquisition module is used to: acquire the transaction session information to be proved and the transaction session authentication information; acquire 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;

[0036] A weight analysis module, configured 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 the 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; determine the session association weight between the transaction session information to be proved and the transaction session authentication information based on the protocol text association weight of the transaction session information to be proved and the transaction session authentication information and the first embedded semantic association weight;

[0037] A security proof module is used 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 to perform zero-knowledge proof on the transaction session information to be proved based on the target session authentication information.

[0038] In some optional embodiments, 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;

[0039] 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:

[0040] 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;

[0041] 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;

[0042] 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;

[0043] 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;

[0044] Based on the protocol text tag association weights of the transaction session information to be verified and the transaction session authentication information, the protocol text association weights of the transaction session information to be verified and the transaction session authentication information are determined.

[0045] In some optional embodiments, 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 includes:

[0046] 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;

[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 transaction session information to be proved and the cryptographic protocol text keywords matched by each session field in the transaction session authentication information;

[0048] 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;

[0049] 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;

[0050] 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;

[0051] 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:

[0052] 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;

[0053] 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;

[0054] 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;

[0055] 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;

[0056] The step of determining the keyword association weights between each first conversation text set and the corresponding second conversation text set includes:

[0057] 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;

[0058] 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;

[0059] 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.

[0060] The third aspect of an embodiment of the present application provides a secure transaction protection processing system, comprising: a processor and a memory and a bus connected to the processor; the processor and the memory communicate with each other through the bus; the processor is used to call the computer program in the memory to execute the above-mentioned secure transaction protection method based on zero-knowledge proof.

[0061] According to a fourth aspect of an embodiment 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 in the embodiment of the present application proposes a financial transaction verification method based on multi-dimensional correlation weight analysis and zero-knowledge proof. The embodiment of the present application not only comprehensively analyzes the correlation of transaction information from the two levels of cryptographic protocol text and transaction semantics, but also proves the authenticity and legality of the transaction to the verifier through zero-knowledge proof technology while protecting the privacy of the transaction. This innovative solution effectively solves the shortcomings 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 drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0064] Figure 1 A flowchart of a secure transaction protection method based on zero-knowledge proof provided in an embodiment of the present application.

[0065] Figure 2 A schematic diagram of a product module of a secure transaction protection processing system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The exemplary embodiments disclosed in the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying 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 in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0067] In order to better understand the above technical scheme, the technical scheme of the present application is described in detail below through 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 scheme of the present application, rather than limitations on the technical scheme of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.

[0068] See also Figure 1 , which is a flowchart of a secure transaction protection method based on zero-knowledge proof provided in an embodiment of the present application. The method is applied to a secure transaction protection processing system, and the specific content description of the method includes S101-S106.

[0069] S101. Acquire transaction session information to be verified and transaction session authentication information; and acquire cryptographic protocol text extraction results in the transaction session information to be verified and cryptographic protocol text extraction results in the transaction session authentication information.

[0070] S102: Determine 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.

[0071] S103: 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.

[0072] S104: 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.

[0073] S105: Determine 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.

[0074] S106. Determine target session authentication information from the transaction session authentication information based on the 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.

[0075] In an online financial transaction scenario, the secure transaction protection processing system is used to ensure the security and credibility of the transaction. 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 proved and the transaction session authentication information. This information may include key data such as the account details of the two parties to the transaction, the transaction amount, and the timestamp. At the same time, the system extracts the cryptographic protocol text from this information. These texts are the specific contents of the encryption protocol used in the transaction process, which are crucial for verifying the security and integrity of the transaction. Next, the system compares the cryptographic protocol text in the transaction session information to be proved 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 proposition verification embedded semantics of the transaction session information to be proved and the transaction session authentication information. These embedded semantics are a deep understanding of the content of the transaction information, which can reflect the nature 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 amount and time. By comparing the proposition verification embedded semantics of the transaction session information to be proved 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 level. Combining 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 proved and the transaction session authentication information. This comprehensive weight provides the system with a comprehensive evaluation indicator for measuring the overall similarity and credibility of the two transaction information. Finally, based on the session association weight, the system selects the target session authentication information from the transaction session authentication information. This information is considered to be highly consistent with the transaction session information to be proved, so it can be used as the basis for zero-knowledge proof of it. Zero-knowledge proof is a cryptographic technology that allows a party to prove the authenticity 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 authenticity and legitimacy of the transaction session information to be proved, thereby ensuring the safe 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 using 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] In order to facilitate the implementation of the above technical solution more clearly, S101-S106 are explained below respectively.

[0077] In S101, the transaction session information to be verified refers to the detailed data and information related to the transaction that needs to be verified during the online financial transaction process. This may 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 legitimacy and authenticity of the transaction. This information is unverified raw data and needs to go through a series of verification steps to ensure its authenticity and security. The transaction session authentication information is auxiliary information used to verify the authenticity of the transaction session information to be verified. It may include previous transaction records related to the transaction to be verified, user behavior pattern analysis data, security assessment results of the transaction environment, etc. This information can be collected and stored by the secure transaction protection processing system for call and analysis when needed. The accuracy and integrity of the transaction session authentication information are crucial to ensure 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 verified and the transaction session authentication information. These text contents describe the specific encryption method, key exchange protocol, digital signature technology, etc. used in the transaction. The purpose of extracting these texts is to analyze whether the cryptographic protocols used in the transaction process meet security standards, whether there are potential security vulnerabilities, and to evaluate the security and credibility of the transaction accordingly.

[0078] In S101, the first task of the secure transaction protection processing system is to obtain two types of key information: transaction session information to be verified and transaction session authentication information. This information is the basis for the subsequent verification process. When a new online financial transaction occurs, the relevant transaction data (such as information of both parties to the transaction, transaction amount, transaction time, etc.) will be captured in real time and used as transaction session information to be verified. This information is original, unprocessed transaction data and requires further verification to ensure its authenticity and security. At the same time, the secure transaction protection processing system retrieves historical data, user behavior patterns, etc. related to the transaction from its database to form transaction session authentication information. This information has been verified and stored in previous transactions and is 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 therein. This is because cryptographic protocols play a vital role in ensuring transaction security. By extracting the cryptographic protocol text, the system can analyze whether the transaction parties use appropriate encryption methods and whether protocols such as key exchange and digital signatures are correctly executed. The system uses special text extraction technology to identify and extract text content related to cryptographic protocols from the transaction session information to be verified and the transaction session authentication information. These text contents describe in detail the key information such as encryption algorithms, key management methods, digital signature technologies, etc. used in transactions. The purpose of extracting these texts is to conduct subsequent protocol text association weight analysis and embedded semantic association weight analysis, so as to comprehensively evaluate the security and credibility of transactions.

[0079] In S102, the protocol text association weight refers to a quantitative indicator obtained after comparative analysis of the cryptographic protocol text in the transaction session information to be proved and the transaction session authentication information in the security transaction protection processing system. This weight reflects the consistency and similarity of the use of cryptographic protocols in the transaction session information to be proved and the transaction session authentication information. Specifically, when the cryptographic protocol text content in the two pieces of information is highly matched, and the encryption method, key management, data integrity protection and other aspects used show a high degree of consistency, the protocol text association weight will increase accordingly. On the contrary, if there is a large difference or inconsistency between the two, the association 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 transaction session information to be proved and the transaction session authentication information extracted in the previous step. The core purpose of this step is to calculate the protocol text association weight between the two pieces of information to evaluate their similarity and consistency. First, the system conducts a detailed comparison of the cryptographic protocol texts in the transaction session information to be proved and the transaction session authentication information. This includes checking whether the encryption algorithms used in the two pieces of information are consistent, whether the key exchange protocols are the same, and whether the data integrity verification methods match. By comparing these key elements one by one, the system can preliminarily determine the similarity of the two pieces of information at the cryptographic protocol level. Next, the system calculates a specific protocol text association weight value based on the comparison results. This value can be a number between 0 and 1, where 1 indicates a complete match and 0 indicates a complete mismatch. The calculation of the weight can involve multiple factors, such as the number of identical protocols, the correctness of protocol use, and the consistency of protocol versions. In addition, the system can also consider some additional weighting factors to more accurately reflect the actual degree of association 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 association weight value. This value will provide an important reference for subsequent session association weight calculations and zero-knowledge proofs. At the same time, it also helps the system to more accurately identify potential security risks and inconsistencies, thereby ensuring the security and credibility of online financial transactions.

[0081] In S103, proposition verification embedded semantics refers to the key semantic information extracted after in-depth analysis and understanding of the core content of the transaction session information and transaction session authentication information to be proved in the secure transaction protection processing system. This information is represented in the form of a numerical feature vector, 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, identity of both parties to 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 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 proposition verification embedding semantics, such as [0.8, 0.3, 0.5, 0.9, 0.2]. Among them, the value of each dimension represents the characteristics of a specific aspect of 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 medium to low level; and so on, other dimensions can represent the time, place, reputation of both parties and other key information of the transaction. Through such a numerical feature vector, the transaction information can be comprehensively and accurately characterized, providing strong data support for subsequent verification work.

[0083] In S103, the security transaction protection processing system will further deepen the analysis of the transaction session information to be proved and the transaction session authentication information to determine their proposition verification embedded semantics. This step is crucial for subsequent transaction verification because it can help the system understand the essence and intention of the transaction more accurately. First, the system uses natural language processing and machine learning technologies to perform text analysis and feature extraction on the transaction session information to be proved and the transaction session authentication information. This includes identifying key information such as transaction type, amount, time, and converting this information into numerical feature vectors. In this process, the system can use algorithms such as word embedding and TF-IDF to extract key features in the text and quantify these features into specific numerical values. Then, the system constructs proposition verification embedded semantics of the transaction session information to be proved and the transaction session authentication information based on the extracted numerical feature vectors. These embedded semantics are represented in the form of multi-dimensional numerical feature vectors, which can fully reflect the core content and key features of the transaction information. For example, a proposition verification embedded semantics can include multiple dimensions such as transaction type, amount, transaction time, etc., and each dimension is represented by a specific numerical value. After determining the proposition verification embedded semantics of the transaction session information to be proved 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 proved, and provides strong data support for 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 understand the nature and intention of transaction information more deeply, and lay a solid foundation for subsequent transaction verification work.

[0084] In S104, the first embedded semantic association weight refers to a quantitative indicator of the similarity and association between the proposition verification embedded semantics based on the transaction session information to be proved and the transaction session authentication information. This weight reflects the degree of match between the two sets of embedded semantics and is an important means of measuring the authenticity of the transaction session information. Specifically, when the embedded semantics of the transaction session information to be proved is highly consistent with the embedded semantics of the transaction session authentication information, the first embedded semantic association weight will increase accordingly, indicating that there is a strong association between the two, thereby increasing the credibility of the transaction information. On the contrary, if the embedded semantics between the two are greatly different, the association weight will be reduced, 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 proposition verification embedded semantics of the transaction session information to be proved and the transaction session authentication information extracted in the previous step 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 proved and the transaction session authentication information. This includes comparing the numerical feature vectors of the two in various dimensions, such as the matching degree of key information such as transaction type, amount, time, etc. By calculating the similarity between these feature vectors, the system can preliminarily evaluate the correlation 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, namely the first embedded semantic association weight, based on these similarity values. This weight value not only takes into account the similarity of a single feature, but also integrates the overall matching degree between all features, so it can more comprehensively reflect the correlation between the transaction session information to be proved and the transaction session authentication information. In addition, the system can also combine other auxiliary information (such as historical transaction records of both parties to the transaction, reputation scores, etc.) to further adjust and optimize the association weight to improve the accuracy of the evaluation. Finally, through the calculation and analysis of step S104, the security transaction protection processing system can obtain a specific first embedded semantic association weight value. This value will provide an important reference for subsequent transaction verification and zero-knowledge proof, helping the system to more accurately judge the authenticity and credibility of transaction information, thereby effectively preventing potential fraud and security risks.

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

[0087] In detail, 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 step to determine the session association weight between the transaction session information to be proved and the transaction session authentication information. This step is crucial for comprehensively evaluating the authenticity and credibility of the 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 step. These two weights represent the similarity and relevance of the transaction information at the cryptographic protocol text level and the transaction intent and semantic level, respectively. Next, the system will use a specific algorithm or model (such as weighted average, machine learning model, etc.) to synthesize these two weight values. This comprehensive process aims to find a single indicator that can comprehensively reflect the overall relevance between the transaction session information to be proved and the transaction session authentication information, namely, the session association weight. When calculating the session association weight, the system may also consider the relative importance of different weights and weight them accordingly. For example, if the consistency of the protocol text is considered more important than the similarity of the transaction intent, the contribution of the protocol text association weight may account for a larger proportion in the final calculation. Finally, through the comprehensive calculation of step S105, the security transaction protection processing system can obtain a specific session association weight value. This value will serve as an important basis for evaluating the overall association and credibility between the transaction session information to be verified 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 verified to be authentic and credible; conversely, if the weight is lower than the threshold, further risk assessment or verification process may be triggered.

[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 is highly correlated and consistent with the transaction session information to be proved. This information is screened out from a large number of transaction session authentication information after a comprehensive analysis and comparison of the transaction to be proved, and is used as a key reference for zero-knowledge proof. The selection of target session authentication information is based on the session association weight, that is, those authentication information that show high similarity and consistency with the transaction to be proved in multiple levels such as protocol text and embedded semantics will be regarded as target session authentication information. This information plays a vital role in the subsequent zero-knowledge proof process because it provides a reliable basis for verifying the authenticity and legitimacy of the transaction to be proved.

[0089] In detail, the secure transaction protection processing system will further use the previously calculated session association weight to accurately filter out the target session authentication information from the transaction session authentication information, and perform zero-knowledge proof on the transaction session information to be proved. This step is a key link to ensure the security and authenticity of the transaction. The system will first review all transaction session authentication information and sort them according to the session association weight between them and the transaction session information to be proved. 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 step is based on a comprehensive consideration of all previous analysis results, ensuring the reliability and validity of the selected information. Once the target session authentication information is determined, the system will use this information to perform zero-knowledge proof. In the process of zero-knowledge proof, the system will not reveal any specific content about the transaction session information to be proved, but will use mathematical and cryptographic methods to prove the high correlation between the transaction to be proved and the target session authentication information. 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 precise screening and zero-knowledge proof of step S106, the secure transaction protection processing system can provide strong security protection for financial transactions, effectively prevent fraud and illegal transactions, and protect the privacy rights and interests of both parties to the transaction.

[0090] It is worth mentioning that the core invention of the embodiment of this application is to perform zero-knowledge proof on the transaction session information to be proved based on the target session authentication information. In this process, the characteristics of zero-knowledge proof are fully utilized, that is, the authenticity of a statement is proved to the verifier without leaking 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 weight calculated in the previous step, accurately select the target session authentication information with the highest association with the transaction session information to be proved from the numerous transaction session authentication information. This step is the basis for the subsequent zero-knowledge proof;

[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 proved, while the verifier only knows the target session authentication information. The prover's task is to prove to the verifier that the transaction session information to be proved is highly correlated with the target session authentication information without revealing any specific transaction details;

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

[0094] (4) Determination of verification results: Finally, the verifier determines the authenticity of the transaction session information to be proved 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 sure that the transaction to be proved is authentic. Otherwise, the transaction will be considered invalid or forged.

[0095] This method can ensure the authenticity and legitimacy 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 resist various potential attacks and frauds, providing a more solid guarantee for financial transactions.

[0096] The technical solution proposed in the embodiment of the present application provides a significant enhancement to the security of financial transactions by comprehensively using cryptographic protocol text extraction, embedded semantic analysis and zero-knowledge proof technology. Specifically, the embodiment of the present application can accurately obtain and analyze the multi-dimensional correlation weights of the transaction session information to be proved and the transaction session authentication information, not only ensuring the consistency of the transaction information from the cryptographic protocol text level, but also deeply exploring the correlation between the transaction intention and the semantic level. This all-round, multi-level verification mechanism greatly improves the accuracy and reliability of transaction verification. More importantly, the embodiment of the present application realizes the privacy protection of the transaction session information to be proved through zero-knowledge proof technology. Without disclosing any sensitive transaction details, the authenticity and legality of the transaction are proved to the verifier, effectively balancing the needs of transaction transparency and privacy protection. This innovation not only helps to prevent financial fraud and illegal transactions, but also provides users with a safer and more private transaction environment, which has far-reaching significance for improving the overall security of financial transactions and user trust.

[0097] In some optional embodiments, 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: determining a first statistical label of the target cryptographic protocol text in the transaction session information to be proved based on the first cryptographic protocol text data; determining a first statistical label of the target cryptographic protocol text in the transaction session information to be proved based on the second cryptographic protocol text data; 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; determining a second .... The method comprises the following steps: determining a second statistical tag of the target cryptographic protocol text in the transaction session authentication information based on the protocol text data; determining a first tag analysis value and a second tag analysis value of the target cryptographic protocol text in the transaction session information to be proved and the transaction session authentication information based on the first statistical tag and the second statistical tag; determining a protocol text tag association weight of the transaction session information to be proved and the transaction session authentication information based on the first tag analysis value and the second tag 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.

[0098] In this embodiment, the secure transaction protection processing system executes the following steps to process the transaction session information to be verified 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 verified. 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 transaction session that has been authenticated before.

[0100] Next, in order to determine the association weight of the protocol text of the transaction session information to be proved and the transaction session authentication information, the secure transaction protection processing system will perform a series of complex analyses. The system first determines the first statistical label for the target cryptographic protocol text in the transaction session information to be proved based on the first cryptographic protocol text data. These labels may include word frequency, number of keyword occurrences, text structure features, etc., which can reflect the core features of the text data.

[0101] Similarly, the system also determines a second statistical tag for the target cryptographic protocol text in the transaction session authentication information. These tags are determined in the same way as the first statistical tag 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 verified and the transaction session authentication information based on the first statistical tag and the second statistical tag. 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 association weight of the protocol text labels of the transaction session information to be verified and the transaction session authentication information based on these label analysis values. This weight is actually a numerical value that indicates the degree of association between the two at the cryptographic protocol text level.

[0104] Finally, based on this protocol text label association weight, the secure transaction protection processing system can determine the final protocol text association weight of the transaction session information to be proved 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 the high correlation between the transaction session information to be proved 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 using technical means such as cryptographic protocol text extraction, label analysis, and association weight calculation, the secure transaction protection processing system provides more comprehensive and in-depth security protection for financial transactions. This not only helps prevent financial fraud, but also enhances users' trust in the transaction system and promotes the healthy development of the financial industry.

[0107] In some optional 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: performing cryptographic protocol text extraction processing on the transaction session information to be proved and the transaction session authentication information respectively 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; 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 based on the first cryptographic protocol text data and the second cryptographic protocol text data; extracting the cryptographic protocol text keywords matched by each session field in the transaction session authentication information from the transaction session information to be proved ... The transaction session authentication information is decomposed into X first session text sets, and the transaction session authentication information is decomposed into X second session text sets, 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; 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 are determined 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, the 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.

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

[0109] First, the secure transaction protection processing system will perform cryptographic protocol text extraction on the transaction session information to be verified and the transaction session authentication information. The purpose of this step is to accurately extract key cryptographic protocol text data from a large amount of transaction information. After the extraction process, the system can determine the first cryptographic protocol text data contained in the transaction session information to be verified and the second cryptographic protocol text data contained 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 verified and the transaction session authentication information based on the extracted first cryptographic protocol text data and the second cryptographic protocol text data. These keywords are the core words in the cryptographic protocol and can accurately reflect the key content and characteristics of the transaction session.

[0111] In order to analyze this information more carefully, the secure transaction protection processing system will split the transaction session information to be verified into X first session text sets, and split the transaction session authentication information into X second session text sets. Here, X is an integer not less than 1, indicating the number of text sets after splitting. These first session text sets and second session text sets are one-to-one corresponding to facilitate 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 the subsequent association weight calculation and zero-knowledge proof.

[0113] Finally, these first cryptographic protocol text keywords and second cryptographic protocol text keywords will be used as cryptographic protocol text extraction results in the transaction session information to be verified 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 proved 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 a more comprehensive security guarantee is provided for financial transactions. By comprehensively using cryptographic protocol text extraction, keyword matching and text disassembly and other technical means, the secure transaction protection processing system can ensure the authenticity and legality of transaction information and effectively prevent financial fraud. At the same time, this method also provides important support for subsequent zero-knowledge proofs, realizing the authenticity and legality of transactions while protecting transaction privacy, further improving the security of financial transactions and user trust.

[0116] In some other preferred embodiments, based on the cryptographic protocol text extraction results in the transaction session information to be proved and the cryptographic protocol text extraction results in the transaction session authentication information, determining the protocol text association weights of the transaction session information to be proved and the transaction session authentication information, including: determining the keyword association weights 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 subject association weights of the transaction session information to be proved and the transaction session authentication information according to the keyword association weights between each first session text set and the corresponding second session text set; determining the protocol text association weights of the transaction session information to be proved and the transaction session authentication information based on the session subject association weights of the transaction session information to be proved 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 transaction session information to be verified and the transaction session authentication information.

[0118] First, the secure transaction protection processing system extracts cryptographic protocol texts from the transaction session information to be verified 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 will conduct an in-depth comparative analysis of the extracted first session text set (from the transaction session information to be verified) and the second session text set (from the transaction session authentication information). In this step, the system will identify and match the cryptographic protocol text keywords in each session field. For example, if the first session text set contains the keyword "public key encryption" and the second session text set also contains the same keyword, then the two text sets are associated at this point.

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

[0121] Subsequently, the system will further determine the conversation topic association weights of the transaction session information to be verified and the transaction session authentication information based on these keyword association weights. This step is to evaluate whether the topic of the entire conversation is consistent, so as to determine whether the transaction session to be verified 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 of the transaction session information to be verified 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, thereby effectively protecting the rights and interests of both parties to the transaction and improving the security of the transaction. At the same time, this correlation analysis method based on cryptographic protocol text also provides a new and more accurate technical means for transaction verification. In this way, by deeply analyzing the cryptographic protocol text of the transaction session, strong technical support is provided for secure transactions. They not only enhance the accuracy and efficiency of transaction verification, but also help build a more secure and reliable electronic transaction environment.

[0124] In the next step, 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 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 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; 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 keyword and the second target cryptographic protocol text keyword; determining the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword; 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 keyword and the second target cryptographic protocol text keyword and the total number of keywords of the cryptographic protocol text between the first target cryptographic protocol text keyword and the second target cryptographic protocol text keyword.

[0125] For example, the security 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 conversation text set and the second target conversation text set corresponding thereto. The core purpose of this analysis process is to determine the keyword association weights between these text sets.

[0126] First, we need to clarify a few key concepts. The first cryptographic protocol text keywords are extracted from the transaction session information to be proved, which contains 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 key terms in the cryptographic protocol and are crucial to understanding the nature of the transaction session.

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

[0128] In the step of determining the keyword association weight, the secure transaction protection processing system first identifies and counts 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 reflection of the association between the two sets of texts.

[0129] Next, the system calculates the total number of keywords of the first target cryptographic protocol text keywords and the second target cryptographic protocol text keywords. This total number covers all unique items in the two sets of keywords and is the basis for the 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 weights of the first target conversation text set and the second target conversation text set. This weight value reflects the similarity and association between the two sets of text sets in the cryptographic protocol content. The higher the value, the stronger the association between the two sets of 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 transaction sessions. By deeply analyzing the cryptographic protocol text keywords and their corresponding session text sets, the system can more accurately identify potential fraudulent behaviors and security risks. In detail, by determining the keyword association weights, the secure transaction protection processing system can more comprehensively understand the inherent characteristics of the transaction session, thereby providing more solid technical support for protecting the rights and interests of both parties to 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 entire process, zero-knowledge proof ensures the privacy and security of transaction session information. Even if the verifier can verify the authenticity of the transaction, it cannot learn the specific content of the transaction or the prover's secret information. This feature makes zero-knowledge proof have broad application prospects in finance, identity authentication and other fields.

[0146] In order to more clearly understand the above technical solution, a specific example is introduced below for description.

[0147] Alice and Bob are conducting a financial transaction. Alice wants to prove to Bob that she has a sum of money and that the money is legal and not frozen, but she does not want to reveal the specific amount or source of the funds. To do this, they can use the zero-knowledge proof method.

[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 some technology (such as natural language processing) to extract the cryptographic protocol text from this information.

[0150] 2. Determine the association weight

[0151] Alice and Bob determine the protocol text association weight between the transaction session information to be proved and the transaction session authentication information by comparing the cryptographic protocol text in the transaction session information to be proved and the transaction session authentication information. This helps them understand the correlation between the transaction session and the authentication information. Next, they determine the proposition verification embedded semantics of the transaction session information to be proved and the transaction session authentication information, and calculate the first embedded semantic association weight based on this. These weights help to further confirm the correlation between the transaction session and the authentication information. Combining the protocol text association weight and the first embedded semantic association weight, Alice and Bob are able to determine the session association 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 association weights, Bob can filter out the part of the transaction session authentication information that is most relevant to the transaction session information to be proved, namely the target session authentication information. This part of 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 perform 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) to generate a proof through a specific algorithm. This proof can show that she does have the qualified funds, but does not reveal 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 through this proof;

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

[0159] Thus, we can see how zero-knowledge proof can play a role in financial transactions. Alice is able to prove to Bob that she has a legitimate amount of 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 association weight and screening the target session authentication information, Bob can more accurately assess the risk and credibility of the transaction.

[0160] Please refer to Figure 2 The embodiment of the present 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. The processor 111 and the memory 112 communicate with each other through the bus 113. The processor 111 is used to call the 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 terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or system including the element.

[0162] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt 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 embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should 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, target session authentication information is determined from the transaction session authentication information, and zero-knowledge proof is performed on the transaction session information to be proved based on the target session authentication information.

2. The method according to claim 1, characterized in that 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; Based on the protocol text tag association weights of the transaction session information to be verified and the transaction session authentication information, the protocol text association weights of the transaction session information to be verified and the transaction session authentication information are determined.

3. The method according to claim 1, characterized in that 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.

4. The method according to claim 3, 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.

5. The method according to claim 4, 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.

6. 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 is used 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 to perform zero-knowledge proof on the transaction session information to be proved based on the target session authentication information.

7. The system according to claim 6, characterized in that 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; Based on the protocol text tag association weights of the transaction session information to be verified and the transaction session authentication information, the protocol text association weights of the transaction session information to be verified and the transaction session authentication information are determined.

8. The system according to claim 6, characterized in that 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; Determining, 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.

9. 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-5.

10. 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-5 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

  • Data privacy transaction method based on zero knowledge proof

    CN115760399A

  • Safety protection system and method for intelligent power distribution terminal

    CN116366326A

  • Product recommendation method and device, equipment and storage medium

    CN117273858A