Interaction control method, device, equipment, medium and program product

By performing a binding operation and security verification on the terminal, the terminal is bound to the IoT server, which solves the problem that the terminal cannot execute automatic control commands, and realizes the expansion of interactive functions and the improvement of user experience.

CN121603531APending Publication Date: 2026-03-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411161865.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, terminal devices cannot be bound to IoT servers, resulting in the inability to execute response actions for automatic control commands, making it difficult to meet users' interactive control needs.

Method used

By performing a binding operation on the terminal, a binding request is initiated to the IoT server, and the terminal is bound to the IoT server. Security verification is performed through verification tokens and encrypted data, enabling the terminal to execute automatic control commands.

Benefits of technology

Users can extend interactive functions, meet interactive control needs, and improve user experience by binding their terminals to IoT servers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121603531A_ABST
    Figure CN121603531A_ABST
Patent Text Reader

Abstract

The invention relates to an interaction control method and device, equipment, a medium and a program product, and the method comprises the steps: responding to a binding operation executed on a terminal by a user, and initiating a binding request to an Internet of Things server, the binding request being used for requesting the binding of the Internet of Things server and the terminal; and after the terminal is bound with the Internet of Things server, the terminal can execute the response action of the automatic control instruction. According to the technical scheme, a user can bind the terminal and the Internet of Things server by executing the binding operation on the terminal, so that the terminal can serve as an executor of the response action of the automatic control instruction, expansion of an interaction function is facilitated, the interaction control requirement of the user is ensured, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet of Things (IoT) interaction, specifically to an interaction control method, device, equipment, medium, and program product. Background Technology

[0002] In recent years, with the continuous development of IoT technology and the rapid popularization of smart devices, more and more smart devices are playing an important role in people's daily lives. During the use of smart devices, users can interact with IoT servers through specific applications on their terminals, enabling other smart devices outside the terminal to execute automatic control commands and achieve automated control of smart homes.

[0003] However, the interactive control methods using related technologies do not bind the terminal to the IoT server, and the terminal itself cannot execute response actions, making it difficult to meet the user's interactive control needs. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this disclosure provides an interactive control method, apparatus, device, medium, and program product.

[0005] According to a first aspect of the present disclosure, an interactive control method is provided, the interactive control method comprising:

[0006] In response to a binding operation performed by a user on a terminal, a binding request is initiated to an IoT server, the binding request being used to request the IoT server to bind with the terminal;

[0007] After the terminal is bound to the IoT server, the terminal is able to execute response actions to automatic control commands.

[0008] In some embodiments of this disclosure, initiating a binding request to the IoT server includes:

[0009] The binding request is initiated to the IoT server. The binding request includes the binding request information of the terminal, which is used by the IoT server to verify the binding of the terminal.

[0010] In some embodiments of this disclosure, the binding request information includes a verification token and encrypted data. Before initiating the binding request to the IoT server, the interaction control method further includes:

[0011] Send a query request to the account server, the query request being used to query the verification token and device authentication information;

[0012] The system receives the verification token and encrypted data sent by the account server, wherein the encrypted data includes the device authentication information encrypted by the account server.

[0013] In some embodiments of this disclosure, the interactive control method further includes:

[0014] Receive the binding result information sent by the IoT server;

[0015] If the binding result information indicates successful binding, the corresponding identifier of the terminal will be displayed on the terminal's display interface.

[0016] In some embodiments of this disclosure, after the terminal is bound to the IoT server, the interactive control method further includes:

[0017] In response to the user's automatic control command creation operation, an automatic control command creation request is generated and sent to the IoT server. The automatic control command includes a triggering condition and a response action, and the response action includes an action performed by the terminal.

[0018] In some embodiments of this disclosure, after the automatic control command creation request is sent to the IoT server, the interactive control method further includes:

[0019] The system receives attribute monitoring information sent by the IoT server, the attribute monitoring information being used to characterize at least one attribute to be monitored corresponding to the trigger condition in the automatic control command;

[0020] In response to detecting a change in any one or more of the monitored attributes, attribute change information is sent to the IoT server so that the IoT server can determine whether the triggering condition is met based on the attribute change information;

[0021] Upon receiving a response action execution instruction sent by the IoT server, the response action is executed.

[0022] In some embodiments of this disclosure, the interactive control method further includes:

[0023] The execution result information generated by the execution of the response action is sent to the IoT server.

[0024] In some embodiments of this disclosure, the interactive control method further includes:

[0025] The alias of the terminal corresponding to the automatic control instruction creation request is sent to the push server so that the push server generates the device identifier corresponding to the alias and saves the mapping relationship information between the device identifier and the alias;

[0026] The IoT server sends the attribute monitoring information and the response action execution command through the push server.

[0027] According to a second aspect of the present disclosure, an interactive control method is provided, the interactive control method comprising:

[0028] In response to receiving a binding request initiated by a terminal, the device binds to the terminal so that the terminal can execute response actions of automatic control commands. The binding request is generated based on the binding operation performed by the user on the terminal.

[0029] In some embodiments of this disclosure, the step of binding with the terminal in response to receiving a binding request initiated by the terminal includes:

[0030] In response to receiving the binding request, the terminal is bound and verified based on the binding request information included in the binding request;

[0031] Based on the binding verification result, the binding result information is sent to the terminal.

[0032] In some embodiments of this disclosure, the binding request information includes a verification token and encrypted data, and the binding verification of the terminal based on the binding request information included in the binding request includes:

[0033] Perform token verification on the verification token;

[0034] In response to successful token verification, a key is determined based on the verification token;

[0035] Based on the key, the encrypted data is decrypted to obtain decrypted data, which includes device authentication information;

[0036] The decrypted data is verified to determine the result of the binding verification.

[0037] In some embodiments of this disclosure, after binding with the terminal, the interactive control method further includes:

[0038] In response to receiving an automatic control command creation request sent by the terminal, the triggering conditions and response actions are determined, wherein the automatic control command creation request is generated based on the user's automatic control command creation operation;

[0039] Based on the triggering condition, attribute monitoring information is determined and sent to the terminal. The attribute monitoring information is used to characterize at least one attribute to be monitored corresponding to the triggering condition in the automatic control command.

[0040] In response to receiving attribute change information sent by the terminal, determine whether the triggering condition is met based on the attribute change information;

[0041] If the triggering condition is met, a response action execution instruction is sent to the terminal so that the terminal executes the response action.

[0042] In some embodiments of this disclosure, the interactive control method further includes:

[0043] In response to receiving the execution result information generated by the terminal performing the response action, the execution result information is saved.

[0044] In some embodiments of this disclosure, determining and sending attribute monitoring information to the terminal includes:

[0045] Determine the attribute monitoring information;

[0046] Based on the automatic control command, an alias for the terminal corresponding to the request is created, and the attribute monitoring information is sent to the terminal via a push server.

[0047] In some embodiments of this disclosure, sending the response action execution instruction to the terminal includes:

[0048] Determine the alias of the terminal that executes the response action corresponding to the satisfied triggering condition;

[0049] Based on the alias of the terminal, the response action execution instruction is sent to the terminal via the push server.

[0050] According to a third aspect of the present disclosure, an interactive control device is provided, the interactive control device comprising:

[0051] The initiation module is used to initiate a binding request to the IoT server in response to the binding operation performed by the user on the terminal. The binding request is used to request the IoT server to bind with the terminal.

[0052] After the terminal is bound to the IoT server, the terminal is able to execute response actions to automatic control commands.

[0053] According to a fourth aspect of the present disclosure, an interactive control device is provided, the interactive control device comprising:

[0054] A binding module is used to bind with the terminal in response to a binding request initiated by the terminal, so that the terminal can execute response actions of automatic control commands. The binding request is generated based on the binding operation performed by the user on the terminal.

[0055] According to a fifth aspect of the present disclosure, a terminal is provided, the terminal comprising:

[0056] First processor;

[0057] A first memory for storing instructions executable by a first processor;

[0058] The first processor is configured to execute the interactive control method as described in the first aspect.

[0059] According to a sixth aspect of the present disclosure, an Internet of Things (IoT) server is provided, the IoT server comprising:

[0060] Second processor;

[0061] A second memory used to store instructions executable by a second processor;

[0062] The second processor is configured to execute the interactive control method as described in the second aspect.

[0063] According to a seventh aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a first processor of a terminal, enables the terminal to perform the interactive control method as described in the first aspect.

[0064] According to an eighth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a second processor of an Internet of Things (IoT) server, enables the IoT server to perform the interactive control method as described in the second aspect.

[0065] According to a ninth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a first processor, implements the interactive control method as described in the first aspect.

[0066] According to a tenth aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a second processor, implements the interactive control method as described in the first aspect.

[0067] The technical solutions provided by the disclosed embodiments may include the following beneficial effects: users can bind the terminal to the Internet of Things server by performing a binding operation on the terminal, so that the terminal can act as the executor of the response action of automatic control commands, which facilitates the expansion of interactive functions, ensures the user's interactive control needs, and improves the user experience.

[0068] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0069] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0070] Figure 1 This is a schematic diagram of an interactive control method.

[0071] Figure 2 This is a flowchart illustrating an interactive control method according to an exemplary embodiment.

[0072] Figure 3 This is a schematic diagram illustrating an interactive control method according to an exemplary embodiment.

[0073] Figure 4 This is a flowchart illustrating an interactive control method according to another exemplary embodiment.

[0074] Figure 5 This is a flowchart illustrating an interactive control method according to another exemplary embodiment.

[0075] Figure 6 This is a schematic diagram illustrating an interactive control method according to another exemplary embodiment.

[0076] Figure 7 This is a flowchart illustrating an interactive control method according to another exemplary embodiment.

[0077] Figure 8 This is a schematic diagram illustrating an interactive control method according to another exemplary embodiment.

[0078] Figure 9 This is a schematic diagram illustrating an interactive control method according to another exemplary embodiment.

[0079] Figure 10 This is a flowchart illustrating an interactive control method according to another exemplary embodiment.

[0080] Figure 11 This is a flowchart illustrating an interactive control method according to another exemplary embodiment.

[0081] Figure 12 This is a flowchart illustrating a process of binding with a terminal in response to receiving a binding request initiated by the terminal, according to an exemplary embodiment.

[0082] Figure 13 This is a flowchart illustrating, according to an exemplary embodiment, a process for binding verification of a terminal based on binding request information included in a binding request.

[0083] Figure 14 This is a flowchart illustrating an interactive control method according to another exemplary embodiment.

[0084] Figure 15 This is a flowchart illustrating the determination and transmission of attribute monitoring information to a terminal according to an exemplary embodiment.

[0085] Figure 16 This is a flowchart illustrating the sending of a response action execution instruction to a terminal according to an exemplary embodiment.

[0086] Figure 17 This is a flowchart illustrating an interactive control method according to another exemplary embodiment.

[0087] Figure 18 This is a block diagram illustrating an interactive control device according to an exemplary embodiment.

[0088] Figure 19 This is a block diagram of an interactive control device according to another exemplary embodiment.

[0089] Figure 20 This is a block diagram of an electronic device according to an exemplary embodiment.

[0090] In the picture:

[0091] 10-Initiation Module; 20-Binding Module; 101-Processing Component; 102-Memory; 103-Power Component; 104-Multimedia Component; 105-Audio Component; 106-Input / Output Interface; 107-Sensor Component; 108-Communication Component; 109-Processor. Detailed Implementation

[0092] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.

[0093] In recent years, with the continuous development of Internet of Things (IoT) technology and the rapid popularization of smart devices, more and more smart devices are playing an important role in people's daily lives. During the use of smart devices, users can interact with corresponding IoT servers through specific applications via terminals such as mobile phones to control other smart devices outside the terminal to execute automatic control commands, thereby achieving automated control of smart homes.

[0094] In related technologies, refer to Figure 1As shown, after the automatic control command is created, for example, the IoT application on the mobile phone can register the events to be listened to, i.e. the trigger conditions, with the mobile phone system. When the trigger conditions are met, the application subprocess is launched to synchronize the event and report the event to the corresponding IoT server. The IoT server can then control other smart devices outside the terminal to perform response actions, thereby realizing smart home automation control such as "turn on the lights if someone opens the door".

[0095] However, the interactive control methods using related technologies do not bind the terminal that creates automatic control commands and reports events to the cloud server. The terminal can only serve as a trigger condition or a device for creating automatic control commands, and cannot execute response actions on its own. This makes it impossible for users to control the terminal through automatic control commands, and it is difficult to meet users' interactive control needs.

[0096] Based on this, an exemplary embodiment of this disclosure provides an interactive control method. Upon detecting a binding operation performed by a user on a terminal, a binding request is initiated to an IoT server to bind the terminal to the IoT server, enabling the terminal to execute response actions to automatic control commands. Users can bind their terminal to the IoT server by performing a binding operation on the terminal, allowing the terminal to act as an executor of automatic control commands, facilitating the expansion of interactive functions, ensuring users' interactive control needs, and improving user experience.

[0097] In one exemplary embodiment, an interactive control method is provided. This interactive control method can be applied to a terminal, which may include, for example, a smart device such as a mobile phone or tablet computer capable of performing interactive operations thereon. (Reference) Figure 2 As shown, the interactive control methods include:

[0098] S100: In response to the binding operation performed by the user on the terminal, a binding request is initiated to the IoT server. The binding request is used to request the IoT server to bind with the terminal. After the terminal is bound to the IoT server, the terminal can execute response actions of automatic control commands.

[0099] In step S100, the user can perform a binding operation on the terminal. This binding operation may include, for example, the user selecting identifiers of multiple devices to be bound in the display interface, or the user clicking the request control corresponding to the binding request in the display interface. The IoT server is a cloud server used for IoT organization and control. When the terminal recognizes the binding operation performed by the user on the terminal, the terminal initiates a binding request to the IoT server. This binding request requests the IoT server to bind with the terminal that initiated the request. (Reference) Figure 3 As shown, the terminal can send a binding request to the IoT server through its IoT subsystem, for example.

[0100] Automatic control commands can consist of triggering conditions and response actions. For example, when the automatic control command is "turn on the lights if the door is opened" or "turn down the TV volume if a phone call comes in," the triggering conditions are "opening the door" and "a phone call comes in," respectively, and the response actions are "turning on the lights" and "turning down the TV volume," respectively. In related technologies, terminal devices such as mobile phones can only serve as triggering conditions such as "a phone call comes in," and cannot execute response actions. However, in this application, after the terminal is bound to an IoT server, the terminal can interact with the IoT server through other requests, information, and commands, enabling the terminal to execute response actions of automatic control commands.

[0101] In this embodiment, upon detecting a binding operation performed by the user on the terminal, a binding request is initiated to the IoT server to bind the terminal to the IoT server, enabling the terminal to execute response actions for automatic control commands. Users can bind their terminals to the IoT server by performing binding operations on the terminal, allowing the terminal to act as an executor of automatic control commands. This facilitates the expansion of interactive functions, ensures the user's interactive control needs, and enhances the user experience.

[0102] In some embodiments, initiating a binding request to an IoT server includes: initiating a binding request to an IoT server, wherein the binding request includes binding request information of the terminal, and the binding request information is used by the IoT server to verify the binding of the terminal.

[0103] When a terminal initiates a binding request to an IoT server, the binding request includes binding request information. After receiving the binding request, the IoT server can use the binding request information to verify whether the terminal meets the security, permission, and identity requirements for binding. If the binding verification is successful, it means that the terminal can bind with the IoT server.

[0104] In this embodiment, when the terminal initiates a binding request to the IoT server, it carries binding request information in the binding request. This enables the IoT server to verify the binding of the terminal based on the binding request information, providing a basis for determining whether the terminal can be bound to the IoT server. This ensures the accuracy, security, and convenience of binding the terminal to the IoT server and improves the user experience.

[0105] In some embodiments, the binding request information includes a verification token and encrypted data.

[0106] The binding verification information required by the IoT server to verify the binding of the terminal, carried in the binding request, includes a service token and encrypted data.

[0107] refer to Figure 4 As shown, before initiating a binding request to the IoT server, the interaction control method also includes:

[0108] S210. Send a query request to the account server. The query request is used to query the verification token and device authentication information.

[0109] In step S210, before the terminal sends the request information to the IoT server, such as Figure 3 As shown, the terminal's IoT subsystem can first send a query request to the account server. The query request is used to request the verification token and device authentication information corresponding to the terminal from the account server in order to obtain the verification token and encrypted data included in the binding request information.

[0110] S220: Receive the verification token and encrypted data sent by the account server. The encrypted data includes device authentication information encrypted by the account server.

[0111] In step S220, the account server is the account port of the cloud server used for IoT organization and control. After receiving the query request sent by the terminal, the account server can query the verification token and device authentication information corresponding to the terminal in the account server according to the query request. It can also encrypt the device authentication information, such as real device verification results, root information and nouce information, with a key to obtain encrypted data. The encrypted data and the verification token are then sent back to the terminal's IoT subsystem. This allows the terminal to obtain the verification token and encrypted data included in the binding request information before initiating the binding request, ensuring the relevance, encryption and integrity of the binding request information.

[0112] In this embodiment, before initiating a binding request to the IoT server, the terminal sends a query request to the account server to retrieve the verification token and device authentication information, and receives the verification token and encrypted data sent by the account server. This enables the acquisition of binding request information, providing a basis for the IoT server to perform binding verification on the terminal. Using the account server as the port for querying the verification token and device authentication information, as well as encrypting the device authentication information, ensures the relevance, encryption, and integrity of the binding request information, thereby guaranteeing the accuracy and security of the binding between the terminal and the IoT server.

[0113] In some embodiments, reference Figure 5 As shown, the interactive control method also includes:

[0114] S310: Receive binding result information sent by the IoT server.

[0115] In step S310, as Figure 3 As shown, after the IoT server performs binding verification on the terminal, it can determine whether the binding is successful based on the verification result and send the binding result information indicating whether the binding is successful to the terminal's IoT subsystem. The terminal can then receive the binding result information sent by the IoT server to determine whether the binding is successful.

[0116] S320. If the binding result information indicates successful binding, the corresponding identifier of the terminal will be displayed on the terminal's display interface.

[0117] In step S320, if the binding result information received by the terminal indicates that the binding is successful, it means that the terminal and the IoT server have successfully established a binding relationship. Then, the terminal's corresponding identifier is displayed on the terminal's display interface. Subsequently, when the user creates an automatic control command through the terminal, they can select the terminal as the execution device for the automatic control command's response action by selecting the terminal's corresponding identifier displayed on the display interface, so that the terminal can execute the automatic control command's response action.

[0118] In this embodiment, the terminal receives binding result information sent by the IoT server. If the binding result indicates successful binding, the terminal displays its corresponding identifier on its display interface. This provides a concrete presentation and prompt on the terminal when the binding with the IoT server is successful, allowing the user to determine the binding result based on whether the corresponding identifier is displayed. Furthermore, by displaying the terminal's identifier on the terminal's display interface, the user can add the terminal as an execution device for automatic control commands by manipulating the identifier, providing a basis for the terminal to execute automatic control command response actions.

[0119] In some embodiments, after the terminal is bound to the IoT server, the interactive control method further includes: in response to the user's automatic control instruction creation operation, generating an automatic control instruction creation request and sending the automatic control instruction creation request to the IoT server, wherein the automatic control instruction includes a triggering condition and a response action, and the response action includes an action performed by the terminal.

[0120] Users can also perform automatic control command creation operations on the terminal. These operations can include, for example, adding or selecting trigger conditions and response actions in the editing area of ​​the display interface. When the terminal recognizes an automatic control command creation operation, it can generate a corresponding automatic control command creation request and send it to the IoT server.

[0121] After receiving the automatic control command creation request sent by the terminal, the IoT server, such as Figure 6As shown, the system can determine the triggering conditions and response actions included in the automatic control command based on the automatic control command creation request, thereby monitoring the triggering conditions and triggering the execution of the response actions. The device executing the response actions of the automatic control command can be the terminal that initiated the automatic control command creation request, enabling the terminal to execute the response actions of the automatic control command.

[0122] In this embodiment, after the terminal is bound to the IoT server, when the terminal recognizes the user's automatic control command creation operation, it generates an automatic control command creation request and sends it to the IoT server. This realizes the creation and reporting of automatic control commands, enabling the IoT server to monitor trigger conditions and trigger response actions based on the automatic control command creation request. Response actions include actions performed by the terminal, allowing the terminal to act as the executor of automatic control command response actions. This facilitates the expansion of interactive functions, ensures the user's interactive control needs, and improves the user experience.

[0123] In some embodiments, after sending the automatic control instruction creation request to the IoT server, refer to Figure 7 As shown, the interactive control method also includes:

[0124] S410 Receive attribute monitoring information sent by the IoT server. The attribute monitoring information is used to characterize at least one attribute to be monitored corresponding to the trigger condition in the automatic control command.

[0125] In step S410, after the terminal sends the automatic control command creation request to the IoT server, as follows: Figure 6 As shown, the IoT server can determine the triggering conditions of the automatic control command based on the automatic control command creation request, thereby determining at least one attribute to be monitored corresponding to the triggering condition, and sending the attribute monitoring information, i.e., Spec information, representing the attribute to be monitored, to the IoT subsystem of the terminal through the push server. The terminal receives the attribute monitoring information and performs real-time monitoring of the attribute to be monitored through the terminal's monitoring system.

[0126] S420. In response to detecting a change in any one or more monitored attributes, send attribute change information to the IoT server so that the IoT server can determine whether the triggering condition is met based on the attribute change information.

[0127] In step S420, when the terminal's monitoring system detects a change in any one or more monitored attributes, it indicates that the triggering conditions for an automatic control command may be met. The terminal then sends attribute change information to the IoT server to report the changed monitored attributes and the corresponding change magnitude or value. The IoT server can determine whether the triggering conditions are met based on the attribute change information. If the triggering conditions are met, the response action is triggered; otherwise, the response action is not triggered.

[0128] S430: In response to receiving the response action execution instruction sent by the IoT server, execute the response action.

[0129] In step S430, if the IoT server determines that the triggering condition is met based on the attribute change information, it sends a response action execution instruction to the terminal. After receiving the response action execution instruction sent by the IoT server, the terminal executes the response action according to the instruction, thereby enabling the terminal to execute the response action of the automatic control instruction.

[0130] For example, if a terminal sends a request to the IoT server to create an automatic control command of "mute the phone if the TV is turned on," the terminal can receive attribute monitoring information representing the TV's on / off state attribute sent by the IoT server. When the TV's on / off state attribute changes, the terminal sends attribute change information to the IoT server to report the change, enabling the IoT server to determine whether the triggering condition for "if the TV is turned on" is met based on the attribute change information. If the triggering condition is met, the terminal executes the "mute the phone" response event upon receiving the response action execution command from the IoT server.

[0131] In this embodiment, after the terminal sends the automatic control command creation request to the IoT server, it can receive attribute monitoring information sent by the IoT server. When any one or more monitored attributes change, the terminal can send attribute change information to the IoT server. This allows the IoT server to determine whether the triggering condition is met based on the attribute change information. Upon receiving the response action execution command sent by the IoT server, the terminal executes the response action. Through the interaction between the terminal and the IoT server, the terminal realizes the execution of the response action, which facilitates the expansion of interactive functions, ensures the user's interactive control needs, and improves the user experience.

[0132] In some embodiments, the interactive control method further includes sending the execution result information generated by the execution response action to the Internet of Things server.

[0133] After receiving the response action execution instruction sent by the IoT server and executing the response action, the terminal can generate execution result information based on the execution status and result of the response action, and send the execution result information to the IoT server. This allows the IoT server to obtain and save the actual execution status and result of the automatic control instruction, which is convenient for further in-depth data analysis.

[0134] In this embodiment, the terminal sends the execution result information generated by the execution response action to the IoT server, enabling the IoT server to obtain and store the actual execution status and results of the automatic control command response action. This facilitates subsequent data analysis of the execution of a large number of automatic control command response actions, which is beneficial for optimizing the creation and execution of automatic control commands, ensuring the user's interactive control needs, and improving the user experience.

[0135] In some embodiments, the interactive control method further includes: sending an alias of the terminal corresponding to the automatic control instruction creation request to the push server, so that the push server generates a device identifier corresponding to the alias and saves the mapping relationship information between the device identifier and the alias. The IoT server sends attribute monitoring information and response action execution instructions through the push server.

[0136] like Figure 8 As shown, when the terminal generates an automatic control command creation request and sends it to the IoT server, it also sends an alias corresponding to the automatic control command creation request to the push server. The push server is the push port of a cloud server used for IoT organization and control, enabling the distribution of information, data, and commands to the terminal. After receiving the alias, the push server generates a device identifier (regid) corresponding to the alias and saves the mapping relationship between the device identifier and the alias.

[0137] When an IoT server sends attribute monitoring information and response action execution commands to a terminal, it can do so through a push server. For example, after determining which terminal the attribute monitoring information and response action execution commands are intended for, the IoT server can determine the device identifier corresponding to that alias in the push server based on the terminal's alias and a stored mapping relationship. This allows the push server to push information and commands based on the determined device identifier. Since the device identifier may change due to the re-creation of automatic control commands, maintaining a changing device identifier and a fixed alias in the push server eliminates the need for the IoT server to maintain the device identifier itself, thus saving storage space and improving operational efficiency.

[0138] In this embodiment, by sending the alias of the terminal corresponding to the automatic control command creation request to the push server, the push server can generate the device identifier corresponding to the alias and save the mapping relationship information between the device identifier and the alias. This enables the IoT server to send attribute monitoring information and response action execution instructions through the push server, ensuring that the attribute monitoring information and response action execution instructions can be accurately sent to the corresponding terminal, while saving the storage space of the IoT server and improving the operating efficiency of the IoT server.

[0139] refer to Figure 9 As shown, the above interactive control method enables uplink and downlink interaction between the terminal and the IoT server. The IoT server controls services such as the rpcthrift-server command delivery service and the push-server push service through specific applications, automatic control commands, and intelligent learning systems, thereby enabling interaction with the terminal's IoT subsystem and achieving downlink interaction from the IoT server to the terminal. The terminal's IoT subsystem accesses and reports through gateway nodes such as appgateway-phone, and can interact with the IoT server through various services such as bindunbind-server, enabling interactions such as binding and unbinding, event reporting, and automatic control, thereby achieving uplink interaction from the terminal to the IoT server.

[0140] In one exemplary embodiment, an interactive control method is provided, which can be applied, for example, to a terminal, referencing... Figure 10 As shown, the interactive control methods include:

[0141] S1. Send a query request to the account server. The query request is used to query the verification token and device authentication information.

[0142] S2. Receive the verification token and encrypted data sent by the account server. The encrypted data includes device authentication information encrypted by the account server.

[0143] S3. Initiate a binding request to the IoT server. The binding request includes a verification token and encrypted data. The verification token and encrypted data are used by the IoT server to verify the binding of the terminal.

[0144] S4. Receive the binding result information sent by the IoT server;

[0145] S5. If the binding result information indicates successful binding, display the corresponding identifier of the terminal on the terminal's display interface;

[0146] S6. In response to the user's automatic control command creation operation, generate an automatic control command creation request, send the automatic control command creation request to the IoT server, and send the alias of the terminal corresponding to the automatic control command creation request to the push server.

[0147] S7. Receive attribute monitoring information sent by the IoT server. The attribute monitoring information is used to characterize at least one attribute to be monitored corresponding to the trigger condition in the automatic control command.

[0148] S8. In response to detecting a change in any one or more monitored attributes, send attribute change information to the IoT server so that the IoT server can determine whether the triggering condition is met based on the attribute change information.

[0149] S9. Upon receiving a response action execution instruction from the IoT server, execute the response action;

[0150] S10. Send the execution result information generated by the execution response action to the IoT server.

[0151] In this embodiment, upon detecting a binding operation performed by the user on the terminal, a binding request is initiated to the IoT server to bind the terminal to the IoT server, enabling the terminal to execute response actions for automatic control commands. Users can bind their terminals to the IoT server by performing binding operations on the terminal, allowing the terminal to act as an executor of automatic control commands. This facilitates the expansion of interactive functions, ensures the user's interactive control needs, and enhances the user experience.

[0152] In one exemplary embodiment, an interactive control method is provided, which can be applied, for example, to an Internet of Things (IoT) server, which is a cloud server used for IoT organization and control. (See reference) Figure 11 As shown, the interactive control methods include:

[0153] S500: In response to receiving a binding request initiated by the terminal, bind to the terminal so that the terminal can execute response actions of automatic control commands. The binding request is generated based on the binding operation performed by the user on the terminal.

[0154] In step S500, when the terminal recognizes the binding operation performed by the user on the terminal, it can generate a corresponding binding request. When the IoT server receives the binding request initiated by the terminal, it binds with the terminal. After the IoT server binds with the terminal, the IoT server can interact with the terminal to exchange requests, information, and instructions, enabling the terminal to execute response actions of automatic control commands.

[0155] In this embodiment, when the IoT server receives a binding request from the terminal, it binds with the terminal, enabling the terminal to execute automatic control command responses. Users can bind their terminals to the IoT server by performing a binding operation on the terminal, allowing the terminal to act as an executor of automatic control command responses. This facilitates the expansion of interactive functions, ensures users' interactive control needs are met, and enhances the user experience.

[0156] In some embodiments, reference Figure 12 As shown, in response to receiving a binding request from the terminal, binding with the terminal includes:

[0157] S510. In response to receiving a binding request, perform binding verification on the terminal based on the binding request information included in the binding request.

[0158] In step S510, when the IoT server receives the binding request sent by the terminal, as follows: Figure 3 As shown, the terminal is verified based on the binding request information included in the binding request to verify whether the terminal meets the security, permission requirements and identity information required for binding.

[0159] S520. Based on the binding verification result, send the binding result information to the terminal.

[0160] In step S520, the IoT server determines whether the binding is successful based on the binding verification result. If the binding verification is successful, it means that the terminal that initiated the binding request can bind with the IoT server. At this time, the IoT server binds with the terminal and sends a binding success result message to the terminal. If the binding verification fails, it means that the terminal that initiated the binding request cannot bind with the IoT server. At this time, the IoT server sends a binding failure result message to the terminal.

[0161] In this embodiment, when the IoT server receives a binding request from the terminal, it performs binding verification on the terminal based on the binding request information included in the binding request, determines whether to bind with the terminal based on the binding verification result, and sends the corresponding binding result information to the terminal. This provides a basis for judging whether the terminal can bind with the IoT server, and realizes the notification of the binding result, ensuring the accuracy, security, and convenience of binding the terminal with the IoT server, and improving the user experience.

[0162] In some embodiments, the binding request information includes a verification token and encrypted data.

[0163] The binding verification information required by the IoT server to verify the binding of the terminal, carried in the binding request, includes a service token and encrypted data.

[0164] refer to Figure 13 As shown, based on the binding request information included in the binding request, the terminal is bound and verified, including:

[0165] S511. Perform token verification on the verification token.

[0166] In step S511, as Figure 3 As shown, the IoT server first verifies the verification token in the binding request information, such as verifying the validity period of the verification token and whether the verification token has the required permissions.

[0167] S512. In response to successful token verification, determine the key based on the verified token.

[0168] S513. Based on the key, decrypt the encrypted data to obtain decrypted data, which includes device authentication information.

[0169] In steps S512 and S513, as mentioned above, the encrypted data is obtained by encrypting device authentication information such as real device verification results, root information and nouce information using a key. When the token verification is successful, the key used in the encryption process can be parsed from the verification token, and the encrypted data can be decrypted using the key to obtain decrypted data including authentication information.

[0170] S514. Perform data verification on the decrypted data to determine the result of the binding verification.

[0171] In step S514, the IoT server performs data verification on the decrypted data including authentication information to authenticate the terminal that initiated the binding request, in order to determine whether the terminal meets the security, permission requirements and identity required for binding, thereby determining the result of the binding verification. If the binding verification is successful, the IoT server and the terminal are bound together.

[0172] In this embodiment, by verifying the verification token and determining the key based on the verification token upon successful token verification, and then decrypting the encrypted data based on the key to obtain decrypted data, the decrypted data can be verified to determine the binding verification result. This achieves the binding verification of the terminal, providing a basis for judging whether the terminal can be bound to the IoT server, ensuring the accuracy, security, and convenience of binding the terminal to the IoT server, and improving the user experience.

[0173] In some embodiments, after binding with a terminal, refer to Figure 14 As shown, the interactive control method also includes:

[0174] S610. In response to receiving an automatic control command creation request sent by the terminal, determine the triggering conditions and response actions. The automatic control command creation request is generated based on the user's automatic control command creation operation.

[0175] In step S610, the user can also perform an automatic control command creation operation on the terminal. When the terminal recognizes the automatic control command creation operation, it can generate a corresponding automatic control command creation request based on the automatic control command creation operation. When the IoT server receives the automatic control command creation request sent by the terminal, it can determine the triggering conditions and response actions included in the automatic control command based on the automatic control command creation request.

[0176] S620. Based on the triggering condition, determine and send attribute monitoring information to the terminal. The attribute monitoring information is used to characterize at least one attribute to be monitored corresponding to the triggering condition in the automatic control command.

[0177] In step S620, after determining the triggering condition of the automatic control command, at least one attribute to be monitored corresponding to the triggering condition can be determined according to the triggering condition, and the attribute monitoring information, i.e., Spec information, representing the attribute to be monitored, is sent to the terminal, so that the terminal can monitor the attribute to be monitored in real time.

[0178] S630. In response to the attribute change information sent by the receiving terminal, determine whether the triggering condition is met based on the attribute change information.

[0179] In step S630, when the terminal detects a change in any one or more monitored attributes, it indicates that the triggering conditions for an automatic control command may be met. The terminal can send attribute change information representing the attribute change to the IoT server. When the IoT server receives the attribute change information, it can determine whether the triggering conditions are met based on the attribute change information.

[0180] S640. If the triggering condition is met, send a response action execution instruction to the terminal so that the terminal executes the response action.

[0181] In step S640, when the triggering condition is met, the IoT server sends a response action execution instruction to the terminal, so that the terminal executes the response action according to the instruction after receiving the response action execution instruction, thereby enabling the terminal to execute the response action of the automatic control instruction.

[0182] For example, when the IoT server receives a request from the terminal to create an automatic control command that says "If the TV is turned on, mute the phone," it can determine that the trigger condition is "turn on the TV," the response action is "mute the phone," and based on the "turn on the TV" trigger condition, determine that the attribute to be monitored is the TV's on / off state attribute. Then, it sends the attribute monitoring information representing the TV's on / off state attribute to the terminal. Upon receiving attribute change information from the terminal, the IoT server determines whether the "turn on the TV" trigger condition is met based on the change in the TV's on / off state attribute. If the trigger condition is met, it sends a response action execution command to the terminal, causing the terminal to execute the "mute" response action.

[0183] In this embodiment, upon receiving an automatic control command creation request from the terminal, the triggering conditions and response actions are determined. Based on the triggering conditions, attribute monitoring information is determined and sent to the terminal. Upon receiving attribute change information from the terminal, the system determines whether the triggering conditions are met. If the triggering conditions are met, a response action execution command is sent to the terminal, enabling the terminal to execute the response action. Through the interaction between the IoT server and the terminal, the terminal executes the response action, facilitating the expansion of interactive functions, ensuring the user's interactive control needs, and improving the user experience.

[0184] In some embodiments, the interactive control method further includes: in response to receiving execution result information generated by the terminal performing a response action, saving the execution result information.

[0185] After receiving the response action execution instruction sent by the IoT server and executing the response action, the terminal can generate execution result information based on the execution status and result of the response action, and send the execution result information to the IoT server. When the IoT server receives the execution result information sent by the terminal, it can save the execution result information for subsequent more in-depth data analysis.

[0186] In this embodiment, when the IoT server receives the execution result information generated by the terminal's response action, it saves the execution result information, enabling the IoT server to obtain and store the actual execution status and results of the automatic control command's response action. This facilitates subsequent data analysis of the execution of a large number of automatic control command response actions, which is beneficial for optimizing the creation and execution of automatic control commands, ensuring the user's interactive control needs, and improving the user experience.

[0187] In some embodiments, reference Figure 15 As shown, the attribute monitoring information is determined and sent to the terminal, including:

[0188] S621. Determine attribute monitoring information.

[0189] In step S621, after determining the triggering conditions of the automatic control command, the IoT server can determine at least one attribute to be monitored corresponding to the triggering conditions, thereby determining attribute monitoring information that can characterize the attribute to be monitored.

[0190] S622. Create an alias for the terminal corresponding to the request based on the automatic control command, and send attribute monitoring information to the terminal through the push server.

[0191] In step S622, as described above, when the terminal initiates an automatic control command creation request to the IoT server, it also sends an alias of the terminal that initiated the automatic control command creation request to the push server. When the IoT server sends attribute monitoring information to the terminal, it can send the attribute monitoring information to the terminal through the push server based on the terminal's alias. For example, the IoT server can send the alias to the push server so that the push server can determine the device identifier corresponding to the alias based on the terminal's alias and the mapping relationship between aliases and device identifiers stored in the push server, and send the attribute monitoring information to the terminal through the push server based on the terminal's device identifier.

[0192] In this embodiment, by determining the attribute monitoring information and creating an alias for the corresponding terminal through automatic control instructions, the attribute monitoring information is sent to the terminal through the push server, thus realizing the distribution of attribute monitoring information. Using the terminal alias and the push server as the basis and means for the distribution of attribute monitoring information ensures that the attribute monitoring information can be accurately sent to the corresponding terminal, saves the storage space of the IoT server, and improves the operating efficiency of the IoT server.

[0193] In some embodiments, reference Figure 16 As shown, a response action execution command is sent to the terminal, including:

[0194] S641. Determine the alias of the terminal that executes the response action corresponding to the satisfied triggering condition.

[0195] In step S641, the automatic control instruction includes a trigger condition and a response action. Different response actions can correspond to different execution devices. When the trigger condition is met, the IoT server determines the alias of the terminal that executes the response action corresponding to the met trigger condition.

[0196] S642. Based on the terminal's alias, send response action execution instructions to the terminal via the push server.

[0197] In step S642, when the IoT server sends a response action execution command to the terminal, it can send the response action execution command to the terminal via push server based on the terminal's alias. For example, as shown... Figure 8As shown, the IoT server can send the determined alias to the push server. The push server can then determine the device identifier corresponding to the alias based on the terminal's alias and the mapping relationship between aliases and device identifiers stored in the push server. Based on the terminal's device identifier, the push server can send a response action execution command to the terminal.

[0198] In this embodiment, by determining the alias of the terminal that executes the response action corresponding to the satisfied triggering condition, and sending the response action execution instruction to the terminal through the push server based on the terminal alias, the issuance of the response action execution instruction is realized. Using the terminal alias and the push server as the basis and means for issuing the response action execution instruction ensures that the response action execution instruction can be accurately sent to the corresponding terminal, saves the storage space of the IoT server, and improves the operating efficiency of the IoT server.

[0199] In one exemplary embodiment, an interactive control method is provided, applied to an Internet of Things (IoT) server, with reference to... Figure 17 As shown, the interactive control methods include:

[0200] S11. In response to receiving a binding request initiated by the terminal, perform token verification on the verification token;

[0201] S12. In response to successful token verification, determine the key based on the verified token;

[0202] S13. Based on the key, decrypt the encrypted data to obtain decrypted data, which includes device authentication information;

[0203] S14. Perform data verification on the decrypted data to determine the result of the binding verification;

[0204] S15. Based on the binding verification result, send the binding result information to the terminal;

[0205] S16. In response to receiving an automatic control command creation request sent by the terminal, determine the triggering conditions and response actions. The automatic control command creation request is generated based on the user's automatic control command creation operation.

[0206] S17. Determine attribute monitoring information based on triggering conditions;

[0207] S18. Create an alias for the terminal corresponding to the request based on the automatic control command, and send attribute monitoring information to the terminal through the push server;

[0208] S19. In response to the attribute change information sent by the receiving terminal, determine whether the triggering condition is met based on the attribute change information;

[0209] S20. If the triggering condition is met, determine the alias of the terminal that executes the response action corresponding to the met triggering condition;

[0210] S21. Based on the terminal's alias, send a response action execution command to the terminal via the push server;

[0211] S22. In response to receiving the execution result information generated by the terminal performing the response action, save the execution result information.

[0212] In this embodiment, when the IoT server receives a binding request from the terminal, it binds with the terminal, enabling the terminal to execute automatic control command responses. Users can bind their terminals to the IoT server by performing a binding operation on the terminal, allowing the terminal to act as an executor of automatic control command responses. This facilitates the expansion of interactive functions, ensures users' interactive control needs are met, and enhances the user experience.

[0213] In one exemplary embodiment, an interactive control device is provided, applied to a terminal, with reference to... Figure 18 As shown, the interactive control device includes an initiation module 10. The initiation module 10, in response to a binding operation performed by the user on the terminal, initiates a binding request to the IoT server. The binding request requests the IoT server to bind with the terminal. After the terminal is bound to the IoT server, it can execute responses to automatic control commands.

[0214] In this embodiment, upon detecting a binding operation performed by the user on the terminal, the initiating module 10 sends a binding request to the IoT server, binding the terminal to the IoT server so that the terminal can execute response actions to automatic control commands. Users can bind their terminal to the IoT server by performing a binding operation on the terminal, enabling the terminal to act as an executor of automatic control commands, facilitating the expansion of interactive functions, ensuring users' interactive control needs, and improving the user experience.

[0215] In one embodiment, the initiating module 10 is further configured to: initiate a binding request to the IoT server, the binding request including the terminal's binding request information, the binding request information being used by the IoT server to perform binding verification on the terminal.

[0216] In one embodiment, the binding request information includes a verification token and encrypted data. Before initiating the binding request to the IoT server, the initiating module 10 is further configured to: send a query request to the account server, the query request being used to query the verification token and device authentication information; and receive the verification token and encrypted data sent by the account server, the encrypted data including device authentication information encrypted by the account server.

[0217] In one embodiment, the interactive control device further includes a display module, which is used to: receive binding result information sent by the IoT server; and display the corresponding identifier of the terminal on the terminal's display interface if the binding result information indicates successful binding.

[0218] In one embodiment, the initiating module 10 is further configured to: generate an automatic control command creation request in response to the user's automatic control command creation operation, and send the automatic control command creation request to the Internet of Things server, wherein the automatic control command includes a triggering condition and a response action, and the response action includes an action performed by the terminal.

[0219] In one embodiment, the interactive control device further includes an execution module. After sending an automatic control instruction creation request to the IoT server, the execution module is configured to: receive attribute monitoring information sent by the IoT server, wherein the attribute monitoring information is used to characterize at least one monitored attribute corresponding to the trigger condition in the automatic control instruction; in response to detecting a change in any one or more monitored attributes, send attribute change information to the IoT server so that the IoT server determines whether the trigger condition is met based on the attribute change information; and in response to receiving a response action execution instruction sent by the IoT server, execute a response action.

[0220] In one embodiment, the initiating module 10 is further configured to: send the execution result information generated by the execution response action to the Internet of Things server.

[0221] In one embodiment, the initiating module 10 is further configured to: send the alias of the terminal corresponding to the automatic control instruction creation request to the push server, so that the push server generates the device identifier corresponding to the alias and saves the mapping relationship information between the device identifier and the alias; the IoT server sends attribute monitoring information and response action execution instructions through the push server.

[0222] In one exemplary embodiment, an interactive control device is provided, applied to an Internet of Things (IoT) server, with reference to... Figure 19 As shown, the interactive control device includes a binding module 20, which is used to bind with the terminal in response to receiving a binding request initiated by the terminal, so that the terminal can execute response actions of automatic control commands. The binding request is generated based on the binding operation performed by the user on the terminal.

[0223] In this embodiment, when the IoT server receives a binding request initiated by the terminal, it binds with the terminal through the binding module 20, enabling the terminal to execute response actions of automatic control commands. Users can bind their terminals to the IoT server by performing a binding operation on the terminal, allowing the terminal to act as an executor of automatic control commands, facilitating the expansion of interactive functions, ensuring users' interactive control needs, and improving the user experience.

[0224] In one embodiment, the binding module 20 is further configured to: in response to receiving a binding request, perform binding verification on the terminal based on the binding request information included in the binding request; and send binding result information to the terminal according to the binding verification result.

[0225] In one embodiment, the binding request information includes a verification token and encrypted data. The binding module 20 is further configured to: verify the verification token; determine a key based on the verification token in response to successful token verification; decrypt the encrypted data based on the key to obtain decrypted data, the decrypted data including device authentication information; and verify the decrypted data to determine the result of the binding verification.

[0226] In one embodiment, the interactive control device further includes a sending module. After being bound to a terminal, the sending module is configured to: in response to receiving an automatic control command creation request sent by the terminal, determine a triggering condition and a response action, wherein the automatic control command creation request is generated based on the user's automatic control command creation operation; based on the triggering condition, determine and send attribute monitoring information to the terminal, wherein the attribute monitoring information is used to characterize at least one attribute to be monitored corresponding to the triggering condition in the automatic control command; in response to receiving attribute change information sent by the terminal, determine whether the triggering condition is met based on the attribute change information; and if the triggering condition is met, send a response action execution instruction to the terminal so that the terminal performs the response action.

[0227] In one embodiment, the interactive control device further includes a storage module, which is used to: in response to receiving execution result information generated by the terminal performing a response action, store the execution result information.

[0228] In one embodiment, the sending module is further configured to: determine attribute monitoring information; create an alias for the terminal corresponding to the request based on the automatic control instruction; and send the attribute monitoring information to the terminal through the push server.

[0229] In one embodiment, the sending module is further configured to: determine the alias of the terminal that performs the response action corresponding to the satisfied triggering condition; and send the response action execution instruction to the terminal through the push server based on the terminal alias.

[0230] In one exemplary embodiment, a terminal is provided, the terminal including a first processor and a first memory, the first memory being used to store executable instructions of the first processor, the first processor being configured to execute the above-described interactive control method applied to the terminal.

[0231] In one exemplary embodiment, an Internet of Things (IoT) server is provided, which includes a second processor and a second memory. The second memory is used to store executable instructions of the second processor, and the second processor is configured to execute the interactive control method applied to the IoT server described above.

[0232] In one exemplary embodiment, a non-transitory computer-readable storage medium is provided, which, when the instructions in the storage medium are executed by a first processor of a terminal, enables the terminal to execute the aforementioned interactive control method applied to the terminal.

[0233] In one exemplary embodiment, a non-transitory computer-readable storage medium is provided, which, when the instructions in the storage medium are executed by a second processor of the Internet of Things (IoT) server, enables the IoT server to execute the aforementioned interactive control method applied to the IoT server.

[0234] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a first processor, implements the above-described interactive control method applied to a terminal.

[0235] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a second processor, implements the above-described interactive control method applied to an Internet of Things (IoT) server.

[0236] In one exemplary embodiment, an electronic device is provided, which may include, for example, a smart device such as a mobile phone or a tablet computer, and may serve as a terminal in the above-described interactive control method.

[0237] refer to Figure 20 As shown, the electronic device may include one or more of the following components: processing component 101, memory 102, power component 103, multimedia component 104, audio component 105, input / output (I / O) interface 106, sensor component 107, and communication component 108.

[0238] Processing component 101 typically controls the overall operation of an electronic device, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 101 may include one or more processors 109 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 101 may include one or more modules to facilitate interaction between processing component 101 and other components. For example, processing component 101 may include a multimedia module to facilitate interaction between multimedia component 104 and processing component 101.

[0239] Memory 102 is configured to store various types of data to support the operation of the electronic device. Examples of such data include instructions for any application or method used to operate on the electronic device, contact data, phonebook data, messages, pictures, videos, etc. Memory 102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0240] Power component 103 provides power to various components of the electronic device. Power component 103 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.

[0241] Multimedia component 104 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 104 includes a front-facing camera and / or a rear-facing camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0242] Audio component 105 is configured to output and / or input audio signals. For example, audio component 105 includes a microphone (MIC) configured to receive external audio signals when the electronic device is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 102 or transmitted via communication component 108. In some embodiments, audio component 105 also includes a speaker for outputting audio signals.

[0243] I / O interface 106 provides an interface between processing component 101 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0244] Sensor assembly 107 includes one or more sensors for providing state assessments of various aspects of the electronic device. For example, sensor assembly 107 can detect the on / off state of the electronic device, the relative positioning of components such as the display and keypad of the electronic device, changes in the position of the electronic device or a component of the electronic device, the presence or absence of user contact with the electronic device, the orientation or acceleration / deceleration of the electronic device, and temperature changes of the electronic device. Sensor assembly 107 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 107 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 107 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0245] Communication component 108 is configured to facilitate wired or wireless communication between electronic devices and other devices. Devices can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 108 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 108 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0246] In an exemplary embodiment, the electronic device may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the interactive control method applied to the terminal described above.

[0247] In one exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 102 including instructions, which can be executed by a processor 109 of an electronic device to perform the interactive control method applied to a terminal described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc. When the instructions in the storage medium are executed by the processor 109 of the electronic device, the electronic device is able to perform the interactive control method applied to a terminal shown in the above embodiments.

[0248] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0249] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. An interactive control method, characterized in that, The interactive control method includes: In response to a binding operation performed by a user on a terminal, a binding request is initiated to an IoT server, the binding request being used to request the IoT server to bind with the terminal; After the terminal is bound to the IoT server, the terminal is able to execute response actions to automatic control commands.

2. The interactive control method according to claim 1, characterized in that, The process of initiating a binding request to the IoT server includes: The binding request is initiated to the IoT server. The binding request includes the binding request information of the terminal, which is used by the IoT server to verify the binding of the terminal.

3. The interactive control method according to claim 2, characterized in that, The binding request information includes a verification token and encrypted data. Before initiating the binding request to the IoT server, the interactive control method further includes: Send a query request to the account server, the query request being used to query the verification token and device authentication information; The system receives the verification token and encrypted data sent by the account server, wherein the encrypted data includes the device authentication information encrypted by the account server.

4. The interactive control method according to any one of claims 1 to 3, characterized in that, The interactive control method further includes: Receive the binding result information sent by the IoT server; If the binding result information indicates successful binding, the corresponding identifier of the terminal will be displayed on the terminal's display interface.

5. The interactive control method according to any one of claims 1 to 3, characterized in that, After the terminal is bound to the IoT server, the interactive control method further includes: In response to the user's automatic control command creation operation, an automatic control command creation request is generated and sent to the IoT server. The automatic control command includes a triggering condition and a response action, and the response action includes an action performed by the terminal.

6. The interactive control method according to claim 5, characterized in that, After sending the automatic control command creation request to the IoT server, the interactive control method further includes: The system receives attribute monitoring information sent by the IoT server, the attribute monitoring information being used to characterize at least one attribute to be monitored corresponding to the trigger condition in the automatic control command; In response to detecting a change in any one or more of the monitored attributes, attribute change information is sent to the IoT server so that the IoT server can determine whether the triggering condition is met based on the attribute change information; Upon receiving a response action execution instruction sent by the IoT server, the response action is executed.

7. The interactive control method according to claim 6, characterized in that, The interactive control method further includes: The execution result information generated by the execution of the response action is sent to the IoT server.

8. The interactive control method according to claim 6, characterized in that, The interactive control method further includes: The alias of the terminal corresponding to the automatic control instruction creation request is sent to the push server so that the push server generates the device identifier corresponding to the alias and saves the mapping relationship information between the device identifier and the alias; The IoT server sends the attribute monitoring information and the response action execution command through the push server.

9. An interactive control method, characterized in that, The interactive control method includes: In response to receiving a binding request initiated by a terminal, the device binds to the terminal so that the terminal can execute response actions of automatic control commands. The binding request is generated based on the binding operation performed by the user on the terminal.

10. The interactive control method according to claim 9, characterized in that, The step of responding to a binding request initiated by a terminal and binding with the terminal includes: In response to receiving the binding request, the terminal is bound and verified based on the binding request information included in the binding request; Based on the binding verification result, the binding result information is sent to the terminal.

11. The interactive control method according to claim 10, characterized in that, The binding request information includes a verification token and encrypted data. The binding verification of the terminal based on the binding request information includes: Perform token verification on the verification token; In response to successful token verification, a key is determined based on the verification token; Based on the key, the encrypted data is decrypted to obtain decrypted data, which includes device authentication information; The decrypted data is verified to determine the result of the binding verification.

12. The interactive control method according to any one of claims 9 to 11, characterized in that, After binding with the terminal, the interactive control method further includes: In response to receiving an automatic control command creation request sent by the terminal, the triggering conditions and response actions are determined, wherein the automatic control command creation request is generated based on the user's automatic control command creation operation; Based on the triggering condition, attribute monitoring information is determined and sent to the terminal. The attribute monitoring information is used to characterize at least one attribute to be monitored corresponding to the triggering condition in the automatic control command. In response to receiving attribute change information sent by the terminal, determine whether the triggering condition is met based on the attribute change information; If the triggering condition is met, a response action execution instruction is sent to the terminal so that the terminal executes the response action.

13. The interactive control method according to claim 12, characterized in that, The interactive control method further includes: In response to receiving the execution result information generated by the terminal performing the response action, the execution result information is saved.

14. The interactive control method according to claim 12, characterized in that, The step of determining and sending attribute monitoring information to the terminal includes: Determine the attribute monitoring information; Based on the automatic control command, an alias for the terminal corresponding to the request is created, and the attribute monitoring information is sent to the terminal via a push server.

15. The interactive control method according to claim 12, characterized in that, Sending the response action execution instruction to the terminal includes: Determine the alias of the terminal that executes the response action corresponding to the satisfied triggering condition; Based on the alias of the terminal, the response action execution instruction is sent to the terminal via the push server.

16. An interactive control device, characterized in that, The interactive control device includes: The initiation module is used to initiate a binding request to the IoT server in response to the binding operation performed by the user on the terminal. The binding request is used to request the IoT server to bind with the terminal. After the terminal is bound to the IoT server, the terminal is able to execute response actions to automatic control commands.

17. An interactive control device, characterized in that, The interactive control device includes: A binding module is used to bind with the terminal in response to a binding request initiated by the terminal, so that the terminal can execute response actions of automatic control commands. The binding request is generated based on the binding operation performed by the user on the terminal.

18. A terminal, characterized in that, The terminal includes: First processor; A first memory for storing instructions executable by a first processor; The first processor is configured to execute the interactive control method as described in any one of claims 1 to 8.

19. An Internet of Things (IoT) server, characterized in that, The IoT server includes: Second processor; A second memory used to store instructions executable by a second processor; The second processor is configured to execute the interactive control method as described in any one of claims 9 to 15.

20. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the first processor of the terminal, the terminal is able to perform the interactive control method as described in any one of claims 1 to 8.

21. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the second processor of the IoT server, the IoT server is able to perform the interactive control method as described in any one of claims 9 to 15.

22. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the first processor, it implements the interactive control method as described in any one of claims 1 to 8.

23. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the second processor, it implements the interactive control method as described in any one of claims 9 to 15.