Search

CN-122001898-A - User management method, storage medium, body fat scale and user management system

CN122001898ACN 122001898 ACN122001898 ACN 122001898ACN-122001898-A

Abstract

The application relates to a user management method, a storage medium, a body fat scale and a user management system. The method comprises the steps of receiving a user information modification request sent by a terminal, and modifying user information stored corresponding to a first cloud user identifier according to modification content if the first cloud user identifier is determined to be associated with the first local user identifier from the association relation between the stored cloud user identifier and the local user identifier of the body fat scale. The user information modification request comprises a target user identification and modified content, wherein the target user identification comprises a first cloud user identification or a first local user identification. Therefore, the user information in the body fat scale local and the application server can be synchronously modified, the user information in the body fat scale local and the application server is synchronously managed, the flexibility and the reliability of the user management operation of the body fat scale are improved, and the accuracy of body indexes generated by the body fat scale based on the user information can be further improved.

Inventors

  • GUO YISHENG
  • ZHANG WENGUANG
  • WANG CHIKAI

Assignees

  • 深圳市晨北科技有限公司

Dates

Publication Date
20260508
Application Date
20251107
Priority Date
20241107

Claims (10)

  1. 1. A method of user management, applied to a body fat scale, the method comprising: responding to triggering operation of a body fat scale key, and acquiring user information of at least one local user; Storing user information of each local user in the at least one local user in correspondence with the local user identification; Under the condition that communication connection is established with a terminal, a target instruction is sent to a server through the terminal, and under the condition that an association relationship exists between a target local user and a first target cloud user is determined, user information of the target local user is sent to the server through the terminal; The target instruction comprises a target local user identification of the target local user, wherein the target local user is one of the at least one local user, and the target local user identification is used for determining an association relationship between the target local user and a cloud user in the server.
  2. 2. The method of claim 1, wherein the target instruction comprises a user information modification request comprising a first local user identification and modified content, the method further comprising: modifying first user information in response to received modification operation of a user, and determining modification content, wherein the first user information is stored user information corresponding to a first local user identifier; And sending the user information modification request to a terminal, wherein the user information modification request is used for requesting to synchronously modify the user information associated with the first user information in the server.
  3. 3. The method of claim 1, wherein the target instruction comprises a cloud user claim request, the method further comprising: Responding to the received cloud user claim operation of the user, and acquiring a second target cloud user identifier to be claimed and second local user information stored corresponding to the second local user identifier; And sending the cloud user claim request to a terminal, wherein the cloud user claim request comprises the second target cloud user identifier, the second local user identifier and the second local user information stored corresponding to the second local user identifier, and the cloud user claim request is used for requesting to establish an association relationship between the second local user and the second target cloud user.
  4. 4. The method of claim 1, wherein the target instruction comprises a user-created instruction, the method further comprising: Responding to the received creation operation of the user, creating a third local user, and storing a third local user identification of the third local user and user information of the third local user in a local database correspondingly; And sending the user creation instruction to a terminal, wherein the user creation instruction comprises user information of the third local user identifier and the third local user, and the user creation instruction is used for indicating to synchronously create a third cloud user and establishing an association relationship between the third local user and the third cloud user.
  5. 5. A method of user management, applied to a server, the method comprising: receiving a user information modification request sent by a terminal under the condition that the terminal and a body fat scale are in communication connection, wherein the user information modification request comprises a target user identifier and modification content, and the target user identifier comprises a first cloud user identifier or a first local user identifier; And if the association between the first cloud user identification and the first local user identification is determined from the association between the stored cloud user identification and the local user identification of the body fat scale, modifying the user information stored corresponding to the first cloud user identification according to the modification content.
  6. 6. The method of claim 5, wherein the target user identification comprises the first cloud user identification, the method further comprising: And sending a user information modification instruction to the body fat scale through a terminal, wherein the instruction comprises the first local user identifier and the modification content.
  7. 7. The method of claim 5, wherein the method further comprises: Receiving a cloud user claim request sent by a terminal, wherein the cloud user claim request comprises a second target cloud user identifier and second local user information stored corresponding to the second local user identifier; If the second target cloud user information and the second local user information meet the matching condition, establishing an association relationship between the second target cloud user identifier and the second local user identifier, wherein the second target cloud user information is user information stored corresponding to the second target cloud user identifier; the matching condition comprises that parameters related to body fat meet preset requirements.
  8. 8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
  9. 9. Body fat scale, characterized in that it is used for implementing the steps of the method according to any one of claims 1 to 4.
  10. 10. A user management system, comprising a terminal, a server, and the body fat scale according to claim 8.

Description

User management method, storage medium, body fat scale and user management system The present application claims priority from China patent office, application number 202411589125.2, entitled "user management method, storage Medium, body fat Scale and user management System", filed on 7/11/2024, the entire contents of which are incorporated herein by reference. Technical Field The present application relates to the field of data management technologies, and in particular, to a user management method, a storage medium, a body fat scale, and a user management system. Background With the advancement of technology and the improvement of consumer health concepts, body fat scales are not just tools for measuring body weight, but are developed into intelligent terminals capable of comprehensively analyzing body components and providing personalized health management suggestions. Therefore, the body fat scale needs to calculate various body indexes of the user according to parameters such as height, age, sex, weight and the like of the user. At present, the user management of the body fat scale mainly comprises two modes, namely, acquiring user information through a terminal and managing the user information in an application server under the condition that the terminal and the body fat scale are in communication connection, and operating through keys on the body fat scale under the condition that the terminal and the body fat scale are not in communication connection so as to acquire the user information and manage the user information locally on the body fat scale. However, in the practical application, the two ways have more limitations, and cannot meet the use requirements of users, for example, in the first way, the user information cannot be managed after the terminal is separated, or in the second way, the storage space of the body fat scale is smaller, and the user information can be managed only through keys, so that the convenience is poor. Disclosure of Invention In view of the foregoing, it is desirable to provide a user management method, a storage medium, a body fat scale, and a user management system that can synchronize user information managed in a server with user information locally managed by the body fat scale. In a first aspect, the present application provides a user management method, which is applied to a server. The method comprises the following steps: Under the condition that the terminal and the body fat scale are in communication connection, receiving a user information modification request sent by the terminal, wherein the user information modification request comprises a target user identifier and modification content, and the target user identifier comprises a first cloud user identifier or a first local user identifier; And if the association between the first cloud user identification and the first local user identification is determined from the association between the stored cloud user identification and the local user identification of the body fat scale, modifying the user information stored corresponding to the first cloud user identification according to the modification content. In one embodiment, the target user identifier comprises the first cloud user identifier, and the method further comprises: And sending a user information modification instruction to the body fat scale through the terminal, wherein the instruction comprises the first local user identifier and the modification content. In one embodiment, the method further comprises: receiving a cloud user claim request sent by a terminal, wherein the cloud user claim request comprises a second target cloud user identifier and second local user information stored corresponding to the second local user identifier; if the second target cloud user information and the second local user information meet the matching condition, establishing an association relationship between the second target cloud user identifier and the second local user identifier, wherein the second target cloud user information is stored user information corresponding to the second target cloud user identifier; the matching condition comprises that parameters related to body fat meet preset requirements. In one embodiment, the method further comprises: Receiving a user creation instruction sent by a terminal, wherein the user creation instruction is used for indicating that a third local user is created locally by the body fat scale, and comprises a third local user identifier of the third local user and third local user information stored corresponding to the third local user identifier; And correspondingly storing a third cloud user identifier and the third local user information, and establishing an association relationship between the third local user identifier and the third cloud user identifier. In one embodiment, the target user identifier comprises a first cloud user identifier, and the method further comprises: If the first local user identi