Binding method and device and electronic equipment
The binding method obtained through the terminal device and combined with the IoT server information solves the problem of cumbersome binding process caused by the mismatch between mobile phone and TV accounts, achieving a simplified binding process and improved user experience.
Patent Information
- Application Number
- CN202311642095.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-12-01
AI Technical Summary
When users establish a binding relationship between mobile phones and TVs, the operation process is often cumbersome and the user experience is poor due to account mismatch, especially when the user account currently logged in on the TV is different from the user account currently logged in on the mobile app or is not logged in. case.
Respond to user operations through the terminal device, obtain the electronic devices that can be bound in the current environment, obtain the device identification of the target device, and combine the user account and family identification based on the login information obtained by the IoT server to simplify the binding process and allow Bind the anonymous account or the fusion ID of the currently logged in account to display the target device on the home page.
There is no need to ensure that the accounts currently logged in on the mobile phone and the TV are the same to establish a communication connection, which simplifies the process of establishing the binding relationship between the mobile phone and the TV and improves the user experience.
Smart Images

Figure CN118828079A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of Internet of Things, and in particular to a binding method, device and electronic device. Background Art
[0002] Currently, users can use mobile terminals (such as mobile phones) to control electronic devices (such as televisions) to perform corresponding operations (such as turning on, off, adjusting the volume, etc.). In this process, it is necessary to establish a binding relationship between the mobile phone and the TV. For the sake of user privacy and security, in the process of establishing a binding relationship between the mobile phone and the TV, the same user account (such as mobile phone number) needs to be logged in to both the TV and the mobile phone at the same time.
[0003] However, when users perform the above operations, the user account logged in on the mobile phone is often different from the user account logged in on the TV, or the user account is not currently logged in on the TV, resulting in the user needing to switch the login status of the user account to complete the above operations, resulting in a poor user experience.
[0004] Therefore, how to simplify the operation process of establishing the binding relationship between a mobile phone and a TV has become an urgent problem to be solved. Summary of the invention
[0005] In order to solve the above technical problems, the present disclosure provides a binding method, device and electronic device.
[0006] The technical solution of the present disclosure is as follows:
[0007] In a first aspect, the present disclosure provides a terminal device, comprising: a processor, configured to, in response to a user operation of binding an electronic device, control a communicator to obtain at least one electronic device that can be bound in a current environment; the processor, further configured to, in response to a selection operation of a target device obtained by the communicator, control the communicator to obtain a device identification of the target device; wherein one target device corresponds to one device identification, and the target device is any one of the electronic devices; the processor, further configured to, based on the device identification obtained by the communicator, control the communicator to obtain login information of the target device from an Internet of Things server; wherein the login information includes a first login identification for indicating that the target device uses a pre-configured anonymous account, or the login information includes a second login identification for indicating that the target device is currently logged in to a first user account; The processor is also configured to perform binding based on multiple items of the currently logged-in second user account, the first family identifier to which the second user account belongs, the device identifier, and the login information obtained by the communicator, and determine the binding result; wherein the binding result includes a fusion identifier corresponding to the first user account and the second user account, and the fusion identifier includes the second family identifier corresponding to the first user account, or the first family identifier corresponding to the second user account; the processor is also configured to bind the target device to the family page corresponding to the fusion identifier based on the binding result, and control the display to display the target device in the family page; wherein the first user account and / or the second user account can both view the bound target device in the family page corresponding to the fusion identifier, and control the target device in the family page to execute the physical network function.
[0008] In a second aspect, the present disclosure provides a binding method, comprising: in response to a user operation of binding an electronic device, obtaining at least one electronic device that can be bound in the current environment; in response to a selection operation of a target device, obtaining a device identification of the target device; wherein one target device corresponds to one device identification, and the target device is any one of the electronic devices; based on the device identification, obtaining login information of the target device from an Internet of Things server; wherein the login information includes a first login identification for indicating that the target device uses a pre-configured anonymous account, or the login information includes a second login identification for indicating that the target device is currently logged in to a first user account; binding is performed based on multiple items of the currently logged in second user account, the first family identification to which the second user account belongs, the device identification, and the login information, and a binding result is determined; wherein the binding result includes a fusion identification corresponding to the first user account and the second user account, and the fusion identification includes the second family identification corresponding to the first user account, or the first family identification corresponding to the second user account; based on the binding result, binding the target device to the family page corresponding to the fusion identification, and displaying the target device in the family page; wherein the first user account and / or the second user account can both view the bound target device in the family page corresponding to the fusion identification, and control the target device in the family page to perform a physical network function.
[0009] In a third aspect, the present disclosure provides an electronic device, comprising: a memory and a processor, the memory being used to store a computer program; the processor being used to enable the electronic device to implement any one of the binding methods provided in the second aspect when executing the computer program.
[0010] In a fourth aspect, the present invention provides a computer-readable storage medium, comprising: a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform any binding method as provided in the second aspect.
[0011] In a fifth aspect, the present invention provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute any one of the binding methods provided in the second aspect.
[0012] It should be noted that the above computer instructions may be stored in whole or in part on a first computer-readable storage medium, wherein the first computer-readable storage medium may be packaged together with the processor of the electronic device, or may be packaged separately from the processor of the electronic device, which is not limited in the present disclosure.
[0013] The description of the second, third, fourth and fifth aspects in the present disclosure can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0014] In the present disclosure, the names of the above electronic devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present disclosure, they fall within the scope of the claims of the present disclosure and their equivalent technologies.
[0015] These and other aspects of the present disclosure will become more apparent from the following description.
[0016] Compared with the prior art, the technical solution provided by the present invention has the following advantages:
[0017] The binding method provided by the present disclosure, when the user needs to control the home device through the terminal device, the user can select the binding electronic device on the terminal device, and then the terminal device responds to the user operation of binding the electronic device, and obtains at least one electronic device that can be bound in the current environment, so that the user can understand the electronic devices that can be bound in the current environment, and the user can select the electronic device that needs to be bound. At this time, the terminal device responds to the selection operation of the target device and obtains the device identification of the target device; the terminal device obtains the login information of the target device from the Internet of Things server based on the device identification; the terminal device binds based on the second user account currently logged in, the first family identification to which the second user account belongs, the device identification and the login information, and determines the binding result; the terminal device binds the target device to the family page corresponding to the fusion identification based on the binding result, and displays the target device in the family page. Since the first user account and / or the second user account corresponding to the fusion identification can refer to the bound target device in the family page corresponding to the fusion identification, the user does not need to consider whether the first user account currently logged in by the terminal device and the second user account currently logged in by the target device are the same during the binding process of the electronic device, which simplifies the process of establishing the binding relationship between the terminal device and the target device.
[0018] In addition, when the terminal device is a mobile phone and the target device is a television, the binding method provided by the present disclosure can establish a communication connection between the mobile phone and the television without ensuring that the first user account currently logged in by the mobile phone and the second user account currently logged in by the television are the same, which simplifies the establishment of the communication connection between the mobile phone and the television and solves the problem of how to simplify the operation process of establishing the binding relationship between the mobile phone and the television. The problem of how to simplify the operation process of establishing the binding relationship between the mobile phone and the television is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0021] Figure 1 A schematic diagram of a scenario of a binding method provided in an embodiment of the present application;
[0022] Figure 2 One of the structural schematic diagrams of the display device provided in the embodiment of the present application;
[0023] Figure 3 The second structural schematic diagram of the display device provided in the embodiment of the present application;
[0024] Figure 4 One of the flowcharts of the binding method provided in the embodiment of the present application;
[0025] Figure 5 One of the scenario schematic diagrams of the binding method provided in the embodiment of the present application;
[0026] Figure 6 The second schematic diagram of the scenario of the binding method provided in the embodiment of the present application;
[0027] Figure 7 The third scenario diagram of the binding method provided in the embodiment of the present application;
[0028] Figure 8 A fourth schematic diagram of a scenario of a binding method provided in an embodiment of the present application;
[0029] Fig. 9 A fifth scenario diagram of the binding method provided in an embodiment of the present application;
[0030] Fig.10 The sixth scenario diagram of the binding method provided in the embodiment of the present application;
[0031] Fig.11 The seventh scenario diagram of the binding method provided in the embodiment of the present application;
[0032] Fig.12 The eighth scenario diagram of the binding method provided in the embodiment of the present application;
[0033] Fig.13 A ninth scenario diagram of the binding method provided in an embodiment of the present application;
[0034] Fig.14 The tenth scenario diagram of the binding method provided in the embodiment of the present application;
[0035] Fig.15 11th schematic diagram of a scenario of a binding method provided in an embodiment of the present application;
[0036] Fig.16 A twelfth schematic diagram of a scenario of a binding method provided in an embodiment of the present application;
[0037] Fig.17 The second flowchart of the binding method provided in the embodiment of the present application;
[0038] Fig.18 The third flowchart of the binding method provided in the embodiment of the present application;
[0039] Fig.19 A fourth flowchart of the binding method provided in an embodiment of the present application;
[0040] Fig. 20 A fifth flowchart of the binding method provided in the embodiment of the present application;
[0041] Fig.21 The sixth flowchart of the binding method provided in the embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0043] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0044] The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a smart TV, a laser projection device, a monitor, an electronic whiteboard, an electronic table, etc. Figure 1 and Figure 2 This is a specific implementation of the display device of the present application.
[0045] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0046] At present, when binding a TV set with a mobile phone application (application, App), for the sake of user privacy and security, the user account currently logged in to the TV set and the user account logged in to the mobile phone application (application, App) must be logged in to the same user account before the binding operation can be performed. In this process, there are the following scenarios: Scenario 1, the user account currently logged in to the TV set and the user account currently logged in to the mobile phone App are different accounts; Scenario 2, the user account currently not logged in to the TV set
[0047] Among them, in scenario 1, because the user account currently logged in to the TV may have purchased membership and other benefits, if the user is directly guided to switch the user account currently logged in to the TV to be consistent with the user account currently logged in to the mobile phone App, it may cause a large number of user complaints; if the mobile phone App is guided to log in to the user account currently logged in to TV 1 and then bind, the process is also cumbersome, and the user may not be able to successfully log in to the user account currently logged in to TV 1, resulting in the termination of the actual binding process.
[0048] In scenario 2, there needs to be a quick operation method so that users can quickly bind, instead of using the TV remote control to manually control the TV to log in to the account. When the user logs in manually, there is a probability that the logged-in user account is not the user account currently logged in by the App.
[0049] Therefore, how to simplify the operation process of establishing the binding relationship between a mobile phone and a TV has become an urgent problem to be solved.
[0050] To solve the above problems, the embodiment of the present disclosure provides a binding method. When a user needs to control a home device through a terminal device, the user can select to bind an electronic device on the terminal device. After that, the terminal device responds to the user operation of binding the electronic device and obtains at least one electronic device that can be bound in the current environment, so that the user can understand the electronic devices that can be bound in the current environment, and the user can select the electronic device that needs to be bound. At this time, the terminal device responds to the selection operation of the target device and obtains the device identification of the target device; the terminal device obtains the login information of the target device from the Internet of Things server based on the device identification; the terminal device binds based on the second user account currently logged in, the first family identification to which the second user account belongs, the device identification and the login information, and determines the binding result; the terminal device binds the target device to the family page corresponding to the fusion identification based on the binding result, and displays the target device in the family page. Since the first user account and / or the second user account corresponding to the fusion identification can refer to the bound target device in the family page corresponding to the fusion identification, the user does not need to consider whether the first user account currently logged in by the terminal device is the same as the second user account currently logged in by the target device during the binding process of the electronic device, which simplifies the process of establishing the binding relationship between the terminal device and the target device. The specific implementation process is as follows:
[0051] Figure 1 is a schematic diagram of an operation scenario between a household appliance and a control device according to one or more embodiments of the present application, such as Figure 1 As shown, the user can operate the household device 200 through the terminal device 300 and / or the control device 100. The control device 100 can be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the household device 200. The user can input user instructions by pressing buttons on the remote controller, voice input, control panel input, etc. to control the household device 200. In some embodiments, mobile terminals, tablet computers, computers, laptops, and other smart devices can also be used to control the household device 200.
[0052] In some embodiments, the terminal device provided in the embodiment of the present application may be the above-mentioned terminal device 300. Among them, during the use of the home device 200, the user may bind the home device 200 to the first application of the terminal device 300, so that the user may control the home device 200 through the first application of the mobile terminal 300, such as: viewing the current operating status of the home device 200, turning on or off, etc. When the user needs to bind the home device 200 to the first application of the terminal device 300, the user may select the binding electronic device on the first application of the terminal device 300, and the terminal device 300 responds to the user operation of the binding electronic device and obtains at least one electronic device that can be bound in the current environment. After that, the user can select the electronic device that needs to be bound from the at least one electronic device that can be bound displayed on the terminal device 300. At this time, the terminal device 300 responds to the selection operation of the target device and obtains the device identification of the target device. After that, the terminal device 300 obtains the login information of the target device from the Internet of Things server 400 based on the device identification. Afterwards, the terminal device 300 performs binding based on the second user account currently logged in, the first family identifier to which the second user account belongs, the device identifier, and multiple items of the login information, and determines the binding result. Afterwards, based on the binding result, the terminal device 300 binds the target device to the family page corresponding to the fusion identifier, and displays the target device in the family page; wherein, the first user account and / or the second user account can both check the bound target device in the family page corresponding to the fusion identifier, and control the target device in the family page to execute the physical network function.
[0053] It can be seen that, using the binding method provided by the embodiment of the present disclosure, when the user needs to control the home device through the first application of the terminal device, the user can select to bind the electronic device on the first application of the terminal device, and then the first application responds to the user operation of binding the electronic device, and obtains at least one electronic device that can be bound in the current environment, so that the user can understand the electronic devices that can be bound in the current environment, and the user can select the electronic device that needs to be bound. At this time, the terminal device responds to the selection operation of the target device and obtains the device identification of the target device; the terminal device obtains the login information of the target device from the Internet of Things server based on the device identification; the terminal device binds based on the second user account currently logged in, the first family identification to which the second user account belongs, the device identification and the login information, and determines the binding result; the terminal device binds the target device to the family page corresponding to the fusion identification based on the binding result, and displays the target device in the family page. Since the first user account and / or the second user account corresponding to the fusion identification can refer to the bound target device in the family page corresponding to the fusion identification, the user does not need to consider whether the first user account currently logged in by the terminal device and the second user account currently logged in by the target device are the same during the binding process of the electronic device, which simplifies the process of establishing the binding relationship between the terminal device and the target device.
[0054] In addition, when the terminal device is a mobile phone and the target device is a television, the binding method provided by the embodiment of the present disclosure can be used to establish a communication connection between the mobile phone and the television without having to ensure that the first user account currently logged in to the mobile phone and the second user account currently logged in to the television are the same. This simplifies the establishment of a communication connection between the mobile phone and the television and solves the problem of how to simplify the operational process of establishing a binding relationship between a mobile phone and a television.
[0055] Figure 2 FIG. 4 shows a hardware configuration block diagram of a terminal device 300 according to an exemplary embodiment. Figure 2 The terminal device 300 shown includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output. The display 260 can be a display with a touch function, such as a touch display. The detector 230 is used to collect signals of the external environment or interaction with the outside.
[0056] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the home device 200.
[0057] In some examples, the terminal device 300 of one or more embodiments is a mobile phone 1, and the operating system of the mobile phone 1 is an Android system. Figure 3 As shown, the mobile phone 1 can be logically divided into an application layer (Applications) (referred to as "application layer") 21, an application framework layer (Application Framework) (referred to as "framework layer") 22, an Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer") 23, and a kernel layer 24.
[0058] Among them, the application layer 21 includes one or more applications. The application can be a system application or a third-party application. For example, the application layer 21 includes a first application, which can provide a control function for the home device 200. The framework layer 22 provides an application programming interface (API) and a programming framework for the application of the application layer 21. The system runtime layer 23 provides support for the upper layer, namely the framework layer 22. When the framework layer 22 is used, the Android operating system will run the C / C++ library contained in the system runtime layer 23 to implement the functions to be implemented by the framework layer 22. The kernel layer 24 serves as a software middleware between the hardware layer and the application layer 21, and is used to manage and control hardware and software resources.
[0059] In some examples, after the mobile phone 1 is turned on, the first application is started. In the process of using the home device 200, the user can bind the home device 200 to the first application of the mobile phone 1, so that the user can control the home device 200 through the first application of the mobile phone 1, such as: viewing the current operating status of the home device 200, turning on or off, etc. When the user needs to bind the home device 200 to the first application of the mobile phone 1, the user can choose to bind the electronic device on the first application of the mobile phone 1. At this time, the processing unit 201 of the mobile phone 1 responds to the user operation of binding the electronic device and controls the transceiver unit 202 to obtain at least one electronic device that can be bound in the current environment. After that, the user can select the electronic device to be bound from the at least one electronic device that can be bound displayed on the terminal device 300. At this time, the processing unit 201 of the terminal device 300 responds to the selection operation of the target device obtained by the transceiver unit 202, and controls the transceiver unit 202 to obtain the device identification of the target device. After that, the processing unit 201 of the terminal device 300 controls the transceiver unit 202 to obtain the login information of the target device from the Internet of Things server 400 based on the device identification obtained by the transceiver unit 202. Afterwards, the processing unit 201 of the terminal device 300 performs binding based on the second user account currently logged in, the first family identifier to which the second user account belongs, the device identifier obtained by the transceiver unit 202, and multiple items of the login information obtained by the transceiver unit 202, and determines the binding result. Afterwards, the processing unit 201 of the terminal device 300 binds the target device to the family page corresponding to the fusion identifier based on the binding result, and controls the display unit 203 to display the target device in the family page.
[0060] Specifically, when the execution subject of the binding method provided by the embodiment of the present disclosure is the mobile phone 1, the storage unit 204 of the mobile phone 1 is used to store data such as the program code of the binding method provided by the embodiment of the present disclosure.
[0061] In the following embodiments, the method of the embodiments of the present application is described by taking the mobile phone 1 as the executing subject of the binding method provided in the embodiments of the present disclosure and the television 1 as the household device 200 as an example.
[0062] The present application embodiment provides a binding method, which is applied to a mobile phone 1, such as Figure 4 As shown, the binding method may include S11-S15.
[0063] S11. In response to a user operation of binding an electronic device, obtaining at least one electronic device that can be bound in the current environment.
[0064] In some examples, when a user binds an electronic device on the first application of mobile phone 1, the first application of mobile phone 1 needs to verify the electronic device to be bound. For example, the first application can verify the system parameters obtained from the electronic device (such as determining whether the scanned content of the system parameters is the TV login code). Only when the verification passes can the electronic device be bound to the first application. Among them, in order to ensure that the system parameters are compatible with different development environments (development, testing, online) and enable the system parameters to be dynamically configured, the system parameters are sent offline by the Internet of Things server.
[0065] In some examples, in order to ensure the normal operation of the first application, the system parameters are supported by guaranteed data, which is specifically implemented as follows: when the first application is started, a request message is sent to the system parameter request interface of the IoT server 400. After receiving the request message sent by the first application of mobile phone 1, the IoT server 400 sends the current system parameters to mobile phone 1. Mobile phone 1 receives the system parameters currently sent by the IoT server 400 and refreshes the memory data to update the system parameters in the memory data to the system parameters currently sent by the IoT server 400.
[0066] In some examples, when mobile phone 1 obtains at least one electronic device that can be bound to the current environment (such as an electronic device including one or more of a refrigerator, a television, a washing machine, an air conditioner, a water heater, a gas stove, and a range hood), it can scan and discover at least one electronic device that can be bound to the current environment through the Digital Living Network Alliance (DLNA).
[0067] For example, after the user opens the first application on the mobile phone 1, the following is displayed: Figure 5 The first page 1 shown in FIG. 1 includes a control 1-1 for indicating my home and a control 1-2 for adding a device. At this time, the user can select control 1-1 to view the electronic devices bound to "my home". When the user needs to bind an electronic device, he can select control 1-2. At this time, the mobile phone 1 responds to the selection of control 1-2 and displays the following Figure 6 The second page 2 shown in FIG. The second page 2 includes a control 2-1 for obtaining nearby devices, a control 2-2 for scanning and adding, and a control 2-3 for receiving and adding. In response to the selection operation of the control 2-1, the mobile phone 1 displays the following Figure 7 The third page 3 includes at least one electronic device that can be bound to the current environment and a control for adding operations to the electronic device, such as a TV (1d7f) and a control 3-1 for adding operations to the corresponding TV (1d7f), an air conditioner (FCBD) and a control 3-2 for adding operations to the air conditioner (FCBD).
[0068] S12: In response to the selection operation of the target device, obtain the device identification of the target device, wherein one target device corresponds to one device identification, and the target device is any electronic device.
[0069] In some examples, the mobile phone 1 obtains the device identification of the target device through DLNA, wherein the device identification can be an identification code or the like for uniquely identifying the target device.
[0070] In some examples, combined with the example given in S11 above, when the target device is a TV (1d7f), if the user needs to bind the TV (1d7f) to "My Home" (corresponding to the second user account currently logged in to the first application), the user can select the add control 3-1, and the mobile phone 1 responds to the selection operation of the target device and obtains the device identification of the TV (1d7f).
[0071] In some examples, the user account currently logged in to the electronic device (such as account 1) is the administrator of the electronic device. When the user logs in to account 1 on the first application, he can create a family name for the electronic device, delete and add electronic devices under the family name, and delete and add members of the family name (one member corresponds to one user account). Among them, one family name corresponds to one family identifier.
[0072] S13. Based on the device identifier, obtain the login information of the target device from the IoT server, wherein the login information includes a first login identifier for indicating that the target device uses a pre-configured anonymous account, or the login information includes a second login identifier for indicating that the target device is currently logged in to the first user account.
[0073] In some examples, when the target device logs in to the first user account (an account registered by the user), a binding relationship between the device identifier of the target device and the first user account is established in the IoT server 400 .
[0074] In some examples, when the target device has not logged into the first account, the IoT server 400 will configure a pre-configured anonymous account for the target device and establish a binding relationship between the device identifier of the target device and the anonymous account to ensure that the target device can be used normally.
[0075] In some examples, in combination with the example given in S12 above, after mobile phone 1 obtains the device identification of the television (1d7f), mobile phone 1 sends a query message carrying the device identification (such as deviceid) to the Internet of Things server 400. After receiving the query message sent by mobile phone 1, the Internet of Things server 400 queries the login information of the television (1d7f) in the database based on the device identification. For example: when the Internet of Things server 400 determines that the device identification corresponds to an anonymous account, it is determined that the login information includes a first login identification for indicating that the television (1d7f) uses a pre-configured anonymous account. Alternatively, when the Internet of Things server 400 determines that the device identification corresponds to a first user account, it is determined that the login information includes a second login identification for indicating that the television (1d7f) is currently logged in to the first user account.
[0076] In some examples, the login information includes the mobile phone number mobilePhone bound to the target device, the nickname nickName of the target device, the user account customerId, and the login identifier token. If token is not empty, it means that the target device has logged in to the first user account, that is, the token identifier is the second login identifier; if token is empty, it means that the target device has logged in to an anonymous account, that is, the token identifier is the first login identifier.
[0077] S14: Binding is performed based on the second user account currently logged in, the first family identifier to which the second user account belongs, the device identifier, and multiple items of the login information, and a binding result is determined. The binding result includes a fusion identifier corresponding to the first user account and the second user account, and the fusion identifier includes the second family identifier corresponding to the first user account, or the first family identifier corresponding to the second user account.
[0078] In some examples, when mobile phone 1 is bound based on multiple items of the currently logged-in second user account, the first family identifier to which the second user account belongs, the device identifier, and the login information, if the login information includes the first login identifier, the non-login binding process is entered; if the login information includes the second login identifier, and the first user account is the same as the second user account, the same account binding process is entered; if the login information includes the second login identifier, and the first user account is different from the second user account, the non-same account binding process is entered.
[0079] For example, in combination with the above S13, an example is given, and the target device is a TV (1d7f) for example. The unlogged-in binding process includes: when the login information of the mobile phone 1 includes the first login identifier, the mobile phone 1 displays the following information: Figure 8The device boot binding page 4; wherein the device boot binding page 4 includes an operation flow for performing a preset operation on a television (1d7f) to display a login logo (wherein the boot binding page 4 includes a control 4-1 for indicating the selection of a login control at the top of a display page displayed on the television (1d7f), and a control 4-2 for indicating the use of a first application to scan a login QR code displayed on the television (1d7f), and a scan control 4-3 for scanning the QR code. Based on the display contents of the controls 4-1 and 4-2, the user selects the login control at the top of the display page on the television (1d7f), and the television (1d7f) ) In response to the selection operation, a login page including a login QR code is displayed. Afterwards, the user performs a selection operation on the scan control 4-3 displayed on the mobile phone 1, so that the mobile phone 1 obtains the login identification (such as the login QR code) of the TV (1d7f) in response to the user operation of obtaining the login identification; when the login identification is a valid identification (such as: the login QR code must start with the string in tvLoginQrLinks mentioned in the configuration instructions of the system parameters, and the QR code may contain the rKey, deviceId, serial number serialno of the target device, and the universally unique identifier (Universally Unique Identifier, uuid) field that indicates the application of short code to long code, but must contain the rKey or deviceId field to be considered as a valid identification), the mobile phone 1 displays the following Fig. 9 The login page 5 shown. In response to the selection operation of the confirmation login control 5-1 in the login page 5, the mobile phone 1 sends the login information to the Internet of Things server 400. The login information is used to instruct the Internet of Things server to send the login information to the TV (1d7f), and the login information includes the second user account. In this way, the TV (1d7f) can log in based on the second user account sent by the Internet of Things server 400. When the mobile phone 1 receives the login information sent by the Internet of Things server 400 to indicate that the target device has logged in to the second user account, the mobile phone 1 sends the first binding information including the second user account, the first family identifier and the device identifier to the Internet of Things server 400. The first binding information is used to instruct the Internet of Things server 400 to establish a binding relationship between the device identifier, the second user account and the first family identifier. The mobile phone 1 receives the feedback result of the established binding relationship between the device identifier, the second user account and the first family identifier sent by the Internet of Things server 400, determines that the fusion identifier in the binding result is the first family identifier, and displays it as shown. Fig.10 The connection success page 6.
[0080] The same account binding process includes: when the login information of mobile phone 1 includes the second login identifier, and the first user account is the same as the second user account, mobile phone 1 sends the first binding information including the second user account, the first family identifier and the device identifier to the Internet of Things server 400. The first binding information is used to instruct the Internet of Things server 400 to establish a binding relationship between the device identifier, the first family identifier and the family identifier corresponding to the second user account. Mobile phone 1 receives the feedback result of the established binding relationship between the device identifier, the second user account and the first family identifier sent by the Internet of Things server 400, determines that the fusion identifier in the binding result is the first family identifier, and displays it as follows: Fig.10 The connection success page 6.
[0081] The non-same account binding process includes: scenario 1 and scenario 2. Scenario 1 is that the target device is currently logged in to the first user account, and the first user account is not bound to the family identifier; scenario 2 is that the target device is currently logged in to the first user account, and the first user account is bound to the family identifier.
[0082] Scenario 1 includes: in combination with the example given in S13 above, when the login information includes the second login identifier and the first user account is different from the second user account, the mobile phone 1 sends the second binding information carrying the first user account and the device identifier to the Internet of Things server 400; wherein the second binding information is used to instruct the Internet of Things server 400 to create a preset home identifier (such as homeA) when the first user account is not bound to the second home identifier, and to establish a binding relationship between the first user account, the device identifier and homeA; the mobile phone 1 receives the feedback information sent by the Internet of Things server 400 carrying the binding relationship between the first user account, the device identifier and homeA; when the first home identifier (such as homeB) is different from the preset home identifier homeA, it is displayed as follows Fig.11 The application page 7 is shown. The application page 7 includes a preset pop-up window 7-1 for indicating joining the preset home corresponding to homeA; in response to the selection operation of the control 11 for applying to join the preset home in the preset pop-up window 7-1, the mobile phone 1 sends an application request to the Internet of Things server 400; wherein the application request is used to instruct the Internet of Things server to send a request message for applying to join the preset home to the preset home (such as sending a request message for joining the preset home to the second user account corresponding to homeA (i.e., the first user account (such as account 1) that initially creates the preset home corresponding to homeA). Afterwards, the Internet of Things server 400 sends feedback information to the mobile phone 1 for indicating that the request information has been sent to the second user account. After receiving the feedback information sent by the server 400 for indicating that the request information has been sent to the second user account, the mobile phone 1 displays the following. Fig.12The prompt page 8 shown. Among them, the prompt page 8 includes a view 8-1 for prompting the user to "wait for the administrator review of the second user account corresponding to homeA". Afterwards, other users can receive the request information in the first application logged in to account 1. When allowed to join the preset family, the first application logged in to the account 1 at this time can send feedback information of allowing to join the preset family to the Internet of Things server 400); after that, the Internet of Things server 400 will send the feedback information to mobile phone 1. Mobile phone 1 receives the feedback information sent by the Internet of Things server 400; wherein, the feedback information is used to indicate that a request information for applying to join the preset family has been sent to account 1; mobile phone 1 receives the confirmation information sent by the Internet of Things server 400 to allow joining the preset family (such as the confirmation information is a message queue telemetry transmission (Message Queuing TelemetryTransport, MQTT) message), and determines that the fusion identifier in the binding result is homeA; wherein, the second family identifier is equal to the preset family identifier. Mobile phone 1 is displayed as follows Fig.13 The main page 9 shown in FIG. The main page 9 includes a control 9-1 for indicating all homes, a control 9-2 for indicating my home, and a control 9-3 for indicating a preset home. In response to the selection operation of the control 9-1, the following is displayed: Fig.14 The selection page 10 includes a control 9-1 and a control 10-1 for indicating a preset family. When the user needs to view the preset family, the user can select the control 10-1. At this time, the mobile phone 1 responds to the selection operation of the control 10-1 and displays the following Fig.15 The display page 11 shown in the figure includes at least one target device that has established a binding relationship with homeA, such as a TV (1d7f). After that, the user can control the TV 3 to execute the corresponding IoT function through the first application in the mobile phone 1, such as turning on the TV (1d7f), turning off the TV (1d7f), etc. When the user needs to view the preset home, the user can select the control 10-2, and the mobile phone 1 responds to the selection operation of the control 10-2 and displays the following Figure 5 The first page 1 shown. In addition, the user can Fig.13 In the main page 9 shown, the control 9-2 for representing my home is selected and displayed as follows: Figure 5 Alternatively, the user can Fig.13 In the main page 9 shown, the control 9-3 for representing my home is selected and displayed as follows: Fig.15 Display page 11 is shown.
[0083] Scenario 2 includes: when the login information of mobile phone 1 includes the second login identifier and the first user account is different from the second user account, mobile phone 1 sends third binding information carrying the first user account and the device identifier to the Internet of Things server 400; wherein the third binding information is used to instruct the Internet of Things server 400 to establish a binding relationship between the first user account, the device identifier and homeA when the first user account has been bound to the second family identifier (such as homeA); mobile phone 1 receives feedback information sent by the Internet of Things server 400 that carries the binding relationship between the first user account, the device identifier and homeA; when the first family identifier (such as homeB) is the same as homeA, it is determined that the fusion identifier in the binding result is homeA. Display as Fig.16 The switching page 12. The switching page 12 includes a pop-up window 12-1 for indicating whether the TV (1d7f) has been bound and whether to switch to the preset family viewing TV (1d7f). The pop-up window 12-1 includes a control 12-1-1 for determining to switch to the preset family viewing TV (1d7f), and a control 12-1-2 for canceling the switch to the preset family viewing TV (1d7f). In response to the selection operation of the control 12-1-1, the mobile phone 1 displays the following Fig.15 Display page 11 is shown.
[0084] S15. Based on the binding result, the target device is bound to the home page corresponding to the fusion identifier, and the target device is displayed in the home page. The first user account and / or the second user account can both check the bound target device in the home page corresponding to the fusion identifier, and control the target device in the home page to execute the physical network function.
[0085] In some examples, during the process of applying to join a preset family, if the first user account bound to the preset family is not the user account used by the family members, the binding can be changed quickly. For example, when relatives or friends are visiting, they bind the target device, and the first user account bound to the target device can be changed at this time, such as: in response to the user operation of rebinding the target device, a prompt message is generated for prompting to exit the first user account currently logged in to the target device and re-execute the user operation of binding the electronic device.
[0086] For example, in combination with the example given in S14 above, Fig.11As shown, the application page 7 also includes a control 7-2 for indicating the rebinding of the device. When the user needs to rebind the first user account of the TV (1d7f), the user can select the control 7-2. At this time, the mobile phone 1 responds to the selection operation of the control 7-2, generates a prompt message for prompting to exit the first user account currently logged in to the target device, and re-execute the user operation of binding the electronic device (i.e., the above S11), so that the first user account of the TV (1d7f) can be re-bound.
[0087] It can be seen that, using the binding method provided by the embodiment of the present disclosure, when the user needs to control the TV through the first application of the mobile phone 1, the user can choose to bind the TV on the first application of the mobile phone 1, and then the first application of the mobile phone 1 responds to the user operation of binding the TV, and obtains at least one electronic device that can be bound in the current environment, so that the user can understand the electronic devices that can be bound in the current environment, and the user can select the electronic device that needs to be bound. At this time, the mobile phone 1 responds to the selection operation of the TV and obtains the device identification of the TV; the mobile phone 1 obtains the login information of the TV from the Internet of Things server based on the device identification; the mobile phone 1 binds based on the second user account currently logged in, the first family identification to which the second user account belongs, the device identification and the login information, and determines the binding result; the mobile phone 1 binds the TV to the family page corresponding to the fusion identification based on the binding result, and displays the TV in the family page. Since the first user account and / or the second user account corresponding to the fusion identification can refer to the bound target device in the family page corresponding to the fusion identification, the user does not need to consider whether the first user account currently logged in by the terminal device and the second user account currently logged in by the target device are the same during the binding process of the electronic device, which simplifies the process of establishing the binding relationship between the terminal device and the target device.
[0088] In some possible implementation examples, combined with Figure 4 ,like Fig.17 As shown, the above S14 can be specifically implemented through the following S140-S145.
[0089] S140: When the login information includes the first login identifier, display a device boot binding page, wherein the device boot binding page includes an operation flow for executing a preset operation on the target device to display the login identifier.
[0090] S141. In response to a user operation of obtaining a login identifier, obtain a login identifier of a target device.
[0091] S142. When the login identifier is a valid identifier, display the login page.
[0092] S143. In response to a selection operation on a login control in the login page, login information is sent to the Internet of Things server; wherein the login information is used to instruct the Internet of Things server to send the login information to the target device, and the login information includes a second user account.
[0093] S144. Upon receiving login information sent by the IoT server indicating that the target device has logged into the second user account, first binding information including the second user account, the first family identifier, and the device identifier is sent to the IoT server; wherein the first binding information is used to instruct the IoT server to establish a binding relationship among the device identifier, the second user account, and the first family identifier;
[0094] S145: Receive a feedback result of the established binding relationship between the device identifier, the second user account, and the first family identifier sent by the IoT server, and determine that the fusion identifier in the binding result is the first family identifier.
[0095] In some possible implementation examples, combined with Figure 4 ,like Fig.18 As shown, the above S14 can be specifically implemented through the following S146 and -S147.
[0096] S146: When the login information includes the second login identifier, and the first user account is the same as the second user account, first binding information including the second user account, the first family identifier, and the device identifier is sent to the IoT server. The first binding information is used to instruct the IoT server to establish a binding relationship between the device identifier, the first family identifier, and the family identifier corresponding to the second user account.
[0097] S147: Receive a feedback result of the established binding relationship between the device identifier, the second user account, and the first family identifier sent by the IoT server, and determine that the fusion identifier in the binding result is the first family identifier.
[0098] In some possible implementation examples, combined with Figure 4 ,like Fig.19 As shown, the above S14 can be specifically implemented through the following S148-S149-4.
[0099] S148. When the login information includes a second login identifier and the first user account is different from the second user account, send second binding information carrying the first user account and the device identifier to the Internet of Things server; wherein the second binding information is used to instruct the Internet of Things server to create a preset family identifier when the first user account is not bound to the second family identifier, and establish a binding relationship among the first user account, the device identifier and the preset family identifier.
[0100] S149: Receive feedback information sent by the Internet of Things server that carries the binding relationship between the first user account, the device identifier, and the preset family identifier.
[0101] S149-1. When the first family ID is different from the preset family ID, a preset pop-up window for adding the preset family corresponding to the preset family ID is displayed.
[0102] S149-2, in response to the selection operation of the control for applying to join the preset family in the preset pop-up window, sending an application request to the Internet of Things server, wherein the application request is used to instruct the Internet of Things server to send a request information for applying to join the preset family to the preset family.
[0103] S149-3, receiving feedback information sent by the Internet of Things server, wherein the feedback information is used to indicate that a request information for applying to join a preset family has been sent to the first user account.
[0104] S149-4, receiving confirmation information sent by the IoT server to allow joining the preset family, and determining that the fusion identifier in the binding result is the preset family identifier, wherein the second family identifier is equal to the preset family identifier.
[0105] In some possible implementation examples, combined with Figure 4 ,like Fig. 20 As shown, the above S14 can be specifically implemented through the following S149-5-S149-7.
[0106] S149-5. When the login information includes the second login identifier and the first user account is different from the second user account, third binding information carrying the first user account and the device identifier is sent to the IoT server. The third binding information is used to instruct the IoT server to establish a binding relationship between the first user account, the device identifier, and the second family identifier when the first user account has been bound to the second family identifier.
[0107] S149-6. Receive feedback information from the IoT server that carries the binding relationship between the first user account, the device identifier, and the second family identifier.
[0108] S149-7. When the first family identifier is the same as the second family identifier, determine that the fusion identifier in the binding result is the second family identifier.
[0109] In some possible implementation examples, combined with Figure 4 ,like Fig.21 As shown, the binding method provided by the embodiment of the present disclosure also includes: S16.
[0110] S16. In response to the user operation of rebinding the target device, generate prompt information for prompting the user to log out of the first user account currently logged in to the target device and re-execute the user operation of binding the electronic device.
[0111] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0112] The embodiment of the present application can divide the functional modules of the terminal device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0113] The embodiment of the present application provides a schematic diagram of the structure of a terminal device 300 , which includes a processor 101 , a communicator 102 , and a display 103 .
[0114] The processor 101 is configured to, in response to a user operation of binding an electronic device, control the communicator 102 to obtain at least one electronic device that can be bound in the current environment; the processor 101 is also configured to, in response to a selection operation of a target device obtained by the communicator 102, control the communicator 102 to obtain a device identifier of the target device; wherein one target device corresponds to one device identifier, and the target device is any one of the electronic devices; the processor 101 is also configured to, based on the device identifier obtained by the communicator 102, control the communicator 102 to obtain login information of the target device from the Internet of Things server; wherein the login information includes a first login identifier for indicating that the target device uses a pre-configured anonymous account, or the login information includes a second login identifier for indicating that the target device is currently logged in to a first user account; the processor 1 01, is also configured to perform binding based on the second user account currently logged in, the first family identifier to which the second user account belongs, the device identifier and multiple items of the login information obtained by the communicator 102, and determine the binding result; wherein the binding result includes a fusion identifier corresponding to the first user account and the second user account, and the fusion identifier includes the second family identifier corresponding to the first user account, or the first family identifier corresponding to the second user account; the processor 101, is also configured to bind the target device to the family page corresponding to the fusion identifier based on the binding result, and control the display 103 to display the target device in the family page; wherein the first user account and / or the second user account can both view the bound target device in the family page corresponding to the fusion identifier, and control the target device in the family page to perform the physical network function.
[0115] In some implementable examples, the processor 101 is further configured to control the display 103 to display a device boot binding page when the login information obtained by the communicator 102 includes a first login identifier; wherein the device boot binding page includes an operation flow for performing a preset operation on the target device to display the login identifier; the processor 101 is further configured to control the communicator 102 to obtain the login identifier of the target device in response to a user operation of obtaining the login identifier; the processor 101 is further configured to control the display 103 to display the login page when the login identifier obtained by the communicator 102 is a valid identifier; the processor 101 is further configured to control the communicator 102 to send login information to the Internet of Things server in response to a selection operation of a login control in the login page displayed by the display 103; wherein the login information The information is used to instruct the Internet of Things server to send login information to the target device, and the login information includes the second user account; the processor 101 is further configured to control the communicator 102 to send the first binding information including the second user account, the first family identifier and the device identifier to the Internet of Things server when the communicator 102 receives the login information sent by the Internet of Things server to indicate that the target device has logged in to the second user account; wherein the first binding information is used to instruct the Internet of Things server to establish a binding relationship among the device identifier, the second user account and the first family identifier; the processor 101 is further configured to determine that the fusion identifier in the binding result is the first family identifier when the communicator 102 receives the feedback result of the established binding relationship among the device identifier, the second user account and the first family identifier sent by the Internet of Things server.
[0116] In some implementable examples, the processor 101 is further configured to control the communicator 102 to send first binding information including the second user account, the first family identifier and the device identifier to the Internet of Things server when the login information acquired by the communicator 102 includes the second login identifier and the first user account is the same as the second user account; wherein the first binding information is used to instruct the Internet of Things server to establish a binding relationship between the device identifier, the first family identifier and the family identifier corresponding to the second user account;
[0117] The processor 101 is further configured to receive the feedback result of the binding relationship between the established device identifier, the second user account and the first family identifier sent by the Internet of Things server by the communicator 102, and determine that the fusion identifier in the binding result is the first family identifier.
[0118] In some implementable examples, the processor 101 is further configured to control the communicator 102 to send second binding information carrying the first user account and the device identifier to the Internet of Things server when the login information obtained by the communicator 102 includes the second login identifier and the first user account is different from the second user account; wherein the second binding information is used to instruct the Internet of Things server to create a preset family identifier when the first user account is not bound to the second family identifier, and to establish a binding relationship between the first user account, the device identifier and the preset family identifier; the communicator 102 is further configured to receive feedback information sent by the Internet of Things server carrying the binding relationship between the first user account, the device identifier and the preset family identifier; the processor 101 is further configured to control the communicator 102 to send second binding information carrying the first user account and the device identifier to the Internet of Things server when the first family identifier is different from the preset family identifier obtained by the communicator 102. Control the display 103 to display a preset pop-up window for joining a preset family corresponding to a preset family identifier; the processor 101 is further configured to control the communicator 102 to send an application request to the Internet of Things server in response to a selection operation of a control for applying to join the preset family in the preset pop-up window displayed by the display 103; wherein the application request is used to instruct the Internet of Things server to send a request message for applying to join the preset family to the preset family; the communicator 102 is further configured to receive feedback information sent by the Internet of Things server; wherein the feedback information is used to indicate that a request message for applying to join the preset family has been sent to the first user account; the processor 101 is further configured so that the communicator 102 receives confirmation information sent by the Internet of Things server allowing the user to join the preset family, and determines that the fusion identifier in the binding result is the preset family identifier; wherein the second family identifier is equal to the preset family identifier.
[0119] In some feasible examples, the processor 101 is further configured to control the communicator 102 to send third binding information carrying the first user account and the device identifier to the Internet of Things server when the login information obtained by the communicator 102 includes the second login identifier and the first user account is different from the second user account; wherein the third binding information is used to instruct the Internet of Things server to establish a binding relationship between the first user account, the device identifier and the second family identifier when the first user account has been bound to the second family identifier; the communicator 102 is further configured to receive feedback information sent by the Internet of Things server carrying the binding relationship between the first user account, the device identifier and the second family identifier; the processor 101 is further configured to determine that the fusion identifier in the binding result is the second family identifier when the first family identifier is the same as the second family identifier received by the communicator 102.
[0120] In some feasible examples, the processor 101 is further configured to generate prompt information for prompting the user to exit the first user account currently logged in to the target device and re-execute the user operation prompt information of the bound electronic device in response to the user operation of re-binding the target device.
[0121] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and its role will not be repeated here.
[0122] Of course, the terminal device 300 provided in the embodiment of the present application includes but is not limited to the above modules, for example, the terminal device 300 may also include a memory 104. The memory 104 may be used to store the program code of the terminal device 300, and may also be used to store data generated by the terminal device 300 during operation, such as data in a write request.
[0123] As an example, combining Figure 3 The function implemented by the transceiver unit 202 in the terminal device 300 is the same as that of the communicator 102, the function implemented by the processing unit 201 is the same as that of the processor 101, the function implemented by the display unit 203 is the same as that of the display 103, and the function implemented by the storage unit 204 is the same as that of the memory 104.
[0124] The embodiment of the present application also provides a chip system, which can be applied to the terminal device 300 in the aforementioned embodiment. The chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 can be the processor in the above-mentioned terminal device 300. The processor 1501 and the interface circuit 1502 can be interconnected through a line. The processor 1501 can receive and execute computer instructions from the memory of the above-mentioned terminal device 300 through the interface circuit 1502. When the computer instructions are executed by the processor 1501, the terminal device 300 can execute the various steps performed by the terminal device 300 in the above-mentioned embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.
[0125] The embodiment of the present application also provides a computer-readable storage medium for storing computer instructions executed by the above-mentioned terminal device 300.
[0126] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A terminal device, characterized in that: include: A processor configured to control the communicator to obtain at least one electronic device that can be bound in the current environment in response to a user operation of binding an electronic device; The processor is further configured to control the communicator to obtain a device identification of the target device in response to a selection operation of the target device obtained by the communicator; wherein one target device corresponds to one device identification, and the target device is any one of the electronic devices; The processor is further configured to control the communicator to obtain the login information of the target device from the Internet of Things server based on the device identifier obtained by the communicator; wherein the login information includes a first login identifier for indicating that the target device uses a pre-configured anonymous account, or the login information includes a second login identifier for indicating that the target device is currently logged in to a first user account; The processor is further configured to perform binding based on multiple items of the currently logged-in second user account, the first family identifier to which the second user account belongs, the device identifier, and the login information obtained by the communicator, and determine a binding result; wherein the binding result includes a fusion identifier corresponding to the first user account and the second user account, and the fusion identifier includes the second family identifier corresponding to the first user account, or the first family identifier corresponding to the second user account; The processor is also configured to bind the target device to the home page corresponding to the fusion identifier based on the binding result, and control the display to display the target device in the home page; wherein the first user account and / or the second user account can both view the bound target device in the home page corresponding to the fusion identifier, and control the target device in the home page to perform physical network functions.
2. The terminal device according to claim 1, characterized in that: The processor is further configured to control the display to display a device boot binding page when the login information acquired by the communicator includes the first login identifier; wherein the device boot binding page includes an operation flow for performing a preset operation on the target device to display the login identifier; The processor is further configured to control the communicator to obtain the login identification of the target device in response to a user operation of obtaining the login identification; The processor is further configured to control the display to display a login page if the login identifier obtained by the communicator is a valid identifier; The processor is further configured to control the communicator to send login information to the Internet of Things server in response to a selection operation of a login control in the login page displayed by the display; wherein the login information is used to instruct the Internet of Things server to send the login information to the target device, and the login information includes the second user account; The processor is further configured to control the communicator to send first binding information including the second user account, the first family identifier and the device identifier to the IoT server when the communicator receives login information sent by the IoT server to indicate that the target device has logged in to the second user account; wherein the first binding information is used to instruct the IoT server to establish a binding relationship between the device identifier, the second user account and the first family identifier; The processor is further configured to, when the communicator receives a feedback result sent by the Internet of Things server indicating that a binding relationship has been established between the device identifier, the second user account and the first family identifier, determine that the fusion identifier in the binding result is the first family identifier.
3. The terminal device according to claim 1, characterized in that: The processor is further configured to control the communicator to send first binding information including the second user account, the first family identifier and the device identifier to the Internet of Things server when the login information acquired by the communicator includes the second login identifier and the first user account is the same as the second user account; wherein the first binding information is used to instruct the Internet of Things server to establish a binding relationship between the device identifier, the first family identifier and the family identifier corresponding to the second user account; The processor is further configured to, when the communicator receives a feedback result sent by the Internet of Things server indicating that a binding relationship has been established between the device identifier, the second user account and the first family identifier, determine that the fusion identifier in the binding result is the first family identifier.
4. The terminal device according to claim 1, characterized in that: The processor is further configured to control the communicator to send second binding information carrying the first user account and the device identifier to the Internet of Things server when the login information acquired by the communicator includes the second login identifier and the first user account is different from the second user account; wherein the second binding information is used to instruct the Internet of Things server to create a preset family identifier when the first user account is not bound to the second family identifier, and to establish a binding relationship among the first user account, the device identifier and the preset family identifier; The communicator is further configured to receive feedback information sent by the Internet of Things server that carries a binding relationship between the first user account, the device identifier and the preset family identifier; The processor is further configured to control the display to display a preset pop-up window for adding a preset family corresponding to the preset family identifier when the first family identifier is different from the preset family identifier obtained by the pre-communicator; The processor is further configured to control the communicator to send an application request to the Internet of Things server in response to a selection operation of a control for applying to join the preset family in the preset pop-up window displayed by the display; wherein the application request is used to instruct the Internet of Things server to send a request information for applying to join the preset family to the preset family; The communicator is further configured to receive feedback information sent by the Internet of Things server; wherein the feedback information is used to indicate that a request information for applying to join the preset family has been sent to the first user account; The processor is further configured to receive, when the communicator receives confirmation information sent by the Internet of Things server allowing the user to join the preset family, determine that the fusion identifier in the binding result is the preset family identifier; wherein the second family identifier is equal to the preset family identifier.
5. The terminal device according to claim 1, characterized in that: The processor is further configured to control the communicator to send third binding information carrying the first user account and the device identifier to the Internet of Things server when the login information obtained by the communicator includes the second login identifier and the first user account is different from the second user account; wherein the third binding information is used to instruct the Internet of Things server to establish a binding relationship between the first user account, the device identifier and the second family identifier when the first user account has been bound to the second family identifier; The communicator is further configured to receive feedback information sent by the Internet of Things server that carries a binding relationship between the first user account, the device identifier, and the second family identifier; The processor is further configured to determine that the fusion identifier in the binding result is the second family identifier when the first family identifier is the same as the second family identifier received by the communicator.
6. The terminal device according to claim 1, characterized in that: The processor is further configured to generate prompt information for prompting the user to log out of the first user account currently logged in to the target device and re-execute the user operation prompt information of the bound electronic device in response to the user operation of re-binding the target device.
7. A binding method, characterized in that: include: In response to a user operation of binding an electronic device, obtaining at least one electronic device that can be bound in the current environment; In response to a selection operation on a target device, obtaining a device identification of the target device; wherein one target device corresponds to one device identification, and the target device is any one of the electronic devices; Based on the device identifier, acquiring login information of the target device from the Internet of Things server; wherein the login information includes a first login identifier for indicating that the target device uses a pre-configured anonymous account, or the login information includes a second login identifier for indicating that the target device is currently logged in to a first user account; Binding is performed based on multiple items of the second user account currently logged in, the first family identifier to which the second user account belongs, the device identifier, and the login information, and determining a binding result; wherein the binding result includes fusion identifiers corresponding to the first user account and the second user account, and the fusion identifier includes the second family identifier corresponding to the first user account, or the first family identifier corresponding to the second user account; Based on the binding result, the target device is bound to the home page corresponding to the fusion identifier, and the target device is displayed in the home page; wherein the first user account and / or the second user account can both view the bound target device in the home page corresponding to the fusion identifier, and control the target device in the home page to perform physical network functions.
8. The binding method according to claim 7, characterized in that: The binding based on multiple items of the second user account currently logged in, the family identifier to which the second user account belongs, the device identifier, and the login information, and determining the binding result includes: In the case where the login information includes the first login identifier, displaying a device boot binding page; wherein the device boot binding page includes an operation flow for performing a preset operation on the target device to display the login identifier; In response to a user operation of obtaining a login identifier, obtaining a login identifier of the target device; If the login identifier is a valid identifier, displaying a login page; In response to a selection operation of a login control in the login page, sending login information to the Internet of Things server; wherein the login information is used to instruct the Internet of Things server to send the login information to the target device, and the login information includes the second user account; Upon receiving the login information sent by the IoT server indicating that the target device has logged in to the second user account, sending first binding information including the second user account, the first family identifier and the device identifier to the IoT server; wherein the first binding information is used to instruct the IoT server to establish a binding relationship between the device identifier, the second user account and the first family identifier; Receive a feedback result sent by the Internet of Things server indicating that a binding relationship among the device identifier, the second user account, and the first family identifier has been established, and determine that the fusion identifier in the binding result is the first family identifier.
9. The binding method according to claim 7, characterized in that: The binding based on multiple items of the second user account currently logged in, the family identifier to which the second user account belongs, the device identifier, and the login information, and determining the binding result includes: In the case where the login information includes the second login identifier, if the first user account is the same as the second user account, first binding information including the second user account, the first family identifier and the device identifier is sent to the Internet of Things server; wherein the first binding information is used to instruct the Internet of Things server to establish a binding relationship between the device identifier, the first family identifier and the family identifier corresponding to the second user account; Receive a feedback result sent by the Internet of Things server indicating that a binding relationship among the device identifier, the second user account, and the first family identifier has been established, and determine that the fusion identifier in the binding result is the first family identifier.
10. A computer-readable storage medium, characterized in that: include: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computing device, the computing device implements the binding method described in any one of claims 7 to 9.
Citation Information
Patent Citations
Intelligent household device binding method, apparatus and system, and intelligent terminal
CN105446293A
Information interaction method and electronic device
CN106331891A
Home equipment binding method and equipment
CN114726664A
Application management and control method and device, electronic equipment and storage medium
CN115102723A
Intelligent device, server and intelligent device delivery method
CN115250201A
Cited By
Intelligent household electrical appliance binding method and device
CN120640061A
Binding method and device for smart home appliances
CN120640061B
Method and system for suspending and dynamically binding authority of home Internet of Things equipment
CN121441668A
