Data transmission methods and related equipment for electronic scales

CN122554136APending Publication Date: 2026-08-11SHENZHEN KANGYOU HEALTH TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-30
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

然而,在家庭、健身房、瑜伽馆等场地,存在多人共用一台电子秤的场景,如多人绑定同一台电子秤,当用户A使用这台电子秤进行测量后,其他已绑定的用户打开健康管理应用程序也可以接收到用户A的测量数据,导致数据归属混乱,数据隐私泄露,用户体验不佳

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122554136A_ABST
    Figure CN122554136A_ABST
Patent Text Reader

Abstract

This application relates to the field of health management technology, and provides a data transmission method and related equipment for an electronic scale. The data transmission method includes: when a user uses the electronic scale, receiving a user ID and encrypted data sent by the electronic scale; invoking a pre-stored binding relationship, determining the associated terminal device and pairing key from the binding relationship based on the user ID; decrypting the encrypted data using the pairing key, and pushing the decrypted data to the terminal device. This enables targeted privacy push of user measurement data, effectively protecting user measurement data privacy and improving user experience in environments where multiple people share a single electronic scale.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of health management technology, specifically to a data transmission method for an electronic scale and related equipment. Background Technology

[0002] With the continuous improvement of living standards, people's increasing attention to health and pursuit of a perfect figure have made it crucial for the public to quickly understand their health status, such as weight, body fat, and muscle mass. Therefore, electronic scales, due to their ability to quickly measure a person's health data, have gradually become frequently used everyday items.

[0003] Traditional smart scales typically rely on Bluetooth technology to interact with and synchronize data with users' mobile devices. However, in settings such as homes, gyms, and yoga studios, multiple people may share a single scale. If multiple users are linked to the same scale, when user A uses that scale to take a measurement, other linked users can also receive user A's measurement data through their health management applications. This leads to confusion regarding data ownership, data privacy breaches, and a poor user experience. Summary of the Invention

[0004] In view of the above problems, this application provides a data transmission method and related equipment for an electronic scale to solve the above technical problems.

[0005] In a first aspect, embodiments of this application provide a data transmission method for an electronic scale, applied to a cloud server, the data transmission method comprising: When a user uses the electronic scale, the user receives the user ID and encrypted data sent by the electronic scale. Invoke the pre-stored binding relationship, and determine the associated terminal device and pairing key from the binding relationship based on the user ID; By using the pairing key to decrypt the encrypted data and pushing the decrypted data to the terminal device, targeted privacy push of user measurement data can be achieved, effectively protecting user measurement data privacy and improving user experience in an environment where multiple people share an electronic scale.

[0006] Secondly, embodiments of this application also provide a data transmission method for an electronic scale, applied to the electronic scale, the data transmission method comprising: When the terminal device touches the NFC chip area, the user ID and a public key certificate containing the first public key are sent to the terminal device through the NFC chip. When the pairing key encrypted with the first public key is received from the terminal device, the pre-stored first private key is used to decrypt the pairing key. A binding relationship is generated based on the user ID, the device serial number of the terminal device, the device serial number of the electronic scale, and the decrypted pairing key, and reported to the cloud server. This enables a seamless connection between the electronic scale and the terminal device. By decrypting the pairing key with the first private key of the electronic scale, it is ensured that the pairing key can only be obtained by the electronic scale associated with the user ID, thereby improving the security of data transmission.

[0007] Thirdly, embodiments of this application also provide a data transmission method for an electronic scale, applied to a terminal device, the data transmission method comprising: When a user's registration or login request is received, a request to create a user profile is sent to the cloud server. When the user ID returned by the cloud server in response to the request to create a user profile is received, the user ID is cached and a second public key and a second private key are generated. A certificate signing request is generated based on the user ID and the second public key, and the certificate signing request is sent to the cloud server. This enables a seamless operation process of registration-login-profile creation-certificate application to be completed on the terminal device. Users do not need to jump to multiple pages or switch between different applications, simplifying the operation process. By generating the second public key and the second private key on the terminal device, the key generation process avoids dependence on the cloud or exposure to network transmission, ensuring the security of the user's private key from the source.

[0008] Fourthly, embodiments of this application also provide a cloud server, including a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale.

[0009] Fifthly, embodiments of this application also provide an electronic scale, including a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale.

[0010] Sixthly, embodiments of this application also provide a terminal device, including a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale.

[0011] This application provides a data transmission method for an electronic scale, applied to a cloud server. The data transmission method includes: when a user uses the electronic scale, receiving a user ID and encrypted data sent by the electronic scale; invoking a pre-stored binding relationship, determining the associated terminal device and pairing key from the binding relationship based on the user ID; decrypting the encrypted data using the pairing key, and pushing the decrypted data to the terminal device; by binding the "user ID—terminal device—pairing key" relationship, each piece of user data is labeled with a "user identity tag," achieving accurate decryption and data push. This ensures that when multiple users share the electronic scale or multiple devices are bound to the same user, the user always sees their own data through the terminal device, avoiding privacy confusion and misjudgment; furthermore, the data is encrypted during transmission between the electronic scale and the cloud server, preventing user data leakage or malicious tampering, thereby improving the user experience.

[0012] These or other aspects of this application will become more apparent in the following description of the embodiments. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 The data transmission system of the electronic scale provided in the embodiment of this application is shown.

[0015] Figure 2 This application illustrates a data transmission method for an electronic scale according to an embodiment of the present application.

[0016] Figure 3 A data transmission method for an electronic scale according to another embodiment of this application is shown.

[0017] Figure 4 A data transmission method for an electronic scale according to another embodiment of this application is shown.

[0018] Figure 5 A data transmission method for an electronic scale according to another embodiment of this application is shown.

[0019] Figure 6 A data transmission method for an electronic scale according to another embodiment of this application is shown.

[0020] Figure 7 A data transmission method for an electronic scale according to another embodiment of this application is shown.

[0021] Figure 8 A data transmission method for an electronic scale according to another embodiment of this application is shown. Detailed Implementation

[0022] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0023] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0024] In the embodiments of this application, it should be noted that, in this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0025] Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0026] In the description of the embodiments of this application, the words "example" or "for example" are used to indicate exemplification, illustration, or description. Any embodiment or design described as "example" or "for example" in the embodiments of this application is not to be construed as being more preferred or having more advantages than another embodiment or design. The use of the words "example" or "for example" is intended to present relative concepts in a clear manner.

[0027] Furthermore, in the embodiments of this application, "multiple" refers to two or more. Therefore, in the embodiments of this application, "multiple" can also be understood as "at least two". "At least one" can be understood as one or more, such as one, two, or more. For example, including at least one means including one, two, or more, and is not limited to which ones are included. For example, including at least one of A, B, and C, then it could include A, B, C, A and B, A and C, B and C, or A and B and C.

[0028] It should be noted that in the embodiments of this application, "and / or" describes the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after it are in an "or" relationship.

[0029] Traditional electronic scales typically transmit measurement data to all paired devices via Bluetooth broadcast after measurement, or rely on users manually selecting to receive measurement data on their devices. This method lacks an effective directional control mechanism during the data broadcast phase. Theoretically, any device within range and paired could receive the measurement data, failing to fundamentally eliminate the risk of data being received by unintended devices. This is particularly problematic in settings like homes, gyms, and yoga studios, where multiple users (e.g., family members, gym members) need to pair the same scale. The process is often cumbersome and prone to mispairing or forgetting to unpair. Once all users have paired the scale, when user A uses it for measurement, other paired users (e.g., users B and C) might also receive user A's measurement data if they open their respective health management applications, leading to data ownership confusion, data privacy leaks, and a poor user experience.

[0030] like Figure 1 As shown, Figure 1The data transmission system 100 of an electronic scale provided in this application embodiment is illustrated schematically. The data transmission system 100 includes an electronic scale 10, a terminal device 20, and a cloud server 30. The electronic scale 10 and the terminal device 20 are connected via Near Field Communication (NFC). NFC is a short-range wireless communication technology used to simplify the pairing and key exchange process between devices, making operation more convenient. The electronic scale 10 includes, but is not limited to, body fat scales, medical scales, and platform scales; this application uses a body fat scale as an example. The terminal device 20 can be a mobile terminal (e.g., a smartphone or tablet supporting NFC), with a corresponding health management application (such as Xiaomi Health, Huawei Health, Keep, etc.) installed. The electronic scale 10 has a built-in NFC chip, which acts as a "trigger" to conduct short-range communication with the terminal device 20 when the user steps on the scale or approaches it, triggering a quick start to the pairing process or opening the health management application. The electronic scale 10 and the cloud server 30 are connected via a network channel, and the terminal device 20 and the cloud server 30 are also connected via a network channel. Network channels include, but are not limited to, Bluetooth, Wi-Fi, NFC, and cellular networks.

[0031] In the aforementioned data transmission system 100, a complete process from user registration to binding of the electronic scale 10 and subsequent data interaction and security processing during use can be realized. As one embodiment, the process can be divided into three main stages: user registration / login stage, binding stage, and post-binding usage stage. The user registration / login stage involves the user completing registration and initialization settings on the health management application, preparing for subsequent interaction with the electronic scale 10, including user profile creation, user ID allocation, key generation, and certificate application. The binding stage involves using NFC technology to pair and bind the terminal device 20 with the electronic scale 10, establishing a secure connection, and generating and exchanging a pairing key (SessionKey, SK) for subsequent data transmission encryption. The post-binding usage stage is the process where, after the user stands on the electronic scale 10 to take measurements, the electronic scale 10 securely and directionally transmits the measurement data to the terminal device 20, ultimately displaying it to the user.

[0032] like Figure 2 As shown, Figure 1 This illustration schematically depicts a data transmission method for an electronic scale according to an embodiment of this application. This data transmission method is applied to a cloud server and belongs to the post-binding usage stage, including the following steps: Step S10: When the user uses the electronic scale, receive the user ID and encrypted data sent by the electronic scale.

[0033] In step S10, during daily use, the user stands on the electronic scale to measure body indicators such as weight and body fat percentage. The scale's internal sensors collect this measurement data and then encrypt it using a pre-stored pairing key. This is symmetric encryption; the pairing key is used for both encryption and decryption. This means that after the scale encrypts the data with the pairing key, only devices possessing the key can decrypt and view the data. This prevents data interception during transmission, which could lead to user data leakage or malicious tampering, thus improving the user experience. Finally, the scale sends the encrypted measurement data along with the user ID to the cloud server.

[0034] Step S11: Invoke the pre-stored binding relationship, and determine the associated terminal device and pairing key from the binding relationship based on the user ID.

[0035] In step S11, the binding relationship is reported to the cloud server by the electronic scale during the binding phase. This includes the association between the user ID, the terminal device's serial number, the electronic scale's serial number, and the pairing key. Therefore, the cloud server can determine the associated electronic scale, terminal device, and pairing key from the binding relationship based on the user ID, thereby enabling point-to-point targeted data push to the matching terminal device. Even if other user devices are already bound, they will not receive the measurement data, thus solving the data crosstalk and privacy leakage problems when multiple people share a single electronic scale.

[0036] Step S12: Decrypt the encrypted data using the pairing key and push the decrypted data to the terminal device.

[0037] In step S12, the cloud server pushes the decrypted data to the corresponding terminal device, which can receive the latest measurement data through the health management application and display it to the user.

[0038] The data transmission method of the electronic scale in the above embodiment uses the binding relationship of "user ID - device - pairing key" to tag each piece of user data with a "user identity tag", which enables accurate decryption and data push. When multiple users share the electronic scale or multiple devices are bound to the same user, it can ensure that the user always sees their own data through the terminal device, avoiding privacy confusion and misjudgment. In addition, when the data is transmitted between the electronic scale and the cloud server, encryption is used to prevent user data from being leaked or maliciously tampered with, thereby improving the user experience.

[0039] As one example, please refer to Figure 3 In the user registration / login phase, prior to step S10, the following steps are also included: Step S101: When a user sends a request to create a user profile through a terminal device, the system responds to the request by assigning a user ID to the user and returning the user ID to the terminal device.

[0040] In this step, the user operates the health management application on their terminal device, choosing to open the application and register or log in to an existing account. After the user completes registration / login, the health management application sends a request to the cloud server to create a unique "user profile" for storing the user's personal information, measurement data, and other relevant information. Upon receiving the user profile request from the health management application, the cloud server assigns a globally unique user ID to the user. This user ID ensures that it uniquely identifies the user, preventing duplication throughout the system and facilitating subsequent data association and management.

[0041] As one example, please refer to Figure 3 In the user registration / login phase, after step S101, the following steps are also included: Step S102: When a certificate signing request is received from a user through a terminal device, the certificate signing request is parsed, and the validity is verified based on the parsing result.

[0042] In this step, when the terminal device receives the user ID returned by the cloud server, it generates a pair of asymmetric keys locally (i.e., the second public key and the second private key described below), and simultaneously generates a certificate signing request. The certificate signing request includes user information (such as the user ID) and the second public key. The certificate signing request is used to apply for a digital certificate from the cloud server, proving that the second public key belongs to the user ID, thus ensuring the security of subsequent communications. When the cloud server receives the certificate signing request sent by the user through the terminal device, it parses the certificate signing request, obtains the parsing result (including user information and the second public key), and performs legality verification based on the parsing result, such as verifying the legitimacy of the user information.

[0043] Step S103: When the legitimacy verification is successful, a digital certificate is generated based on the parsing result and the legitimacy verification result, and the digital certificate is returned to the terminal device.

[0044] In this step, after successful verification by the cloud server, a digital certificate (i.e., a public key certificate) is generated for the user ID. This digital certificate contains a second public key and related authentication information. Subsequently, the terminal device can use this digital certificate to verify the legitimacy of the second public key, thereby establishing secure communication.

[0045] As one example, please refer to Figure 4 In the binding phase, after step S103, the following steps are also included: Step S104: When the binding relationship reported by the electronic scale is received, the binding relationship is stored, and a binding success notification is pushed to the terminal device according to the binding relationship.

[0046] In this step, the binding relationship includes the association between the user ID, the terminal device's serial number, the scale's serial number, and the pairing key. The scale reports the binding relationship to the cloud server. By receiving the binding relationship, the cloud server can track "which user has bound which scale and which terminal device," establishing a connection between the user and the scale, facilitating subsequent data push and management. After receiving the binding relationship reported by the scale, the cloud server pushes a "binding successful" notification to the terminal device. Upon receiving this notification, the terminal device displays "binding successful" on its interface, letting the user know that the entire binding process has been completed.

[0047] Embodiments of this application also provide a data transmission method for an electronic scale, applicable to electronic scales; please refer to [link to relevant documentation]. Figure 5 The data transmission method includes: Step S20: When the terminal device touches the NFC chip area, the user ID and a public key certificate containing the first public key are sent to the terminal device through the NFC chip.

[0048] In this step, during the binding phase, the user touches their NFC-enabled device against the NFC chip area of ​​the scale, triggering data interaction between the device and the scale via NFC to begin the binding process. Once the device and scale establish a connection via NFC, the scale sends its user ID and a public key certificate containing the first public key to the device via NFC. This public key certificate is the scale's own digital certificate, containing the scale's public key and authentication information, used by the device to verify the scale's legitimacy.

[0049] Step S21: When the pairing key encrypted with the first public key is received from the terminal device, the pre-stored first private key is called to decrypt the pairing key. A binding relationship is generated based on the user ID, the device serial number of the terminal device, the device serial number of the electronic scale, and the decrypted pairing key, and then reported to the cloud server.

[0050] In this step, after receiving the pairing key encrypted with the first public key (the electronic scale's own public key) from the terminal device, the electronic scale will decrypt it using the first private key (the electronic scale's own private key). After successful decryption, the electronic scale obtains the pairing key, generates a binding relationship based on the user ID, the terminal device's serial number, the electronic scale's serial number, and the decrypted pairing key, and reports it to the cloud server. Subsequently, it uses this pairing key to conduct encrypted communication with the terminal device.

[0051] The data transmission method of the electronic scale in this embodiment enables a seamless connection between the electronic scale and the terminal device. By decrypting the pairing key with the first private key of the electronic scale, it is ensured that the pairing key can only be obtained by the electronic scale associated with the user ID, thereby improving the security of data transmission.

[0052] As one example, please refer to Figure 6 In the post-binding usage phase, this data transfer method also includes: Step S22: When the user uses the electronic scale, the system acquires the user's measurement data and uses the pre-stored pairing key to encrypt the measurement data to obtain encrypted data; the system then uploads the user ID and the encrypted data to the cloud server.

[0053] In this step, when using the electronic scale, the user stands on it to measure body indicators such as weight and body fat percentage. After acquiring this measurement data through internal sensors, the electronic scale encrypts the data using a pre-stored pairing key, obtaining encrypted data. This is symmetric encryption; the pairing key is used for both encryption and decryption. In other words, after the electronic scale encrypts the data with the pairing key, only devices possessing the pairing key can decrypt and view the data. This prevents data interception during transmission, which could lead to user data leakage or malicious tampering, thus improving the user experience. Finally, the electronic scale sends the encrypted measurement data along with the user ID to the cloud server.

[0054] Embodiments of this application also provide a data transmission method for an electronic scale, applied to a terminal device. During the user registration / login phase, please refer to... Figure 7 The data transmission method includes: Step S30: When a user's registration or login request is received, a request to create a user profile is sent to the cloud server.

[0055] In this step, the user operates the health management application on their terminal device, choosing to open the application and register or log in to an existing account. After the user completes registration / login, the health management application sends a request to the cloud server to create a unique "user profile" for that user, used to store the user's personal information, measurement data, and other related information.

[0056] Step S31: When the user ID returned by the cloud server in response to the request to create a user profile is received, the user ID is cached and a second public key and a second private key are generated. A certificate signing request is generated based on the user ID and the second public key, and the certificate signing request is sent to the cloud server.

[0057] In this step, when the terminal device receives the user ID returned by the cloud server, it generates a pair of asymmetric keys locally (i.e., a second public key and a second private key), and simultaneously generates a certificate signing request. The certificate signing request includes user information (such as the user ID) and the second public key. The certificate signing request is used to apply for a digital certificate from the cloud server, proving that the second public key belongs to the user ID, thus ensuring the security of subsequent communications.

[0058] The data transmission method of the electronic scale in this embodiment can complete the seamless operation process of registration, login, filing, and certificate application in the terminal device. Users do not need to jump to multiple pages or switch between different applications, which simplifies the operation process. By generating a second public key and a second private key in the terminal device, the key generation process is avoided from relying on the cloud or being exposed to network transmission, thus ensuring the security of the user's private key from the source.

[0059] As one example, please refer to Figure 8 During the binding phase, the data transfer method also includes: Step S32: When the user ID and public key certificate containing the first public key are received from the electronic scale via the NFC chip, verify the validity of the public key certificate.

[0060] In this step, after receiving the user ID and public key certificate containing the first public key from the electronic scale, the terminal device verifies the validity of the public key certificate. The verification includes: whether the certificate has expired, whether the certificate issuer is trustworthy (e.g., whether it was issued by a legitimate cloud server), and whether the user ID and other information in the certificate match. Only when the public key certificate verification is successful can the electronic scale be ensured to be a legitimate device, guaranteeing the security of subsequent communications.

[0061] Step S33: When the validity of the public key certificate is verified, receive the confirmation binding instruction initiated by the user, generate a pairing key, encrypt the pairing key using the first public key, and send the encrypted pairing key to the electronic scale.

[0062] In this step, after the public key certificate is verified, the terminal device displays a "Binding Confirmation" prompt, asking the user, "You are about to bind the XX electronic scale. Confirm?" This allows for manual confirmation by the user, preventing accidental operation or automatic binding by malicious devices. When the user confirms the binding, they click the "Confirm Binding" button, sending a confirmation command to the health management application. After confirmation, the terminal device generates a temporary pairing key locally, encrypts it using the first public key, and sends the encrypted pairing key to the electronic scale.

[0063] This application embodiment also provides a cloud server, including a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale as described above, which can realize targeted privacy push of user measurement data, effectively protect the privacy of user measurement data in an environment where multiple people share an electronic scale, and improve user experience.

[0064] This application also provides an electronic scale, including a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale as described above, which can realize a seamless connection between the electronic scale and the terminal device, and decrypt the pairing key through the first private key of the electronic scale to ensure that the pairing key can only be obtained by the electronic scale associated with the user ID, thereby improving the security of data transmission.

[0065] This application also provides a terminal device, including a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale as described above. The terminal device may be, but is not limited to, a smart wearable device or a mobile terminal. Smart wearable devices include, but are not limited to, smartwatches and smart bracelets. Mobile terminals include, but are not limited to, smartphones, laptops, and tablets. This terminal device can complete a seamless operation process of registration-login-file creation-certificate application, eliminating the need for users to navigate through multiple pages or switch between different applications, simplifying the operation process. Furthermore, by generating a second public key and a second private key on the terminal device, the key generation process avoids reliance on the cloud or exposure to network transmission, ensuring the security of the user's private key from the source.

[0066] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has disclosed preferred embodiments as above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.

Claims

1. A data transmission method for an electronic scale, characterized in that, Applied to cloud servers, the data transmission method includes: When a user uses the electronic scale, the user receives the user ID and encrypted data sent by the electronic scale. The pre-stored binding relationship is invoked, and the associated terminal device and pairing key are determined from the binding relationship based on the user ID; The encrypted data is decrypted using the pairing key, and the decrypted data is pushed to the terminal device.

2. The data transmission method of the electronic scale as described in claim 1, characterized in that, Before receiving the user ID and encrypted data sent by the electronic scale when the user uses the electronic scale, the method further includes: When a user sends a request to create a user profile through the terminal device, the system responds to the request by assigning the user ID to the user and returning the user ID to the terminal device.

3. The data transmission method of the electronic scale as described in claim 2, characterized in that, When a user sends a request to create a user profile through the terminal device, the step of assigning the user ID to the user and returning the user ID to the terminal device includes: When a certificate signing request is received from the user through the terminal device, the certificate signing request is parsed, and the legality is verified based on the parsing result; When the legitimacy verification passes, a digital certificate is generated based on the parsing result and the legitimacy verification result, and the digital certificate is returned to the terminal device.

4. The data transmission method of the electronic scale as described in claim 3, characterized in that, After generating a digital certificate based on the parsing result and verification result when the legitimacy verification passes, and returning the digital certificate to the terminal device, the process further includes: When the binding relationship reported by the electronic scale is received, the binding relationship is stored, and a binding success notification is pushed to the terminal device according to the binding relationship; The binding relationship includes the association between the user ID, the device serial number of the terminal device, the device serial number of the electronic scale, and the pairing key.

5. A data transmission method for an electronic scale, characterized in that, The data transmission method, applied to the electronic scale, includes: When the terminal device touches the NFC chip area, the user ID and a public key certificate containing the first public key are sent to the terminal device through the NFC chip. When the pairing key encrypted with the first public key is received from the terminal device, the pre-stored first private key is used to decrypt the pairing key. A binding relationship is generated based on the user ID, the device serial number of the terminal device, the device serial number of the electronic scale, and the decrypted pairing key, and then reported to the cloud server.

6. The data transmission method of the electronic scale as described in claim 5, characterized in that, The data transmission method further includes: When a user uses the electronic scale, the system acquires the user's measurement data and uses the pre-stored pairing key to encrypt the measurement data to obtain encrypted data; then, the system uploads the user ID and the encrypted data to the cloud server.

7. A data transmission method for an electronic scale, characterized in that, Applied to terminal devices, the data transmission method includes: When a user's registration or login request is received, a request to create a user profile is sent to the cloud server. When the cloud server receives the user ID returned in response to the request to create a user profile, the user ID is cached and a second public key and a second private key are generated. A certificate signing request is generated based on the user ID and the second public key, and the certificate signing request is sent to the cloud server.

8. The data transmission method of the electronic scale as described in claim 7, characterized in that, The data transmission method further includes: When the electronic scale receives the user ID and a public key certificate containing the first public key sent through the NFC chip, the validity of the public key certificate is verified. When the validity of the public key certificate is verified, the system receives a confirmation binding instruction initiated by the user, generates a pairing key, encrypts the pairing key using the first public key, and sends the encrypted pairing key to the electronic scale.

9. A cloud server, characterized in that, It includes a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale as described in any one of claims 1-4.

10. An electronic scale, characterized in that, It includes a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale as described in any one of claims 5-6.

11. A terminal device, characterized in that, It includes a memory and a processor; the processor is used to execute a computer program stored in the memory to implement the data transmission method of the electronic scale as described in any one of claims 7-8.