Data security communication method and system for balance equipment and computer readable medium
By introducing a security protection module into the balance device for identity verification and encryption transmission, and combining verification code to ensure data integrity, the problem of data transmission security of balance device is solved, and reliable data transmission and security improvement are achieved.
Patent Information
- Application Number
- CN202310728538.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2024-12-20
AI Technical Summary
Modern balance equipment faces the risk of data leakage, tampering and transmission errors in the process of multi-module collaborative work and complex data interaction. Especially in the case of environmental interference, a technical solution that can ensure the secure data transmission is urgently needed.
Using data security communication method, by introducing security protection modules into balance equipment, generating and verifying authentication information, encrypting transmission, and using verification codes to ensure data integrity, ensuring data between balance application module and weighing sensor module Transmission security.
By providing third-party secure independent modules for authentication, encryption and data verification, ensuring the integrity and reliability of data transmission, improving the security of balance equipment, preventing data leakage and tampering, and enhancing transmission in interfering environments stability.
Smart Images

Figure CN119172087A_ABST
Abstract
Description
Technical Field
[0001] The present application mainly relates to a balance device in the field of weighing, and specifically relates to a data security communication method, system and computer-readable medium for a balance device. Background Art
[0002] Modern balance equipment has been widely used in various application scenarios such as laboratory weighing, industrial weighing, transportation and logistics, etc. Balance equipment obtains the weight data of an object through a weighing sensor, processes the weight data, and displays the content that needs to be presented to the user on a display device.
[0003] The new generation of balance equipment often involves the collaborative work between multiple modules and complex data interaction processes. If the weighing sensor is connected to an unknown balance application module, the weighing sensor continues to send weighing data, which will cause the user's weighing data to be leaked and face the risk of being stolen. If the balance application module is connected to an unknown weighing sensor, the balance application module still displays the weighing data, which will cause the user to receive incorrect weighing data, which is equivalent to causing the weighing data to be tampered with. In addition, when there is interference in the environment, there is a possibility of transmission errors in the data transmission between the various sub-modules of the balance. In response to these problems, there is an urgent need for a technical solution that can ensure the safe transmission of data between the various modules of the balance equipment. Summary of the invention
[0004] The technical problem to be solved by the present application is to provide a data security communication method, system and computer-readable medium to improve the security of data transmission between a balance application module and a weighing sensor module of a balance device.
[0005] The technical solution adopted by the present application to solve the above-mentioned technical problems is a data security communication method for a balance device, wherein the balance device includes a balance application module and a weighing sensor module, including: establishing a communication connection between the balance application module and the weighing sensor module; providing a security protection module, and the balance application module uses the security protection module to generate identity authentication information; the security protection module encrypts the identity authentication information and sends the encrypted identity authentication information to the weighing sensor module; and the weighing sensor module uses the security protection module to decrypt the encrypted identity authentication information and verify the identity authentication information. If the identity authentication information is valid, the weighing sensor module sends weighing data to the balance application module.
[0006] In an embodiment of the present application, the identity verification information includes identity information of the balance device and identity information of the security protection module.
[0007] In an embodiment of the present application, the identity information of the balance device includes a device serial number of the balance device.
[0008] In an embodiment of the present application, the identity information of the security protection module includes a version number of the security protection module.
[0009] In one embodiment of the present application, the step of the balance application module using the security protection module to generate identity authentication information also includes: generating a first verification code based on the identity information of the balance device and the identity information of the security protection module, and the identity authentication information also includes the first verification code.
[0010] In one embodiment of the present application, the step of the weighing sensor module using the security protection module to verify the identity authentication information includes: verifying the first verification code.
[0011] In one embodiment of the present application, it also includes: after the weighing sensor module obtains the weighing data, using the security protection module to generate a second verification code according to the weighing data, and sending the weighing data and the second verification code to the balance application module; and the balance application module receives the weighing data and the second verification code, and uses the security protection module to verify the validity of the weighing data. If the verification is successful, the balance application module accepts and processes the weighing data.
[0012] In one embodiment of the present application, the step of the balance application module receiving and processing the weighing data includes: the balance application module displays a weighing result obtained from the weighing data.
[0013] In one embodiment of the present application, the weighing data includes weighing setting parameters and / or weight values.
[0014] In one embodiment of the present application, it also includes: when the weighing sensor module uses the security protection module to verify that the result of the identity authentication information is valid, the balance application module sends a heartbeat packet to the weighing sensor module at a fixed frequency, and the weighing sensor module continues to send the weighing data after receiving the heartbeat packet; if the weighing sensor module does not receive the heartbeat packet within a time period exceeding a first preset time length, the weighing sensor module no longer sends the weighing data to the balance application module, and disconnects the communication connection with the balance application module.
[0015] In one embodiment of the present application, it further includes: if the balance application module does not receive the weighing data within a time period exceeding a second preset time length, the balance application module re-establishes a communication connection with the weighing sensor module.
[0016] In order to solve the above technical problems, the present application also proposes a data security communication system for a balance device, wherein the balance device includes a balance application module and a weighing sensor module, and includes: a memory for storing instructions executable by a controller; a security protection module arranged in a read-only partition in the memory; and a controller for executing the instructions to control the balance application module, the weighing sensor module and the security protection module to implement the data security communication method as described above.
[0017] In order to solve the above technical problems, the present application also proposes a computer-readable medium storing computer program codes, and the computer program codes implement the above data security communication method when executed by a processor.
[0018] The data security communication method and system of the present application, by providing a third-party, secure and independent security protection module to provide identity authentication, encryption, data verification and other services for the balance application module and the weighing sensor module, ensures the integrity and reliability of data transmission between the balance application module and the weighing sensor module, and greatly improves the security of the balance equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below with reference to the accompanying drawings, wherein:
[0020] Figure 1 is an exemplary flow chart of a data security communication method for a balance device according to an embodiment of the present application;
[0021] Figure 2 is an example block diagram of a data security communication system for a balance device according to an embodiment of the present application;
[0022] Figure 3 It is a block diagram of part of the structure of the data security communication system of the balance device in one embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below with reference to the accompanying drawings.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein, and therefore the present application is not limited to the specific embodiments disclosed below.
[0025] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0026] The data security communication method for a balance device of the present application can be applied to any type of balance device, and as long as the balance device includes a balance application module and a weighing sensor module, it falls within the scope of protection of the present application.
[0027] Figure 1 is an exemplary flow chart of a data security communication method for a balance device according to an embodiment of the present application. Figure 1 As shown, the data security communication method of this embodiment includes the following steps:
[0028] Step S110: establishing a communication connection between the balance application module and the weighing sensor module;
[0029] Step S120: providing a security protection module, and the balance application module uses the security protection module to generate identity authentication information;
[0030] Step S130: the security protection module encrypts the identity authentication information and sends the encrypted identity authentication information to the weighing sensor module; and
[0031] Step S140: The weighing sensor module uses the security protection module to decrypt the encrypted identity authentication information and verify the identity authentication information. If the identity authentication information is valid, the weighing sensor module sends the weighing data to the balance application module.
[0032] Figure 2 is an example block diagram of a data security communication system of a balance device according to an embodiment of the present application. Figure 2 As shown, the data security communication system 200 of this embodiment includes a balance application module 210, a weighing sensor module 220, a security protection module 230, a memory 240 and a controller 250. Among them, the security protection module 230 can be set in a read-only partition of the memory 240 in a program manner. The memory 240 is used to store instructions that can execute the data security communication method of the present application, and the controller 250 is used to read the instructions and control the various modules in the data security communication system 200 according to the instructions to execute the method.
[0033] It should be noted that the data security communication method of the present application can be Figure 2 The data security communication system 200 shown in the figure can be executed, and can also be executed by other devices. Figure 2 To illustrate Figure 1 Steps S110 to S140 in the data security communication method shown in .
[0034] like Figure 2 As shown, the balance application module 210 and the weighing sensor module 220 in the data security communication system 200 are two submodules included in the balance device. In some embodiments, the balance device includes at least two microprocessors (MCUs), assuming that they are a first microprocessor and a second microprocessor, the balance application module 210 is set in the first microprocessor, and the weighing sensor module 220 is set in the second microprocessor. During the startup phase of the balance device, for example Figure 1 In step S110, the controller 250 may control the balance application module 210 and the weighing sensor module 220 to establish a communication connection according to the agreed communication protocol. In some embodiments, the balance application module 210 is equivalent to the client, and the weighing sensor module 220 is the server. The balance application module 210 may be an APP set on an external device. One weighing sensor module 220 may establish a communication connection with multiple balance application modules 210. One balance application module 210 may establish a communication connection with multiple weighing sensor modules 220.
[0035] This application does not impose any restrictions on the communication method, and communication can be carried out in wired or wireless manners, using network communication protocols and network resources in the prior art.
[0036] In some embodiments, after establishing the communication connection, the balance application module 210 or the weighing sensor module 220 generates a CRC32 check code for the data to be sent, and the data receiving device performs a CRC32 check on the data when receiving the data to ensure the security of the data. However, when the identity of any one of the balance application module 210 and the weighing sensor module 220 is incorrect, it is impossible to confirm whether the identity information is correct only through the check code. Therefore, in step S120, the data security communication method of the present application provides a security protection module 230, and the balance application module 210 uses the security protection module 230 to generate identity authentication information.
[0037] It should be noted that the security protection module 230 provided in step S120 can be executed before step S110. The security protection module 230 is stored in a read-only area in the memory 240 in the form of a program, and the read-only area can ensure that the content of the security protection module 230 will not be modified, or will not be easily modified. For example, the modification permission of the security protection module 230 is only open to users with administrator privileges, and ordinary users do not have the right to write access to the security protection module 230.
[0038] In step S120, the identity information of the balance device may be any information that can be used to uniquely identify the balance device. In some embodiments, the identity information of the balance device includes the device serial number of the balance device. The identity information of the security protection module 230 may be any information that can be used to uniquely identify the security protection module 230. In some embodiments, the identity information of the security protection module 230 is its version number. After each upgrade or modification, the security protection module 230 will generate a latest version number, so the version number can be used as the unique identity information to distinguish the current security protection module 230.
[0039] In some embodiments, in step S120, the controller 250 may control the balance application module 210 to generate identity authentication information using the security protection module 230. This step may include: the balance application module 210 sends the identity information of the balance device to the security protection module 230, the balance application module 210 obtains its own identity information, and the identity authentication information includes the identity information of the balance device and the identity information of the security protection module 230.
[0040] In some embodiments, in step S120, the step of the balance application module 210 using the security protection module 230 to generate identity authentication information further includes: generating a first verification code according to the identity information of the balance device and the identity information of the security protection module 230, and the identity authentication information also includes the first verification code. The first verification code can be used for subsequent verification of the identity authentication information.
[0041] In step S130, the security protection module 230 encrypts the identity authentication information. The present application does not limit the encryption method, and the encryption method may adopt any encryption method commonly used in the art, such as the AES128 method.
[0042] In step S140, after receiving the encrypted identity authentication information, the weighing sensor module 220 sends the encrypted identity authentication information to the security protection module 230. The security protection module 230 verifies the encrypted identity authentication information. If the identity authentication information is valid, the controller 250 controls the weighing sensor 220 to send weighing data to the balance application module.
[0043] After steps S110 to S140, the provided security protection module 230 can be used as a third-party security device to verify the identities of the balance application module 210 and the security protection module 230, so that only the balance application module 210 that passes the identity authentication can perform effective data transmission with the weighing sensor module 220. Figure 2As shown in the arrow pointing from the weighing sensor module 220 to the balance application module 210. According to such an embodiment, the weighing sensor module 220 can be prevented from sending weighing data to an unknown balance application module 210, thereby causing data leakage.
[0044] In some embodiments, the data security communication method of the present application further includes the following steps:
[0045] Step S150: After the weighing sensor module 220 obtains the weighing data, the security protection module 230 generates a second check code according to the weighing data, and sends the weighing data and the second check code to the balance application module 210; and
[0046] Step S160: The balance application module 210 receives the weighing data and the second verification code, and uses the security protection module 230 to verify the validity of the weighing data. If the verification is successful, the balance application module accepts and processes the weighing data.
[0047] It should be noted that after steps S110 to S140, the identities of the balance application module 210 and the data protection module 230 have been verified. At this time, the weighing sensor module 220 may not have started collecting weighing data and may be in an idle state. Therefore, in step S150, it is defined that after identity authentication, if the weighing sensor module 220 works to obtain weighing data, the weighing data is not directly sent to the balance application module 210, but first the weighing sensor module 220 sends the weighing data to the security protection module 230, the security protection module 230 generates a second check code based on the weighing data, and then the weighing sensor module 220 sends the weighing data and the second check code together to the balance application module 210.
[0048] At the same time, the balance application module 210 does not start using the weighing data directly after obtaining it. Instead, in step S160, after receiving the weighing data and the second check code, at least the second check code is sent to the security protection module 230, and the security protection module 230 verifies the validity of the weighing data. If the verification is successful, the balance application module 210 accepts and post-processes the weighing data. In some embodiments, in step S160, the balance application module 210 sends both the weighing data and the second check code to the security protection module 230, and the security protection module 230 performs verification processing based on the weighing data and the second check code.
[0049] In some embodiments, the step of receiving and processing the weighing data by the balance application module 210 includes: the balance application module 210 displays the weighing result obtained from the weighing data. In these embodiments, the balance application module 210 includes a display device, such as a display screen.
[0050] In some embodiments, the weighing data includes weighing setting parameters, which may be parameters preset by the balance device or specific parameters set by the user through a human-computer interaction interface. In some cases, the setting parameters may change or be updated.
[0051] In some embodiments, the weighing data includes a weight value, ie, a weight value of the weighed object.
[0052] In some embodiments, the weighing data includes both the weighing setting parameters and the weight value.
[0053] The balance application module 210 can perform post-processing on the set parameters and weight values according to application requirements, such as extracting required information, calculating the mean, variance, etc., so as to display the required values, charts, etc. on the display interface.
[0054] In some embodiments, the data security communication method of the present application further includes:
[0055] Step S170: When the result of the identity authentication information in step S140 is valid, the balance application module 210 sends a heartbeat packet to the weighing sensor module 220 at a fixed frequency f, such as Figure 2 As shown by the dotted arrow in FIG. , the weighing sensor module 220 continues to send weighing data after receiving the heartbeat packet, such as Figure 2 If the weighing sensor module 220 does not receive the heartbeat packet within a time period exceeding the first preset time length, the weighing sensor module 220 no longer sends weighing data to the balance application module 210, and disconnects the communication connection between the weighing sensor module 210 and the balance application module 210.
[0056] This application does not limit the specific values of the fixed frequency f and the first preset duration.
[0057] It should be noted that step S170 can be executed synchronously with steps S150 and S160. That is, during the execution of steps S150 and S160, by sending a heartbeat packet, the weighing sensor 220 can be informed that the balance application module 210 is in an available state. When the balance application module 210 has a problem and is unavailable, the weighing sensor module 220 can obtain this information in time and stop sending weighing data to the original balance application module 210. At the same time, the controller 250 controls the weighing sensor module 220 and the balance application module 210 to disconnect the communication connection in time, thereby avoiding further information leakage.
[0058] In some embodiments, the data security communication method of the present application further includes:
[0059] Step S180 : If the balance application module 210 does not receive any weighing data within a period of time exceeding the second preset time length, the balance application module 210 re-establishes a communication connection with the weighing sensor module 220 .
[0060] According to step S180, the balance application module 210 reestablishes a communication connection with the weighing sensor module 220 in two cases: first, if the communication between the balance application module 210 and the weighing sensor module 220 is disconnected at this time, the connection is directly reestablished; second, if the communication between the balance application module 210 and the weighing sensor module 220 is connected at this time, the current connection is first disconnected, and then the connection is reestablished. After step S180, it is equivalent to executing step S110, so after this, if the balance device is still in working state, continue to execute steps S120 to S140, and after verifying the identity of the balance device and the security protection module, execute the subsequent steps.
[0061] The judgment logic in step S180 may run through the entire method process. Once it is detected that no weighing data is received within a time period exceeding the second preset time length, the balance application module 210 re-establishes a communication connection with the weighing sensor module 220 .
[0062] The data security communication method and system of the present application, by providing a third-party, secure and independent security protection module 230 to provide identity authentication, encryption, data verification and other services for the balance application module 210 and the weighing sensor module 220, ensures the integrity and reliability of data transmission between the balance application module 210 and the weighing sensor module 220, and greatly improves the security of the balance equipment.
[0063] Figure 3 1 is a block diagram of a partial structure of a data security communication system of a balance device according to an embodiment of the present application. Figure 3 As shown, the data security communication system 300 may include an internal communication bus 301 , a controller 302 , a read-only memory (ROM) 303 , a random access memory (RAM) 304 , and a communication port 305 . Figure 2 The security protection module 230 shown in the figure can be set in the read-only memory 303.
[0064] When applied on a personal computer, the data security communication system 300 may also include a hard disk 306. The internal communication bus 301 may implement data communication between the components of the data security communication system 300. The controller 302 may make judgments and issue prompts. In some embodiments, the controller 302 may be composed of one or more processors, and the processor may be a CPU, MCU, etc. The communication port 305 may implement data communication between the data security communication system 300 and the outside. In some embodiments, the data security communication system 300 may send and receive information and data from the network through the communication port 305. The data security communication system 300 may also include different forms of program storage units and data storage units, such as a hard disk 306, a read-only memory (ROM) 303 and a random access memory (RAM) 304, which can store various data files used for computer processing and / or communication, and possible program instructions executed by the controller 302. The controller executes these instructions to implement the main part of the method. The result of the controller processing is transmitted to the user device through the communication port and displayed on the user interface.
[0065] The above-mentioned data security communication method can be implemented as a computer program, stored in the hard disk 306, and can be loaded into the controller 302 for execution to implement the data security communication method of the present application.
[0066] The present application also includes a computer-readable medium storing a computer program code, which implements the data security communication method described above when executed by a processor.
[0067] When the data security communication method of the balance device is implemented as a computer program, it can also be stored in a computer-readable storage medium as a product. For example, a computer-readable storage medium can include, but is not limited to, a magnetic storage device (e.g., a hard disk, a floppy disk, a magnetic strip), an optical disk (e.g., a compact disk (CD), a digital versatile disk (DVD)), a smart card, and a flash memory device (e.g., an electrically erasable programmable read-only memory (EPROM), a card, a stick, a key drive). In addition, the various storage media described herein can represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" can include, but is not limited to, wireless channels and various other media (and / or storage media) that can store, contain and / or carry code and / or instructions and / or data.
[0068] It should be understood that the embodiments described above are only illustrative. The embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For hardware implementation, the processor may be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, and / or other electronic units designed to perform the functions described herein, or a combination thereof.
[0069] Some aspects of the present application may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". The processor may be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or combinations thereof. In addition, various aspects of the present application may be expressed as computer products located in one or more computer-readable media, which include computer-readable program codes. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes ...), optical disks (e.g., compact disks CDs, digital versatile disks DVDs ...), smart cards, and flash memory devices (e.g., cards, sticks, key drives ...).
[0070] A computer-readable medium may include a propagated data signal containing computer program code, such as in baseband or as part of a carrier wave. The propagated signal may have a variety of manifestations, including electromagnetic, optical, etc., or a suitable combination. A computer-readable medium may be any computer-readable medium other than a computer-readable storage medium, which may be connected to an instruction execution system, device or apparatus to communicate, propagate or transmit a program for use. The program code on the computer-readable medium may be propagated via any suitable medium, including radio, cable, fiber optic cable, radio frequency signal, or similar medium, or any combination of the above mediums.
[0071] The basic concepts have been described above. Obviously, for those skilled in the art, the above invention disclosure is only used as an example and does not constitute a limitation of the present application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements and amendments to the present application. Such modifications, improvements and amendments are suggested in the present application, so such modifications, improvements and amendments still belong to the spirit and scope of the exemplary embodiments of the present application.
[0072] At the same time, the present application uses specific words to describe the embodiments of the present application. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, some features, structures or characteristics in one or more embodiments of the present application can be appropriately combined.
[0073] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
Claims
1. A data security communication method for a balance device, the balance device comprising a balance application module and a weighing sensor module, characterized in that: include: Establishing a communication connection between the balance application module and the weighing sensor module; Providing a security protection module, the balance application module uses the security protection module to generate identity authentication information; The security protection module encrypts the identity authentication information and sends the encrypted identity authentication information to the weighing sensor module; and The weighing sensor module uses the security protection module to decrypt the encrypted identity authentication information and verify the identity authentication information. If the identity authentication information is valid, the weighing sensor module sends weighing data to the balance application module.
2. The data security communication method according to claim 1, characterized in that: The identity verification information includes the identity information of the balance device and the identity information of the security protection module.
3. The data security communication method according to claim 2, characterized in that: The identity information of the balance device includes a device serial number of the balance device.
4. The data security communication method according to claim 2 or 3, characterized in that: The identity information of the security protection module includes the version number of the security protection module.
5. The data security communication method according to claim 1, characterized in that: The step of the balance application module using the security protection module to generate identity authentication information also includes: generating a first verification code according to the identity information of the balance device and the identity information of the security protection module, and the identity authentication information also includes the first verification code.
6. The data security communication method according to claim 5, characterized in that: The step of the weighing sensor module using the security protection module to verify the identity authentication information includes: verifying the first verification code.
7. The data security communication method according to claim 1, characterized in that: Also includes: After the weighing sensor module obtains the weighing data, the safety protection module generates a second check code according to the weighing data, and sends the weighing data and the second check code to the balance application module; and The balance application module receives the weighing data and the second verification code, and uses the security protection module to verify the validity of the weighing data. If the verification is successful, the balance application module accepts and processes the weighing data.
8. The data security communication method according to claim 7, characterized in that: The step of the balance application module receiving and processing the weighing data includes: the balance application module displays a weighing result obtained from the weighing data.
9. The data security communication method according to claim 1, characterized in that: The weighing data includes weighing setting parameters and / or weight values.
10. The data security communication method according to claim 1, characterized in that: Also includes: When the weighing sensor module uses the security protection module to verify that the result of the identity authentication information is valid, the balance application module sends a heartbeat packet to the weighing sensor module at a fixed frequency, and the weighing sensor module continues to send the weighing data after receiving the heartbeat packet; if the weighing sensor module does not receive the heartbeat packet within a time period exceeding a first preset time length, the weighing sensor module no longer sends the weighing data to the balance application module, and disconnects the communication connection with the balance application module.
11. The data security communication method according to claim 1 or 10, characterized in that: Also includes: If the balance application module does not receive the weighing data within a time period exceeding a second preset time length, the balance application module re-establishes a communication connection with the weighing sensor module.
12. A data security communication system for a balance device, the balance device comprising a balance application module and a weighing sensor module, characterized in that: include: a memory for storing instructions executable by the controller; A security protection module is arranged in a read-only partition in the memory; A controller is used to execute the instructions to control the balance application module, the weighing sensor module and the security protection module to implement the data security communication method as described in any one of claims 1 to 11.
13. A computer-readable medium storing computer program codes, wherein the computer program codes, when executed by a processor, implement the data security communication method according to any one of claims 1 to 11.
