WO2017063142A1 - Account registration method, terminal, and server - Google Patents
Account registration method, terminal, and server Download PDFInfo
- Publication number
- WO2017063142A1 WO2017063142A1 PCT/CN2015/091847 CN2015091847W WO2017063142A1 WO 2017063142 A1 WO2017063142 A1 WO 2017063142A1 CN 2015091847 W CN2015091847 W CN 2015091847W WO 2017063142 A1 WO2017063142 A1 WO 2017063142A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- account
- users
- server
- registration
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000004044 response Effects 0.000 claims description 47
- 238000004891 communication Methods 0.000 description 38
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 6
- 238000012508 change request Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000000835 fiber Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000027758 ovulation cycle Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004936 stimulating effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/562—Brokering proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/566—Grouping or aggregating service requests, e.g. for unified processing
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, a terminal, and a server for registering an account.
- the software registration function only provides simple account information.
- the server only needs to verify whether the user name and registration password entered by the user are correct, and no other data under the account is operated.
- the user can view other user data under the user account, especially in some application terminals, such as a smart bracelet.
- the user cannot view and update the motion data and heart rate under the account. Data such as body surface temperature, ambient temperature and humidity, etc., so that the application scenario of the smart bracelet is limited, and historical data cannot be viewed offline.
- the technical problem to be solved by the embodiments of the present invention is to provide a method, a terminal, and a server for registering an account, which can improve the convenience of account management by registering user data not associated with the user account to the account. Fast.
- a first aspect of the embodiments of the present invention provides a method for registering an account, where the method includes:
- the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
- the method includes:
- the method further includes:
- a second aspect of the embodiments of the present invention provides a method for registering an account, where the method includes:
- the server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
- the method includes:
- the registration response message includes a binding relationship between the plurality of users and the account.
- a third aspect of the embodiments of the present invention provides a terminal, where the terminal includes:
- Adding a module when the terminal is in an offline state, adding the user information of the multiple users when receiving the user information adding request of the multiple users;
- a sending module configured to send a registration request to the server when the terminal is connected to the server, where the registration request includes user information of the multiple users, so that the server is configured according to the pre- The user is configured to perform account registration, and bind the plurality of users to the account.
- the terminal includes:
- a receiving module configured to receive a registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account;
- an update module configured to update a binding relationship between the multiple users and the account received by the receiving module to a local database of the terminal.
- the receiving module is further configured to receive synchronization data of multiple bracelets corresponding to the multiple users when the terminal is in an offline state.
- the terminal further includes:
- a storage module configured to store, according to the user information of the multiple users, synchronization data of multiple bracelets corresponding to the multiple users received by the receiving module.
- a fourth aspect of the embodiments of the present invention provides a terminal, where the terminal includes:
- a receiving module configured to: when detecting that the terminal is connected to the server, receive a registration request sent by the terminal, where the registration request includes user information of multiple users;
- An account registration module configured to: the server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
- the terminal includes:
- a sending module configured to send a registration response message to the terminal, where the registration response message includes a binding relationship between the multiple users and the account.
- a fifth aspect of the embodiments of the present invention provides a terminal, including an input device, an output device, a memory, and a processor.
- the processor performs the following steps:
- the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
- the processor is further configured to perform the following steps:
- the processor is further configured to perform the following steps:
- a sixth aspect of the embodiments of the present invention provides a server, including an input device, an output device, a memory, and a processor;
- the processor performs the following steps:
- the server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
- the processor is further configured to perform the following steps:
- the registration response message includes a binding relationship between the plurality of users and the account.
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- FIG. 1 is a schematic flowchart of an account registration method in an embodiment of the present invention
- FIG. 2 is a schematic flowchart of an account registration method in another embodiment of the present invention.
- FIG. 3 is a schematic flow chart of an account registration method in another embodiment of the present invention.
- FIG. 4 is a schematic flowchart of an account registration method in another embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a terminal in another embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a terminal in another embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a terminal in another embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a terminal in another embodiment of the present invention.
- FIG. 10 is a schematic structural diagram of a server in an embodiment of the present invention.
- FIG. 1 is a schematic flowchart of an account registration method according to an embodiment of the present invention. As shown in the figure, the account registration method in this embodiment may include:
- Step S101 When the terminal is in an offline state, when the user information adding request of the multiple users is received, the user information of the multiple users is added.
- the communication terminal may further receive synchronization data of multiple bracelets corresponding to the multiple users when the communication terminal is in an offline state, and the communication terminal may further use the multiple user information according to the user information of the multiple users.
- the synchronization data of multiple bracelets corresponding to each user is stored correspondingly.
- the communication terminal may include an Internet device such as a personal computer, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the embodiment of the present invention Not limited.
- an Internet device such as a personal computer, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the embodiment of the present invention Not limited.
- the user information may include data of the wristband user's motion data, sleep data, heart rate and body surface temperature, ambient temperature and humidity and air pressure, female physiological period, and the like, and may also include other user data recorded by the wristband, in the embodiment of the present invention. Not limited.
- Step S102 When the terminal connects to the server, send a registration request to the server, where the registration request includes user information of the multiple users, so that the server is based on a preset user among the multiple users.
- Account registration is performed to bind the plurality of users to the account.
- the communication terminal when the communication terminal is connected to the server, the communication terminal may further receive a registration response message returned by the server, where the registration response message includes binding of the multiple users to the account.
- the communication terminal may further update the binding relationship between the multiple users and the account to a local database of the terminal.
- the prompt message for prompting the account registration failure may also be sent to the communication terminal.
- Place The communication terminal may further receive a prompt message returned by the server for prompting the account registration to fail.
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- FIG. 2 is a schematic flowchart of an account registration method according to another embodiment of the present invention.
- the account registration method in this embodiment may include:
- Step S201 When the terminal is in an offline state, when receiving the user information adding request of the multiple users, adding the user information of the multiple users.
- the communication terminal when the communication terminal is in an offline state, the communication terminal may receive a user information addition request of multiple users; when receiving a user information addition request of multiple users, the communication terminal may add the User information for multiple users.
- the communication terminal when the communication terminal detects that the environment is not in the offline state, the communication terminal may receive a user information addition request of multiple users, and when receiving the user information addition request of multiple users, the communication terminal may add User information of the plurality of users.
- the communication terminal When the communication terminal detects that the environment is not in the offline state, the user information change request of the plurality of users may be received, and when receiving the user information change request of the plurality of users, the communication terminal may change the receiving and receiving The user information of the plurality of users corresponding to the change request.
- the communication terminal When the communication terminal detects that the environment is not in the offline state, the user information receiving request of the plurality of users may be received, and when receiving the user information viewing request of the plurality of users, the communication terminal may extract and display the User information of the plurality of users corresponding to the received viewing request.
- the local database of the mobile phone A stores the basic information of the account A and the user information of the five users (the five users are user A, user B, ... user E, wherein user A, user B, and user C are female).
- the user information includes five types of data of the smart bracelet, which may be motion data, sleep data, heart rate data, ambient temperature and humidity data, and female physiological cycle data.
- user A now wants to use user A to add user P, user Q, and user M, and user information of three friends.
- the mobile phone A receives the user who adds the user P, the user Q, and the user M sent by the user A.
- the mobile phone A will add the user information of the three users to the local database of the mobile phone A.
- user A wants to modify the motion data of five users stored in mobile phone A (five users are user A, user B, ... user E), thereby stimulating himself to exercise more.
- User A may send a request for changing the motion data in the user information of the five users.
- the mobile phone A receives the change request sent by the user A, the mobile phone A searches for and changes from the user information stored in the local database. Motion data corresponding to the received request.
- user A's menstrual cycle data is not normal, and want to view the female physiological cycle data of user B and user C.
- User A can send a request for viewing the female physiological cycle data of User B and User C.
- the mobile phone A receives the request sent by the user A for viewing the female physiological cycle data of the user B and the user C, the mobile phone A is locally Among the user information stored in the database, the female physiological cycle data of the user B and the user C corresponding to the received request are searched for and displayed.
- Step S202 when the terminal is connected to the server, sending a registration request to the server, where the registration request includes user information of the multiple users, so that the server is based on a preset user among the multiple users.
- Account registration is performed to bind the plurality of users to the account.
- the communication terminal when the communication terminal is connected to the server, the communication terminal sends a registration request to the server, where the registration request includes user information of the plurality of users, so that the server is configured according to the multiple The preset user in the user performs account registration, and binds the plurality of users to the account.
- the communication terminal when the communication terminal is connected to the server, the communication terminal may extract basic information of the account and user information of the plurality of users from a local database of the communication terminal.
- the communication terminal may send a registration request to the server, where the registration request includes user information of the plurality of users, and may further include basic information of the extracted account, so that the server is configured according to the multiple
- the preset user in the user registers the basic information of the account, and after the account is successfully registered, the server binds the user information of the multiple users to the account.
- the user A connects to the server by the mobile phone A to perform account registration on the account information of the account A and the five users.
- the mobile phone A can extract the basic information of the account A stored in the local database and the user information of the five users; the mobile phone A sends a registration request of the account A to the server, and the registration request includes the basic information of the extracted account A and five digits.
- User's user information So that the server registers the basic information of the account A according to the user A. After the account A is successfully registered, the server binds the user information of the five users to the account A, and finally implements the account A. Registration.
- Step S203 Receive a registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account.
- the communication terminal may receive the registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account; the communication terminal may further receive the server return A prompt message for prompting that the account registration failed.
- Step S204 Update a binding relationship between the multiple users and the account to a local database of the terminal.
- the communication terminal may update the user information of the multiple users to the communication terminal according to the binding relationship between the multiple users and the account included in the registration response message received in step S203. Local database.
- the mobile phone A receives the registration response message of the account A returned by the server, and the registration response message of the account A includes the binding relationship between the account A and the user information of the five users; the mobile phone A receives the account A according to the The binding relationship of the user information of the five users updates the user information in the local database, so that the account A is associated with the user information of the five users.
- Step S205 Receive synchronization data of multiple bracelets corresponding to the multiple users when the terminal is in an offline state.
- step S206 the synchronization data of the plurality of bracelets corresponding to the plurality of users are correspondingly stored according to the user information of the plurality of users.
- the communication terminal when the communication terminal is in an offline state, the communication terminal may receive synchronization data of multiple bracelets corresponding to multiple users, and the communication terminal may further perform user information according to the multiple users.
- the synchronization data of the plurality of bracelets corresponding to the plurality of users are correspondingly stored.
- the user A, the user B, the user E, and the five users respectively store the five types of data of the newly produced smart bracelet as the synchronization data of the wristband to the mobile phone A.
- the mobile phone A can still receive the synchronization data of the five wristbands corresponding to the five users; and the mobile phone A will receive the five wristbands according to the user information of the five users.
- Synchronization number The corresponding data is stored in the corresponding location, for example, the synchronization data of the received wristband corresponding to the user A is stored in the user information corresponding to the user A.
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- FIG. 3 is a schematic flowchart of an account registration method according to another embodiment of the present invention. As shown in the figure, the account registration method in this embodiment may include:
- Step S301 When detecting that the terminal is connected to the server, receiving a registration request sent by the terminal, where the registration request includes user information of multiple users.
- the server when detecting that the communication terminal is connected to the server, the server receives a registration request sent by the terminal, and the registration request includes user information of multiple users.
- the server receives a registration request sent by the communication terminal, where the registration request includes user information of multiple users, and may further include basic information of the account, where the basic information includes an account name and a registration password.
- the registration request may include user information of five users, and may also include basic information of the account A (user name of the account A and sign up password).
- Step S302 The server performs account registration according to a preset user among the multiple users, and binds the multiple users to the account.
- the server may perform account registration according to the preset user among the multiple users, and the server binds the user information of the multiple users in the registration request received in step S301 to the account. .
- the server may verify whether the received basic information of the account satisfies a registration condition, and when the server verifies that the basic information of the account satisfies the registration condition, the server may use the multiple users.
- the user information is registered under the account, that is, the plurality of users will be bound to the account.
- the server sends a verification code to the username of the account A, and the server verifies that the returned verification code and the two input registration passwords are correct.
- the server verifies that the account A is successfully registered, the user information of the five users is registered. Registered under Account A, that is, the server binds Account A with the user information of the five users.
- FIG. 4 is a schematic flowchart of an account registration method according to another embodiment of the present invention.
- the method for registering an account in the embodiment of the present invention may further include:
- Step S303 Send a registration response message to the terminal, where the registration response message includes a binding relationship between the multiple users and the account.
- the server may send a registration response message to the communication terminal; the server may further send a prompt message to the communication terminal to prompt the account registration to fail.
- the server may send a registration response message of the account A to the mobile phone A, where the registration response message of the account A includes a binding relationship between the account A and the user information of the five users, when the mobile phone A receives the sending by the server.
- the registration response message of account A After the registration response message of account A, the user message stored in the local database of the mobile phone A is updated, so that the account A is associated with the user message of the five users. and / or,
- the server may send a reminder message to the mobile phone A for reminding the terminal user A of the mobile phone A that the registration of the account A has failed, so that the terminal user A of the mobile phone A re-registers the user information of the account A and the five users.
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- the terminal 50 in this embodiment may include:
- the adding module 500 is configured to: when the terminal is in an offline state, add the user information of the multiple users when receiving the user information adding request of the multiple users;
- the sending module 501 is configured to send, when the terminal is connected to the server, a registration request to the server, where the registration request includes user information of the multiple users, so that the server is configured according to the multiple users.
- the preset user performs account registration, and binds the plurality of users to the account.
- FIG. 6 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
- the terminal in the embodiment may further include:
- the terminal further includes:
- the receiving module 502 is configured to receive a registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account;
- the updating module 503 is configured to update the binding relationship between the plurality of users and the account received by the receiving module to a local database of the terminal.
- the receiving module 502 is further configured to receive synchronization data of multiple bracelets corresponding to the multiple users when the terminal is in an offline state.
- the terminal further includes:
- the storage module 504 is configured to store, according to the user information of the multiple users, synchronization data of multiple bracelets corresponding to the multiple users received by the receiving module.
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- the terminal provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described.
- the terminal provided in the foregoing embodiment is the same as the account registration method in the embodiment of the present invention provided in FIG. 1 and FIG. 2, and the specific implementation process is described in the method embodiment, and details are not described herein again.
- FIG. 7 is a schematic structural diagram of a terminal in another embodiment of the present invention.
- the terminal 70 in this embodiment may include:
- the receiving module 700 is configured to: when detecting that the terminal is connected to the server, receive a registration request sent by the terminal, where the registration request includes user information of multiple users;
- the account registration module 701 is configured to perform, by the server, performing account registration according to a preset user of the plurality of users, and binding the multiple users to the account.
- FIG. 8 is a schematic structural diagram of a terminal according to another embodiment of the present invention. As shown in the figure, the terminal in this embodiment may further include:
- the terminal further includes:
- the sending module 702 is configured to send a registration response message to the terminal, where the registration response message includes a binding relationship between the multiple users and the account.
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- the terminal provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules. In actual applications, the function allocation may be completed by different functional modules as needed.
- the internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described.
- the terminal provided in the foregoing embodiment is the same as the account registration method in the embodiment of the present invention provided in FIG. 3 and FIG. 4 respectively. For details, refer to the method embodiment, and details are not described herein again.
- FIG. 9 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
- the terminal 90 in this embodiment may include: an input device 900, an output device 901, a memory 902, and a processor 903 ( The number of processors 903 in the network device may be one or more, and one processor is taken as an example in FIG.
- the input device 900, the output device 901, the memory 902, and the processor 903 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
- the processor 903 can be used to invoke a data update program stored in the memory 902, and perform the following steps:
- the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
- the processor 903 can be used to call a data update program stored in the memory 902. You can also perform the following steps:
- the processor 903 can be used to invoke the data update program stored in the memory 902, and can also perform the following steps:
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present invention.
- the server 100 in this embodiment may include: an input device 1000, an output device 1001, a memory 1002, and a processor 1003.
- the number of processors 1003 in the network device may be one or more, and one processor is taken as an example in FIG. 10).
- the input device 1000, the output device 1001, the memory 1002, and the processor 1003 may be connected by a bus or other means, wherein the connection through the bus is taken as an example in FIG.
- the processor 1003 can be used to invoke a data update program stored in the memory 1002, and perform the following steps:
- the server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
- the processor 1003 can be used to invoke a data update program stored in the memory 1002, and can also perform the following steps:
- the registration response message including the plurality of users and the account The binding relationship of the user.
- the embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a computer.
- the computer readable medium may include a random access memory (RAM), a read-only memory (ROM), and an electrically erasable programmable read-only memory (Electrically Erasable Programmable).
- EEPROM Electrically Error Read-Only Memory
- CD-ROM Compact Disc Read-Only Memory
- Any connection can be made computer readable medium.
- the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, Then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are included in the fixing of the associated medium.
- DSL Digital Subscriber Line
- a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Disclosed is an account registration method. The method comprises: when a terminal is in an offline state and user information addition requests of multiple users are received, adding user information of the multiple users; and when the terminal is connected to a server, sending a registration request to the server, the registration request comprising the user information of the multiple users, such that the server registers an account according to a pre-set user in the multiple users, and binds the multiple users with the account. Also disclosed are a terminal and a server. By implementing embodiments of the present invention, the convenience and quickness of account management can be improved.
Description
本发明涉及通信技术领域,尤其涉及一种账户注册的方法、终端以及服务器。The present invention relates to the field of communications technologies, and in particular, to a method, a terminal, and a server for registering an account.
目前,软件注册功能只是提供设置简单的账户信息,服务器仅需验证用户输入的用户名及注册密码是否正确,没有对账户下的其他数据进行操作。这样在没有网络的情况下,用户查看到用户账户下的其他用户数据,尤其是一些应用终端中,比如智能手环,在没有网络的环境中,用户无法查看并更新账户下的运动数据、心率体表温度、环境温湿度等数据,这样使得智能手环的应用场景受限,并且还不能离线查看历史数据。At present, the software registration function only provides simple account information. The server only needs to verify whether the user name and registration password entered by the user are correct, and no other data under the account is operated. In this way, in the absence of the network, the user can view other user data under the user account, especially in some application terminals, such as a smart bracelet. In an environment without a network, the user cannot view and update the motion data and heart rate under the account. Data such as body surface temperature, ambient temperature and humidity, etc., so that the application scenario of the smart bracelet is limited, and historical data cannot be viewed offline.
发明内容Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种账户注册的方法、终端以及服务器,可通过将未与用户账户关联的用户数据登记注册到所述账户下,提升了账户管理的方便性和快捷性。The technical problem to be solved by the embodiments of the present invention is to provide a method, a terminal, and a server for registering an account, which can improve the convenience of account management by registering user data not associated with the user account to the account. Fast.
本发明实施例第一方面公开提供了一种账户注册的方法,所述方法包括:A first aspect of the embodiments of the present invention provides a method for registering an account, where the method includes:
当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息;When the terminal is in an offline state, when the user information addition request of the multiple users is received, the user information of the multiple users is added;
当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Sending a registration request to the server when the terminal is connected to the server, the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
在本发明实施例第一方面的第一种可能的实现方式中,所述方法包括:In a first possible implementation manner of the first aspect of the embodiments, the method includes:
接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;Receiving a registration response message returned by the server, where the registration response message includes a binding relationship between the plurality of users and the account;
将所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。Updating the binding relationship of the plurality of users to the account to a local database of the terminal.
结合本发明实施例第一方面或第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述方法还包括:
With reference to the first aspect of the embodiment of the present invention or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect of the embodiment, the method further includes:
当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据;Receiving synchronization data of multiple bracelets corresponding to the plurality of users when the terminal is in an offline state;
根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。And synchronizing the synchronization data of the plurality of bracelets corresponding to the plurality of users according to the user information of the plurality of users.
本发明实施例第二方面公开提供了一种账户注册的方法,所述方法包括:A second aspect of the embodiments of the present invention provides a method for registering an account, where the method includes:
当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;When detecting that the terminal is connected to the server, receiving a registration request sent by the terminal, where the registration request includes user information of multiple users;
所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。The server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
在本发明实施例第二方面的第一种可能的实现方式中,所述方法包括:In a first possible implementation manner of the second aspect of the embodiment, the method includes:
向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。Sending a registration response message to the terminal, where the registration response message includes a binding relationship between the plurality of users and the account.
本发明实施例第三方面公开提供了一种终端,所述终端包括:A third aspect of the embodiments of the present invention provides a terminal, where the terminal includes:
添加模块,用于当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息;Adding a module, when the terminal is in an offline state, adding the user information of the multiple users when receiving the user information adding request of the multiple users;
发送模块,用于当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。a sending module, configured to send a registration request to the server when the terminal is connected to the server, where the registration request includes user information of the multiple users, so that the server is configured according to the pre- The user is configured to perform account registration, and bind the plurality of users to the account.
在本发明实施例第三方面的第一种可能的实现方式中,所述终端包括:In a first possible implementation manner of the third aspect of the embodiment, the terminal includes:
接收模块,用于接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;a receiving module, configured to receive a registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account;
更新模块,用于将所述接收模块接收到的所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。And an update module, configured to update a binding relationship between the multiple users and the account received by the receiving module to a local database of the terminal.
结合本发明实施例第三方面的第一种可能的实现方式,在本发明实施例第三方面的第二种可能的实现方式中,With reference to the first possible implementation manner of the third aspect of the embodiment of the present invention, in a second possible implementation manner of the third aspect of the embodiment of the present invention,
所述接收模块,还用于当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据。The receiving module is further configured to receive synchronization data of multiple bracelets corresponding to the multiple users when the terminal is in an offline state.
结合本发明实施例第三方面的第二种可能的实现方式,在本发明实施例第三方面的第三种可能的实现方式中,所述终端还包括:
With reference to the second possible implementation manner of the third aspect of the embodiments of the present invention, in a third possible implementation manner of the third aspect of the embodiments, the terminal further includes:
存储模块,用于根据所述多个用户的用户信息,将所述接收模块接收到的所述多个用户对应的多个手环的同步数据进行对应存储。And a storage module, configured to store, according to the user information of the multiple users, synchronization data of multiple bracelets corresponding to the multiple users received by the receiving module.
本发明实施例第四方面公开提供了一种终端,所述终端包括:A fourth aspect of the embodiments of the present invention provides a terminal, where the terminal includes:
接收模块,用于当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;a receiving module, configured to: when detecting that the terminal is connected to the server, receive a registration request sent by the terminal, where the registration request includes user information of multiple users;
账户注册模块,用于所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。An account registration module, configured to: the server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
在本发明实施例第四方面的第一种可能的实现方式中,所述终端包括:In a first possible implementation manner of the fourth aspect of the embodiment, the terminal includes:
发送模块,用于向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。And a sending module, configured to send a registration response message to the terminal, where the registration response message includes a binding relationship between the multiple users and the account.
本发明实施例第五方面公开提供了一种终端,包括输入装置、输出装置、存储器和处理器;A fifth aspect of the embodiments of the present invention provides a terminal, including an input device, an output device, a memory, and a processor.
其中,所述处理器执行如下步骤:Wherein, the processor performs the following steps:
当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息;When the terminal is in an offline state, when the user information addition request of the multiple users is received, the user information of the multiple users is added;
当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Sending a registration request to the server when the terminal is connected to the server, the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
在本发明实施例第五方面的第一种可能的实现方式中,所述处理器还用于执行如下步骤:In a first possible implementation manner of the fifth aspect of the embodiment, the processor is further configured to perform the following steps:
接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;Receiving a registration response message returned by the server, where the registration response message includes a binding relationship between the plurality of users and the account;
将所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。Updating the binding relationship of the plurality of users to the account to a local database of the terminal.
结合本发明实施例第五方面或第五方面的第一种可能的实现方式,在本发明实施例第五方面的第二种可能的实现方式中,所述处理器还用于执行如下步骤:With reference to the fifth aspect of the embodiment of the present invention or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect of the embodiment, the processor is further configured to perform the following steps:
当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据;Receiving synchronization data of multiple bracelets corresponding to the plurality of users when the terminal is in an offline state;
根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。
And synchronizing the synchronization data of the plurality of bracelets corresponding to the plurality of users according to the user information of the plurality of users.
本发明实施例第六方面公开提供了一种服务器,包括输入装置、输出装置、存储器和处理器;A sixth aspect of the embodiments of the present invention provides a server, including an input device, an output device, a memory, and a processor;
其中,所述处理器执行如下步骤:Wherein, the processor performs the following steps:
当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;When detecting that the terminal is connected to the server, receiving a registration request sent by the terminal, where the registration request includes user information of multiple users;
所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。The server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
在本发明实施例第五方面的第一种可能的实现方式中,所述处理器还用于执行如下步骤:In a first possible implementation manner of the fifth aspect of the embodiment, the processor is further configured to perform the following steps:
向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。Sending a registration response message to the terminal, where the registration response message includes a binding relationship between the plurality of users and the account.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是本发明实施例中的一种账户注册方法的流程示意图;1 is a schematic flowchart of an account registration method in an embodiment of the present invention;
图2是本发明另一实施例中的账户注册方法的流程示意图;2 is a schematic flowchart of an account registration method in another embodiment of the present invention;
图3是本发明另一实施例中的账户注册方法的流程示意图;3 is a schematic flow chart of an account registration method in another embodiment of the present invention;
图4是本发明另一实施例中的账户注册方法的流程示意图;4 is a schematic flowchart of an account registration method in another embodiment of the present invention;
图5是本发明实施例中的一种终端的结构示意图;FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention; FIG.
图6是本发明另一实施例中的终端的结构示意图;6 is a schematic structural diagram of a terminal in another embodiment of the present invention;
图7是本发明另一实施例中的终端的结构示意图;7 is a schematic structural diagram of a terminal in another embodiment of the present invention;
图8是本发明另一实施例中的终端的结构示意图;
8 is a schematic structural diagram of a terminal in another embodiment of the present invention;
图9是本发明另一实施例中的终端的结构示意图;9 is a schematic structural diagram of a terminal in another embodiment of the present invention;
图10是本发明实施例中的一种服务器的结构示意图。FIG. 10 is a schematic structural diagram of a server in an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参阅图1,图1是本发明实施例中的一种账户注册方法的流程示意图,如图所示本实施例中的账户注册方法可以包括:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of an account registration method according to an embodiment of the present invention. As shown in the figure, the account registration method in this embodiment may include:
步骤S101、当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息。Step S101: When the terminal is in an offline state, when the user information adding request of the multiple users is received, the user information of the multiple users is added.
本发明实施例中,通信终端处于离线状态下还可以接收所述多个用户对应的多个手环的同步数据,所述通信终端还可以根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。In the embodiment of the present invention, the communication terminal may further receive synchronization data of multiple bracelets corresponding to the multiple users when the communication terminal is in an offline state, and the communication terminal may further use the multiple user information according to the user information of the multiple users. The synchronization data of multiple bracelets corresponding to each user is stored correspondingly.
所述通信终端可以包括个人电脑、智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式智能设备等互联网设备,本发明实施例不作限定。The communication terminal may include an Internet device such as a personal computer, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the embodiment of the present invention Not limited.
所述用户信息可以包括手环用户的运动数据、睡眠数据、心率和体表温度、环境温湿度和气压、女性生理周期等数据,还可以包括利用手环记录的其他用户数据,本发明实施例不作限定。The user information may include data of the wristband user's motion data, sleep data, heart rate and body surface temperature, ambient temperature and humidity and air pressure, female physiological period, and the like, and may also include other user data recorded by the wristband, in the embodiment of the present invention. Not limited.
步骤S102、当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Step S102: When the terminal connects to the server, send a registration request to the server, where the registration request includes user information of the multiple users, so that the server is based on a preset user among the multiple users. Account registration is performed to bind the plurality of users to the account.
本发明实施例中,当所述通信终端连接到服务器时,所述通信终端还可以接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系,所述通信终端还可以将所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。当所述服务器绑定所述多个用户与所述账户失败时,还可以向所述通信终端发送用于提示所述账户注册失败的提示消息。所
述通信终端还可以接收所述服务器返回的用于提示所述账户注册失败的提示消息。In the embodiment of the present invention, when the communication terminal is connected to the server, the communication terminal may further receive a registration response message returned by the server, where the registration response message includes binding of the multiple users to the account. The communication terminal may further update the binding relationship between the multiple users and the account to a local database of the terminal. When the server binds the multiple users and the account fails, the prompt message for prompting the account registration failure may also be sent to the communication terminal. Place
The communication terminal may further receive a prompt message returned by the server for prompting the account registration to fail.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
请参阅图2,图2是本发明另一实施例中的账户注册方法的流程示意图,如图所示本实施例中的账户注册方法可以包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of an account registration method according to another embodiment of the present invention. As shown in the figure, the account registration method in this embodiment may include:
步骤S201、当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息。Step S201: When the terminal is in an offline state, when receiving the user information adding request of the multiple users, adding the user information of the multiple users.
本发明实施例中,当通信终端处于离线状态下,所述通信终端可以接收多个用户的用户信息添加请求;当接收到多个用户的用户信息添加请求时,所述通信终端可以添加所述多个用户的用户信息。In the embodiment of the present invention, when the communication terminal is in an offline state, the communication terminal may receive a user information addition request of multiple users; when receiving a user information addition request of multiple users, the communication terminal may add the User information for multiple users.
具体实现中,当所述通信终端检测到环境没有网络情况处于离线状态时,可以接收多个用户的用户信息添加请求,当接收到多个用户的用户信息添加请求时,所述通信终端可以添加所述多个用户的用户信息。In a specific implementation, when the communication terminal detects that the environment is not in the offline state, the communication terminal may receive a user information addition request of multiple users, and when receiving the user information addition request of multiple users, the communication terminal may add User information of the plurality of users.
当所述通信终端检测到环境没有网络情况处于离线状态时,可以接收多个用户的用户信息更改请求,当接收到多个用户的用户信息更改请求时,所述通信终端可以更改所述与接收到的更改请求对应的所述多个用户的用户信息。When the communication terminal detects that the environment is not in the offline state, the user information change request of the plurality of users may be received, and when receiving the user information change request of the plurality of users, the communication terminal may change the receiving and receiving The user information of the plurality of users corresponding to the change request.
当所述通信终端检测到环境没有网络情况处于离线状态时,可以接收多个用户的用户信息查看请求,当接收到多个用户的用户信息查看请求时,所述通信终端可以提取并显示所述与接收到的查看请求对应的所述多个用户的用户信息。When the communication terminal detects that the environment is not in the offline state, the user information receiving request of the plurality of users may be received, and when receiving the user information viewing request of the plurality of users, the communication terminal may extract and display the User information of the plurality of users corresponding to the received viewing request.
举例来说,手机A的本地数据库中存储有账户A的基本信息及五位用户的用户信息(五位用户分别为用户A、用户B……用户E,其中用户A、用户B和用户C为女性)。其中,所述用户信息包括智能手环的5种数据,分别可以是运动数据、睡眠数据、心率数据、环境温湿度数据、女性生理周期数据。For example, the local database of the mobile phone A stores the basic information of the account A and the user information of the five users (the five users are user A, user B, ... user E, wherein user A, user B, and user C are female). The user information includes five types of data of the smart bracelet, which may be motion data, sleep data, heart rate data, ambient temperature and humidity data, and female physiological cycle data.
在没有网络的情况下,现在用户A想使用手机A添加用户P、用户Q和用户M,3位好友的用户信息。当手机A接收到用户A发送的添加用户P、用户Q和用户M的用户
信息时,手机A将添加三位用户的用户信息至手机A的本地数据库。In the absence of a network, user A now wants to use user A to add user P, user Q, and user M, and user information of three friends. When the mobile phone A receives the user who adds the user P, the user Q, and the user M sent by the user A.
When the information is used, the mobile phone A will add the user information of the three users to the local database of the mobile phone A.
假设用户A想修改手机A中存储的五位用户的运动数据(五位用户分别为用户A、用户B……用户E),以此来激励自己多运动。用户A可以发送用于更改五位用户的用户信息中的运动数据的请求,当手机A接收到所述用户A发送的更改请求时,手机A从本地数据库中存储的用户信息中,查找并更改与所述接收到的请求相对应的运动数据。Assume that user A wants to modify the motion data of five users stored in mobile phone A (five users are user A, user B, ... user E), thereby stimulating himself to exercise more. User A may send a request for changing the motion data in the user information of the five users. When the mobile phone A receives the change request sent by the user A, the mobile phone A searches for and changes from the user information stored in the local database. Motion data corresponding to the received request.
假设用户A的***数据不正常,想查看用户B和用户C的女性生理周期数据。用户A可以发送用于查看用户B和用户C的女性生理周期数据的请求,当手机A接收到用户A发送的用于查看用户B和用户C的女性生理周期数据的请求时,手机A从本地数据库中存储的用户信息中,查找并显示与所述接收到的请求相对应的用户B和用户C的女性生理周期数据。Assume that user A's menstrual cycle data is not normal, and want to view the female physiological cycle data of user B and user C. User A can send a request for viewing the female physiological cycle data of User B and User C. When the mobile phone A receives the request sent by the user A for viewing the female physiological cycle data of the user B and the user C, the mobile phone A is locally Among the user information stored in the database, the female physiological cycle data of the user B and the user C corresponding to the received request are searched for and displayed.
步骤S202、当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Step S202, when the terminal is connected to the server, sending a registration request to the server, where the registration request includes user information of the multiple users, so that the server is based on a preset user among the multiple users. Account registration is performed to bind the plurality of users to the account.
本发明实施例中,当通信终端连接到服务器时,所述通信终端向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。In the embodiment of the present invention, when the communication terminal is connected to the server, the communication terminal sends a registration request to the server, where the registration request includes user information of the plurality of users, so that the server is configured according to the multiple The preset user in the user performs account registration, and binds the plurality of users to the account.
具体实现中,当所述通信终端连接至服务器时,所述通信终端可以从所述通信终端的本地数据库中提取账户的基本信息和多个用户的用户信息。所述通信终端可以向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,还可以包括提取到的所述账户的基本信息,以使所述服务器根据所述多个用户中的预设用户对所述账户的基本信息进行注册,当所述账户注册成功之后,所述服务器将所述多个用户的用户信息与所述账户进行绑定。In a specific implementation, when the communication terminal is connected to the server, the communication terminal may extract basic information of the account and user information of the plurality of users from a local database of the communication terminal. The communication terminal may send a registration request to the server, where the registration request includes user information of the plurality of users, and may further include basic information of the extracted account, so that the server is configured according to the multiple The preset user in the user registers the basic information of the account, and after the account is successfully registered, the server binds the user information of the multiple users to the account.
根据上述步骤S201中的例子,在有网络的情况下,用户A用手机A连接到服务器对账户A及五位用户的用户信息进行账户注册。手机A可以提取本地数据库中存储的账户A的基本信息和五位用户的用户信息;手机A向服务器发送账户A的注册请求,所述注册请求包括上述提取到的账户A的基本信息和五位用户的用户信息
,以使所述服务器根据用户A对账户A的基本信息进行注册,当所述账户A注册成功之后,所述服务器将所述五位用户的用户信息与账户A进行绑定,最终实现账户A的注册。According to the example in the above step S201, in the case where there is a network, the user A connects to the server by the mobile phone A to perform account registration on the account information of the account A and the five users. The mobile phone A can extract the basic information of the account A stored in the local database and the user information of the five users; the mobile phone A sends a registration request of the account A to the server, and the registration request includes the basic information of the extracted account A and five digits. User's user information
So that the server registers the basic information of the account A according to the user A. After the account A is successfully registered, the server binds the user information of the five users to the account A, and finally implements the account A. Registration.
步骤S203、接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。Step S203: Receive a registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account.
本发明实施例中,通信终端可以接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;所述通信终端还可以接收所述服务器返回的用于提示所述账户注册失败的提示消息。In the embodiment of the present invention, the communication terminal may receive the registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account; the communication terminal may further receive the server return A prompt message for prompting that the account registration failed.
步骤S204、将所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。Step S204: Update a binding relationship between the multiple users and the account to a local database of the terminal.
本发明实施例中,通信终端可以根据步骤S203中接收到的所述注册响应消息包括的所述多个用户与所述账户的绑定关系,更新多个用户的用户信息至所述通信终端的本地数据库。In the embodiment of the present invention, the communication terminal may update the user information of the multiple users to the communication terminal according to the binding relationship between the multiple users and the account included in the registration response message received in step S203. Local database.
示例性地,手机A接收服务器返回的账户A的注册响应消息,所述账户A的注册响应消息包括账户A和五位用户的用户信息的绑定关系;手机A根据所述接收到账户A和五位用户的用户信息的绑定关系更新本地数据库中的用户信息,使得账户A与五位用户的用户信息相关联。Exemplarily, the mobile phone A receives the registration response message of the account A returned by the server, and the registration response message of the account A includes the binding relationship between the account A and the user information of the five users; the mobile phone A receives the account A according to the The binding relationship of the user information of the five users updates the user information in the local database, so that the account A is associated with the user information of the five users.
步骤S205、当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据。Step S205: Receive synchronization data of multiple bracelets corresponding to the multiple users when the terminal is in an offline state.
步骤S206、根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。In step S206, the synchronization data of the plurality of bracelets corresponding to the plurality of users are correspondingly stored according to the user information of the plurality of users.
本发明实施例中,当通信终端处于离线状态时,所述通信终端可以接收多个用户对应的多个手环的同步数据,所述通信终端还可以根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。In the embodiment of the present invention, when the communication terminal is in an offline state, the communication terminal may receive synchronization data of multiple bracelets corresponding to multiple users, and the communication terminal may further perform user information according to the multiple users. The synchronization data of the plurality of bracelets corresponding to the plurality of users are correspondingly stored.
示例性地,在没有网络的情况下,假设用户A、用户B……用户E五位用户分别将新生产的智能手环的5种数据作为手环的同步数据存储给手机A中。手机A在没有网络的情况下处于离线状态时,手机A依然可以接收五位用户对应的五个手环的同步数据;并且手机A根据五位用户的用户信息将接收到的五个手环的同步数
据对应存储到相应的位置中,比如,将接收到的用户A对应的手环的同步数据存储到用户A对应的用户信息中。Exemplarily, in the absence of a network, it is assumed that the user A, the user B, the user E, and the five users respectively store the five types of data of the newly produced smart bracelet as the synchronization data of the wristband to the mobile phone A. When the mobile phone A is offline in the absence of the network, the mobile phone A can still receive the synchronization data of the five wristbands corresponding to the five users; and the mobile phone A will receive the five wristbands according to the user information of the five users. Synchronization number
The corresponding data is stored in the corresponding location, for example, the synchronization data of the received wristband corresponding to the user A is stored in the user information corresponding to the user A.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
请参阅图3,图3是本发明另一实施例中的账户注册方法的流程示意图,如图所示本实施例中的账户注册方法可以包括:Referring to FIG. 3, FIG. 3 is a schematic flowchart of an account registration method according to another embodiment of the present invention. As shown in the figure, the account registration method in this embodiment may include:
步骤S301、当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息。Step S301: When detecting that the terminal is connected to the server, receiving a registration request sent by the terminal, where the registration request includes user information of multiple users.
本发明实施例中,当检测到通信终端连接到服务器时,所述服务器接收终端发送的注册请求,所述注册请求包括多个用户的用户信息。In the embodiment of the present invention, when detecting that the communication terminal is connected to the server, the server receives a registration request sent by the terminal, and the registration request includes user information of multiple users.
具体实现中,所述服务器接收所述通信终端发送的注册请求,所述注册请求包括多个用户的用户信息,还可以包括账户的基本信息,其中,所述基本信息包括账号名和注册密码。In a specific implementation, the server receives a registration request sent by the communication terminal, where the registration request includes user information of multiple users, and may further include basic information of the account, where the basic information includes an account name and a registration password.
示例性地,在有网络的情况下,当服务器接收到手机A发送的注册请求时,所述注册请求可以包括五位用户的用户信息,还可以包括账户A的基本信息(账户A的用户名和注册密码)。Exemplarily, in the case of a network, when the server receives the registration request sent by the mobile phone A, the registration request may include user information of five users, and may also include basic information of the account A (user name of the account A and sign up password).
步骤S302、所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Step S302: The server performs account registration according to a preset user among the multiple users, and binds the multiple users to the account.
本发明实施例中,服务器可以根据所述多个用户中的预设用户进行账户注册,所述服务器将步骤S301中接收到的注册请求中的多个用户的用户信息与所述账户进行绑定。In the embodiment of the present invention, the server may perform account registration according to the preset user among the multiple users, and the server binds the user information of the multiple users in the registration request received in step S301 to the account. .
具体实现中,服务器可以验证所述接收到的所述账户的基本信息是否满足注册条件,当所述服务器验证到所述账户的基本信息满足注册条件时,所述服务器可以将所述多个用户的用户信息登记注册到所述账户下,也即是将将所述多个用户与所述账户进行绑定。In a specific implementation, the server may verify whether the received basic information of the account satisfies a registration condition, and when the server verifies that the basic information of the account satisfies the registration condition, the server may use the multiple users. The user information is registered under the account, that is, the plurality of users will be bound to the account.
示例性地,服务器根据步骤S301中接收到的账户A的用户名和注册密码时,所
述服务器向账户A的用户名发送验证码,所述服务器验证返回的验证码和两次输入的注册密码是否正确,当所述服务器验证到账户A注册成功之后,将五个用户的用户信息登记注册到账户A下,也即是,所述服务器将账户A与五位用户的用户信息进行绑定。Illustratively, according to the user name and registration password of the account A received in step S301, the server
The server sends a verification code to the username of the account A, and the server verifies that the returned verification code and the two input registration passwords are correct. When the server verifies that the account A is successfully registered, the user information of the five users is registered. Registered under Account A, that is, the server binds Account A with the user information of the five users.
请一并参照图4,图4是本发明另一实施例中的账户注册方法的流程示意图,如图所示本实施例中的账户注册方法在步骤S302之后,还可以包括:Referring to FIG. 4, FIG. 4 is a schematic flowchart of an account registration method according to another embodiment of the present invention. The method for registering an account in the embodiment of the present invention may further include:
步骤S303、向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。Step S303: Send a registration response message to the terminal, where the registration response message includes a binding relationship between the multiple users and the account.
本发明实施例中,服务器可以向所述通信终端发送注册响应消息;所述服务器还可以向所述通信终端发送用于提示所述账户注册失败的提示消息。In the embodiment of the present invention, the server may send a registration response message to the communication terminal; the server may further send a prompt message to the communication terminal to prompt the account registration to fail.
示例性地,服务器可以向手机A发送账户A的注册响应消息,所述账户A的注册响应消息包括账户A和五位用户的用户信息的绑定关系,当手机A接收到所述服务器发送的账户A的注册响应消息之后,更新手机A的本地数据库中存储的用户消息,使得账户A与五位用户的用户消息相关联。和/或,Exemplarily, the server may send a registration response message of the account A to the mobile phone A, where the registration response message of the account A includes a binding relationship between the account A and the user information of the five users, when the mobile phone A receives the sending by the server. After the registration response message of account A, the user message stored in the local database of the mobile phone A is updated, so that the account A is associated with the user message of the five users. and / or,
服务器可以向手机A发送用于提醒手机A的终端用户A账户A注册失败的提醒消息,使得手机A的终端用户A重新对账户A及五位用户的用户信息进行注册。The server may send a reminder message to the mobile phone A for reminding the terminal user A of the mobile phone A that the registration of the account A has failed, so that the terminal user A of the mobile phone A re-registers the user information of the account A and the five users.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
请参阅图5,图5是本发明实施例中的一种终端的结构示意图,如图所示本实施例中的终端50可以包括:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in the figure, the terminal 50 in this embodiment may include:
添加模块500,用于当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息;The adding module 500 is configured to: when the terminal is in an offline state, add the user information of the multiple users when receiving the user information adding request of the multiple users;
发送模块501,用于当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。The sending module 501 is configured to send, when the terminal is connected to the server, a registration request to the server, where the registration request includes user information of the multiple users, so that the server is configured according to the multiple users. The preset user performs account registration, and binds the plurality of users to the account.
请一并参照图6,图6是本发明另一实施例中的终端的结构示意图,如图所示本
实施例中的终端还可以包括:Please refer to FIG. 6 together. FIG. 6 is a schematic structural diagram of a terminal according to another embodiment of the present invention.
The terminal in the embodiment may further include:
可选地,所述终端还包括:Optionally, the terminal further includes:
接收模块502,用于接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;The receiving module 502 is configured to receive a registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account;
更新模块503,用于将所述接收模块接收到的所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。The updating module 503 is configured to update the binding relationship between the plurality of users and the account received by the receiving module to a local database of the terminal.
可选地,Optionally,
所述接收模块502,还用于当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据。The receiving module 502 is further configured to receive synchronization data of multiple bracelets corresponding to the multiple users when the terminal is in an offline state.
可选地,所述终端还包括:Optionally, the terminal further includes:
存储模块504,用于根据所述多个用户的用户信息,将所述接收模块接收到的所述多个用户对应的多个手环的同步数据进行对应存储。The storage module 504 is configured to store, according to the user information of the multiple users, synchronization data of multiple bracelets corresponding to the multiple users received by the receiving module.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
需要说明的是,上述实施例提供的终端在进行账户注册设置时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将移动通讯终端的内部结构划分成不同的功能模块,以完成描述的全部或部分功能。另外,上述实施例提供的终端分别与图1和图2提供的本发明实施例中的账户注册方法属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when performing the account registration setting, the terminal provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described. In addition, the terminal provided in the foregoing embodiment is the same as the account registration method in the embodiment of the present invention provided in FIG. 1 and FIG. 2, and the specific implementation process is described in the method embodiment, and details are not described herein again.
请参阅图7,图7是本发明另一实施例中的终端的结构示意图,如图所示本实施例中的终端70可以包括:Referring to FIG. 7, FIG. 7 is a schematic structural diagram of a terminal in another embodiment of the present invention. As shown in the figure, the terminal 70 in this embodiment may include:
接收模块700,用于当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;The receiving module 700 is configured to: when detecting that the terminal is connected to the server, receive a registration request sent by the terminal, where the registration request includes user information of multiple users;
账户注册模块701,用于所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。
The account registration module 701 is configured to perform, by the server, performing account registration according to a preset user of the plurality of users, and binding the multiple users to the account.
请一并参照图8,图8是本发明另一实施例中的终端的结构示意图,如图所示本实施例中的终端还可以包括:Referring to FIG. 8 together, FIG. 8 is a schematic structural diagram of a terminal according to another embodiment of the present invention. As shown in the figure, the terminal in this embodiment may further include:
可选地,所述终端还包括:Optionally, the terminal further includes:
发送模块702,用于向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。The sending module 702 is configured to send a registration response message to the terminal, where the registration response message includes a binding relationship between the multiple users and the account.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
需要说明的是,上述实施例提供的终端在进行账户注册设置时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将移动通讯终端的内部结构划分成不同的功能模块,以完成描述的全部或部分功能。另外,上述实施例提供的终端分别与图3和图4提供的本发明实施例中的账户注册方法属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when performing the account registration setting, the terminal provided by the foregoing embodiment is only illustrated by the division of the foregoing functional modules. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described. In addition, the terminal provided in the foregoing embodiment is the same as the account registration method in the embodiment of the present invention provided in FIG. 3 and FIG. 4 respectively. For details, refer to the method embodiment, and details are not described herein again.
请参阅图9,图9是本发明另一实施例中的终端的结构示意图,如图所示本实施例中的终端90可以包括:输入装置900、输出装置901、存储器902和处理器903(网络设备中的处理器903的数量可以是一个或多个,图9中以一个处理器为例)。本发明的一些实施例中,输入装置900、输出装置901、存储器902和处理器903可以通过总线或其他方式连接,其中,图9中以通过总线连接为例。Referring to FIG. 9, FIG. 9 is a schematic structural diagram of a terminal according to another embodiment of the present invention. As shown in the figure, the terminal 90 in this embodiment may include: an input device 900, an output device 901, a memory 902, and a processor 903 ( The number of processors 903 in the network device may be one or more, and one processor is taken as an example in FIG. In some embodiments of the present invention, the input device 900, the output device 901, the memory 902, and the processor 903 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
其中,所述处理器903可以用于调用存储器902中存储的数据更新程序,并执行如下步骤:The processor 903 can be used to invoke a data update program stored in the memory 902, and perform the following steps:
当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息;When the terminal is in an offline state, when the user information addition request of the multiple users is received, the user information of the multiple users is added;
当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Sending a registration request to the server when the terminal is connected to the server, the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
本发明实施例中,处理器903可以用于调用存储器902中存储的数据更新程序,
还可以执行如下步骤:In the embodiment of the present invention, the processor 903 can be used to call a data update program stored in the memory 902.
You can also perform the following steps:
接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;Receiving a registration response message returned by the server, where the registration response message includes a binding relationship between the plurality of users and the account;
将所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。Updating the binding relationship of the plurality of users to the account to a local database of the terminal.
本发明实施例中,处理器903可以用于调用存储器902中存储的数据更新程序,还可以执行如下步骤:In the embodiment of the present invention, the processor 903 can be used to invoke the data update program stored in the memory 902, and can also perform the following steps:
当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据;Receiving synchronization data of multiple bracelets corresponding to the plurality of users when the terminal is in an offline state;
根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。And synchronizing the synchronization data of the plurality of bracelets corresponding to the plurality of users according to the user information of the plurality of users.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
请参阅图10,图10是本发明实施例中的一种服务器的结构示意图,如图所示本实施例中的服务器100可以包括:包括输入装置1000、输出装置1001、存储器1002和处理器1003(网络设备中的处理器1003的数量可以是一个或多个,图10中以一个处理器为例)。本发明的一些实施例中,输入装置1000、输出装置1001、存储器1002和处理器1003可以通过总线或其他方式连接,其中,图10中以通过总线连接为例。Referring to FIG. 10, FIG. 10 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in the figure, the server 100 in this embodiment may include: an input device 1000, an output device 1001, a memory 1002, and a processor 1003. (The number of processors 1003 in the network device may be one or more, and one processor is taken as an example in FIG. 10). In some embodiments of the present invention, the input device 1000, the output device 1001, the memory 1002, and the processor 1003 may be connected by a bus or other means, wherein the connection through the bus is taken as an example in FIG.
其中,所述处理器1003可以用于调用存储器1002中存储的数据更新程序,并执行如下步骤:The processor 1003 can be used to invoke a data update program stored in the memory 1002, and perform the following steps:
当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;When detecting that the terminal is connected to the server, receiving a registration request sent by the terminal, where the registration request includes user information of multiple users;
所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。The server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
其中,所述处理器1003可以用于调用存储器1002中存储的数据更新程序,还可以执行如下步骤:The processor 1003 can be used to invoke a data update program stored in the memory 1002, and can also perform the following steps:
向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账
户的绑定关系。Sending a registration response message to the terminal, the registration response message including the plurality of users and the account
The binding relationship of the user.
本发明实施例可通过向所述服务器发送注册请求,以使所述服务器根据所述多个用户中的设定用户进行账户注册,将所述多个用户与所述账户进行绑定。这样在没有网络的情况下或者退出所述账户时,用户也可以对多个用户的用户信息进行修改、添加等操作,提升账户管理的方便性和快捷性。The embodiment of the present invention may bind the multiple users to the account by sending a registration request to the server, so that the server performs account registration according to the set user of the multiple users. In this way, when there is no network or when the account is quit, the user can modify, add, and the like of the user information of multiple users, thereby improving the convenience and speed of account management.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。The units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs. Those skilled in the art can combine or combine the different embodiments described in the specification and the features of the different embodiments.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读
介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital Subscriber Line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. For example, but not limited to, the computer readable medium may include a random access memory (RAM), a read-only memory (ROM), and an electrically erasable programmable read-only memory (Electrically Erasable Programmable). Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, disk storage media or other magnetic storage devices, or can be used to carry or store an instruction or data structure. The desired program code and any other medium that can be accessed by the computer. Also. Any connection can be made computer readable
medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, Then coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, wireless and microwave are included in the fixing of the associated medium. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
问题的解决方案Problem solution
发明的有益效果
Advantageous effects of the invention
Claims (15)
- 一种账户注册的方法,其特征在于,所述方法包括:A method for registering an account, characterized in that the method comprises:当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息;When the terminal is in an offline state, when the user information addition request of the multiple users is received, the user information of the multiple users is added;当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Sending a registration request to the server when the terminal is connected to the server, the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
- 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;Receiving a registration response message returned by the server, where the registration response message includes a binding relationship between the plurality of users and the account;将所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。Updating the binding relationship of the plurality of users to the account to a local database of the terminal.
- 如权利要求1或2所述的方法,其特征在于,所述方法还包括:The method of claim 1 or 2, wherein the method further comprises:当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据;Receiving synchronization data of multiple bracelets corresponding to the plurality of users when the terminal is in an offline state;根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。And synchronizing the synchronization data of the plurality of bracelets corresponding to the plurality of users according to the user information of the plurality of users.
- 一种账户注册的方法,其特征在于,所述方法包括:A method for registering an account, characterized in that the method comprises:当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;When detecting that the terminal is connected to the server, receiving a registration request sent by the terminal, where the registration request includes user information of multiple users;所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。The server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
- 如权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。Sending a registration response message to the terminal, where the registration response message includes a binding relationship between the plurality of users and the account.
- 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:添加模块,用于当终端处于离线状态时,在接收到多个用户的用 户信息添加请求时,添加所述多个用户的用户信息;Add a module for receiving multiple users when the terminal is offline Adding user information of the plurality of users when the user information is added;发送模块,用于当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。a sending module, configured to send a registration request to the server when the terminal is connected to the server, where the registration request includes user information of the multiple users, so that the server is configured according to the pre- The user is configured to perform account registration, and bind the plurality of users to the account.
- 如权利要求6所述的终端,其特征在于,所述终端还包括:The terminal according to claim 6, wherein the terminal further comprises:接收模块,用于接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;a receiving module, configured to receive a registration response message returned by the server, where the registration response message includes a binding relationship between the multiple users and the account;更新模块,用于将所述接收模块接收到的所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。And an update module, configured to update a binding relationship between the multiple users and the account received by the receiving module to a local database of the terminal.
- 如权利要求6或7所述的终端,其特征在于,A terminal according to claim 6 or 7, wherein:所述接收模块,还用于当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据;The receiving module is further configured to receive synchronization data of multiple bracelets corresponding to the multiple users when the terminal is in an offline state;所述终端还包括:The terminal further includes:存储模块,用于根据所述多个用户的用户信息,将所述接收模块接收到的所述多个用户对应的多个手环的同步数据进行对应存储。And a storage module, configured to store, according to the user information of the multiple users, synchronization data of multiple bracelets corresponding to the multiple users received by the receiving module.
- 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:接收模块,用于当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;a receiving module, configured to: when detecting that the terminal is connected to the server, receive a registration request sent by the terminal, where the registration request includes user information of multiple users;账户注册模块,用于所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。An account registration module, configured to: the server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
- 如权利要求9所述的终端,其特征在于,所述终端还包括:The terminal according to claim 9, wherein the terminal further comprises:发送模块,用于向所述终端发送注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系。And a sending module, configured to send a registration response message to the terminal, where the registration response message includes a binding relationship between the multiple users and the account.
- 一种终端,其特征在于,包括输入装置、输出装置、存储器和处理器;A terminal, comprising: an input device, an output device, a memory, and a processor;其中,所述处理器执行如下步骤: 当终端处于离线状态时,在接收到多个用户的用户信息添加请求时,添加所述多个用户的用户信息;Wherein, the processor performs the following steps: When the terminal is in an offline state, when the user information addition request of the multiple users is received, the user information of the multiple users is added;当所述终端连接至服务器时,向所述服务器发送注册请求,所述注册请求包括所述多个用户的用户信息,以使所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。Sending a registration request to the server when the terminal is connected to the server, the registration request including user information of the plurality of users, so that the server performs account registration according to a preset user of the plurality of users Binding the plurality of users to the account.
- 如权利要求11所述的终端,其特征在于,所述处理器还用于执行如下步骤:The terminal according to claim 11, wherein the processor is further configured to perform the following steps:接收所述服务器返回的注册响应消息,所述注册响应消息包括所述多个用户与所述账户的绑定关系;Receiving a registration response message returned by the server, where the registration response message includes a binding relationship between the plurality of users and the account;将所述多个用户与所述账户的绑定关系更新至所述终端的本地数据库。Updating the binding relationship of the plurality of users to the account to a local database of the terminal.
- 如权利要求11或12所述的终端,其特征在于,所述处理器还用于执行如下步骤:The terminal according to claim 11 or 12, wherein the processor is further configured to perform the following steps:当所述终端处于离线状态时,接收所述多个用户对应的多个手环的同步数据;Receiving synchronization data of multiple bracelets corresponding to the plurality of users when the terminal is in an offline state;根据所述多个用户的用户信息,将所述多个用户对应的多个手环的同步数据进行对应存储。And synchronizing the synchronization data of the plurality of bracelets corresponding to the plurality of users according to the user information of the plurality of users.
- 一种账户注册的服务器,其特征在于,包括输入装置、输出装置、存储器和处理器;A server for registering an account, comprising: an input device, an output device, a memory, and a processor;其中,所述处理器执行如下步骤:Wherein, the processor performs the following steps:当检测到终端连接至服务器时,接收终端发送的注册请求,所述注册请求包括多个用户的用户信息;When detecting that the terminal is connected to the server, receiving a registration request sent by the terminal, where the registration request includes user information of multiple users;所述服务器根据所述多个用户中的预设用户进行账户注册,将所述多个用户与所述账户进行绑定。The server performs account registration according to a preset user of the plurality of users, and binds the multiple users to the account.
- 如权利要求14所述的服务器,其特征在于,所述处理器还用于执行如下步骤:The server according to claim 14, wherein said processor is further configured to perform the following steps:向所述终端发送注册响应消息,所述注册响应消息包括所述多个 用户与所述账户的绑定关系。 Sending a registration response message to the terminal, where the registration response message includes the multiple The binding relationship between the user and the account.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201580002091.5A CN105765952B (en) | 2015-10-13 | 2015-10-13 | Account registration method, terminal and server |
PCT/CN2015/091847 WO2017063142A1 (en) | 2015-10-13 | 2015-10-13 | Account registration method, terminal, and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/091847 WO2017063142A1 (en) | 2015-10-13 | 2015-10-13 | Account registration method, terminal, and server |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017063142A1 true WO2017063142A1 (en) | 2017-04-20 |
Family
ID=56343061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/091847 WO2017063142A1 (en) | 2015-10-13 | 2015-10-13 | Account registration method, terminal, and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105765952B (en) |
WO (1) | WO2017063142A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023093325A1 (en) * | 2021-11-29 | 2023-06-01 | 杭州逗酷软件科技有限公司 | Method and apparatus for adding friend, and server and storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885580A (en) * | 2019-02-14 | 2019-06-14 | 深圳市盟天科技有限公司 | A kind of hot spot account batch updating method, apparatus, server and storage medium |
CN110177077B (en) * | 2019-04-16 | 2023-05-02 | 平安普惠企业管理有限公司 | Account system offline processing method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102307201A (en) * | 2011-09-06 | 2012-01-04 | 宇龙计算机通信科技(深圳)有限公司 | Method and device of offline registration |
CN103514357A (en) * | 2012-12-31 | 2014-01-15 | Tcl集团股份有限公司 | Remote health supervising method and supervising system thereof |
US20140187240A1 (en) * | 2011-05-18 | 2014-07-03 | Shanzhen Chen | System and Method for Automatically Switching Based on Cellular Mobile Communication Network and Internet Protocol (IP) Network |
CN104683409A (en) * | 2013-11-29 | 2015-06-03 | 华为终端有限公司 | Method for sharing applications between terminals and terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707984A (en) * | 2012-04-27 | 2012-10-03 | 北京深思洛克软件技术股份有限公司 | Off-line data change processing method applied in application program |
CN103391307B (en) * | 2012-05-11 | 2018-03-20 | 阿里巴巴集团控股有限公司 | Offline transparent transmission and display methods, the apparatus and system of off-line data |
CN104836776A (en) * | 2014-02-10 | 2015-08-12 | 阿里巴巴集团控股有限公司 | Data interaction method and device |
CN104883411B (en) * | 2015-03-25 | 2019-01-25 | 北京良舟通讯科技有限公司 | Data information sharing and remote healthcare nurse smart machine and method |
-
2015
- 2015-10-13 WO PCT/CN2015/091847 patent/WO2017063142A1/en active Application Filing
- 2015-10-13 CN CN201580002091.5A patent/CN105765952B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140187240A1 (en) * | 2011-05-18 | 2014-07-03 | Shanzhen Chen | System and Method for Automatically Switching Based on Cellular Mobile Communication Network and Internet Protocol (IP) Network |
CN102307201A (en) * | 2011-09-06 | 2012-01-04 | 宇龙计算机通信科技(深圳)有限公司 | Method and device of offline registration |
CN103514357A (en) * | 2012-12-31 | 2014-01-15 | Tcl集团股份有限公司 | Remote health supervising method and supervising system thereof |
CN104683409A (en) * | 2013-11-29 | 2015-06-03 | 华为终端有限公司 | Method for sharing applications between terminals and terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023093325A1 (en) * | 2021-11-29 | 2023-06-01 | 杭州逗酷软件科技有限公司 | Method and apparatus for adding friend, and server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105765952A (en) | 2016-07-13 |
CN105765952B (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3701671B1 (en) | Cross-blockchain authentication method, apparatus, and electronic device | |
US11178522B2 (en) | Method for providing content corresponding to accessory and electronic device thereof | |
JP6840292B2 (en) | Blockchain-based smart contract activation methods and devices, as well as electronic devices | |
JP6874224B2 (en) | Cross blockchain authentication method and equipment | |
US9565155B2 (en) | System and method for openly sharing and synchronizing information across a plurality of mobile client application computers | |
JP6752969B2 (en) | Methods, devices and servers for account login | |
CN108694306A (en) | The method of management and the external internet of things equipment of control and its electronic equipment of support | |
US20140317699A1 (en) | User authentication using unique hidden identifiers | |
US11074581B2 (en) | Electronic device and user authentication method thereof | |
CN103475635A (en) | Utilizing a social network account to provide additional functionality to a gaming network account | |
CN104660671A (en) | Application providing system with reward providing function | |
CN101924786A (en) | Dynamic content preference and behavior sharing between computing devices | |
US20140343991A1 (en) | Method and system for administration of advice using a server connected to a network | |
KR20150116228A (en) | Method for managing contact information and electronic device implementing the same | |
WO2017063142A1 (en) | Account registration method, terminal, and server | |
KR20160010284A (en) | Method and device for obtaining voice service | |
US20180262499A1 (en) | Method and server for implementing control of smart devices by master devices | |
CN103729389A (en) | Method for sharing and tracking webpage filling | |
CN116707821A (en) | Transaction data processing method and device based on blockchain | |
WO2017063143A1 (en) | Method and device for updating data, terminal and server | |
US11715092B2 (en) | Transferring ownership of physical objects and digital counterparts using a distributed ledger and digital tokens on physical objects | |
JP2016526246A (en) | User data update method, apparatus, program, and recording medium | |
KR20150071129A (en) | Apparatus and method for sharing connection information in an electronic device | |
US11423108B2 (en) | Interactive media network system | |
JP2013250783A (en) | Information processing system, information processing device, information processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15906027 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15906027 Country of ref document: EP Kind code of ref document: A1 |