A data tamper-proofing method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202510538986.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2026-10-27
AI Technical Summary
这些数据源的多样性增加了数据易被更改或篡改的可能性
[0031]本申请方法包括根据实时获取的分子炼油模型的数据,构建分布式缓存系统;其中,所述分布式缓存系统包括多个分布式缓存节点,每个所述分布式缓存节点存储部分加密后的所述分子炼油模型的数据;响应于配置操作,为所述分布式缓存系统配置拦截器;在获取到数据操作请求时,基于所述拦截器对所述数据操作请求进行验证,在通过验证时对从所述分布式缓存节点中的目标数据进行操作。
Smart Images

Figure CN122993967A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data security technology, and more specifically, to a method, apparatus, electronic device, and storage medium for preventing data tampering. Background Technology
[0002] Molecular refining models typically contain data on key process parameters, production indicators, and product quality, which are crucial for refinery production and operations. The accuracy and completeness of this data directly impact production efficiency, product quality, and safety.
[0003] Data from molecular refining models involves multiple stages and systems, and may be generated and maintained by different devices, sensors, databases, or personnel. This diversity of data sources increases the likelihood of data alteration or tampering. Furthermore, during data transmission and storage, data may be vulnerable to cyberattacks, tampering, or accidental damage. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a method, apparatus, electronic device and storage medium for preventing data tampering, so as to overcome the problems in the prior art.
[0005] In a first aspect, embodiments of this application provide a method for preventing data tampering, the method comprising:
[0006] A distributed caching system is constructed based on the real-time acquired data from the molecular refining model; wherein, the distributed caching system includes multiple distributed caching nodes, and each distributed caching node stores a portion of the encrypted data from the molecular refining model;
[0007] In response to the configuration operation, configure an interceptor for the distributed caching system;
[0008] When a data operation request is received, the data operation request is verified based on the interceptor. If the verification is successful, the target data from the distributed cache node is operated on.
[0009] In some technical solutions of this application, the data of the aforementioned molecular refining model includes material data, molecular data, equipment data, and flow data; the step of constructing a distributed caching system based on the acquired molecular refining model data includes:
[0010] The material data, molecular data, device data, and flow data are processed using a preset abstracting algorithm to obtain data abstracts corresponding to each type of data.
[0011] Based on the data digest, construct the distributed caching system.
[0012] In some technical solutions of this application, the above-mentioned construction of the distributed caching system based on the data digest includes:
[0013] The data digests are encrypted using a preset encryption algorithm to obtain encrypted data corresponding to each data digest.
[0014] The data digest and the corresponding encrypted data are stored in the corresponding cache node to obtain the distributed cache system.
[0015] In some technical solutions of this application, the above method also includes:
[0016] The metadata records the storage location of each encrypted data item in the distributed caching system, the encryption key identifier, and the digital signature.
[0017] In some technical solutions of this application, when a data operation request is received, the interceptor verifies the data operation request, and if the verification passes, the target data from the distributed cache node is operated on, including:
[0018] When a data operation request is received, the data operation request is verified based on the data signature. If the verification is successful, the data operation request is verified based on the interceptor. If the verification is successful, the target data from the distributed cache node is operated on.
[0019] In some technical solutions of this application, the above-mentioned response to the configuration operation to configure an interceptor for the distributed caching system includes:
[0020] Based on the type of the molecular refining model, the model identifier and user identifier are written into different cache lock tables, and lock / unlock messages are sent through a message queue.
[0021] Before performing any business operations, verify whether a locked model identifier exists in the cache. If it does, prohibit the operation and return a prompt message.
[0022] In some technical solutions of this application, the above method also includes:
[0023] Record the operation information corresponding to the data operation request for data tracking.
[0024] Secondly, embodiments of this application provide a data anti-tampering device, the device comprising:
[0025] A construction module is used to build a distributed caching system based on the real-time acquired molecular refining model data; wherein, the distributed caching system includes multiple distributed caching nodes, and each distributed caching node stores a portion of the encrypted molecular refining model data;
[0026] A response module is used to configure interceptors for the distributed caching system in response to configuration operations;
[0027] The verification module is used to verify the data operation request based on the interceptor when the data operation request is received, and to operate on the target data from the distributed cache node when the verification is passed.
[0028] Thirdly, embodiments of this application provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-described data anti-tampering method.
[0029] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the above-described data anti-tampering method.
[0030] The technical solutions provided by the embodiments of this application may include the following beneficial effects:
[0031] The method of this application includes constructing a distributed caching system based on real-time acquired molecular refining model data; wherein the distributed caching system includes multiple distributed caching nodes, each of which stores partially encrypted data of the molecular refining model; in response to a configuration operation, configuring an interceptor for the distributed caching system; when a data operation request is received, verifying the data operation request based on the interceptor, and performing operations on the target data from the distributed caching nodes if the verification is successful.
[0032] This application utilizes a distributed caching approach to achieve real-time data transmission and processing. At the same time, through anti-tampering methods, it can ensure that the data is not tampered with or maliciously modified during transmission and processing.
[0033] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0034] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1A flowchart illustrating a data anti-tampering method provided in an embodiment of this application is shown;
[0036] Figure 2 A schematic diagram illustrating a specific implementation provided in this application is shown;
[0037] Figure 3 A schematic diagram of a data anti-tampering device provided in an embodiment of this application is shown;
[0038] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0040] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0041] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0042] Molecular refining models typically contain data on key process parameters, production indicators, and product quality, which are crucial for refinery production and operations. The accuracy and completeness of this data directly impact production efficiency, product quality, and safety.
[0043] Data from molecular refining models involves multiple stages and systems, and may be generated and maintained by different devices, sensors, databases, or personnel. This diversity of data sources increases the likelihood of data alteration or tampering. Furthermore, during data transmission and storage, data may be vulnerable to cyberattacks, tampering, or accidental damage.
[0044] Based on this, embodiments of this application provide a method, apparatus, electronic device, and storage medium for preventing data tampering, which are described below through embodiments.
[0045] Figure 1 The diagram illustrates a flowchart of a data anti-tampering method provided in an embodiment of this application, wherein the method includes steps S101-S104; specifically:
[0046] S101. Based on the real-time acquired data of the molecular refining model, a distributed caching system is constructed; wherein, the distributed caching system includes multiple distributed caching nodes, and each distributed caching node stores a portion of the encrypted data of the molecular refining model;
[0047] S102. In response to the configuration operation, configure an interceptor for the distributed caching system;
[0048] S103. When a data operation request is received, the data operation request is verified based on the interceptor, and the target data from the distributed cache node is operated on when the verification is passed.
[0049] This application utilizes a distributed caching approach to achieve real-time data transmission and processing. At the same time, through anti-tampering methods, it can ensure that the data is not tampered with or maliciously modified during transmission and processing.
[0050] The following describes some embodiments of this application in detail. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0051] This application provides a data tamper-proof method applied to a molecular refining model. Molecular refining is a technology that understands and optimizes petroleum processing at the molecular level. It accurately predicts product properties and optimizes processes and workflows by analyzing the molecular composition of crude oil in detail, thereby increasing the value of each molecule. Molecular refining technology follows the principle of "making the most of everything," adhering to the principles of "using oil where appropriate, aromatics where appropriate, olefins where appropriate, lubricants where appropriate, and chemicals where appropriate," to achieve the goal of "zero waste and complete utilization." Here, the molecular refining model represents the entire process or complete production line of the production process. The data in the molecular refining model includes all data from raw materials to finished products, such as material data, molecular data, equipment data, and flow data.
[0052] Material Data: All material data involved in the molecular refining model, uniformly coded; each material is composed of several molecules, corresponding to a set of molecular composition data for each material data item. At a minimum, it includes: Material ID, Material Name, Material Code, Molecular ID, and Molecular Content. See the table below:
[0053] Material ID Material Name Material coding Molecular ID Molecular content
[0054] Molecular data: Structure-guided lumped molecular characterization (SOL) was employed, where each molecule is composed of distinct structural units. This includes at least: molecule ID and a vector representing the composition of molecular structural units. See the table below:
[0055]
[0056] Equipment data: All equipment and reaction condition parameters involved in the molecular refining model are uniformly coded; at a minimum, they include: equipment ID, equipment code, equipment name, reaction pressure, reaction temperature, flow rate, and volume. See the table below:
[0057] ID coding Device Name Reaction pressure reaction temperature Flow rate volume
[0058] Flow data: Describes the flow relationship between equipment and materials, including material code, equipment code, and flow type, where -1 indicates inflow and 1 indicates output. It must include at least: Model ID, Equipment ID, Material ID, and Flow Type. See the table below:
[0059] Model ID Device ID Material ID Circulation type
[0060] After obtaining the above data, this application embodiment needs to use the above data to build a distributed caching system.
[0061] To ensure data security when constructing a distributed caching system, this embodiment does not directly construct a data digest from the collected material data, molecular data, device data, and circulation data. Instead, it first processes the material data, molecular data, device data, and circulation data using a preset digest algorithm to obtain data digests for each type of data. The digest algorithm can be a hash algorithm, a hash function, etc. Preferably, this embodiment uses a hash algorithm. The SHA-256 hash algorithm is used to calculate the first data digest for the material data, the second data digest for the molecular data, the third data digest for the device data, and the fourth data digest for the circulation data. Here, the data digest represents a fixed-length string generated from the original data.
[0062] Furthermore, after obtaining the data digest, this embodiment of the application encrypts the data digest to obtain encrypted data. The encryption method used here is symmetric encryption, such as using the RSA algorithm to encrypt the data digest. Specifically, the RSA algorithm is used to process the first, second, third, and fourth data digests respectively, resulting in first, second, third, and fourth encrypted data. After obtaining the encrypted data, a distributed caching system is constructed using the encrypted data. That is, the first, second, third, and fourth encrypted data are stored in preset distributed caching nodes to obtain the distributed caching system. When storing the encrypted data, to ensure the normal operation of business processes, this embodiment of the application also needs to store metadata. This metadata mainly includes the storage location of each encrypted data item in the distributed caching system, the encryption key identifier, and the digital signature.
[0063] After the distributed caching system is built, it is also necessary to configure interceptors for it. Interceptors primarily handle tasks such as parsing request parameters, assigning page form parameters to corresponding attributes in the value stack, performing functional checks, and debugging program exceptions. During configuration, the model identifier and user identifier are written into different cache lock tables according to the type of the molecular refining model, and lock / unlock messages are sent via a message queue. Before any business operation, the system verifies whether a locked model identifier exists in the cache; if so, the operation is prohibited and a prompt message is returned.
[0064] In practice, the SQL statements for adding, deleting, and modifying data are intercepted, and the model_id is obtained by parsing the SQL. The user_id is then obtained by accessing the logged-in user information.
[0065] Locking: For a single-factory model, the model_id and user_id will be inserted into the info_model_lock table, and the model_ids will be stored in the cache as a set of modelids for later use. At the same time, a lock message will be sent to the Redis message queue. If model A is multi-factory, the model_id and user_id will be inserted into the z_info_model_exeresult table, and the model_ids will be stored in the cache as a set of zmodel_ids for later use. At the same time, a lock message will be sent to the Redis message queue.
[0066] Business operations: When performing add, delete, or modify operations on model A, the business code is executed first. After the business code executes, it is intercepted by interceptor B. The interceptor can parse the model_id and user_id from the SQL. At this point, it retrieves the modelset from the cache and checks if the modelid exists in this set. If it exists, it modifies the message to: "Model A is locked and cannot be modified." This solves the problem of model data being tampered with after locking.
[0067] Unlock: Retrieve `model_id` and `user_id`. If model A is a single-factory model, clear the `model_id` data from the `modelids` cache, delete the corresponding data from the `info_model_exeresult` table in the database, and simultaneously publish a single-factory unlock message to the Redis message queue. If model A is a dual-factory model, clear the `model_id` data from the `zmodel_ids` cache, delete the corresponding data from the `z_info_model_exeresult` table in the database, and simultaneously publish a dual-factory unlock message to the Redis message queue.
[0068] In addition to model_id and user_id, interceptor design can also include device ID and material ID to control the interception scope. Specific user settings need to be determined based on the role-based access control design to determine whether the user has CRUD (Create, Read, Update, Delete) permissions.
[0069] After the interceptor is set up, when a user's data operation request is received, the data operation request is verified based on the interceptor. If the verification is successful, the target data from the distributed cache node is operated on.
[0070] Data operation requests here include data query requests and data update requests. If the data operation request is a data query request, the data query request is verified based on the data signature. If the verification passes, the user is allowed to query the data. Specifically, the received query request is decrypted, and the decrypted digital signature is verified to be consistent with the digital signature in the cache node. If the digital signature of the decrypted data does not match the digital signature in the cache node, the query request is rejected, and the data is considered to have been tampered with; otherwise, the data is returned according to the query request.
[0071] If the data operation request is a data update request, the data operation request is verified based on the data signature. If the verification passes, the data operation request is further verified based on the interceptor. If the verification passes, the target data from the distributed cache node is operated on. First, the data to be updated is queried. For the queried data, the interceptor status is checked. If the interceptor status is closed, a timestamp is recorded, and the corresponding cache node can be updated; otherwise, access to modification is denied.
[0072] In an optional implementation, to ensure the traceability of data modifications, embodiments of this application record the operation information corresponding to the data operation request and store it in the blockchain. This operation information includes timestamps, user characteristic information, interceptor status, and operation type, etc.
[0073] In an optional implementation, it can be carried out in accordance with... Figure 2 The steps shown are performed, for example, a process engineer at an oil refinery needs to update the reaction temperature parameters of unit A to optimize the operating efficiency of a molecular refining model. The following is the coordinated execution process of each step in this operation:
[0074] The raw data of device A (device ID: A001, current reaction temperature: 300℃) is stored in distributed cache nodes (node 1) according to business segments. At the same time, the material data (such as material ID: M001, including a list of molecular IDs) and molecular data (such as molecular ID: Mol001, structure vector) associated with device A are redundantly backed up on nodes 2 and 3.
[0075] The SHA-256 algorithm is used to generate a digest of the data from device A (e.g., digest value: a1b2c3...), and the original data is encrypted using an RSA public key.
[0076] Metadata records: Storage location (node 1), encryption key identifier (KeyID:RSA_123), digest value and digital signature are written to the metadata database.
[0077] Query Request: The engineer initiates a query request for device A data through the client and needs to submit a CA-certified digital certificate (certificate ID: Cert_XYZ).
[0078] Decryption and Verification: Node 1 decrypts the data using the RSA private key, recalculates the digest, and compares it with a1b2c3... in the metadata. If the deviation is within the threshold, the verification is successful.
[0079] Alarm mechanism: If the summary deviation exceeds the threshold (e.g., data has been tampered with), the node will trigger an alarm and block the query.
[0080] Update operation triggered: The engineer submits an SQL update statement (UPDATE Device Table SET Temperature = 320 WHERE Device ID = A001).
[0081] Interceptor parsing: The interceptor extracts the model ID (Model_A), user ID (User_123), and device ID (A001).
[0082] Locking process:
[0083] Model type determination: Model_A is a single-factory model. Write Model_A and User_123 into the info_model_lock table.
[0084] Cache locking: Model_A is added to the cache collection modelids, and a locking message is sent via Redis.
[0085] Permission verification: When other users attempt to modify Model_A, the interceptor detects a locked record in modelids and returns the message "Model is locked and cannot be modified".
[0086] All operations (query, lock, update) are written to the blockchain. For example:
[0087] {
[0088] Operation time: "2023-10-05 14:30:00";
[0089] Operation type: "Update";
[0090] "User ID":"User_123";
[0091] "Model ID":"Model_A";
[0092] Node IP: "192.168.1.100";
[0093] "Digital Signature":"signature_abc..."
[0094] }
[0095] Multidimensional search: Administrators can quickly locate logs by time range (e.g., "2023-10-05") and operation type ("update").
[0096] Figure 3 This illustration shows a structural diagram of a data anti-tampering device provided in an embodiment of this application. The device includes:
[0097] A construction module is used to build a distributed caching system based on the real-time acquired molecular refining model data; wherein, the distributed caching system includes multiple distributed caching nodes, and each distributed caching node stores a portion of the encrypted molecular refining model data;
[0098] A response module is used to configure interceptors for the distributed caching system in response to configuration operations;
[0099] The verification module is used to verify the data operation request based on the interceptor when the data operation request is received, and to operate on the target data from the distributed cache node when the verification is passed.
[0100] The data of the molecular refining model includes material data, molecular data, equipment data, and flow data; the construction of a distributed caching system based on the acquired molecular refining model data includes:
[0101] The material data, molecular data, device data, and flow data are processed using a preset abstracting algorithm to obtain data abstracts corresponding to each type of data.
[0102] Based on the data digest, construct the distributed caching system.
[0103] The step of constructing the distributed caching system based on the data digest includes:
[0104] The data digests are encrypted using a preset encryption algorithm to obtain encrypted data corresponding to each data digest.
[0105] The data digest and the corresponding encrypted data are stored in the corresponding cache node to obtain the distributed cache system.
[0106] The metadata records the storage location of each encrypted data item in the distributed caching system, the encryption key identifier, and the digital signature.
[0107] Upon receiving a data operation request, the process of verifying the data operation request based on the interceptor, and then operating on the target data from the distributed cache node upon successful verification, includes:
[0108] When a data operation request is received, the data operation request is verified based on the data signature. If the verification is successful, the data operation request is verified based on the interceptor. If the verification is successful, the target data from the distributed cache node is operated on.
[0109] The step of configuring an interceptor for the distributed caching system in response to a configuration operation includes:
[0110] Based on the type of the molecular refining model, the model identifier and user identifier are written into different cache lock tables, and lock / unlock messages are sent through a message queue.
[0111] Before performing any business operations, verify whether a locked model identifier exists in the cache. If it does, prohibit the operation and return a prompt message.
[0112] Record the operation information corresponding to the data operation request for data tracking.
[0113] like Figure 4 As shown, this application provides an electronic device for executing the data anti-tampering method of this application. The device includes a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the data anti-tampering method described above.
[0114] Specifically, the aforementioned memory and processor can be general-purpose memory and processor, without any specific limitations. When the processor runs the computer program stored in the memory, it can execute the aforementioned data anti-tampering method.
[0115] Corresponding to the data anti-tampering method in this application, this application embodiment also provides a computer-readable storage medium storing a computer program, which is executed by a processor to perform the steps of the above-described data anti-tampering method.
[0116] Specifically, the storage medium can be a general-purpose storage medium, such as a removable disk or hard disk. When the computer program on the storage medium is run, it can execute the aforementioned data anti-tampering method.
[0117] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.
[0118] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0119] In addition, the functional units in the embodiments provided in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0120] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0121] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0122] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A method for preventing data tampering, characterized in that, The method includes: A distributed caching system is constructed based on the real-time acquired data from the molecular refining model; wherein, the distributed caching system includes multiple distributed caching nodes, and each distributed caching node stores a portion of the encrypted data from the molecular refining model; In response to the configuration operation, configure an interceptor for the distributed caching system; When a data operation request is received, the data operation request is verified based on the interceptor. If the verification is successful, the target data from the distributed cache node is operated on.
2. The method according to claim 1, characterized in that, The data of the molecular refining model includes material data, molecular data, equipment data, and flow data; the construction of a distributed caching system based on the acquired molecular refining model data includes: The material data, molecular data, device data, and flow data are processed using a preset abstracting algorithm to obtain data abstracts corresponding to each type of data. Based on the data digest, construct the distributed caching system.
3. The method according to claim 2, characterized in that, The step of constructing the distributed caching system based on the data digest includes: The data digests are encrypted using a preset encryption algorithm to obtain encrypted data corresponding to each data digest. The data digest and the corresponding encrypted data are stored in the corresponding cache node to obtain the distributed cache system.
4. The method according to claim 3, characterized in that, The method further includes: The metadata records the storage location of each encrypted data item in the distributed caching system, the encryption key identifier, and the digital signature.
5. The method according to claim 4, characterized in that, Upon receiving a data operation request, the process of verifying the data operation request based on the interceptor, and then operating on the target data from the distributed cache node upon successful verification, includes: When a data operation request is received, the data operation request is verified based on the data signature. If the verification is successful, the data operation request is verified based on the interceptor. If the verification is successful, the target data from the distributed cache node is operated on.
6. The method according to claim 1, characterized in that, The step of configuring an interceptor for the distributed caching system in response to a configuration operation includes: Based on the type of the molecular refining model, the model identifier and user identifier are written into different cache lock tables, and lock / unlock messages are sent through a message queue. Before performing any business operations, verify whether a locked model identifier exists in the cache. If it does, prohibit the operation and return a prompt message.
7. The method according to claim 1, characterized in that, The method further includes: Record the operation information corresponding to the data operation request for data tracking.
8. A data anti-tampering device, characterized in that, The device includes: A construction module is used to build a distributed caching system based on the real-time acquired molecular refining model data; wherein, the distributed caching system includes multiple distributed caching nodes, and each distributed caching node stores a portion of the encrypted molecular refining model data; A response module is used to configure interceptors for the distributed caching system in response to configuration operations; The verification module is used to verify the data operation request based on the interceptor when the data operation request is received, and to operate on the target data from the distributed cache node when the verification is passed.
9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of the data tamper-proof method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the data tamper-proofing method as described in any one of claims 1 to 7.