Intelligent account checking method and device, equipment, product and storage medium

Smart reconciliation is performed through the reconciliation engine matching algorithm model in the blockchain smart contract, which solves the problems of data consistency and long reconciliation cycle in the security capability engine, realizes multi-party real-time smart reconciliation, and improves reconciliation efficiency and Security.

CN118799007APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410517438.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the existing technology, the security capability engine involves a variety of data types, sources and styles, resulting in uneven data integrity and accuracy, difficulty in ensuring data consistency, and a long reconciliation cycle, affecting business real-time and efficiency.

Method used

The reconciliation engine matching algorithm model in the blockchain smart contract is used for intelligent reconciliation. By obtaining transaction data, a text sequence is formed, converted into a word embedding vector, and position coding is integrated to generate a reconciliation engine matching algorithm model for comparison and Verify, flag and fix abnormal transactions, and update models to achieve real-time reconciliation.

Benefits of technology

It realizes real-time intelligent reconciliation using multi-party security capabilities, obtains trustworthy and traceable comprehensive control, improves the efficiency, accuracy and security of the reconciliation process, simplifies data consistency guarantee and shortens the reconciliation cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799007A_ABST
    Figure CN118799007A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent account checking method, device and equipment, a product and a storage medium. The method comprises the following steps: acquiring transaction data uploaded by a calling party, a security capability engine party and a security capability provider; and calling an account checking engine matching algorithm model in the block chain intelligent contract by using the transaction data to perform intelligent account checking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain reconciliation technology, and in particular to an intelligent reconciliation method, apparatus, intelligent reconciliation equipment, product and storage medium. Background Art

[0002] The security capability engine integrates security tools from multiple vendors to connect scattered security capabilities. At the same time, it introduces orchestration technology to combine and orchestrate multiple types of security capabilities according to certain logical relationships to meet the security needs of complex scenarios and realize on-demand calling of capabilities. Business callers and the security capability engine, as well as the security capability engine and security tool vendors, usually call reconciliation through interfaces. Since the security capability engine involves many types, sources, and styles of data, the integrity and accuracy vary, the consistency of data time nodes provided by various systems or parties is weak, the reconciliation function is not felt by the back end, and the data consistency is difficult to guarantee through interface calls for reconciliation, and the reconciliation cycle is long. Summary of the invention

[0003] In order to solve the existing technical problems, the embodiments of the present application provide an intelligent reconciliation method, device, equipment, product and storage medium.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides an intelligent reconciliation method, the method comprising:

[0006] Obtain transaction data uploaded by the caller, security capability engine, and security capability provider;

[0007] The transaction data is used to call the reconciliation engine matching algorithm model in the blockchain smart contract to perform intelligent reconciliation.

[0008] In the above solution, the transaction field corresponding to the transaction data includes at least one of the following:

[0009] Transaction information overview;

[0010] Decentralized Identity (DID) for business parties;

[0011] Security capability engine DID;

[0012] Security capability provider DID;

[0013] Security tool DID;

[0014] Security capability DID;

[0015] Number of calls;

[0016] Trading hours;

[0017] Transaction amount.

[0018] In the above scheme, the method further includes:

[0019] Using the transaction fields corresponding to the transaction data to form a text sequence corresponding to the transaction data;

[0020] Convert the text sequence to obtain a word embedding vector corresponding to the text sequence;

[0021] Determining a position code of the transaction field;

[0022] Adding the position code to the word embedding vector to obtain a fusion vector corresponding to the text sequence;

[0023] The reconciliation engine matching algorithm model is generated based on the fusion vector.

[0024] In the above solution, the conversion process of the text sequence to obtain the word embedding vector corresponding to the text sequence includes:

[0025] The text sequence is converted through a preset lightweight pre-training model (BertTiny) to obtain a word embedding vector corresponding to the text sequence.

[0026] In the above solution, the generating of the reconciliation engine matching algorithm model based on the fusion vector includes:

[0027] Inputting the fused vector into a preset generative pre-trained (Transformer) encoding model and outputting a first vector;

[0028] The first vector is mapped to the reconciliation rule in the reconciliation rule library in the blockchain smart contract to generate the reconciliation engine matching algorithm model.

[0029] In the above solution, the step of inputting the fused vector into a preset generative pre-trained Transformer encoding model and outputting a first vector includes:

[0030] Inputting the fused vector into the Transformer encoding model for encoding processing to obtain a feature vector corresponding to the fused vector;

[0031] The feature vector is input into a preset neural network model for processing to obtain the first vector.

[0032] In the above solution, the reconciliation rule includes at least one of the following:

[0033] Risk identification security capability reconciliation rules;

[0034] Security defense security capability reconciliation rules;

[0035] Security capability reconciliation rules for security testing;

[0036] Security response security capability reconciliation rules;

[0037] Security capability reconciliation rules for security recovery.

[0038] In the above scheme, the method further comprises:

[0039] Compare and verify the transaction data with the reconciliation rules in the smart contract to obtain the reconciliation result of the transaction data;

[0040] If the reconciliation result shows that the transaction data is an abnormal transaction, marking the transaction data as abnormal processing data;

[0041] Performing repair processing on the abnormal processing data to obtain first data;

[0042] Using the first data to train the account reconciliation engine matching algorithm model to obtain a trained account reconciliation engine matching algorithm model;

[0043] The trained reconciliation engine matching algorithm model is used to update the reconciliation engine matching algorithm model.

[0044] The embodiment of the present application also provides an intelligent reconciliation device, including:

[0045] An acquisition unit, used to acquire transaction data uploaded by the caller, the security capability engine, and the security capability provider;

[0046] The reconciliation unit is used to use the transaction data to call the reconciliation engine matching algorithm model in the blockchain smart contract to perform intelligent reconciliation.

[0047] The embodiment of the present application also provides an intelligent reconciliation device, comprising: a processor and a memory for storing a computer program that can be run on the processor,

[0048] Wherein, the processor is used to implement any step of the above-mentioned method when running the computer program.

[0049] An embodiment of the present application also provides a computer program product, which implements any step of the above-mentioned method when executed by a processor.

[0050] The embodiment of the present application also provides a computer-readable storage medium storing executable instructions for implementing any step of the above-described method when executed by a processor.

[0051] The embodiments of the present application provide an intelligent reconciliation method, apparatus, intelligent reconciliation equipment, product and storage medium, wherein the method comprises: obtaining transaction data uploaded by the caller, the security capability engine party and the security capability provider; using the transaction data to call the reconciliation engine matching algorithm model in the blockchain smart contract for intelligent reconciliation. The solution of the embodiments of the present application uses the transaction data uploaded by the caller, the security capability engine party and the security capability provider to call the reconciliation engine matching algorithm model in the blockchain smart contract for intelligent reconciliation, that is, using blockchain technology to enable the business caller to realize multi-party real-time intelligent reconciliation of the call and status of the underlying security tool through the security capability engine, thereby obtaining reliable and traceable comprehensive management and control. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of an intelligent reconciliation method process is provided for an embodiment of the present application;

[0053] Figure 2 This is a schematic diagram of an embodiment of the present application that implements real-time reconciliation of bills between three parties based on a blockchain smart contract;

[0054] Figure 3 A schematic diagram of the format of the DID identification in the embodiment of the present application;

[0055] Figure 4 A schematic diagram of using security tools to achieve intelligent reconciliation in an embodiment of the present application;

[0056] Figure 5 A schematic diagram of the effective management and control of the entire life cycle from online to offline using security tools in an embodiment of the present application;

[0057] Figure 6 A schematic diagram of the logic of the entire reconciliation process for effectively controlling the entire life cycle of the security tool in the embodiment of the present application;

[0058] Figure 7 A schematic diagram of the training process of the model of the embodiment of the present application;

[0059] Figure 8 A schematic diagram of the prediction process of the model of the embodiment of the present application;

[0060] Fig. 9 A schematic diagram of an intelligent reconciliation device according to an embodiment of the present application;

[0061] Fig.10 A schematic diagram of the hardware entity structure of the intelligent reconciliation device in an embodiment of the present application. DETAILED DESCRIPTION

[0062] The security capability engine integrates security tools from multiple vendors, connects scattered security capabilities, and introduces orchestration technology to combine and orchestrate multiple types of security capabilities according to certain logical relationships to meet the security needs of complex scenarios and implement on-demand capability calls. Business callers and the security capability engine, as well as the security capability engine and security tool vendors, usually use interface calls to reconcile accounts.

[0063] In response to the real-time reconciliation requirements of the security capability engine's multi-party capability calls, we carry out research on intelligent reconciliation technology.

[0064] The results of this solution are based on blockchain technology, which enables multi-party intelligent reconciliation of security capability calls between the "N businesses-1 security capability engine-N security tools" call chain. According to real business scenarios, reconciliation is achieved between the caller and the capability engine, the capability engine and the security tool, and the caller, the capability engine and the security tool.

[0065] The existing interface call reconciliation process only has the following steps:

[0066] 1. Collect reconciliation data: First, you need to obtain the data that needs to be reconciled from the system. This data can be transaction records, call times, payment status, etc. The way to collect data can be obtained through the interface call provided by the system.

[0067] 2. Reconciliation data matching: Next, the collected reconciliation data is matched. The purpose of reconciliation data matching is to confirm whether the data between the two systems is consistent. The matching method can be determined according to specific business needs, such as order number, transaction time, etc.

[0068] 3. Abnormal data processing: During the reconciliation process, data inconsistencies or abnormalities may occur. These abnormal data need to be processed. The processing method can be through manual processing or automatic processing by the system.

[0069] 4. Confirmation of reconciliation results: After the reconciliation process is completed, the reconciliation results need to be confirmed. The reconciliation results can be confirmed by generating a reconciliation report or recording the reconciliation results. The reconciliation report can include an overview of the reconciliation results, detailed information on abnormal data, and processing results.

[0070] 5. Abnormal data processing tracking: For abnormal data found, tracking processing is required. This includes analyzing the causes of abnormal data, finding out the root cause of the problem, and taking appropriate measures to resolve the anomaly.

[0071] Through the above steps, the system interface calling reconciliation process can ensure the data consistency between systems as much as possible and ensure the accuracy and completeness of transactions.

[0072] Because the security capability engine involves many types of data, multiple sources, and multiple styles, the completeness and accuracy are uneven, the time nodes of data provided by various systems or parties are weakly consistent, and the reconciliation function is located at the back and cannot be felt by the front end.

[0073] The specific manifestations are as follows:

[0074] 1. Large amount of data: System interface call reconciliation involves a large amount of data. Especially in large-scale systems, the amount of data may be very large, which will increase the complexity and time-consuming of reconciliation.

[0075] 2. Data consistency is difficult to ensure: Since system interface call reconciliation usually involves data comparison between multiple systems, data consistency between different systems is difficult to ensure. There may be data loss, delayed updates, etc., resulting in inaccurate reconciliation results.

[0076] 3. Long reconciliation cycle: Since the system interface call reconciliation needs to process a large amount of data and abnormal situations, the reconciliation cycle is often relatively long, which may affect the real-time and efficiency of the business.

[0077] Aiming at the complex application scenarios of the security capability engine, this application uses a real-time intelligent reconciliation method based on the multi-party security capability of blockchain technology. This method demonstrates its advancedness in decentralized trust mechanism, data immutability, smart contract automatic execution, scalability, real-time reconciliation and traceability, data privacy protection, etc. This method can improve the efficiency, accuracy and security of the reconciliation process of stakeholders in the security capability engine, bringing huge value and potential to various industries and organizations.

[0078] Based on this, the embodiment of the present application provides an intelligent reconciliation method, which is applied to an intelligent reconciliation device. The functions implemented by the method can be implemented by calling program codes by a processor in the intelligent reconciliation device. Of course, the program codes can be stored in a computer storage medium. It can be seen that the intelligent reconciliation device at least includes a processor and a storage medium. As an example, the intelligent reconciliation device can be a mobile phone, a computer, a terminal, an information transceiver device, a tablet device, a personal digital assistant, etc.

[0079] Figure 1 A schematic diagram of an intelligent reconciliation method process is provided for an embodiment of the present application; Figure 1 As shown, the method includes:

[0080] Step 101: Acquire transaction data uploaded by the caller, the security capability engine, and the security capability provider;

[0081] Step 102: Use the transaction data to call the reconciliation engine matching algorithm model in the blockchain smart contract to perform intelligent reconciliation.

[0082] In step 101, the caller may be determined according to actual conditions, and is not limited here. As an example, the caller may be a business front desk.

[0083] The transaction data can be determined according to actual conditions and is not limited here. As an example, the transaction fields corresponding to the transaction data may include at least one of the following: transaction information overview; business party DID; security capability engine party DID; security capability provider DID; security tool DID; security capability DID; number of calls; transaction time; transaction amount.

[0084] In actual applications, during the process of calling the underlying security capabilities of various businesses at the business front desk, information may be tampered with and bills may be inconsistent between security tools, security capability bases, and business front desks due to network problems or other factors. Intelligent reconciliation realizes real-time matching and reconciliation of bills between the three parties based on blockchain smart contracts, finds abnormal bills, corrects them in time, and finally forms a consistent bill through the consensus of the three parties. Among them, the business front desk (caller), security capability engine party and security capability provider all upload transaction data to the transaction ledger. The specific transaction fields include but are not limited to: transaction information overview, business party DID, security capability engine party DID, security capability provider DID, security tool DID, security capability DID, number of calls, transaction time, transaction amount (permit points), transaction number, transaction hash, etc. The transaction information summary is used to characterize the transaction identifier corresponding to any transaction data, and the transaction identifiers of the transaction data corresponding to the three parties of the same transaction are the same. The specific calculation is Hash (business party DID + security capability engine party DID + security capability provider DID + security tool DID + security capability DID + transaction number), and Hash() represents hash operation.

[0085] In step 102, the blockchain smart contract and the reconciliation engine matching algorithm model can be determined according to actual conditions, which is not limited here. As an example, the blockchain smart contract can be expanded and adjusted according to specific needs and business rules. The reconciliation engine matching algorithm model can be flexibly configured according to actual conditions to meet the needs of different industries and transaction scenarios. The flexibility and scalability of the blockchain smart contract allows the reconciliation process to be adjusted and optimized as the business changes.

[0086] In one embodiment, the transaction field corresponding to the transaction data includes at least one of the following:

[0087] Transaction information overview;

[0088] Business party decentralized identity DID;

[0089] Security capability engine DID;

[0090] Security capability provider DID;

[0091] Security tool DID;

[0092] Security capability DID;

[0093] Number of calls;

[0094] Trading hours;

[0095] Transaction amount;

[0096] Transaction number;

[0097] Transaction hash.

[0098] In this embodiment, the transaction amount can be determined according to actual conditions and is not limited here. As an example, the transaction amount can include permission points.

[0099] In actual applications, the transaction fields corresponding to the transaction data include, but are not limited to: transaction information overview, business party DID, security capability engine party DID, security capability provider DID, security tool DID, security capability DID, number of calls, transaction time, transaction amount (license points), transaction number, transaction hash, etc. The transaction information summary is used to characterize the transaction identifier corresponding to any transaction data, and the transaction identifiers of the transaction data corresponding to the three parties of the same transaction are the same, which is specifically calculated as Hash (business party DID + security capability engine party DID + security capability provider DID + security tool DID + security capability DID + transaction number), and Hash() represents a hash operation.

[0100] When the security tool is registered and launched, a digital identity is issued for the security tool using blockchain technology and following the W3C DID specification. The blockchain assigns it a unique distributed digital identity DID as the unique identifier of the subject in the reconciliation information flow. The DID identifier is a string in a specific format that is used to represent the digital identity of an entity, where the entity can be a person, machine, or object. The format of the DID identifier includes Scheme, which represents the Uniform Resource Identifier (URI) of the DID, and the default is did; DID Method represents the DID method, which is used to indicate which set of schemes (methods) are used to define and operate this DID identifier, and DID Method-Specific Identifier represents the unique identification string under the DID method.

[0101] Ultimately, an information database centered around security tools is formed to support convenient and reliable evaluation of the use of security tools.

[0102] In one embodiment, the method further comprises:

[0103] Using the transaction fields corresponding to the transaction data to form a text sequence corresponding to the transaction data;

[0104] Convert the text sequence to obtain a word embedding vector corresponding to the text sequence;

[0105] Determining a position code of the transaction field;

[0106] Adding the position code to the word embedding vector to obtain a fusion vector corresponding to the text sequence;

[0107] The reconciliation engine matching algorithm model is generated based on the fusion vector.

[0108] In this embodiment, the specific formation process of using the transaction fields corresponding to the transaction data to form the text sequence corresponding to the transaction data can be determined according to actual conditions and is not limited here. As an example, the text sequence corresponding to the transaction data formed by using the transaction fields corresponding to the transaction data can be formed by forming a text sequence of data such as transaction information overview, business party DID, security capability engine party DID, security capability provider DID, security tool DID, security capability DID, number of calls, transaction time, transaction amount (license points), etc.

[0109] The specific conversion process of converting the text sequence to obtain the word embedding vector corresponding to the text sequence can be determined according to the actual situation and is not limited here. As an example, the conversion process of the text sequence to obtain the word embedding vector corresponding to the text sequence may include converting the text sequence through a preset lightweight pre-trained model BertTiny to obtain the word embedding vector corresponding to the text sequence.

[0110] The specific determination process in determining the position coding of the transaction field can be determined according to actual conditions and is not limited here. As an example, the determination of the position coding of the transaction field can determine the position coding of the transaction field by a preset algorithm; wherein the preset algorithm can be determined according to actual conditions and is not limited here. As an example, the preset algorithm can refer to the following formulas (1) and (2):

[0111]

[0112]

[0113] In formulas (1) and (2), pos is the position of the token in the text sequence after the input text sequence tokenizer is used, and d model represents the vector dimension of each head, and i represents the position in the head vector. The calculated position encoding is added to the word embedding vector of the above text sequence to obtain a new vector that combines the word information and position information, and the new vector is used as the input of the Transformer model.

[0114] The specific generation process of generating the reconciliation engine matching algorithm model based on the fusion vector can be determined according to the actual situation and is not limited here. As an example, the generation of the reconciliation engine matching algorithm model based on the fusion vector may include: inputting the fusion vector into a preset generative pre-trained Transformer encoding model and outputting a first vector; mapping the first vector to the reconciliation rule in the reconciliation rule library in the blockchain smart contract to generate the reconciliation engine matching algorithm model.

[0115] In one embodiment, the converting the text sequence to obtain a word embedding vector corresponding to the text sequence includes:

[0116] The text sequence is converted through the preset lightweight pre-training model BertTiny to obtain the word embedding vector corresponding to the text sequence.

[0117] In this embodiment, the lightweight pre-training model can be determined according to actual conditions and is not limited here.

[0118] In practical applications, the text sequence is converted into a word embedding vector through the lightweight pre-training model BertTiny.

[0119] In one embodiment, generating the reconciliation engine matching algorithm model based on the fusion vector includes:

[0120] Inputting the fused vector into a preset generative pre-trained Transformer encoding model and outputting a first vector;

[0121] The first vector is mapped to the reconciliation rule in the reconciliation rule library in the blockchain smart contract to generate the reconciliation engine matching algorithm model.

[0122] In this embodiment, the specific process of inputting the fusion vector into a preset generative pre-trained Transformer coding model and outputting the first vector can be determined according to actual conditions and is not limited here. As an example, the specific process of inputting the fusion vector into a preset generative pre-trained Transformer coding model and outputting the first vector may include: inputting the fusion vector into the Transformer coding model for coding processing to obtain a feature vector corresponding to the fusion vector; and inputting the feature vector into a preset neural network model for processing to obtain the first vector.

[0123] The first vector is mapped to the reconciliation rule in the reconciliation rule library in the blockchain smart contract to generate the reconciliation engine matching algorithm model. The reconciliation rule can be determined according to the actual situation and is not limited here. As an example, the reconciliation rule can include at least one of the following: risk identification security capability reconciliation rule; security defense security capability reconciliation rule; security detection security capability reconciliation rule; security response security capability reconciliation rule; security recovery security capability reconciliation rule.

[0124] In actual applications, participants configure reconciliation rules through the rule engine and intelligently define reconciliation conditions and operations according to business needs. Reconciliation rules currently include risk identification security capability reconciliation rules, security defense security capability reconciliation rules, security detection security capability reconciliation rules, security response security capability reconciliation rules, and security recovery security capability reconciliation rules. The encoder architecture based on the muti-head self-attention transformer implements the intelligent matching algorithm of reconciliation rules and generates the reconciliation engine matching algorithm model.

[0125] In one embodiment, the step of inputting the fused vector into a preset generative pre-trained Transformer encoding model and outputting a first vector comprises:

[0126] Inputting the fused vector into the Transformer encoding model for encoding processing to obtain a feature vector corresponding to the fused vector;

[0127] The feature vector is input into a preset neural network model for processing to obtain the first vector.

[0128] The neural network model can be determined according to actual conditions and is not limited here. As an example, the neural network model can be a convolutional neural network model (CNN). The neural network model can include a fully connected layer, a Softmax activation function, etc.

[0129] In practical applications, the feature vector of the fusion vector processed by Transformer Encoder is sent to a fully connected layer, and processed by Softmax activation function to map the output representation vector to five reconciliation rule labels. Among them, the cross entropy loss function and Adam optimizer are selected to update the model parameters. When the model starts training, the sample balanced data set is grouped in a 3:1:1 ratio, 60% as a training set, 20% as a validation set, and the remaining 20% ​​as a test set for training. According to the performance of the model on the validation set, the learning rate, batch size, number of encoder layers, etc. are adjusted to optimize the model performance.

[0130] After training is completed, the model is deployed to actual applications to predict reconciliation rules for new transaction data.

[0131] In one embodiment, the reconciliation rule includes at least one of the following:

[0132] Risk identification security capability reconciliation rules;

[0133] Security defense security capability reconciliation rules;

[0134] Security capability reconciliation rules for security testing;

[0135] Security response security capability reconciliation rules;

[0136] Security capability reconciliation rules for security recovery.

[0137] In actual applications, reconciliation rules currently include risk identification security capability reconciliation rules, security defense security capability reconciliation rules, security detection security capability reconciliation rules, security response security capability reconciliation rules, and security recovery security capability reconciliation rules. The encoder architecture based on the muti-head self-attention transformer implements the intelligent matching algorithm of reconciliation rules.

[0138] In one embodiment, the method further comprises:

[0139] Compare and verify the transaction data with the reconciliation rules in the smart contract to obtain the reconciliation result of the transaction data;

[0140] If the reconciliation result shows that the transaction data is an abnormal transaction, marking the transaction data as abnormal processing data;

[0141] Performing repair processing on the abnormal processing data to obtain first data;

[0142] Using the first data to train the account reconciliation engine matching algorithm model to obtain a trained account reconciliation engine matching algorithm model;

[0143] The trained reconciliation engine matching algorithm model is used to update the reconciliation engine matching algorithm model.

[0144] In this embodiment, the transaction data is compared and verified with the reconciliation rules in the smart contract to obtain the reconciliation result of the transaction data. It can be understood that the transaction data is compared and verified with the reconciliation rules in the smart contract to obtain the reconciliation result of whether the transaction data is an abnormal or normal transaction, thereby ensuring the consistency and accuracy of the transaction data.

[0145] When the reconciliation result indicates that the transaction data is an abnormal transaction, marking the transaction data as abnormal processing data can be understood as when the smart contract detects an inconsistency or abnormal transaction, the system will automatically mark the transaction data as abnormal processing data, add it to the abnormal data pool, and subsequently introduce rule repair operations.

[0146] The performing repair processing on the exception processing data to obtain the first data may be understood as performing a rule repair operation on the exception processing data to obtain the first data.

[0147] Using the first data to train the reconciliation engine matching algorithm model to obtain the trained reconciliation engine matching algorithm model can be understood as using new data from the abnormal data pool to retrain the model to obtain the trained reconciliation engine matching algorithm model.

[0148] As an example, the effective management and control of the entire reconciliation process logic of the security tool throughout its life cycle includes: smart contract writing, data uploading and sharing, reconciliation rule configuration, data comparison and verification, exception handling and alarm, result recording and query. Among them, smart contract programming: participants need to write smart contracts to define reconciliation rules and logic, including data comparison conditions and operations. Data uploading and sharing: participants upload transaction data to the blockchain network to ensure that all parties can share and access the latest transaction data. Reconciliation rule configuration: participants configure reconciliation rules through the rule engine and intelligently define reconciliation conditions and operations according to business needs. Reconciliation rules currently include risk identification security capability reconciliation rules, security defense security capability reconciliation rules, security detection security capability reconciliation rules, security response security capability reconciliation rules, and security recovery security capability reconciliation rules. The encoder architecture based on the muti-head self-attention transformer implements the intelligent matching algorithm of reconciliation rules.

[0149] In actual applications, smart contracts compare and verify data according to preset reconciliation rules to ensure the consistency and accuracy of transaction data. When smart contracts detect inconsistent or abnormal transactions, the system will automatically mark the transaction data as abnormal processing data and add it to the abnormal data pool. Subsequently, rule repair operations will be introduced, that is, the model will be retrained using new data from the abnormal data pool, and the reconciliation rule library and intelligent matching model in the smart contract will be improved and upgraded. The abnormal data will be re-matched with the reconciliation rules for secondary reconciliation. If there is still an inconsistency in reconciliation, the system will trigger an early warning, issue an alarm notification, and introduce manual reconciliation. Smart contracts record the reconciliation results on the blockchain, and all parties can query and verify the reconciliation results.

[0150] This embodiment is a multi-party real-time intelligent reconciliation for the security capability engine. It uses blockchain technology to enable the business caller to implement multi-party real-time intelligent reconciliation of the call and status of the underlying security tools through the security capability engine, and obtain reliable and traceable comprehensive management and control.

[0151] For ease of understanding, the intelligent reconciliation method exemplified here is specifically a multi-party real-time intelligent reconciliation method for a security capability engine.

[0152] During the process of calling the underlying security capabilities by various businesses at the business front desk, information may be tampered with and bills may be inconsistent between security tools, security capability bases, and business front desks due to network problems or other factors. Intelligent reconciliation realizes real-time matching and reconciliation of bills between the three parties based on blockchain smart contracts, finds abnormal bills, corrects them in time, and finally forms a consistent bill through the consensus of the three parties. Among them, the business front desk (caller), security capability engine party and security capability provider all upload transaction data to the transaction ledger. The specific transaction fields include but are not limited to: transaction information overview, business party DID, security capability engine party DID, security capability provider DID, security tool DID, security capability DID, number of calls, transaction time, transaction amount (permit points), transaction number, transaction hash, etc. The transaction information summary is used to characterize the transaction identifier corresponding to any transaction data, and the transaction identifiers of the transaction data corresponding to the three parties of the same transaction are the same. The specific calculation is Hash (business party DID + security capability engine party DID + security capability provider DID + security tool DID + security capability DID + transaction number), and Hash() represents hash operation. In addition, smart contracts can be expanded and adjusted according to specific needs and business rules. Reconciliation rules can be flexibly configured according to actual conditions to meet the needs of different industries and transaction scenarios. The flexibility and scalability of smart contracts allow the reconciliation process to be adjusted and optimized as the business changes. Figure 2 To understand, Figure 2 This is a schematic diagram of an embodiment of the present application that implements real-time reconciliation of bills between three parties based on a blockchain smart contract.

[0153] When the security tool is registered and launched, a digital identity is issued for the security tool using blockchain technology and following the W3C DID specification. The blockchain assigns it a unique distributed digital identity DID as the unique identifier of the subject in the reconciliation information flow. The DID identifier is a string in a specific format that is used to represent the digital identity of an entity, which can be a person, machine, or object. The format of the DID identifier is as follows: Figure 3 As shown, Figure 3 A schematic diagram of the format of the DID identification in an embodiment of the present application.

[0154] Among them, Scheme represents the uniform resource locator (URI) of DID, and the default is did; DID Method represents the DID method, which is used to indicate which scheme (method) is used to define and operate this DID identifier, and DID Method-Specific Identifier represents the unique identification string under the DID method.

[0155] Finally, a security tool-centric information base is formed to support convenient and reliable evaluation of the use of security tools. Figure 4 To understand, Figure 4 A schematic diagram of using security tools to implement intelligent reconciliation in an embodiment of the present application.

[0156] Through intelligent reconciliation of key links such as tool status, license / authorization, and call volume, effective management and control of the entire life cycle of security tools from online service provision, capability call, license authorization, status change, capability evaluation to final offline. Figure 5 To understand, Figure 5 This is a schematic diagram of the effective management and control of the entire life cycle from online to offline using security tools in an embodiment of the present application.

[0157] Effective management of the entire life cycle of security tools The entire reconciliation process logic includes: smart contract writing, data uploading and sharing, reconciliation rule configuration, data comparison and verification, exception handling and alarm, result recording and query. Figure 6 As shown, Figure 6 A schematic diagram of the logic of the entire reconciliation process for effectively managing the entire life cycle of the security tool in an embodiment of the present application.

[0158] The key points involved are described as follows:

[0159] 1) Smart contract programming: Participants need to write smart contracts to define reconciliation rules and logic, including conditions and operations for data comparison.

[0160] 2) Data upload and sharing: Participants upload transaction data to the blockchain network to ensure that all parties can share and access the latest transaction data.

[0161] 3) Reconciliation rule configuration: Participants configure reconciliation rules through the rule engine and intelligently define reconciliation conditions and operations according to business needs. Reconciliation rules currently include risk identification security capability reconciliation rules, security defense security capability reconciliation rules, security detection security capability reconciliation rules, security response security capability reconciliation rules, and security recovery security capability reconciliation rules. The description of the intelligent matching algorithm for reconciliation rules based on the encoder architecture of the muti-head self-attention transformer is as follows:

[0162] First, the transaction information overview, business party DID, security capability engine party DID, security capability provider DID, security tool DID, security capability DID, number of calls, transaction time, transaction amount (license points) and other data are formed into a text sequence, which is converted into a word embedding vector through the lightweight pre-training model BertTiny.

[0163] Secondly, position encoding is performed in the encoder architecture. In order to retain the position information in the above text sequence, the position encoding is added to the word embedding vector. The position encoding is obtained by calculation, which can be referred to the previous formulas (1) and (2).

[0164] Among them, pos is the position of the token in the text sequence after the input text sequence tokenizer, d model represents the vector dimension of each head, and i represents the position in the head vector. The calculated position encoding is added to the word embedding vector of the above text sequence to obtain a new vector that combines the word information and position information, and the new vector is used as the input of the Transformer encoding model.

[0165] Finally, the feature vector processed by Transformer Encoder is sent to a fully connected layer and processed using the Softmax activation function to map the output representation vector to five reconciliation rule labels. Among them, the cross entropy loss function and Adam optimizer are selected to update the model parameters. When the model starts training, the sample balanced data set is grouped in a 3:1:1 ratio, 60% as a training set, 20% as a validation set, and the remaining 20% ​​as a test set for training. According to the performance of the model on the validation set, the learning rate, batch size, number of encoder layers, etc. are adjusted to optimize the model performance.

[0166] After training is completed, the model is deployed to actual applications to predict reconciliation rules for new transaction data. The model training process and prediction process are described as follows: Figure 7 He Ru Figure 8 As shown, Figure 7 A schematic diagram of the training process of the model of the embodiment of the present application; Figure 8 A schematic diagram of the prediction process of the model of the embodiment of the present application.

[0167] 4) Data comparison and verification: Smart contracts perform data comparison and verification based on preset reconciliation rules to ensure the consistency and accuracy of transaction data.

[0168] 5) Exception handling and alarms: When the smart contract detects an inconsistent or abnormal transaction, the system will automatically mark the transaction data as abnormal processing data and add it to the abnormal data pool. Subsequently, the rule repair operation is introduced, that is, the model is retrained using new data from the abnormal data pool, and the reconciliation rule library and intelligent matching model in the smart contract are improved and upgraded. The abnormal data is re-matched with the reconciliation rules for secondary reconciliation. If the reconciliation inconsistency still occurs, the system warning is triggered, and an alarm notification is issued to introduce manual reconciliation.

[0169] 6) Result recording and query: The smart contract records the reconciliation results on the blockchain, and all parties can query and verify the reconciliation results.

[0170] This application proposes a multi-party real-time intelligent reconciliation method for a security capability engine, which uses blockchain technology to enable business callers to implement multi-party real-time intelligent reconciliation of the call and status of underlying security tools through the security capability engine, thereby obtaining reliable and traceable comprehensive management and control.

[0171] This application is based on the Hyperledger Fabric consortium chain network. It creates identities and allocates blockchain nodes for business callers, security capability engines and security tool manufacturers. At the same time, it uses the data collection modules of the participants to transmit real-time business call data to the blockchain network, ensuring that only the participants have access to shared billing data, protecting the privacy of sensitive information and the immutability of on-chain data.

[0172] This application writes a smart contract to achieve real-time matching and reconciliation of bills between multiple parties. If anomalies are found in bills, they can be corrected in time. Through multi-party consensus, a consistent bill is finally formed, and the reconciliation results are recorded in the blockchain, so that all parties involved in the reconciliation can jointly verify the accuracy of transactions and data without relying on intermediaries, ensuring the transparency and fairness of the reconciliation process.

[0173] This application creates a pluggable reconciliation rule library component, defines different reconciliation rules for smart contracts to call according to different business reconciliation scenarios and requirements, so that the reconciliation process can be flexibly adjusted as the business changes, ensuring the scalability of the reconciliation scenario.

[0174] The convenient and intelligent reconciliation in this application: based on blockchain technology, it realizes the security capability engine between multiple business callers and a large number of security tool manufacturers without the need for system-level docking, that is, it realizes data connection, automatic real-time reconciliation among multiple parties, improves the credibility of the bill, and reduces the manpower and material costs of reconciliation.

[0175] This application is safe and reliable: key information of the entire life cycle of the security tool is stored on the chain to ensure that the data is reliable and verifiable. All data is uploaded to the chain through a unified API interface, and cryptographic technologies such as digital signatures and HASH algorithms are used to ensure data integrity and non-tamperability.

[0176] This application utilizes the multi-party consensus and trustworthiness of blockchain technology to form a consistently recognized data bill through reconciliation between multiple parties. The entire process is completed automatically, and the technology guarantees credibility.

[0177] In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an intelligent reconciliation device 900, which is arranged on an intelligent reconciliation device. Fig. 9 Schematic diagram of an intelligent reconciliation device according to an embodiment of the present application; Fig. 9 As shown, including:

[0178] The acquisition unit 901 is used to acquire the transaction data uploaded by the caller, the security capability engine and the security capability provider;

[0179] The reconciliation unit 902 is used to use the transaction data to call the reconciliation engine matching algorithm model in the blockchain smart contract to perform intelligent reconciliation.

[0180] Here, in one embodiment, the transaction field corresponding to the transaction data includes at least one of the following:

[0181] Transaction information overview;

[0182] Business party decentralized identity DID;

[0183] Security capability engine DID;

[0184] Security capability provider DID;

[0185] Security tool DID;

[0186] Security capability DID;

[0187] Number of calls;

[0188] Trading hours;

[0189] Transaction amount.

[0190] Here, in one embodiment, the apparatus 900 further includes a forming unit, a processing unit, a determining unit and a generating unit; wherein,

[0191] The forming unit is used to form a text sequence corresponding to the transaction data by using the transaction fields corresponding to the transaction data;

[0192] The processing unit is used to convert the text sequence to obtain a word embedding vector corresponding to the text sequence;

[0193] The determining unit is used to determine the position code of the transaction field;

[0194] The generating unit is used to generate the reconciliation engine matching algorithm model based on the fusion vector.

[0195] Here, in one embodiment, the processing unit is further used to convert the text sequence through a preset lightweight pre-trained model BertTiny to obtain a word embedding vector corresponding to the text sequence.

[0196] Here, in one embodiment, the generation unit is also used to input the fusion vector into a preset generative pre-trained Transformer encoding model to output a first vector; map the first vector to the reconciliation rules in the reconciliation rule library in the blockchain smart contract to generate the reconciliation engine matching algorithm model reconciliation engine matching algorithm model.

[0197] Here, in one embodiment, the generating unit is further used to input the fusion vector into the Transformer encoding model for encoding processing to obtain a feature vector corresponding to the fusion vector; and input the feature vector into a preset neural network model for processing to obtain the first vector.

[0198] Here, in one embodiment, the reconciliation rule includes at least one of the following:

[0199] Risk identification security capability reconciliation rules;

[0200] Security defense security capability reconciliation rules;

[0201] Security capability reconciliation rules for security testing;

[0202] Security response security capability reconciliation rules;

[0203] Security capability reconciliation rules for security recovery.

[0204] Here, in one embodiment, the device 900 further includes a marking unit, a repair processing unit, a training unit and an updating unit; wherein,

[0205] The reconciliation unit 902 is further used to compare and verify the transaction data with the reconciliation rules in the smart contract to obtain the reconciliation result of the transaction data;

[0206] The marking unit is used to mark the transaction data as abnormal processing data if the reconciliation result shows that the transaction data is an abnormal transaction;

[0207] The repair processing unit is used to perform repair processing on the abnormal processing data to obtain first data;

[0208] The training unit is used to train the reconciliation engine matching algorithm model using the first data to obtain a trained reconciliation engine matching algorithm model;

[0209] The updating unit is used to update the reconciliation engine matching algorithm model using the trained reconciliation engine matching algorithm model.

[0210] It should be noted that: the intelligent reconciliation device provided in the above embodiment only uses the division of the above program modules as an example when performing intelligent reconciliation. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the intelligent reconciliation device provided in the above embodiment and the intelligent reconciliation method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0211] Based on the hardware implementation of the above-mentioned program module, an embodiment of the present application also provides an intelligent reconciliation device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps in the intelligent reconciliation method provided in the above-mentioned embodiment are implemented.

[0212] Correspondingly, an embodiment of the present application provides a computer program product, which, when executed by a processor, implements the steps in the intelligent reconciliation method provided in the above embodiment.

[0213] Correspondingly, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the intelligent reconciliation method provided in the above embodiment are implemented.

[0214] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0215] It should be noted that Fig.10 Schematic diagram of a hardware entity structure of the intelligent reconciliation device in the embodiment of the present application, such as Fig.10 As shown, the hardware entity of the smart reconciliation device 1000 includes: a processor 1001 and a memory 1003 . Optionally, the smart reconciliation device 1000 may also include a communication interface 1002 .

[0216] It can be understood that the memory 1003 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 1003 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.

[0217] The method disclosed in the above embodiment of the present application can be applied to the processor 1001, or implemented by the processor 1001. The processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1001. The above processor 1001 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 1001 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 1003, and the processor 1001 reads the information in the memory 1003 and completes the steps of the above method in combination with its hardware.

[0218] In an exemplary embodiment, the device may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.

[0219] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0220] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device 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, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0221] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0222] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0223] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0224] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An intelligent reconciliation method, characterized in that: The method comprises: Obtain transaction data uploaded by the caller, security capability engine, and security capability provider; The transaction data is used to call the reconciliation engine matching algorithm model in the blockchain smart contract to perform intelligent reconciliation.

2. The method according to claim 1, characterized in that The transaction field corresponding to the transaction data includes at least one of the following: Transaction information overview; Business party decentralized identity DID; Security capability engine DID; Security capability provider DID; Security tool DID; Security capability DID; Number of calls; Trading hours; Transaction amount; Transaction number; Transaction hash.

3. The method according to claim 2, characterized in that The method further comprises: Using the transaction fields corresponding to the transaction data to form a text sequence corresponding to the transaction data; Convert the text sequence to obtain a word embedding vector corresponding to the text sequence; Determining a position code of the transaction field; Adding the position code to the word embedding vector to obtain a fusion vector corresponding to the text sequence; The reconciliation engine matching algorithm model is generated based on the fusion vector.

4. The method according to claim 3, characterized in that The converting the text sequence to obtain a word embedding vector corresponding to the text sequence includes: The text sequence is converted through the preset lightweight pre-training model BertTiny to obtain the word embedding vector corresponding to the text sequence.

5. The method according to claim 3, characterized in that: The generating the reconciliation engine matching algorithm model based on the fusion vector includes: Inputting the fused vector into a preset generative pre-trained Transformer encoding model and outputting a first vector; The first vector is mapped to the reconciliation rule in the reconciliation rule library in the blockchain smart contract to generate the reconciliation engine matching algorithm model.

6. The method according to claim 5, characterized in that The step of inputting the fused vector into a preset generative pre-trained Transformer encoding model and outputting a first vector comprises: Inputting the fused vector into the Transformer encoding model for encoding processing to obtain a feature vector corresponding to the fused vector; The feature vector is input into a preset neural network model for processing to obtain the first vector.

7. The method according to claim 5, wherein the reconciliation rule comprises at least one of the following: Risk identification security capability reconciliation rules; Security defense security capability reconciliation rules; Security capability reconciliation rules for security testing; Security response security capability reconciliation rules; Security capability reconciliation rules for security recovery.

8. The method according to claim 5, further comprising: Compare and verify the transaction data with the reconciliation rules in the smart contract to obtain the reconciliation result of the transaction data; If the reconciliation result shows that the transaction data is an abnormal transaction, marking the transaction data as abnormal processing data; Performing repair processing on the abnormal processing data to obtain first data; Using the first data to train the account reconciliation engine matching algorithm model to obtain a trained account reconciliation engine matching algorithm model; The trained reconciliation engine matching algorithm model is used to update the reconciliation engine matching algorithm model.

9. An intelligent account reconciliation device, characterized in that: include: An acquisition unit, used to acquire transaction data uploaded by the caller, the security capability engine, and the security capability provider; The reconciliation unit is used to use the transaction data to call the reconciliation engine matching algorithm model in the blockchain smart contract to perform intelligent reconciliation.

10. An intelligent account reconciliation device, characterized in that: include: a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in claims 1 to 8.

11. A computer program product, comprising a computer program, characterized in that The computer program implements the steps of the method according to any one of claims 1 to 8 when executed by a processor.

12. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.