Compliance data verification method and device
By using block processing and hashing processing in compliant data transmission and using blockchain to record evidence hash values, the problem of difficulty in determining the authenticity and integrity of the data is solved, and the trustworthiness of the data is achieved by recording the evidence hash value by using blockchain. Transmission and business compliance.
Patent Information
- Application Number
- CN202410986678.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-15
AI Technical Summary
During the compliant data transmission process, it is difficult for the receiver to determine the authenticity and integrity of the data, resulting in impairment of trust relationships and business compliance.
The sender processes the compliant data in block processing and hashing, and records the proof hash value on the blockchain. The receiver recalculates the verification value and hash value for integrity and authenticity Verify that the authenticity of data is verified using the immutability of blockchain.
It effectively maintains the trust relationship between the sender and the receiver, ensures the integrity and authenticity of the data, and ensures business compliance.
Smart Images

Figure CN118965427A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data verification, and in particular to a compliance data verification method and a compliance data verification device. Background Art
[0002] Compliance data notarization refers to the process of recording, storing and managing key data in accordance with laws, regulations and industry standards. In business scenarios where the authenticity, integrity and traceability of data need to be ensured, compliance data notarization can significantly improve the fairness and transparency of business processes. For example, in non-bidding procurement scenarios, compliance data may include supplier quotations, document submission time, document decryption time, auction quotation time, review process records and objection complaint handling records. These key data notarizations are very important in maintaining trust between suppliers and purchasers, preventing fraud and ensuring business compliance.
[0003] In specific business scenarios, one party (such as a supplier) may need to store the generated compliance data and then transmit it to the partner (that is, the recipient, such as the purchaser) to maintain the cooperative relationship and ensure the security, accuracy and legal use of the data, while promoting the efficient operation of the business process. However, compliance data may face the risk of data tampering during transmission, which will have a negative impact on the normal operation of the business process and the maintenance of trust between the two parties.
[0004] In the related art, compliance data is usually transmitted based on a secure transmission protocol to improve the receiver's trust in the compliance data it receives. Although this method effectively improves the security of compliance data during transmission, it is difficult for the receiver to determine the authenticity and integrity of the received compliance data, making it difficult to maintain the trust relationship between the sender and the receiver. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a compliance data verification method and a compliance data verification device to solve the problem that after the sender transmits the compliance data to the receiver, the receiver has difficulty in determining the authenticity and integrity of the received data, thereby reducing the level of trust between the participants and the compliance of the business.
[0006] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a compliance data verification method, which is performed by a sender, and the method includes:
[0007] The first compliance data and its first verification value are transmitted to the recipient so that the recipient obtains the corresponding second compliance data and its second verification value, performs integrity verification and authenticity verification on the second compliance data, and obtains the final verification result of the second compliance data based on the integrity verification result and authenticity verification result of the second compliance data.
[0008] In an embodiment of the present application, the method further includes:
[0009] Before transmitting the first compliance data and the first check value thereof to the receiving party, the first compliance data is processed by block division according to a preset block division rule to obtain a plurality of first compliance data blocks;
[0010] Multiply each first compliance data block by its corresponding preset weight value and then sum them up to obtain a first target value of the first compliance data;
[0011] According to a preset base, a modulo operation is performed on a first target value of the first compliance data to obtain a first check value of the first compliance data.
[0012] In an embodiment of the present application, the method further includes:
[0013] Before transmitting the first compliance data and the first check value thereof to the recipient, hashing the first compliance data to generate a storage hash value of the first compliance data;
[0014] Based on the evidence hash value of the first compliant data, a transaction is created, and the decentralized identity of the sender is embedded in the transaction to generate an evidence transaction, and the evidence transaction is recorded on each block of the blockchain.
[0015] A second aspect of the present application provides a compliance data verification method, which is performed by a receiving party, and the method includes:
[0016] After obtaining the second compliance data and its second check value, determining a target check value for the second compliance data, performing integrity check on the second compliance data according to the target check value and the second check value, and obtaining an integrity check result for the second compliance data; wherein the second compliance data and its second check value correspond to the first compliance data and its first check value transmitted by the sender;
[0017] Determine a target hash value of the second compliance data, perform authenticity verification on the second compliance data according to the target hash value, and obtain an authenticity verification result of the second compliance data;
[0018] A final verification result of the second compliance data is obtained according to the integrity verification result and the authenticity verification result of the second compliance data.
[0019] In the embodiment of the present application, the second compliance data is subjected to integrity verification according to the target verification value and the second verification value to obtain the integrity verification result of the second compliance data, including:
[0020] Determine whether the target check value is consistent with the second check value. If so, determine that the integrity check result of the second compliance data is a pass. If not, determine that the integrity check result of the second compliance data is a fail.
[0021] In the embodiment of the present application, the authenticity of the second compliant data is verified according to the target hash value to obtain the authenticity verification result of the second compliant data, including:
[0022] Determine whether there is a stored hash value consistent with the target hash value in the blockchain. If so, determine that the authenticity verification result of the second compliance data is passed; if not, determine that the authenticity verification result of the second compliance data is failed.
[0023] In the embodiment of the present application, the final verification result of the second compliance data is obtained according to the integrity verification result and the authenticity verification result of the second compliance data, including:
[0024] If the integrity check result and the authenticity check result of the second compliance data are both verified to pass, the final check result of the second compliance data is determined to be consistent; if the integrity check result and / or the authenticity check result of the second compliance data are verified to fail, the final check result of the second compliance data is determined to be inconsistent.
[0025] In the embodiment of the present application, each second compliance data has a corresponding business process; the method further includes:
[0026] When a business process is in progress or completed, all target compliance data corresponding to the business process are screened out according to the preset business rules corresponding to the business process;
[0027] Based on the final verification results of each target compliance data, the data transmission security status during the business process is evaluated.
[0028] A third aspect of the present application provides a compliance data verification device, the device comprising:
[0029] A data transmission module is used to transmit the first compliance data and its first verification value to a recipient so that the recipient obtains the corresponding second compliance data and its second verification value, performs integrity verification and authenticity verification on the second compliance data, and obtains the final verification result of the second compliance data based on the integrity verification result and authenticity verification result of the second compliance data.
[0030] A fourth aspect of the present application provides a compliance data verification device, the device comprising:
[0031] A data acquisition module, used to acquire second compliance data and a second verification value thereof; wherein the second compliance data and the second verification value thereof correspond to the first compliance data and the first verification value thereof transmitted by the sender;
[0032] an integrity check module, used to determine a target check value of the second compliance data, perform an integrity check on the second compliance data according to the target check value and the second check value, and obtain an integrity check result of the second compliance data;
[0033] an authenticity verification module, used to determine a target hash value of the second compliance data, perform an authenticity verification on the second compliance data according to the target hash value, and obtain an authenticity verification result of the second compliance data;
[0034] The verification result determination module is used to obtain a final verification result of the second compliance data according to the integrity verification result and the authenticity verification result of the second compliance data.
[0035] A fifth aspect of the present application provides a processor configured to execute the compliance data verification method of the first aspect, or to execute the compliance data verification method of the second aspect.
[0036] In a sixth aspect, the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the compliance data verification method of the first aspect or the compliance data verification method of the second aspect.
[0037] The compliance data verification method and device provided in the present application enable the receiving party to recalculate the verification value of the received compliance data (i.e., the target verification value), and based on the verification value and the received verification value (i.e., the second verification value), implement integrity verification of the compliance data, and based on the uniqueness of the data hash value and the tamper-proof nature of the blockchain, implement authenticity verification of the compliance data. Based on the integrity verification results and authenticity verification results of the compliance data, it is convenient to maintain the trust relationship between the participating parties and ensure the compliance of the business.
[0038] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0040] Figure 1 The following is a schematic diagram showing a flow chart of a compliance data verification method according to an embodiment of the present application;
[0041] Figure 2 The structure block diagram of the compliance data verification device of the embodiment of the present application is schematically shown;
[0042] Figure 3 The internal structure diagram of the computer device according to the embodiment of the present application is schematically shown.
[0043] Description of Reference Numerals
[0044] A01-processor; A02-network interface; A03-internal memory; A04-display screen; A05-input device; A06-non-volatile storage medium; B01-operating system; B02-computer program. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0046] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back, etc.), such directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0047] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0048] In view of the fact that in the related art, after the sender transmits the compliant data to the receiver, it is difficult for the receiver to determine the authenticity and integrity of the received data, which reduces the level of trust between the participants and the compliance of the business. The present application provides a compliance data verification method and device. The compliance data verification method and device provided by the present application are described in detail below in conjunction with the accompanying drawings through specific examples and implementation methods.
[0049] In an embodiment of the present application, a compliance data verification method is provided, which is performed by a sender, and the method includes:
[0050] Step 200, transmit the first compliance data and its first verification value to the recipient, so that the recipient obtains the corresponding second compliance data and its second verification value, performs integrity verification and authenticity verification on the second compliance data, and obtains the final verification result of the second compliance data based on the integrity verification result and authenticity verification result of the second compliance data.
[0051] The first verification value of the first compliance data is determined based on the first compliance data.
[0052] Specifically, for different business scenarios, it includes at least one corresponding business process, and the compliance data involved in each business process is different. For example, at the beginning of the bidding business process, its corresponding compliance data includes quotation documents, decryption time, review, historical prices, negative information and audit results.
[0053] In this embodiment, for a specific business process, the sender and the receiver are both participants in the business process, and the first compliance data transmitted by the sender to the receiver includes all key and necessary data of the current business process node.
[0054] It should be understood that in this embodiment, when the first compliant data and its first verification value are not tampered with during the transmission process, then the second compliant data received by the recipient is the first compliant data transmitted by the sender, and the second verification value is also the first verification value transmitted by the sender.
[0055] In this embodiment, in order to determine the first verification value of the first compliance data, before step 200, the method further includes:
[0056] Step 110: block the first compliant data according to a preset block rule to obtain a plurality of first compliant data blocks.
[0057] Among them, the preset block rules are specifically set according to the compliance data involved in the corresponding business scenario, that is, for different business scenarios, the preset block rules for block processing of compliance data of its business process nodes may be different. Of course, it can be understood that when the sender and the receiver are determined, the preset block rules based on which the data (including the first compliance data transmitted by the sender and the second compliance data received by the receiver) are block processed are also determined.
[0058] Step 120: multiply each first compliance data block by its corresponding preset weight value and then sum them up to obtain a first target value of the first compliance data.
[0059] Step 130: Perform a modulo operation on a first target value of the first compliance data according to a preset base to obtain a first check value of the first compliance data.
[0060] In this embodiment, the compliance data is processed in blocks, each compliance data block is multiplied by its corresponding weight, and then added, and a modulo operation is performed, so that the integrity check can be performed based on the numerical value corresponding to the compliance data. It is worth mentioning that in this embodiment, when the first check value is tampered with, the first compliance data that indicates the determination of the first check value has also been tampered with.
[0061] In addition, in the present embodiment, in step 200, when the sender transmits the first compliant data and its first verification value to the receiver, the first verification value is located at the head or tail of the first compliant data, so that when performing a subsequent integrity check on the data (i.e., the second compliant data), the verification value (i.e., the second verification value) can be directly obtained from the data, thereby improving the efficiency of the integrity check.
[0062] In this embodiment, in order to enable the receiver to verify the authenticity of the second compliance data, before step 200, the method further includes:
[0063] Step 140: hash the first compliance data to generate a hash value for the first compliance data.
[0064] In this embodiment, the first compliant data is hashed, which means that the first compliant data is converted into a fixed-length and irreversible output through a pre-selected hash function (such as SHA-256, CRC32), that is, a unique evidentiary hash value is generated to facilitate the subsequent authenticity verification of the second compliant data received by the recipient.
[0065] Step 150, based on the evidence hash value of the first compliance data, create a transaction, embed the sender's decentralized identity in the transaction to generate a evidence transaction, and record the evidence transaction on each block of the blockchain.
[0066] Among them, the decentralized identity is a unique identifier, which is issued and managed by the blockchain or decentralized identity system. Embedding a decentralized identity means associating the identification information of a decentralized identity with the stored information. By verifying this identity later, it can be ensured that the source of the stored information is credible and can be traced back to a specific individual or entity.
[0067] In this embodiment, the blockchain is a chain data structure composed of multiple blocks, and each block in the blockchain contains the hash value of the previous block.
[0068] In a specific implementation, step 150 includes:
[0069] The time server synchronized by the Network Time Protocol (NTP) generates the first compliance data's evidence timestamp, and packages the first compliance data's evidence timestamp and evidence hash value into an evidence transaction to be recorded on the blockchain. The structure of each block in the blockchain can be expressed as: k = {B k-1 ,T,HD}, where B k represents the block with sequence number k in the blockchain, B k-1 It represents the block with serial number k-1 in the blockchain, T represents the storage timestamp of the on-chain data (i.e. the first compliant data), and HD represents the storage hash value of the on-chain data.
[0070] This embodiment distributes the evidence hash value of the first compliance data on multiple blocks of the blockchain, taking advantage of the immutability, transparency, and distributed storage characteristics of the blockchain to bring a high degree of security, reliability, and legal effectiveness to the evidence storage process, so as to facilitate the subsequent authenticity verification of the second compliance data.
[0071] In one embodiment of the present application, a compliance data verification device is provided, the device is configured at a sender, and the device includes:
[0072] A data transmission module is used to transmit the first compliance data and its first verification value to a recipient so that the recipient obtains the corresponding second compliance data and its second verification value, performs integrity verification and authenticity verification on the second compliance data, and obtains the final verification result of the second compliance data based on the integrity verification result and authenticity verification result of the second compliance data.
[0073] In this embodiment, the device further includes:
[0074] The data block module is used to block the first compliant data according to a preset block rule before transmitting the first compliant data and the first check value thereof to a receiver to obtain a plurality of first compliant data blocks.
[0075] The target value determination module is used to multiply each first compliance data block by its corresponding preset weight value and then sum them up to obtain a first target value of the first compliance data.
[0076] The check value determination module is used to perform a modulus operation on a first target value of the first compliance data according to a preset base to obtain a first check value of the first compliance data.
[0077] In this embodiment, the device further includes:
[0078] The hash value determination module is used to perform hash processing on the first compliance data before transmitting the first compliance data and its first verification value to the recipient to generate a storage hash value of the first compliance data.
[0079] The data evidence module is used to create a transaction based on the evidence hash value of the first compliant data, embed the sender's decentralized identity in the transaction to generate a evidence transaction, and record the evidence transaction on each block of the blockchain.
[0080] Figure 1 The following is a schematic diagram showing a flow chart of a compliance data verification method according to an embodiment of the present application. Figure 1 As shown, in one embodiment of the present application, a compliance data verification method is provided, which is performed by a receiving party, and the method includes:
[0081] Step 400, after obtaining the second compliance data and its second check value, determine the target check value of the second compliance data, perform integrity check on the second compliance data according to the target check value and the second check value, and obtain the integrity check result of the second compliance data.
[0082] The second compliance data and its second verification value correspond to the first compliance data and its first verification value transmitted by the sender.
[0083] In this embodiment, step 400 specifically includes:
[0084] Step 410: block the second compliant data according to a preset block rule to obtain a plurality of second compliant data blocks.
[0085] Step 420: multiply each second compliance data block by its corresponding preset weight value and then sum them up to obtain a second target value of the second compliance data.
[0086] Step 430: Perform a modulo operation on the second target value of the second compliance data according to a preset base to obtain a target check value of the second compliance data.
[0087] Step 440, determine whether the target check value is consistent with the second check value, if so, determine that the integrity check result of the second compliance data is a pass, if not, determine that the integrity check result of the second compliance data is a fail.
[0088] It can be understood that since the target check value is calculated after block processing of the second compliance data, when the first compliance data is tampered with during the transmission process, there will be a difference between the target check value obtained by the recipient based on the second compliance data and the second check value received. Based on this, the integrity of the second compliance data can be determined by determining the consistency between the target check value and the second check value.
[0089] Step 600: determine a target hash value of the second compliance data, perform authenticity verification on the second compliance data according to the target hash value, and obtain an authenticity verification result of the second compliance data.
[0090] In this embodiment, in step 600, the method for determining the target hash value of the second compliance data is the same as the method for determining the stored hash value of the first compliance data, and will not be repeated here.
[0091] In this embodiment, step 600 specifically includes:
[0092] Step 610, determine whether there is a stored hash value consistent with the target hash value in the blockchain. If so, determine that the authenticity verification result of the second compliance data is passed; if not, determine that the authenticity verification result of the second compliance data is failed.
[0093] In this embodiment, both the sender and the receiver are users who have the right to access the data stored in the blockchain. When the receiver accesses the data stored in the blockchain, the identity verification is performed to confirm its identity and authorization authority.
[0094] It can be understood that since the evidence hash value of the first compliance data has been recorded in the block of the blockchain before the first compliance data is transmitted to the recipient, based on the tamper-proof nature of the blockchain, the authenticity of the second compliance data can be determined by determining whether the target hash value of the second compliance data is recorded in the block of the blockchain.
[0095] Step 800: Obtain a final verification result of the second compliance data according to the integrity verification result and the authenticity verification result of the second compliance data.
[0096] In this embodiment, step 800 specifically includes:
[0097] Step 810: If the integrity check result and the authenticity check result of the second compliance data are both verified to pass, then the final check result of the second compliance data is determined to be consistent; if the integrity check result and / or the authenticity check result of the second compliance data are verified to fail, then the final check result of the second compliance data is determined to be inconsistent.
[0098] In this embodiment, when the integrity check result and the authenticity check result of the second compliance data are both verified, it indicates that the second compliance data has not been tampered with. Based on the final verification result, the trust of the receiver in the sender can be improved, and a closer and more lasting cooperative relationship between the two parties can be promoted. When the integrity check result of the second compliance data is a verification failure or / and the authenticity check result is a verification failure, it indicates that the second compliance data has been tampered with. At this time, the receiver can contact the sender to deal with the data tampering problem to reduce the negative impact of data tampering on business and cooperative relationships.
[0099] It is understandable that each second compliance data received by the receiver has a corresponding business process. Optionally, the method further includes:
[0100] Step 910: During or after the business process is in progress, all target compliance data corresponding to the business process are screened out according to preset business rules corresponding to the business process.
[0101] The preset business rules refer to the rules or standards predefined in business operations. In this embodiment, the preset business rules are formulated based on business needs and legal requirements to guide and determine which stored second compliance data needs to be extracted, in order to ensure the integrity and accuracy of the extracted data so that it can be used as evidence for legal or compliance review.
[0102] In this embodiment, when the receiving party receives the second compliance data and its second verification value, it will store them, and the filtered target compliance data is the second compliance data stored by the receiving party that complies with the preset business rules. In addition, since the receiving party will determine and store the target hash value and the final verification result of the second compliance data after receiving the second compliance data, all target compliance data corresponding to the business process can be quickly filtered out through the hash index algorithm, and then the final verification result of each target compliance data can be obtained.
[0103] Step 920, based on the final verification results of each target compliance data, evaluate the data transmission security status during the business process.
[0104] In a specific implementation, step 920 includes:
[0105] If the final verification results of all target compliance data corresponding to the business process are consistent, the data transmission security status during the business process is determined to be safe; if the final verification result of at least one target compliance data among all target compliance data corresponding to the business process is inconsistent, the data transmission security status during the business process is determined to be unsafe.
[0106] It can be understood that when the data transmission security status during the business process is safe, it indicates that the data transmission between the sender and the receiver is highly secure, and the trust relationship between the sender and the receiver can be effectively maintained. When the data transmission security status during the business process is unsafe, it indicates that the data transmission between the sender and the receiver is less secure. At this time, the sender needs to take corresponding measures to enable the sender to effectively enhance the receiver's trust in it and ensure the security and integrity of data transmission.
[0107] It is not difficult to see that the compliance data verification method provided in this embodiment is that the recipient recalculates the verification value of the received compliance data (i.e., the target verification value), and based on the verification value and the received verification value (i.e., the second verification value), realizes the integrity verification of the compliance data, and based on the uniqueness of the data hash value and the tamper-proof nature of the blockchain, realizes the authenticity verification of the compliance data. According to the integrity verification results and authenticity verification results of the compliance data, it is convenient to maintain the trust relationship between the participants and ensure the compliance of the business.
[0108] Figure 1 FIG. 1 is a flow chart of a compliance data verification method in one embodiment. It should be understood that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0109] Figure 2 The following schematically shows a structural block diagram of a compliance data verification device according to an embodiment of the present application. Figure 2 As shown, in one embodiment of the present application, a compliance data verification device is provided, the device is configured at the receiving party, the device includes a data acquisition module, an integrity verification module, an authenticity verification module and a verification result determination module, wherein:
[0110] The data acquisition module is used to acquire second compliance data and a second verification value thereof; wherein the second compliance data and the second verification value thereof correspond to the first compliance data and the first verification value thereof transmitted by the sender.
[0111] The integrity check module is used to determine a target check value of the second compliance data, perform integrity check on the second compliance data according to the target check value and the second check value, and obtain an integrity check result of the second compliance data.
[0112] The authenticity verification module is used to determine a target hash value of the second compliance data, perform authenticity verification on the second compliance data according to the target hash value, and obtain an authenticity verification result of the second compliance data.
[0113] The verification result determination module is used to obtain a final verification result of the second compliance data according to the integrity verification result and the authenticity verification result of the second compliance data.
[0114] In this embodiment, the integrity verification module includes:
[0115] The integrity check unit is used to determine whether the target check value is consistent with the second check value. If so, the integrity check result of the second compliance data is determined to be passed. If not, the integrity check result of the second compliance data is determined to be failed.
[0116] In this embodiment, the authenticity verification module includes:
[0117] The authenticity verification unit is used to determine whether there is a stored hash value consistent with the target hash value in the blockchain. If so, the authenticity verification result of the second compliance data is determined to be passed; if not, the authenticity verification result of the second compliance data is determined to be failed.
[0118] In this embodiment, the verification result determination module includes:
[0119] A verification result determination unit is used to determine that the final verification result of the second compliance data is consistent when the integrity verification result and the authenticity verification result of the second compliance data are both verified to pass; when the integrity verification result and / or the authenticity verification result of the second compliance data are verified to fail, determine that the final verification result of the second compliance data is inconsistent.
[0120] In this embodiment, the device further includes:
[0121] The compliance data screening module is used to screen out all target compliance data corresponding to the business process according to the preset business rules corresponding to the business process during or after the business process is completed.
[0122] The data transmission security status determination module is used to evaluate the data transmission security status during the business process based on the final verification results of each target compliance data.
[0123] In this embodiment, the device includes a processor and a memory, and the data acquisition module, the integrity verification module, the authenticity verification module and the verification result determination module are all stored in the memory as program units, and the processor executes the above program modules stored in the memory to implement corresponding functions.
[0124] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the above-mentioned compliance data verification method can be implemented by adjusting kernel parameters.
[0125] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0126] An embodiment of the present application provides a processor configured to execute the above-mentioned compliance data verification method performed by a sender, or the compliance data verification method performed by a receiver.
[0127] An embodiment of the present application provides a machine-readable storage medium, which stores instructions. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned compliance data verification method executed by the sender, or the compliance data verification method executed by the receiver.
[0128] Figure 3 The internal structure diagram of the computer device of the embodiment of the present application is schematically shown. Figure 3As shown, in one embodiment of the present application, a computer device is provided, which may be a terminal. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05 and a memory (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, a compliance data verification method is implemented. The display screen A04 of the computer device may be a liquid crystal display or an electronic ink display, and the input device A05 of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0129] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0130] In one embodiment, the compliance data verification device provided by the present application can be implemented in the form of a computer program. The computer program can be Figure 3 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the compliance data verification device, for example, Figure 2 The data acquisition module, integrity verification module, authenticity verification module and verification result determination module shown in the figure are computer programs composed of various program modules, which enable the processor to execute the steps of the compliance data verification method of each embodiment of the present application described in this specification.
[0131] Figure 3 The computer device shown can be Figure 2 In the illustrated compliance data verification device, the integrity verification module executes step 400 , the authenticity verification module executes step 600 , and the verification result determination module executes step 800 .
[0132] The present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented:
[0133] The sender transmits the first compliance data and the first verification value thereof to the receiver, so that the receiver obtains the second compliance data and the second verification value thereof;
[0134] Determine a target check value for the second compliance data, perform integrity check on the second compliance data according to the target check value and the second check value, and obtain an integrity check result for the second compliance data;
[0135] Determine a target hash value of the second compliance data, perform authenticity verification on the second compliance data according to the target hash value, and obtain an authenticity verification result of the second compliance data;
[0136] A final verification result of the second compliance data is obtained according to the integrity verification result and the authenticity verification result of the second compliance data.
[0137] 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 in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0138] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0139] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0141] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0142] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0143] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0144] 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 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0145] 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 compliance data verification method, performed by a sender, characterized in that: The method comprises: The first compliance data and its first verification value are transmitted to the recipient so that the recipient obtains the corresponding second compliance data and its second verification value, performs integrity verification and authenticity verification on the second compliance data, and obtains the final verification result of the second compliance data based on the integrity verification result and authenticity verification result of the second compliance data.
2. The method according to claim 1, characterized in that: The method further comprises: Before transmitting the first compliance data and the first check value thereof to the receiving party, the first compliance data is processed by block division according to a preset block division rule to obtain a plurality of first compliance data blocks; Multiply each first compliance data block by its corresponding preset weight value and then sum them up to obtain a first target value of the first compliance data; According to a preset base, a modulo operation is performed on a first target value of the first compliance data to obtain a first check value of the first compliance data.
3. The method according to claim 1, characterized in that The method further comprises: Before transmitting the first compliance data and the first check value thereof to the recipient, hashing the first compliance data to generate a storage hash value of the first compliance data; Based on the evidence hash value of the first compliant data, a transaction is created, and the decentralized identity of the sender is embedded in the transaction to generate an evidence transaction, and the evidence transaction is recorded on each block of the blockchain.
4. A compliance data verification method, performed by a receiving party, characterized in that: The method comprises: After obtaining the second compliance data and its second check value, determining a target check value for the second compliance data, performing integrity check on the second compliance data according to the target check value and the second check value, and obtaining an integrity check result for the second compliance data; wherein the second compliance data and its second check value correspond to the first compliance data and its first check value transmitted by the sender; Determine a target hash value of the second compliance data, perform authenticity verification on the second compliance data according to the target hash value, and obtain an authenticity verification result of the second compliance data; A final verification result of the second compliance data is obtained according to the integrity verification result and the authenticity verification result of the second compliance data.
5. The method according to claim 4, characterized in that Performing integrity check on the second compliance data according to the target check value and the second check value to obtain an integrity check result of the second compliance data includes: Determine whether the target check value is consistent with the second check value. If so, determine that the integrity check result of the second compliance data is a pass. If not, determine that the integrity check result of the second compliance data is a fail.
6. The method according to claim 4, characterized in that Performing an authenticity check on the second compliant data according to the target hash value to obtain an authenticity check result of the second compliant data includes: Determine whether there is a stored hash value consistent with the target hash value in the blockchain. If so, determine that the authenticity verification result of the second compliance data is passed; if not, determine that the authenticity verification result of the second compliance data is failed.
7. The method according to claim 4, characterized in that According to the integrity check result and the authenticity check result of the second compliance data, a final check result of the second compliance data is obtained, including: If the integrity check result and the authenticity check result of the second compliance data are both verified to pass, the final check result of the second compliance data is determined to be consistent; if the integrity check result and / or the authenticity check result of the second compliance data are verified to fail, the final check result of the second compliance data is determined to be inconsistent.
8. The method according to any one of claims 4 to 7, characterized in that Each second compliance data has a corresponding business process; the method further includes: When a business process is in progress or completed, all target compliance data corresponding to the business process are screened out according to the preset business rules corresponding to the business process; Based on the final verification results of each target compliance data, the data transmission security status during the business process is evaluated.
9. A compliance data verification device, characterized in that: The device comprises: A data transmission module is used to transmit the first compliance data and its first verification value to a recipient so that the recipient obtains the corresponding second compliance data and its second verification value, performs integrity verification and authenticity verification on the second compliance data, and obtains the final verification result of the second compliance data based on the integrity verification result and authenticity verification result of the second compliance data.
10. A compliance data verification device, characterized in that: The device comprises: A data acquisition module, used to acquire second compliance data and a second verification value thereof; wherein the second compliance data and the second verification value thereof correspond to the first compliance data and the first verification value thereof transmitted by the sender; an integrity check module, used to determine a target check value of the second compliance data, perform an integrity check on the second compliance data according to the target check value and the second check value, and obtain an integrity check result of the second compliance data; an authenticity verification module, used to determine a target hash value of the second compliance data, perform an authenticity verification on the second compliance data according to the target hash value, and obtain an authenticity verification result of the second compliance data; The verification result determination module is used to obtain a final verification result of the second compliance data according to the integrity verification result and the authenticity verification result of the second compliance data.
Citation Information
Cited By
Intelligent review method and device for enterprise bidding and tendering
CN120450806A
Intelligent evaluation method and device for enterprise bidding
CN120450806B
