Motor truck scale anti-cheating system and method

Through the collaborative architecture of weighing sensors, integrated boxes, instruments and communication links, the problem of dynamic cheating in the weighing process of vehicle scales is solved, and the full-process encryption protection of weighing data is realized to ensure the authenticity and security of the data.

CN120685186APending Publication Date: 2025-09-23JINAN JINZHONG ELECTRONICS SCALE
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510975012.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2025-09-23

AI Technical Summary

Technical Problem

Existing technologies are unable to cope with dynamic cheating methods used by truck scales during the weighing process, especially environmental interference attacks and sensor counterfeiting, and lack data integrity protection and audit traceability capabilities.

Method used

It adopts a collaborative architecture of weighing sensors, integrated boxes, instruments and communication links, and ensures the authenticity and transmission security of weighing data through device authentication, dynamic compensation and multiple encryption verifications.

Benefits of technology

It realizes the full-process encryption protection of weighing data, prevents illegal device access and data tampering, and ensures the source authenticity and transmission security of weighing data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120685186A_ABST
    Figure CN120685186A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of truck scales, and discloses a truck scale anti-cheating system and method, and the method comprises the steps: enabling a weighing sensor to obtain the real-time weighing data of a vehicle after the vehicle is loaded on a scale, and the environment information of a current measurement environment; the integrated box stores anti-cheating configuration information; the communication link inquires anti-cheating configuration information corresponding to the weighing sensor from the integrated box, executes equipment authentication operation according to the equipment identification code and the calibration parameter, and sends an equipment connection request to the instrument; and when receiving an equipment connection request from the communication link, the instrument inquires the anti-cheating configuration information corresponding to the weighing sensor from the integrated box, and establishes a data channel corresponding to the weighing sensor according to the anti-cheating configuration information. Through a collaborative architecture of a weighing sensor, an integrated box, an instrument and a communication link, whole-process encryption protection of weighing data from acquisition to transmission is realized. Dynamic matching of equipment authentication and data encryption is ensured, and source authenticity and transmission safety of weighing data are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle scales, and in particular to a vehicle scale anti-cheating system and method. Background Art

[0002] With the advancement of sensor manufacturing and microelectronics technologies, truck scales are constantly being infused with new technologies. However, this has also led to the emergence of instances of illegal profiteering and the use of truck scales to manipulate the weighing process, resulting in significant economic losses for businesses and users. Existing technologies often rely on single encryption or fixed compensation mechanisms, making them ineffective against dynamic cheating methods (such as environmental interference attacks and sensor counterfeiting) and lacking integrity protection and audit traceability for modified data. Summary of the Invention

[0003] The main purpose of this application is to provide a vehicle scale anti-cheating system and method, which aims to solve the technical problem that the existing technology is difficult to deal with dynamic cheating methods of vehicle scales during the weighing process.

[0004] To achieve the above objectives, the present application proposes a vehicle scale anti-cheating system, which includes a weighing sensor, an integrated box, an instrument, and a communication link; The weighing sensor is used to obtain real-time weighing data after the vehicle is weighed and environmental information of the current measurement environment; The integrated box is used to store anti-cheating configuration information, wherein the anti-cheating configuration information includes a device identification code, calibration parameters, and a data encryption key; The communication link is used to query the integrated box for the anti-cheating configuration information corresponding to the weighing sensor, perform a device authentication operation according to the device identification code and the calibration parameters, and send a device connection request to the meter; The instrument is configured to query the integrated box for anti-cheating configuration information corresponding to the weighing sensor when receiving the device connection request from the communication link, and establish a data channel corresponding to the weighing sensor according to the anti-cheating configuration information; The communication link is also used to encrypt the real-time weighing data using the data encryption key when the data channel corresponding to the weighing sensor is successfully established, and send the encrypted weighing data and the environmental information to the integrated box for data interaction.

[0005] Optionally, the communication link is further used to obtain the device identification and compensation parameters of the weighing sensor; The communication link is further used to query the integrated box whether there is anti-cheating configuration information of the weighing sensor; The communication link is further configured to determine whether a device identification code in the queried anti-cheating configuration information is consistent with the device identifier, and to determine whether stored calibration parameters match the compensation parameters, if anti-cheating configuration information corresponding to the weighing sensor exists; The communication link is further configured to execute a device connection operation if the device identification codes are consistent and the calibration parameters match.

[0006] Optionally, the meter is further configured to query the integrated box whether there is anti-cheating configuration information corresponding to the weighing sensor; The instrument is further configured to generate a data compensation rule according to the anti-cheating configuration information corresponding to the weighing sensor if the anti-cheating configuration information exists, and write the data compensation rule into the weighing data compensation queue to complete the establishment of the data channel; The instrument is further configured to periodically send a device status detection signal to the communication link; The communication link is further used to determine whether the weighing sensor is connected based on the device connection status, and if the weighing sensor is connected, receive the device status detection signal and return a device ready signal to the instrument; The instrument is further configured to remove the data channel of the corresponding weighing sensor from the weighing data compensation queue when the device ready signal is not received within a preset response time.

[0007] Optionally, the integrated box is further configured to periodically send a weighing data compensation request to the instrument, receive a sensor to be compensated fed back by the instrument, and synchronize the sensor to be compensated to a local cache; The integrated box is further configured to select the sensor to be compensated in the local cache, initiate a dynamic compensation request to the instrument, receive the sensor to be compensated updated by the instrument according to the current working conditions, and refresh the local cache based on the updated sensor to be compensated; The integrated box is further configured to verify whether the refreshed local cache contains the weighing data compensation request corresponding to the sensor to be compensated; The integrated box is further configured to send a data encryption key corresponding to the weighing sensor to the communication link if there is a weighing data compensation request corresponding to the sensor to be compensated; The communication link is further configured to encrypt the real-time weighing data using the data encryption key if the data encryption key is successfully received, and to send the encrypted weighing data and the environmental information to the integrated box for data interaction; The integrated box is further configured to analyze the weighing sensor and the current measurement environment according to the received weighing data and the environmental information, and to issue an alarm for abnormalities occurring in the weighing sensor and the current measurement environment based on the analysis result.

[0008] Optionally, the vehicle scale anti-cheating system further includes a data compensation module; The data compensation module is used to receive the environmental information of the current measurement environment uploaded by the weighing sensor, and generate a dynamic compensation coefficient according to the temperature, humidity and vibration parameters in the environmental information; The data compensation module is further configured to send the dynamic compensation coefficient to the integrated box, update the calibration parameters in the anti-cheating configuration information, and correct the real-time weighing data of the weighing sensor; The integrated box is further used to add a timestamp to the corrected weighing data, and encrypt the corrected weighing data and associated environmental information using the data encryption key to generate a tamper-proof data packet.

[0009] In addition, to achieve the above-mentioned purpose, the present application also proposes a method for preventing cheating on a truck scale, which is applied to a truck scale anti-cheating system. The truck scale anti-cheating system includes a weighing sensor, an integrated box, an instrument, and a communication link. The method includes: The weighing sensor obtains real-time weighing data of the vehicle after being weighed and environmental information of the current measurement environment; The integrated box stores anti-cheating configuration information, wherein the anti-cheating configuration information includes a device identification code, calibration parameters, and a data encryption key; The communication link queries the integrated box for anti-cheating configuration information corresponding to the weighing sensor, performs a device authentication operation according to the device identification code and the calibration parameters, and sends a device connection request to the meter; When the instrument receives the device connection request from the communication link, it queries the integrated box for anti-cheating configuration information corresponding to the weighing sensor, and establishes a data channel corresponding to the weighing sensor according to the anti-cheating configuration information; When the data channel corresponding to the weighing sensor is successfully established, the communication link encrypts the real-time weighing data using the data encryption key, and sends the encrypted weighing data and the environmental information to the integrated box for data interaction.

[0010] Optionally, the step of querying the integrated box for anti-cheating configuration information corresponding to the weighing sensor, performing a device authentication operation according to the device identification code and the calibration parameters, and sending a device connection request to the meter includes: The communication link obtains the device identification and compensation parameters of the weighing sensor; The communication link queries the integrated box for anti-cheating configuration information of the weighing sensor; If the communication link contains anti-cheating configuration information corresponding to the weighing sensor, determining whether the device identification code in the queried anti-cheating configuration information is consistent with the device identifier, and determining whether the stored calibration parameters match the compensation parameters; If the device identification codes of the communication link are consistent and the calibration parameters match, a device connection operation is performed.

[0011] Optionally, upon receiving the device connection request from the communication link, querying the integrated box for anti-cheating configuration information corresponding to the weighing sensor, and establishing a data channel corresponding to the weighing sensor according to the anti-cheating configuration information, includes: The instrument queries the integrated box whether there is anti-cheating configuration information corresponding to the weighing sensor; If the instrument has anti-cheating configuration information corresponding to the weighing sensor, it generates a data compensation rule according to the anti-cheating configuration information, and writes the data compensation rule into the weighing data compensation queue to complete the establishment of the data channel; The instrument periodically sends a device status detection signal to the communication link; The communication link determines whether the weighing sensor is connected according to the device connection status, and if the weighing sensor is connected, receives the device status detection signal and returns a device ready signal to the instrument; When the instrument does not receive the device ready signal within a preset response time, the data channel of the corresponding weighing sensor is removed from the weighing data compensation queue.

[0012] Optionally, when the data channel corresponding to the weighing sensor is successfully established, after the step of encrypting the real-time weighing data using the data encryption key and sending the encrypted weighing data and the environmental information to the integrated box for data interaction, the method further includes: The integrated box periodically sends a weighing data compensation request to the instrument, receives the sensor to be compensated fed back by the instrument, and synchronizes the sensor to be compensated to the local cache; The integrated box selects the sensor to be compensated in the local cache, initiates a dynamic compensation request to the instrument, receives the sensor to be compensated updated by the instrument according to the current working conditions, and refreshes the local cache based on the updated sensor to be compensated; The integrated box verifies whether the refreshed local cache contains the weighing data compensation request corresponding to the sensor to be compensated; If the integrated box has the weighing data compensation request corresponding to the sensor to be compensated, the integrated box sends the data encryption key corresponding to the weighing sensor to the communication link; If the communication link successfully receives the data encryption key, the real-time weighing data is encrypted using the data encryption key, and the encrypted weighing data and the environmental information are sent to the integrated box for data interaction; The integrated box analyzes the weighing sensor and the current measurement environment according to the received weighing data and the environmental information, and issues an alarm for abnormalities occurring in the weighing sensor and the current measurement environment based on the analysis result.

[0013] Optionally, the vehicle scale anti-cheating system further includes a data compensation module; After the step of encrypting the real-time weighing data using the data encryption key when the data channel corresponding to the weighing sensor is successfully established and sending the encrypted weighing data and the environmental information to the integrated box for data interaction, the method further includes: The data compensation module receives the environmental information of the current measurement environment uploaded by the weighing sensor, and generates a dynamic compensation coefficient according to the temperature, humidity and vibration parameters in the environmental information; The data compensation module sends the dynamic compensation coefficient to the integrated box, updates the calibration parameters in the anti-cheating configuration information, and corrects the real-time weighing data of the weighing sensor; The integrated box adds a timestamp to the corrected weighing data, and encrypts the corrected weighing data and associated environmental information using the data encryption key to generate a tamper-proof data packet.

[0014] This application discloses a vehicle scale anti-cheating system and method, including: a weighing sensor obtains real-time weighing data and environmental information of the current measurement environment after the vehicle is weighed; an integrated box stores anti-cheating configuration information; a communication link queries the integrated box for the anti-cheating configuration information corresponding to the weighing sensor, and performs device authentication operations based on the device identification code and calibration parameters, and sends a device connection request to the meter; when the meter receives the device connection request from the communication link, it queries the integrated box for the anti-cheating configuration information corresponding to the weighing sensor, and establishes a data channel corresponding to the weighing sensor based on the anti-cheating configuration information. Through the collaborative architecture of the weighing sensor, the integrated box, the meter and the communication link, full-process encryption protection of the weighing data from collection to transmission is achieved. Ensure the dynamic matching of device authentication and data encryption, and protect the source authenticity and transmission security of the weighing data. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0017] Figure 1 This is a schematic diagram of the architecture of the first embodiment of the vehicle scale anti-cheating system of this application; Figure 2 This is a flow chart of the first embodiment of the method for preventing cheating on a truck scale of the present application; Figure 3 This is a flow chart of the second embodiment of the anti-cheating method for vehicle scales of this application.

[0018] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0019] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.

[0020] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0021] A truck scale is a large-scale measuring instrument whose operating principle is primarily based on a combination of mechanics and electronics. When a vehicle and cargo are parked on the scale's load cell, the force of gravity they generate is transmitted to the load cell. The elastic element in the load cell deforms under the influence of gravity, and the strain gauges attached to the elastic element also deform, causing their resistance to change. These strain gauges form a Wheatstone bridge circuit. When the resistance of a resistor in the bridge changes, the bridge loses balance, generating an electrical signal proportional to the degree of strain. This signal is then converted to a digital signal by an A / D converter. The weighing indicator processes this weight signal and displays it as weight data.

[0022] With the advancement of sensor manufacturing and microelectronics technologies, truck scales are constantly being infused with new technologies. However, this has also led to the emergence of instances of fraudulent weighing operations conducted by truck scales for illegal profit, resulting in significant economic losses for businesses and users. Based on years of experience in professional hardware and software integration, we conducted extensive research and analysis into various forms of fraud in truck scales. The results show that fraud in truck scale weighing can be categorized into two types: human and technical.

[0023] Human cheating: refers to cheating by taking advantage of management loopholes in the vehicle weighing process. This includes vehicle following, incomplete weighing, vehicle smuggling, repeated weighing, data tampering, and collusion.

[0024] Technical cheating refers to the practice of tampering with measurement data by installing cheating devices on key measurement modules such as sensors, instruments, junction boxes, and communication cables on a truck scale. This type of cheating is highly technical, covert, and difficult to detect.

[0025] This application provides a system that integrates dynamic environmental compensation, multiple encryption verification and data tamper-proof mechanism to enhance the anti-cheating capability of vehicle scales under complex working conditions.

[0026] Based on this, the embodiment of the present application provides a vehicle scale anti-cheating system, referring to Figure 1 , Figure 1 This is a schematic diagram of the architecture of the first embodiment of the vehicle scale anti-cheating system of this application.

[0027] In this embodiment, the vehicle scale anti-cheating system includes a weighing sensor, an integrated box, an instrument, and a communication link.

[0028] The weighing sensor is used to obtain real-time weighing data after the vehicle is weighed and environmental information of the current measurement environment.

[0029] It should be noted that the load cell is a key component in the anti-cheating system of a truck scale. Essentially, it is a device that converts mass signals into measurable electrical output signals. Real-time weighing data refers to the vehicle's weight measured by the load cell at the moment the vehicle enters the truck scale. This data is updated in real time with dynamic changes in the vehicle (such as vehicle movement, cargo loading and unloading, etc.). Environmental information of the measurement environment: This includes various environmental factors that may affect the measurement accuracy of the load cell. Common environmental information includes temperature, humidity, and vibration. For example, changes in temperature may cause the material of the load cell to expand or contract, affecting the measurement results; humidity may affect the electrical performance of the sensor; and vibration may cause the sensor's output signal to fluctuate.

[0030] Understandably, to ensure that changes in vehicle weight are captured promptly, load cells collect data at a certain frequency—for example, 10 or 20 times per second—to accurately record the real-time weight of the vehicle as it dynamically changes.

[0031] It should be understood that the load cell should be installed in a suitable position on the truck scale to ensure that it can evenly bear the weight of the vehicle. The ground at the installation location should be flat and solid to avoid uneven force on the sensor due to uneven ground, which will affect the measurement accuracy.

[0032] As you can understand, weighing sensors require calibration before use to ensure accurate measurement data. This process includes zero-point calibration and span calibration. Furthermore, since environmental factors can affect weighing data, measurement data must be corrected for these environmental influences. For example, sensor sensitivity can be compensated based on temperature changes to eliminate these temperature effects on measurement results.

[0033] The integrated box is used to store anti-cheating configuration information, which includes a device identification code, calibration parameters, and a data encryption key.

[0034] It's important to note that the integrated box is a core device in the truck scale anti-cheating system, providing data storage, data analysis, and abnormality alarms. Anti-cheating configuration information is key information used to ensure the authenticity and reliability of truck scale weighing data and prevent cheating. The device identification code is a unique identifier assigned to each load cell, used to accurately identify and distinguish different load cells within the system and prevent unauthorized devices from accessing the system. Calibration parameters are used to calibrate and correct load cell measurement data. The data encryption key is a string of characters used to encrypt transmitted and stored weighing data.

[0035] It should be understood that the ARM-based integrated box, with its low power consumption and high performance, provides a stable operation solution for industrial sites. It can be equipped with a Linux system, MySQL database, and an anti-cheating monitoring platform. The choice of MySQL database as an open source database not only reduces software costs but also ensures system stability and security due to its extensive community support and continuous updates. In the anti-cheating configuration information stored in the integrated box, each device identification code corresponds to a set of calibration parameters and data encryption keys. The device identification code is used as the primary key for unique identification, facilitating subsequent query and management.

[0036] In a database, you can design corresponding data table structures to store different types of information. For example, create a table named "device_config" containing fields such as "device_id" (device identification code), "calibration_params" (calibration parameters), and "encryption_key" (data encryption key). When the system needs to query the anti-cheating configuration information of a specific weighing sensor, it will query the integrated box's database based on the sensor's device identification code. By executing an SQL query statement such as "SELECT * FROM device_config WHERE device_id = 'xxxxxx'", you can quickly obtain the corresponding calibration parameters and data encryption key.

[0037] It is understandable that when conducting information queries, the integrated box will first verify the permissions of the query request. Only authorized system components (such as communication links, instruments, etc.) can initiate query requests, and the legitimacy of the request will be verified to prevent illegal queries. Data encryption keys are usually generated using encryption algorithms (such as the AES algorithm). The integrated box will use a random number generator to generate a new encryption key during system initialization or at specific time intervals and store it in the database. To improve data security, data encryption keys need to be updated regularly. When the key is updated, the integrated box will synchronize the new key to the relevant system components (such as communication links, instruments, etc.) to ensure that the entire system uses the same encryption key for data encryption and decryption.

[0038] It should be understood that the integration box must strictly control access to anti-cheating configuration information. Only authorized personnel and system components can access and modify this information to prevent information leakage and malicious tampering.

[0039] The communication link is used to query the integrated box for the anti-cheating configuration information corresponding to the weighing sensor, perform a device authentication operation according to the device identification code and the calibration parameters, and send a device connection request to the instrument.

[0040] It should be noted that in the vehicle scale anti-cheating system, the communication link is the channel for data transmission and information exchange between components. It can use a wired method to connect devices such as weighing sensors, integrated boxes and instruments to ensure accurate and timely data transmission. Device authentication operation: refers to the process in which the communication link uses the device identification code and calibration parameters in the integrated box to confirm whether the weighing sensor is a legal device and whether it can be connected to the system. This operation can prevent illegal device access and enhance system security. Device connection request: After completing device authentication, the communication link sends a request signal to the instrument. The purpose is to establish a data connection with the instrument, thereby realizing the transmission and processing of weighing data.

[0041] It is understandable that when the communication link detects that a weighing sensor is connected to the system, it will actively send a query request to the integrated box. The request will contain the identification information of the weighing sensor so that the integrated box can accurately find the corresponding anti-cheating configuration information. When performing the device authentication operation, the communication link will compare the received device identification code with the actual identification of the weighing sensor. If the two are consistent, it means that the identity of the device is legal. After the device authentication is passed, the communication link will encapsulate the relevant authentication results and device information into a device connection request; if they are inconsistent, the device is judged to be an illegal device and its access to the system is prohibited. In addition to verifying the device identification code, the communication link will also check whether the received calibration parameters match the characteristics of the weighing sensor.

[0042] The instrument is used to query the integrated box for anti-cheating configuration information corresponding to the weighing sensor when receiving the device connection request from the communication link, and establish a data channel corresponding to the weighing sensor according to the anti-cheating configuration information.

[0043] It's important to note that in the truck scale anti-cheating system, the meter is a core control and display device, handling important tasks such as receiving, processing, and displaying weighing data. It also has the ability to exchange information with other components (such as communication links and integrated boxes). The meter is also equipped with an external AI robot capable of engaging in natural language conversations with weighing operators and management personnel. During operation, weighing operators can directly ask questions about equipment status, data interpretation, or operational procedures. In anti-cheating scenarios, when the system detects abnormal data or suspected cheating, the AI ​​robot can proactively issue a voice alert to relevant personnel, detailing the anomaly. Furthermore, the AI ​​robot possesses learning capabilities, continuously optimizing its response strategies and understanding of questions based on accumulated interaction data and business scenarios. The data channel is a two-way communication path established between the meter and the weighing sensor, supporting real-time data transmission and encrypted verification.

[0044] It's understood that when receiving a device connection request, the meter is constantly listening, awaiting the device connection request signal from the communication link. Once the communication link completes device authentication, it sends a request signal to the meter according to the established communication protocol. Upon receiving the request signal, the meter parses it and extracts key information, such as the device identification code and authentication status, for subsequent processing.

[0045] The communication link is also used to encrypt the real-time weighing data using the data encryption key when the data channel corresponding to the weighing sensor is successfully established, and send the encrypted weighing data and the environmental information to the integrated box for data interaction.

[0046] As you can understand, after the communication link is successfully established, the integrated box obtains the encryption key corresponding to the current sensor from the integrated box and combines the real-time weighing data and environmental information into a data packet to be encrypted. During data encryption, a symmetric encryption algorithm is used to encrypt the combined data packet, generate ciphertext, and append a digital signature or hash value to ensure that the data has not been tampered with during transmission.

[0047] It should be understood that after receiving the encrypted data, the integrated box needs to return a confirmation message. If the communication link does not receive the confirmation signal within the specified time, it will automatically resend the data or mark it as a transmission failure.

[0048] In this embodiment, the communication link is further used to obtain the device identification and compensation parameters of the weighing sensor.

[0049] As can be understood, the communication link sends a device information query command to the load cell through a pre-set physical interface. For example, the Modbus protocol command frame for reading the device ID is: 01 03 00 00 00 01 84 0A. The sensor responds with a data packet containing the device ID. The communication link parses the device ID field in the packet and extracts the identifier. From the response frame "01 03 02 00 0A 78 47," "00 0A" is extracted as the device ID.

[0050] It should be understood that when the communication link sends a compensation parameter query request to the integrated box, the integrated box must return matching compensation parameters based on current environmental data (such as temperature and vibration) and calibration history. The communication link then compares the obtained device identifier with the device identification code in the anti-cheating configuration information stored in the integrated box. If there is a mismatch, an alarm is triggered. The compensation parameters must undergo a threshold check against the standard values ​​in the calibration parameter library.

[0051] The communication link is further used to query the integrated box whether there is anti-cheating configuration information of the weighing sensor.

[0052] It's understood that upon detecting a new load cell connected to the system, or during system startup or periodic checks, the communication link will trigger a query from the integrated box for the load cell's anti-cheating configuration information. Simultaneously, according to the pre-agreed communication protocol, the query request, containing the load cell's identification information (such as the device identification code), is encapsulated into a data packet in a specific format. For example, in the Modbus protocol, a query request might include information such as a function code, slave address, data starting address, and data length.

[0053] The communication link is further used to determine whether the device identification code in the queried anti-cheating configuration information is consistent with the device identifier if there is anti-cheating configuration information corresponding to the weighing sensor, and to determine whether the stored calibration parameters match the compensation parameters.

[0054] It should be noted that the communication link obtains the device identification code from the anti-cheating configuration information corresponding to the weighing sensor from the integrated box, and simultaneously obtains its device identification from the weighing sensor. The obtained device identification code and device identification are compared bit by bit. If the two are exactly the same, the device identification codes are considered consistent; if any bit differs, they are considered inconsistent. For example, if the device identification code is "SN001" and the device identification is also "SN001", they are considered consistent; if the device identification is "SN002", they are considered inconsistent.

[0055] It's understandable that for some numerical parameters, such as the temperature compensation coefficient, the calibration and compensation parameters can be directly compared. If the difference between the two is within a pre-set error range (e.g., ±0.01), the parameters are considered matched; otherwise, they are considered mismatched. For parameters with logical relationships, such as the selection of compensation algorithms, it's necessary to check whether the algorithms specified by the calibration and compensation parameters are consistent. If they are, the parameters are considered matched; otherwise, they are considered mismatched.

[0056] It should be understood that when the load cell's operating environment or characteristics change, the calibration and compensation parameters may need to be updated accordingly. When making matching judgments on the communication link, ensure that the latest parameter information is used to avoid misjudgments due to outdated parameters.

[0057] The communication link is further configured to execute a device connection operation if the device identification codes are consistent and the calibration parameters match.

[0058] It is understood that the device connection operation includes steps such as initializing parameters and assigning channel numbers. When sending a connection instruction, the connection instruction is sent to the instrument via the Modbus protocol. The instrument allocates a dedicated data channel (such as CH-031) for the sensor and initializes the compensation queue. The integrated box writes the calibration parameters to the instrument's local cache for subsequent data compensation.

[0059] In this embodiment, the instrument is further used to query the integrated box whether there is anti-cheating configuration information corresponding to the weighing sensor.

[0060] As you can see, through the dynamic query mechanism between the meter and the integrated box, the system can verify the legitimacy of the weighing sensor in real time and block the following cheating behaviors: 1. Counterfeit sensor access: If a cheater forges the device identification, the data channel will be denied because it cannot be verified through the integrated box's configuration information. 2. Parameter tampering attacks: Calibration parameters and encryption keys are dynamically obtained from the integrated box, making it impossible for attackers to cheat by locally modifying meter parameters. 3. Replay attacks: Timestamps and random numbers are embedded in query requests and responses to effectively defend against historical data replay attacks.

[0061] The instrument is further configured to generate a data compensation rule according to the anti-cheating configuration information corresponding to the weighing sensor if there is anti-cheating configuration information, and write the data compensation rule into the weighing data compensation queue to complete the establishment of the data channel.

[0062] It should be noted that the data compensation rule is a dynamic calculation logic generated based on anti-cheating configuration information (such as calibration parameters and environmental correction coefficients) to correct the measurement error of the weighing sensor caused by environmental factors such as temperature and vibration. In this embodiment, the compensation rule can be a linear formula:

[0063] in, is the temperature compensation coefficient, is the difference between the current temperature and the calibration reference temperature, It is the zero drift correction value. is the measured value, is the weighing data after compensation.

[0064] It can be understood that the weighing data compensation queue is a priority queue (such as a first-in-first-out queue) maintained inside the instrument, which is used to store the compensation rules to be processed and their associated weighing data. The format of each record in the queue is: "sensor_id":"SN-2023-001", "raw_data": 15.6, "compensation_rule": "W_corrected =W_raw * (1 + 0.0035*(T-25)) -0.12", "timestamp": "2023-10-01 14:30:00".

[0065] The instrument is further configured to periodically send a device status detection signal to the communication link.

[0066] It should be noted that the device status detection signal is an instruction periodically sent by the instrument to verify the sensor connection status.

[0067] The communication link is further used to determine whether the weighing sensor is connected according to the device connection status. If the weighing sensor is connected, the device status detection signal is received and a device ready signal is returned to the instrument.

[0068] It should be noted that the device ready signal is a confirmation signal returned to the instrument after the communication link confirms that the sensor connection is normal.

[0069] The instrument is further configured to remove the data channel of the corresponding weighing sensor from the weighing data compensation queue when the device ready signal is not received within a preset response time.

[0070] It is understood that after the instrument sends the device status detection signal, it will start an internal timer. If the timer exceeds the preset time without receiving the ready signal, it will trigger a timeout. All compensation rules related to the sensor will be deleted from the compensation queue, and system resources such as memory and communication ports occupied by the channel will be released. The channel status will be marked as "offline", and the instrument display interface will be updated.

[0071] In this embodiment, the collaborative architecture of weighing sensors, integrated boxes, meters, and communication links enables full encryption protection of weighing data from collection to transmission. This ensures a dynamic match between device authentication and data encryption, safeguarding the authenticity of the weighing data source and the security of its transmission.

[0072] Based on the first embodiment of the above system, a second embodiment of the data security communication system of the present application is proposed.

[0073] In this embodiment, the integrated box is further configured to periodically send a weighing data compensation request to the instrument, receive the sensor to be compensated fed back by the instrument, and synchronize the sensor to be compensated to a local cache.

[0074] It's important to note that the weighing data compensation request is a command periodically sent by the integrated box to the instrument, requesting a list of sensors that currently require data compensation. Sensors to be compensated are the set of sensors whose data, as reported by the instrument, requires correction. The local cache is a temporary storage area within the integrated box that provides quick access to recently used sensor configuration information (such as device ID and calibration parameters).

[0075] In one example, the integrated box sends a compensation request (period of 1 minute). The instrument returns a list of sensors waiting for compensation, including SN-202309001 and SN-202309002. The integrated box adds these two sensors to its local cache, marking them as "pending compensation." It then sends another request, but the instrument reports that there are no sensors waiting for compensation, and the local cache remains unchanged. Finally, the cached data automatically expires, and the latest list is resynchronized.

[0076] The integrated box is further configured to select the sensor to be compensated in the local cache, initiate a dynamic compensation request to the instrument, receive the sensor to be compensated updated by the instrument according to the current working conditions, and refresh the local cache based on the updated sensor to be compensated.

[0077] It should be understood that the working condition represents the current working state of the sensor. The sensor screening logic includes priority sorting and batch processing, that is, based on the error level of the sensors in the cache and selecting a few sensors each time to initiate compensation requests to avoid network congestion.

[0078] The integrated box is further used to verify whether the refreshed local cache contains the weighing data compensation request corresponding to the sensor to be compensated.

[0079] As you can understand, the integrated box automatically scans the cache every minute to ensure that no compensation requests are missed. Upon receiving the dynamic compensation request response from the instrument, verification is immediately triggered. First, the cache is checked to see if the sensor ID corresponding to the compensation request exists. The compensation type (e.g., temperature / vibration) is consistent with the request, and the timestamp of the compensation request is within the cache validity period.

[0080] In one example, the integration box sends a temperature compensation request for sensor SN-202309001 to the instrument. The instrument returns an updated sensor list, with sensor SN-202309001 marked as "compensated." The integration box automatically verifies whether the compensation request exists in its cache. If a matching sensor_id, type, and timestamp are found in the cache, it is marked as "verified." If the request is not found in the cache, the retry logic is triggered and an alarm is issued indicating a synchronization failure.

[0081] The integrated box is further configured to send a data encryption key corresponding to the weighing sensor to the communication link if there is a weighing data compensation request corresponding to the sensor to be compensated.

[0082] The communication link is also used to encrypt the real-time weighing data using the data encryption key if the data encryption key is successfully received, and send the encrypted weighing data and the environmental information to the integrated box for data interaction.

[0083] It is understandable that after successfully obtaining the data encryption key issued by the integrated box, the communication link first integrates the weight data collected by the weighing sensor in real time (such as 10500kg) and environmental parameters (such as temperature 30℃, humidity 10%) into a structured data packet, and then encrypts it through the AES-256 algorithm to generate ciphertext and attach a tamper-proof timestamp and hash value to ensure data integrity; then the encrypted data packet is transmitted to the integrated box through the TLS / SSL encrypted channel. After receiving it, the integrated box verifies the hash value and decrypts and stores it. If the transmission times out, it will automatically resend it to ensure that the data interaction is completed safely and reliably.

[0084] The integrated box is further configured to analyze the weighing sensor and the current measurement environment according to the received weighing data and the environmental information, and to issue an alarm for abnormalities occurring in the weighing sensor and the current measurement environment based on the analysis result.

[0085] It is understandable that the integrated box is equipped with a software alarm system, which can receive in real time the weighing data fed back by the weighing sensor (such as weight value, stability, overload, etc.) and the environmental information collected by the environmental sensor (such as temperature, humidity, vibration, electromagnetic interference, etc.). Through comprehensive analysis of the two types of data, it can accurately identify possible faults of the weighing sensor (such as signal abnormality, drift, overload) or abnormal factors affecting the weighing accuracy in the current measurement environment (such as temperature and humidity exceeding the limit, excessive vibration, strong electromagnetic interference, etc.), and trigger the alarm in time according to the type and severity of the abnormality through sound and light prompts, information push, etc., to ensure the reliability of the weighing system and the accuracy of the measurement data.

[0086] In this embodiment, the vehicle scale anti-cheating system further includes a data compensation module.

[0087] The data compensation module is used to receive the environmental information of the current measurement environment uploaded by the weighing sensor, and generate a dynamic compensation coefficient according to the temperature, humidity and vibration parameters in the environmental information.

[0088] It can be understood that the data compensation module receives the environmental parameters (temperature, humidity, vibration) uploaded by the weighing sensor in real time, uses built-in algorithms (such as polynomial fitting or machine learning models) to analyze the impact of environmental factors on weighing data, and dynamically calculates the compensation coefficient, such as the weight correction ratio corresponding to each 1°C increase in temperature. In this way, the sensor output data is adjusted in real time in the integrated box to eliminate measurement errors caused by environmental interference and ensure the accuracy of the weighing results.

[0089] The data compensation module is further configured to send the dynamic compensation coefficient to the integrated box, update the calibration parameters in the anti-cheating configuration information, and correct the real-time weighing data of the weighing sensor.

[0090] It should be understood that after the data compensation module generates the dynamic compensation coefficient, such as the temperature compensation coefficient of 0.0015 / °C, it sends the coefficient to the integrated box through an encrypted communication link. After the integrated box verifies the integrity of the data, it automatically updates the calibration parameters in the anti-cheating configuration information (such as updating the original temperature coefficient of 0.0012 to 0.0015), and synchronizes it to the compensation queue of the corresponding weighing sensor, and corrects the original weighing data output by the sensor in real time (such as correcting 10,000 kg at 30°C to 10,045 kg), ensuring that the measurement results remain highly accurate when the environment changes.

[0091] The integrated box is further used to add a timestamp to the corrected weighing data, and encrypt the corrected weighing data and associated environmental information using the data encryption key to generate a tamper-proof data packet.

[0092] It should be noted that a tamper-proof data packet is a specially processed data set that ensures the integrity, authenticity and non-repudiation of the data during transmission, storage and use.

[0093] It should be understood that after receiving the dynamic compensation coefficient sent by the data compensation module, the integrated box first updates the calibration parameters in the anti-cheating configuration and corrects the real-time weighing data (such as correcting the temperature impact from 0.0012 to 0.0015). It then adds a timestamp accurate to milliseconds to the corrected data, such as 2023-10-01 12:34:56.789, and uses the data encryption key to encrypt the corrected data and associated environmental information (temperature, humidity, vibration), generating a tamper-proof data packet containing a digital signature (SHA-256 hash) to ensure that the data cannot be tampered with during transmission and is traceable.

[0094] In this example, by regularly synchronizing the list of sensors to be compensated, initiating dynamic compensation requests, and refreshing the local cache, the system can quickly respond to changing operating conditions (such as sensor failure or sudden environmental changes). The integrated box only issues encryption keys after verifying the legitimacy of the compensation request, ensuring a strong correlation between the key and the current device state, preventing encryption failures caused by key leaks.

[0095] Reference Figure 2 The present application provides a vehicle scale anti-cheating system and a vehicle scale anti-cheating method. Figure 2 This is a flow chart of the first embodiment of the vehicle scale anti-cheating method of this application. The vehicle scale anti-cheating method is applied to a vehicle scale anti-cheating system, which includes a weighing sensor, an integrated box, an instrument, and a communication link. The method includes: Step S10: The weighing sensor obtains real-time weighing data of the vehicle after being weighed and environmental information of the current measurement environment.

[0096] As you can understand, weighing sensors require calibration before use to ensure accurate measurement data. This process includes zero-point calibration and span calibration. Furthermore, since environmental factors can affect weighing data, measurement data must be corrected for these environmental influences. For example, sensor sensitivity can be compensated based on temperature changes to eliminate these temperature effects on measurement results.

[0097] In step S20, the integrated box stores anti-cheating configuration information, where the anti-cheating configuration information includes a device identification code, calibration parameters, and a data encryption key.

[0098] It is understandable that when conducting information queries, the integrated box will first verify the permissions of the query request. Only authorized system components (such as communication links, instruments, etc.) can initiate query requests, and the legitimacy of the request will be verified to prevent illegal queries. Data encryption keys are usually generated using encryption algorithms (such as the AES algorithm). The integrated box will use a random number generator to generate a new encryption key during system initialization or at specific time intervals and store it in the database. To improve data security, data encryption keys need to be updated regularly. When the key is updated, the integrated box will synchronize the new key to the relevant system components (such as communication links, instruments, etc.) to ensure that the entire system uses the same encryption key for data encryption and decryption.

[0099] It should be understood that the integration box must strictly control access to anti-cheating configuration information. Only authorized personnel and system components can access and modify this information to prevent information leakage and malicious tampering.

[0100] In step S30, the communication link queries the integrated box for anti-cheating configuration information corresponding to the weighing sensor, performs a device authentication operation according to the device identification code and the calibration parameters, and sends a device connection request to the meter.

[0101] It is understandable that when the communication link detects that a weighing sensor is connected to the system, it will actively send a query request to the integrated box. The request will contain the identification information of the weighing sensor so that the integrated box can accurately find the corresponding anti-cheating configuration information. When performing the device authentication operation, the communication link will compare the received device identification code with the actual identification of the weighing sensor. If the two are consistent, it means that the identity of the device is legal. After the device authentication is passed, the communication link will encapsulate the relevant authentication results and device information into a device connection request; if they are inconsistent, the device is judged to be an illegal device and its access to the system is prohibited. In addition to verifying the device identification code, the communication link will also check whether the received calibration parameters match the characteristics of the weighing sensor.

[0102] Furthermore, in order to prevent counterfeit sensors or unauthorized devices from accessing the system, physical cheating methods are blocked at the hardware level. Step S30 may include: Step S301: The communication link obtains the device identification and compensation parameters of the weighing sensor.

[0103] As can be understood, the communication link sends a device information query command to the load cell through a pre-set physical interface. For example, the Modbus protocol command frame for reading the device ID is: 01 03 00 00 00 01 84 0A. The sensor responds with a data packet containing the device ID. The communication link parses the device ID field in the packet and extracts the identifier. From the response frame "01 03 02 00 0A 78 47," "00 0A" is extracted as the device ID.

[0104] It should be understood that when the communication link sends a compensation parameter query request to the integrated box, the integrated box must return matching compensation parameters based on current environmental data (such as temperature and vibration) and calibration history. The communication link then compares the obtained device identifier with the device identification code in the anti-cheating configuration information stored in the integrated box. If there is a mismatch, an alarm is triggered. The compensation parameters must undergo a threshold check against the standard values ​​in the calibration parameter library.

[0105] Step S302: The communication link queries the integrated box to determine whether anti-cheating configuration information of the weighing sensor exists.

[0106] It's understood that upon detecting a new load cell connected to the system, or during system startup or periodic checks, the communication link will trigger a query from the integrated box for the load cell's anti-cheating configuration information. Simultaneously, according to the pre-agreed communication protocol, the query request, containing the load cell's identification information (such as the device identification code), is encapsulated into a data packet in a specific format. For example, in the Modbus protocol, a query request might include information such as a function code, slave address, data starting address, and data length.

[0107] Step S303: If the communication link contains anti-cheating configuration information corresponding to the weighing sensor, it is determined whether the device identification code in the queried anti-cheating configuration information is consistent with the device identifier, and whether the stored calibration parameters match the compensation parameters.

[0108] It's understandable that for some numerical parameters, such as the temperature compensation coefficient, the calibration and compensation parameters can be directly compared. If the difference between the two is within a pre-set error range (e.g., ±0.01), the parameters are considered matched; otherwise, they are considered mismatched. For parameters with logical relationships, such as the selection of compensation algorithms, it's necessary to check whether the algorithms specified by the calibration and compensation parameters are consistent. If they are, the parameters are considered matched; otherwise, they are considered mismatched.

[0109] Step S304: If the device identification codes of the communication link are consistent and the calibration parameters match, then a device connection operation is performed.

[0110] It is understood that the device connection operation includes steps such as initializing parameters and assigning channel numbers. When sending a connection instruction, the connection instruction is sent to the instrument via the Modbus protocol. The instrument allocates a dedicated data channel (such as CH-031) for the sensor and initializes the compensation queue. The integrated box writes the calibration parameters to the instrument's local cache for subsequent data compensation.

[0111] Step S40: When the instrument receives the device connection request from the communication link, it queries the integrated box for anti-cheating configuration information corresponding to the weighing sensor, and establishes a data channel corresponding to the weighing sensor according to the anti-cheating configuration information.

[0112] It's understood that when receiving a device connection request, the meter is constantly listening, awaiting the device connection request signal from the communication link. Once the communication link completes device authentication, it sends a request signal to the meter according to the established communication protocol. Upon receiving the request signal, the meter parses it and extracts key information, such as the device identification code and authentication status, for subsequent processing.

[0113] Furthermore, in order to generate dynamic data compensation rules based on the anti-cheating configuration and implement intelligent maintenance of the data channel based on device status detection, step S40 may include: Step S401: the meter queries the integrated box to determine whether anti-cheating configuration information corresponding to the weighing sensor exists.

[0114] As you can see, through the dynamic query mechanism between the meter and the integrated box, the system can verify the legitimacy of the weighing sensor in real time and block the following cheating behaviors: 1. Counterfeit sensor access: If a cheater forges the device identification, the data channel will be denied because it cannot be verified through the integrated box's configuration information. 2. Parameter tampering attacks: Calibration parameters and encryption keys are dynamically obtained from the integrated box, making it impossible for attackers to cheat by locally modifying meter parameters. 3. Replay attacks: Timestamps and random numbers are embedded in query requests and responses to effectively defend against historical data replay attacks.

[0115] In step S402, if the instrument has anti-cheating configuration information corresponding to the weighing sensor, a data compensation rule is generated according to the anti-cheating configuration information, and the data compensation rule is written into the weighing data compensation queue to complete the establishment of the data channel.

[0116] It can be understood that the weighing data compensation queue is a priority queue (such as a first-in-first-out queue) maintained inside the instrument, which is used to store the compensation rules to be processed and their associated weighing data. The format of each record in the queue is: "sensor_id":"SN-2023-001", "raw_data": 15.6, "compensation_rule": "W_corrected =W_raw*(1 + 0.0035*(T-25)) - 0.12", "timestamp": "2023-10-01 14:30:00".

[0117] Step S403: the instrument periodically sends a device status detection signal to the communication link.

[0118] It should be noted that the device status detection signal is an instruction sent periodically by the instrument to verify the sensor connection status.

[0119] Step S404: the communication link determines whether the weighing sensor is connected through the device connection status. If the weighing sensor is connected, the communication link receives the device status detection signal and returns a device ready signal to the instrument.

[0120] It should be noted that the device ready signal is a confirmation signal returned to the instrument after the communication link confirms that the sensor connection is normal.

[0121] Step S405: When the instrument does not receive the device ready signal within a preset response time, the data channel of the corresponding weighing sensor is removed from the weighing data compensation queue.

[0122] It is understood that after the instrument sends the device status detection signal, it will start an internal timer. If the timer exceeds the preset time without receiving the ready signal, it will trigger a timeout. All compensation rules related to the sensor will be deleted from the compensation queue, and system resources such as memory and communication ports occupied by the channel will be released. The channel status will be marked as "offline", and the instrument display interface will be updated.

[0123] Step S50: When the data channel corresponding to the weighing sensor is successfully established, the communication link encrypts the real-time weighing data using the data encryption key, and sends the encrypted weighing data and the environmental information to the integrated box for data interaction.

[0124] As you can understand, after the communication link is successfully established, the integrated box obtains the encryption key corresponding to the current sensor from the integrated box and combines the real-time weighing data and environmental information into a data packet to be encrypted. During data encryption, a symmetric encryption algorithm is used to encrypt the combined data packet, generate ciphertext, and append a digital signature or hash value to ensure that the data has not been tampered with during transmission.

[0125] It should be understood that after receiving the encrypted data, the integrated box needs to return a confirmation message. If the communication link does not receive the confirmation signal within the specified time, it will automatically resend the data or mark it as a transmission failure.

[0126] In this embodiment, the collaborative architecture of weighing sensors, integrated boxes, meters, and communication links enables full encryption protection of weighing data from collection to transmission. This ensures a dynamic match between device authentication and data encryption, safeguarding the authenticity of the weighing data source and the security of its transmission.

[0127] Reference Figure 3 , Figure 3 This is a flow chart of the second embodiment of the method for preventing cheating on a vehicle scale of the present application. Based on the above-mentioned first embodiment, the second embodiment of the method for preventing cheating on a vehicle scale of the present application is proposed.

[0128] In this embodiment, after step S50, the following steps are further included: In step S601, the integrated box periodically sends a weighing data compensation request to the meter, receives the sensor to be compensated fed back by the meter, and synchronizes the sensor to be compensated to a local cache.

[0129] In one example, the integrated box sends a compensation request (period of 1 minute). The instrument returns a list of sensors waiting for compensation, including SN-202309001 and SN-202309002. The integrated box adds these two sensors to its local cache, marking them as "pending compensation." It then sends another request, but the instrument reports that there are no sensors waiting for compensation, and the local cache remains unchanged. Finally, the cached data automatically expires, and the latest list is resynchronized.

[0130] In step S602, the integrated box selects the sensor to be compensated in the local cache, initiates a dynamic compensation request to the instrument, receives the sensor to be compensated updated by the instrument according to the current working conditions, and refreshes the local cache based on the updated sensor to be compensated.

[0131] It should be understood that the working condition represents the current working state of the sensor. The sensor screening logic includes priority sorting and batch processing, that is, based on the error level of the sensors in the cache and selecting a few sensors each time to initiate compensation requests to avoid network congestion.

[0132] Step S603: the integrated box verifies whether the refreshed local cache contains the weighing data compensation request corresponding to the sensor to be compensated.

[0133] As you can understand, the integrated box automatically scans the cache every minute to ensure that no compensation requests are missed. Upon receiving the dynamic compensation request response from the instrument, verification is immediately triggered. First, the cache is checked to see if the sensor ID corresponding to the compensation request exists. The compensation type (e.g., temperature / vibration) is consistent with the request, and the timestamp of the compensation request is within the cache validity period.

[0134] In one example, the integration box sends a temperature compensation request for sensor SN-202309001 to the instrument. The instrument returns an updated sensor list, with sensor SN-202309001 marked as "compensated." The integration box automatically verifies whether the compensation request exists in its cache. If a matching sensor_id, type, and timestamp are found in the cache, it is marked as "verified." If the request is not found in the cache, the retry logic is triggered and an alarm is issued indicating a synchronization failure.

[0135] Step S604: If the integrated box has the weighing data compensation request corresponding to the sensor to be compensated, the integrated box sends the data encryption key corresponding to the weighing sensor to the communication link.

[0136] Step S605: If the communication link successfully receives the data encryption key, the real-time weighing data is encrypted using the data encryption key, and the encrypted weighing data and the environmental information are sent to the integrated box for data interaction.

[0137] In step S606 , the integrated box analyzes the weighing sensor and the current measurement environment according to the received weighing data and the environmental information, and issues an alarm for abnormalities in the weighing sensor and the current measurement environment based on the analysis result.

[0138] It is understandable that the integrated box can receive in real time the weighing data fed back by the weighing sensor (such as weight value, stability, overload status, etc.) and the environmental information collected by the environmental sensor (such as temperature, humidity, vibration, electromagnetic interference, etc.). Through comprehensive analysis of the two types of data, it can accurately identify possible faults of the weighing sensor (such as signal abnormality, drift, overload) or abnormal factors affecting the weighing accuracy in the current measurement environment (such as temperature and humidity exceeding the limit, excessive vibration, strong electromagnetic interference, etc.), and trigger alarms in time according to the type and severity of the abnormality through sound and light prompts, information push, etc., to ensure the reliability of the weighing system and the accuracy of the measurement data.

[0139] Furthermore, in order to generate a dynamic compensation coefficient through environmental parameters, directly correct the weighing data and solve the measurement deviation caused by factors such as temperature, humidity, and vibration, the vehicle scale anti-cheating system also includes a data compensation module; after step S50, it also includes: The data compensation module receives environmental information of the current measurement environment uploaded by the weighing sensor, and generates a dynamic compensation coefficient according to the temperature, humidity and vibration parameters in the environmental information.

[0140] It can be understood that the data compensation module receives the environmental parameters (temperature, humidity, vibration) uploaded by the weighing sensor in real time, uses built-in algorithms (such as polynomial fitting or machine learning models) to analyze the impact of environmental factors on weighing data, and dynamically calculates the compensation coefficient, such as the weight correction ratio corresponding to each 1°C increase in temperature. In this way, the sensor output data is adjusted in real time in the integrated box to eliminate measurement errors caused by environmental interference and ensure the accuracy of the weighing results.

[0141] The data compensation module sends the dynamic compensation coefficient to the integrated box, updates the calibration parameters in the anti-cheating configuration information, and corrects the real-time weighing data of the weighing sensor.

[0142] It should be understood that after the data compensation module generates a dynamic compensation coefficient, such as a temperature compensation coefficient of 0.0015 / °C, it sends the coefficient to the integrated box via an encrypted communication link. After the integrated box verifies the integrity of the data, it automatically updates the calibration parameters in the anti-cheating configuration information (such as updating the original temperature coefficient of 0.0012 to 0.0015), and synchronizes it to the compensation queue of the corresponding weighing sensor, correcting the original weighing data output by the sensor in real time (such as correcting 10,000 kg at 30°C to 10,045 kg), ensuring that the measurement results remain highly accurate when the environment changes.

[0143] The integrated box adds a timestamp to the corrected weighing data, and encrypts the corrected weighing data and associated environmental information using the data encryption key to generate a tamper-proof data packet.

[0144] It should be understood that after receiving the dynamic compensation coefficient sent by the data compensation module, the integrated box first updates the calibration parameters in the anti-cheating configuration and corrects the real-time weighing data (such as correcting the temperature impact from 0.0012 to 0.0015). It then adds a timestamp accurate to milliseconds to the corrected data, such as 2023-10-01 12:34:56.789, and uses the data encryption key to encrypt the corrected data and associated environmental information (temperature, humidity, vibration), generating a tamper-proof data packet containing a digital signature (SHA-256 hash) to ensure that the data cannot be tampered with during transmission and is traceable.

[0145] In this embodiment, by regularly synchronizing the list of sensors to be compensated, initiating dynamic compensation requests, and refreshing the local cache, the system can quickly respond to changing operating conditions (such as sensor failure or sudden environmental changes). The integrated box only issues encryption keys after verifying the legitimacy of the compensation request, ensuring a strong correlation between the key and the current device state, preventing encryption failures caused by key leaks.

[0146] The above descriptions are only some embodiments of the present application and do not limit the scope of the present application. All equivalent structural transformations made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the scope of protection of the present application.

Claims

1. A vehicle scale anti-cheating system, characterized in that: The vehicle scale anti-cheating system includes a weighing sensor, an integrated box, an instrument and a communication link; The weighing sensor is used to obtain real-time weighing data after the vehicle is weighed and environmental information of the current measurement environment; The integrated box is used to store anti-cheating configuration information, wherein the anti-cheating configuration information includes a device identification code, calibration parameters, and a data encryption key; The communication link is used to query the integrated box for anti-cheating configuration information corresponding to the weighing sensor, perform a device authentication operation according to the device identification code and the calibration parameters, and send a device connection request to the meter; The instrument is configured to query the integrated box for anti-cheating configuration information corresponding to the weighing sensor when receiving the device connection request from the communication link, and establish a data channel corresponding to the weighing sensor according to the anti-cheating configuration information; The communication link is also used to encrypt the real-time weighing data using the data encryption key when the data channel corresponding to the weighing sensor is successfully established, and send the encrypted weighing data and the environmental information to the integrated box for data interaction.

2. The anti-cheating system for truck scales according to claim 1, characterized in that: The communication link is further used to obtain the device identification and compensation parameters of the weighing sensor; The communication link is further used to query the integrated box whether there is anti-cheating configuration information of the weighing sensor; The communication link is further configured to determine whether a device identification code in the queried anti-cheating configuration information is consistent with the device identifier, and to determine whether stored calibration parameters match the compensation parameters, if anti-cheating configuration information corresponding to the weighing sensor exists; The communication link is further configured to execute a device connection operation if the device identification codes are consistent and the calibration parameters match.

3. The anti-cheating system for truck scales according to claim 1, characterized in that: The instrument is further used to query the integrated box whether there is anti-cheating configuration information corresponding to the weighing sensor; The instrument is further configured to generate a data compensation rule according to the anti-cheating configuration information corresponding to the weighing sensor if the anti-cheating configuration information exists, and write the data compensation rule into the weighing data compensation queue to complete the establishment of the data channel; The instrument is further configured to periodically send a device status detection signal to the communication link; The communication link is further used to determine whether the weighing sensor is connected based on the device connection status, and if the weighing sensor is connected, receive the device status detection signal and return a device ready signal to the instrument; The instrument is further configured to remove the data channel of the corresponding weighing sensor from the weighing data compensation queue when the device ready signal is not received within a preset response time.

4. The anti-cheating system for truck scales according to claim 1, characterized in that: The integrated box is further configured to periodically send a weighing data compensation request to the instrument, receive the sensor to be compensated fed back by the instrument, and synchronize the sensor to be compensated to a local cache; The integrated box is further configured to select the sensor to be compensated in the local cache, initiate a dynamic compensation request to the instrument, receive the sensor to be compensated updated by the instrument according to the current working conditions, and refresh the local cache based on the updated sensor to be compensated; The integrated box is further configured to verify whether the refreshed local cache contains the weighing data compensation request corresponding to the sensor to be compensated; The integrated box is further configured to send a data encryption key corresponding to the weighing sensor to the communication link if there is a weighing data compensation request corresponding to the sensor to be compensated; The communication link is further configured to encrypt the real-time weighing data using the data encryption key if the data encryption key is successfully received, and to send the encrypted weighing data and the environmental information to the integrated box for data interaction; The integrated box is further configured to analyze the weighing sensor and the current measurement environment according to the received weighing data and the environmental information, and to issue an alarm for abnormalities occurring in the weighing sensor and the current measurement environment based on the analysis result.

5. The vehicle scale anti-cheating system according to any one of claims 1 to 4, characterized in that: The vehicle scale anti-cheating system also includes a data compensation module; The data compensation module is used to receive the environmental information of the current measurement environment uploaded by the weighing sensor, and generate a dynamic compensation coefficient according to the temperature, humidity and vibration parameters in the environmental information; The data compensation module is further configured to send the dynamic compensation coefficient to the integrated box, update the calibration parameters in the anti-cheating configuration information, and correct the real-time weighing data of the weighing sensor; The integrated box is further used to add a timestamp to the corrected weighing data, and encrypt the corrected weighing data and associated environmental information using the data encryption key to generate a tamper-proof data packet.

6. A method for preventing cheating on a truck scale, characterized in that: The method is applied to a vehicle scale anti-cheating system, which includes a weighing sensor, an integrated box, an instrument, and a communication link; the method includes: The weighing sensor obtains real-time weighing data of the vehicle after being weighed and environmental information of the current measurement environment; The integrated box stores anti-cheating configuration information, wherein the anti-cheating configuration information includes a device identification code, calibration parameters, and a data encryption key; The communication link queries the integrated box for anti-cheating configuration information corresponding to the weighing sensor, performs a device authentication operation according to the device identification code and the calibration parameters, and sends a device connection request to the meter; When the instrument receives the device connection request from the communication link, it queries the integrated box for anti-cheating configuration information corresponding to the weighing sensor, and establishes a data channel corresponding to the weighing sensor according to the anti-cheating configuration information; When the data channel corresponding to the weighing sensor is successfully established, the communication link encrypts the real-time weighing data using the data encryption key, and sends the encrypted weighing data and the environmental information to the integrated box for data interaction.

7. The anti-cheating method for a truck scale according to claim 6, characterized in that: The step of querying the integrated box for the anti-cheating configuration information corresponding to the weighing sensor, performing a device authentication operation according to the device identification code and the calibration parameters, and sending a device connection request to the meter includes: The communication link obtains the device identification and compensation parameters of the weighing sensor; The communication link queries the integrated box for anti-cheating configuration information of the weighing sensor; If the communication link contains anti-cheating configuration information corresponding to the weighing sensor, determining whether the device identification code in the queried anti-cheating configuration information is consistent with the device identifier, and determining whether the stored calibration parameters match the compensation parameters; If the device identification codes of the communication link are consistent and the calibration parameters match, a device connection operation is performed.

8. The anti-cheating method for a truck scale according to claim 6, characterized in that: The step of querying the integrated box for anti-cheating configuration information corresponding to the weighing sensor upon receiving the device connection request from the communication link, and establishing a data channel corresponding to the weighing sensor according to the anti-cheating configuration information includes: The instrument queries the integrated box whether there is anti-cheating configuration information corresponding to the weighing sensor; If the instrument has anti-cheating configuration information corresponding to the weighing sensor, it generates a data compensation rule according to the anti-cheating configuration information, and writes the data compensation rule into the weighing data compensation queue to complete the establishment of the data channel; The instrument periodically sends a device status detection signal to the communication link; The communication link determines whether the weighing sensor is connected according to the device connection status, and if the weighing sensor is connected, receives the device status detection signal and returns a device ready signal to the instrument; When the instrument does not receive the device ready signal within a preset response time, the data channel of the corresponding weighing sensor is removed from the weighing data compensation queue.

9. The anti-cheating method for a truck scale according to claim 6, characterized in that: After the step of encrypting the real-time weighing data using the data encryption key when the data channel corresponding to the weighing sensor is successfully established and sending the encrypted weighing data and the environmental information to the integrated box for data interaction, the method further includes: The integrated box periodically sends a weighing data compensation request to the instrument, receives the sensor to be compensated fed back by the instrument, and synchronizes the sensor to be compensated to the local cache; The integrated box selects the sensor to be compensated in the local cache, initiates a dynamic compensation request to the instrument, receives the sensor to be compensated updated by the instrument according to the current working conditions, and refreshes the local cache based on the updated sensor to be compensated; The integrated box verifies whether the refreshed local cache contains the weighing data compensation request corresponding to the sensor to be compensated; If the integrated box has the weighing data compensation request corresponding to the sensor to be compensated, the integrated box sends the data encryption key corresponding to the weighing sensor to the communication link; If the communication link successfully receives the data encryption key, the real-time weighing data is encrypted using the data encryption key, and the encrypted weighing data and the environmental information are sent to the integrated box for data interaction; The integrated box analyzes the weighing sensor and the current measurement environment according to the received weighing data and the environmental information, and issues an alarm for abnormalities occurring in the weighing sensor and the current measurement environment based on the analysis result.

10. The anti-cheating method for a truck scale according to any one of claims 6 to 9, characterized in that: The vehicle scale anti-cheating system also includes a data compensation module; After the step of encrypting the real-time weighing data using the data encryption key when the data channel corresponding to the weighing sensor is successfully established and sending the encrypted weighing data and the environmental information to the integrated box for data interaction, the method further includes: The data compensation module receives the environmental information of the current measurement environment uploaded by the weighing sensor, and generates a dynamic compensation coefficient according to the temperature, humidity and vibration parameters in the environmental information; The data compensation module sends the dynamic compensation coefficient to the integrated box, updates the calibration parameters in the anti-cheating configuration information, and corrects the real-time weighing data of the weighing sensor; The integrated box adds a timestamp to the corrected weighing data, and encrypts the corrected weighing data and associated environmental information using the data encryption key to generate a tamper-proof data packet.

Citation Information

Patent Citations

  • Cheating-prevention wagon balance weighing device and method

    CN105806457A

  • Anti-cheating method for digital weighing sensor, sensor, equipment and storage medium

    CN113390499A

  • Anti-cheating electronic scale

    CN118329181A

  • Anti-cheating system and anti-cheating method of electronic scale

    CN119164476A

  • Simulated truck scale anti-cheating and fault diagnosis device

    CN216483427U