Equipment control method, equipment association method, equipment control device, equipment association device and electronic equipment

By triggering operations on the control device, control commands are determined and sent to the target controlled device, solving the problem that users need to operate multiple devices separately and realizing convenient multi-device control.

CN121509474APending Publication Date: 2026-02-10SHENZHEN LUMIUNITED TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202512057201.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-31
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Users need to operate multiple controlled devices separately, resulting in poor control convenience.

Method used

By triggering a control operation on the control device, the target controlled device is determined from the controlled devices associated with the control device according to the control operation, and the control command is sent to the target controlled device to execute the corresponding action.

Benefits of technology

It enables simultaneous control of multiple controlled devices, enhancing the user's control convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121509474A_ABST
    Figure CN121509474A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment control method, an equipment association method and device and electronic equipment, and relates to the technical field of equipment control. The method comprises the following steps: in response to a control operation triggered on a control device, determining at least one target controlled device in at least one controlled device associated with the control device according to the control operation; and a control instruction corresponding to the control operation is issued to each target controlled device, so that each target controlled device executes an action corresponding to the control instruction. By adopting the method, the control convenience of the controlled equipment can be enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of equipment control technology, and in particular to an equipment control method, equipment association method, apparatus, electronic device, computer-readable storage medium, and computer program product. Background Technology

[0002] Typically, different controlled devices correspond to different control devices. For example, each smart lock kit includes a smart lock and a recognition device. For each smart lock kit, the user needs to use the recognition device within the kit to perform fingerprint recognition, password recognition, NFC (Near Field Communication) card recognition, facial recognition, etc., in order to control the smart lock within the kit. Therefore, when a user needs to control multiple controlled devices, they need to operate each of the multiple control devices separately, resulting in poor user convenience in controlling the controlled devices. Summary of the Invention

[0003] Therefore, it is necessary to address the aforementioned technical problem of poor control convenience of the controlled equipment by providing a device control method, device association method, apparatus, electronic device, computer-readable storage medium, and computer program product that can enhance control convenience.

[0004] In a first aspect, this application provides a device control method, comprising:

[0005] In response to a control operation triggered on a control device, at least one target controlled device is determined from at least one controlled device associated with the control device according to the control operation;

[0006] The control command corresponding to the control operation is sent to each of the target controlled devices so that each of the target controlled devices performs the action corresponding to the control command.

[0007] Secondly, this application also provides a device association method, including:

[0008] A control device page displays the control device; the control device page includes at least one device component to be associated with a device; the device to be associated with a device is a device that can be associated with the control device.

[0009] The control device is instructed to associate with the selected first target device component to which the device to be associated belongs, thereby obtaining at least one controlled device associated with the control device; the first target device component is at least one of the devices to be associated.

[0010] The control device is configured to respond to a control operation triggered on the control device, determine at least one target controlled device among the controlled devices according to the control operation, and send a control command corresponding to the control operation to each target controlled device so that each target controlled device performs an action corresponding to the control command.

[0011] Thirdly, this application also provides a device control apparatus, comprising:

[0012] A device determination module is configured to, in response to a control operation triggered on a control device, determine at least one target controlled device among at least one controlled device associated with the control device, based on the control operation.

[0013] The device control module is used to send control commands corresponding to the control operation to each of the target controlled devices, so that each of the target controlled devices can perform the action corresponding to the control command.

[0014] Fourthly, this application also provides a device association apparatus, comprising:

[0015] The component display module is used to display the control device page of the control device; the control device page includes at least one device component to be associated with a device to be associated with; the device to be associated with a device is a device that can be associated with the control device.

[0016] The device association module is used to instruct the control device to associate with the selected first target device component to which the device to be associated belongs, thereby obtaining at least one controlled device associated with the control device; the first target device component is at least one of the device components to be associated.

[0017] The control device is configured to respond to a control operation triggered on the control device, determine at least one target controlled device among the controlled devices according to the control operation, and send a control command corresponding to the control operation to each target controlled device so that each target controlled device performs an action corresponding to the control command.

[0018] Fifthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described device control method or device association method.

[0019] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described device control method or device association method.

[0020] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described device control method or device association method.

[0021] The aforementioned device control method, device association method, apparatus, computer device, computer-readable storage medium, and computer program product, in response to a control operation triggered on a control device, determine at least one target controlled device among at least one controlled device associated with the control device according to the control operation; and issue a control command corresponding to the control operation to each target controlled device so that each target controlled device performs an action corresponding to the control command. Based on this application, by determining at least one target controlled device among at least one controlled device associated with the control device, and by issuing a control command to each target controlled device so that each target controlled device performs an action corresponding to the control command, simultaneous control of multiple controlled devices can be achieved, thus enhancing the user's convenience in controlling the controlled devices. Attached Figure Description

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

[0023] Figure 1 This is an application environment diagram of the device control method in one embodiment;

[0024] Figure 2 This is a flowchart illustrating a device control method in one embodiment;

[0025] Figure 3 This is a flowchart illustrating the device control method in another embodiment;

[0026] Figure 4 This is a schematic diagram of a control device page in one embodiment;

[0027] Figure 5 This is a schematic diagram illustrating the display of the corresponding associated result message on the control device page in one embodiment;

[0028] Figure 6 This is a schematic diagram illustrating the display of associated progress prompt information on a control device page in one embodiment.

[0029] Figure 7 This is a schematic diagram illustrating the display of associated operation prompts on a control device page in one embodiment.

[0030] Figure 8 This is a flowchart illustrating the steps for configuring trigger information restrictions in one embodiment;

[0031] Figure 9 This is a schematic diagram illustrating the setting of trigger information restrictions in one embodiment;

[0032] Figure 10 This is a flowchart illustrating the steps for configuring trigger object restrictions in one embodiment;

[0033] Figure 11 This is a schematic diagram illustrating the setting of trigger object restrictions in one embodiment;

[0034] Figure 12 This is an application environment diagram of a smart home system in one embodiment;

[0035] Figure 13 This is a structural block diagram of the device control apparatus in one embodiment;

[0036] Figure 14 This is a structural block diagram of the device association device in one embodiment;

[0037] Figure 15 This is a schematic diagram of the device control system in one embodiment;

[0038] Figure 16 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation

[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0040] It is understood that terms such as "first" and "second" in this application are used only to distinguish similar objects and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. The term "connection" in the embodiments of this application refers to various connection methods, such as direct or indirect connections, to achieve communication between devices; this application does not impose any limitations on this.

[0041] It is understandable that "at least one" refers to one or more, while "multiple" refers to two or more.

[0042] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0043] It should be noted that the user information (including but not limited to user device information, user personal information, such as control device information, controlled device information, user information on the control device, user information on the controlled device, user information on the controlled device, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with relevant regulations.

[0044] Typically, different controlled devices correspond to different control devices. For example, each smart lock kit includes a smart lock and a recognition device, such as a keypad. For each smart lock kit, the user needs to use the recognition device within the kit for fingerprint recognition, password recognition, NFC (Near Field Communication) card recognition, facial recognition, etc., to control the smart lock within the kit. Therefore, when a user needs to control multiple controlled devices, they need to operate each device separately, resulting in poor user convenience in controlling the devices.

[0045] To address the aforementioned issues, this application proposes a method that, in response to a control operation triggered on a control device, at least one target controlled device is determined from at least one controlled device associated with the control device based on the control operation; and a control command corresponding to the control operation is sent to each target controlled device to cause each target controlled device to perform an action corresponding to the control command. Based on this application, by determining at least one target controlled device from at least one controlled device associated with the control device, and by sending control commands to each target controlled device to cause each target controlled device to perform an action corresponding to the control command, simultaneous control of multiple controlled devices can be achieved, thus enhancing the user's convenience in controlling the controlled devices.

[0046] The device control method provided in this application embodiment can be applied to, for example, Figure 1The application environment shown includes a terminal device 102 and a smart device 104 communicatively connected to the terminal device 102. The number of terminal devices 102 and smart devices 104 can be at least one. In specific applications, such as... Figure 1 The application environments shown can be, but are not limited to, smart home systems or industrial IoT systems.

[0047] The following explanation uses an application in a smart home system as an example.

[0048] Among them, terminal device 102 refers to the terminal used by the user, which may include smart interactive terminals such as smartphones, large screens, TVs, central control screens, personal computers (PCs), tablets, and personal digital assistants (PDAs).

[0049] Among them, smart devices 104 may include various smart home devices installed in indoor spaces, including but not limited to smart door lock sets including smart door locks and recognition devices, smart windows, smart curtains, smart lamps, smart clothes racks, smart TVs, smart speakers, smart air conditioners, smart fans, smart refrigerators, smart sockets, smart switches, smart sensor devices, etc. The smart sensor devices include but are not limited to light sensors, temperature and humidity sensors, sound sensors, infrared sensors, door magnetic sensors, PM2.5 sensors, gas concentration sensors, human body sensors, millimeter-wave radar, etc.

[0050] Optionally, the terminal device 102 can provide an intuitive visual interface, allowing users to view the controllable smart device 104 within the interface. For example, a user can quickly and accurately select a smart device 104 to be controlled in the interface and perform control operations on it. Based on the user's selection and specific control operations, the terminal device 102 controls the smart device 104 through a communication connection with it.

[0051] In this embodiment, the smart home system may further include a gateway 106 that is communicatively connected to the terminal device 102 and the smart device 104. The number of gateways 106 may be at least one.

[0052] In some implementations, gateway 106 can be an intelligent gateway capable of controlling intelligent device 104, enabling functions such as system information collection, information input, information output, centralized control, remote control, and linkage control. Gateway 106 can be responsible for specific security alarms, home appliance control, and electricity consumption information collection. Gateway 106 can also wirelessly interact with products such as intelligent interactive terminals. Gateway 106 also possesses wireless routing capabilities, excellent wireless performance, network security, and coverage.

[0053] In some implementations, the smart device 104 connected to the gateway 106 can interact with the gateway 106 to exchange information and commands. The gateway 106 and the smart device 104 can be connected via communication methods such as Bluetooth, WiFi (Wireless-Fidelity), and ZigBee. Of course, the connection method between the gateway 106 and the smart device 104 is not specifically limited in this embodiment.

[0054] In this embodiment, the smart home system may further include a server 108 that is communicatively connected to the gateway 106. The server 108 may be a local server, a cloud server, or other server. The server 108 may be implemented using a standalone server or a server cluster composed of multiple servers. The specific type of server is not limited in this embodiment.

[0055] In some implementations, the server 108 connected to the gateway 106 can exchange information with the gateway 106 wirelessly. Gateways 106 located in different indoor spaces can all communicate with the same server 108 via a network to exchange information between the server 108 and the gateway 106.

[0056] In some implementations, the terminal device 102 can interact with the server 108 via wireless methods such as 2G / 3G / 4G / 5G / WiFi. Of course, the connection method between the terminal device 102 and the server 108 is not limited in this embodiment.

[0057] In this embodiment of the application, the smart home system may further include a router 110 that is communicatively connected to the gateway 106.

[0058] In some implementations, terminal device 102 can also be used to interact with users, facilitating wireless communication between users and gateway 106 via router 110. Additionally, users can add account information to both gateway 106 and terminal device 102, enabling information synchronization between the two devices.

[0059] In one embodiment, a user can set different trigger scenarios or automated linkages through an application (App) of the smart home system running on the terminal device 102. As one approach, the terminal device 102 can upload scene configuration information or automation schemes to the server 108. When the trigger conditions of the trigger scenario or automation are met, the server 108 can find the device corresponding to the execution action in the stored scene configuration information or automation scheme, and notify the device to perform the action to satisfy the execution result of the trigger scenario or automation. Alternatively, the server 108 can also send the scene configuration information or automation schemes to the gateway 106, which can then find the device corresponding to the execution action in the stored scene configuration information or automation scheme. Simultaneously, the gateway 106 can feed back the device's execution status to the server 108.

[0060] For example, such as Figure 1 The LAN path shown indicates that terminal device 102 is in the same LAN as router 110 and gateway 106, while the WAN path indicates that terminal device 102 is not in the same LAN as router 110 and gateway 106. Specifically, when terminal device 102 is in the same LAN as router 110 and gateway 106, terminal device 102 can access the WAN path as shown below. Figure 1 The local area network path shown interacts with gateway 106 and smart device 104 connected to gateway 106; it can also be accessed through, for example... Figure 1 The wide area network path shown interacts with gateway 106 and smart device 104 connected to gateway 106. When terminal device 102 is not in the same local area network as router 110 and gateway 106, terminal device 102 can interact via, as shown in... Figure 1 The wide area network path shown interacts with gateway 106 and smart device 104 connected to gateway 106.

[0061] In another implementation, the smart device 104 may not be connected to the gateway 106, but can directly establish a connection with the terminal device 102 via wireless communication (such as ZigBee or Bluetooth) to transmit data. It should be noted that in the embodiments of this application, the terminal device 102 can send control commands to the smart device 104, thereby controlling the operation of the smart device 104.

[0062] In another implementation, the smart devices 104 can communicate with each other directly via wireless communication methods (such as ZigBee or Bluetooth) instead of through the gateway 106. It should be noted that in the embodiments of this application, the smart devices 104 can send control commands to each other to control each other's operation.

[0063] In one embodiment, such as Figure 2 As shown, a device control method is provided. This method is applicable to controlling devices, and the control device can be as follows: Figure 1 The system shown includes smart devices, terminal devices, gateways, servers, etc. In some embodiments, the control device is an identification device in a smart door lock kit; see reference. Figure 2 In this embodiment, the method includes the following steps:

[0064] Step S202: In response to a control operation triggered on the control device, at least one target controlled device is determined among at least one controlled device associated with the control device according to the control operation.

[0065] Among them, the controlled equipment is such as Figure 1 The system shown includes intelligent devices; for example, the controlled devices include, but are not limited to, smart door locks, smart windows, smart curtains, smart lights, smart clothes racks, smart TVs, smart speakers, smart air conditioners, smart fans, smart refrigerators, smart sockets, smart switches, smart sensor devices, etc.

[0066] The control device and the controlled device form a set of intelligent devices for use together. For example, taking a smart door lock set as an example, the control device is the identification device and the controlled device is the smart door lock. Another example is a smart TV set, where the control device is the TV remote control and the controlled device is the smart TV. Furthermore, the control device and the associated controlled device can belong to different smart device sets. For example, the control device is identification device A in smart door lock set A, which can be associated with smart door lock A in smart door lock set A, or with smart door locks in other smart door lock sets.

[0067] Among them, the control operation triggered on the control device refers to the control operation triggered on the control device itself, such as the control operation triggered on the physical button or physical knob on the control device.

[0068] The target controlled device is the controlled device to be controlled in accordance with the control operation.

[0069] In this step, the control device responds to a control operation triggered on the control device body, performs an access control operation, and determines at least one target controlled device among the controlled devices associated with the control device based on the access control operation result.

[0070] Step S204: The control command corresponding to the control operation is sent to each target controlled device so that each target controlled device performs the action corresponding to the control command.

[0071] In this step, the control device generates control commands corresponding to the control operation and simultaneously sends the control commands to each target controlled device; each target controlled device responds to the control commands sent by the control device and executes the corresponding action, thereby realizing the linkage control of multiple controlled devices.

[0072] In practical applications, each target controlled device needs to perform the same action. Therefore, each target controlled device is a smart device of the same type. For example, each target controlled device is a smart door lock, or a smart lamp. Furthermore, each target controlled device is a smart device of the same product model.

[0073] Taking the identification device A in smart lock kit A as the control device, and the target controlled devices including smart lock A in smart lock kit A and smart lock B in smart lock kit B as an example, if the user performs an unlocking operation on the identification device A, the identification device A sends an unlocking command to both smart lock A and smart lock B. Both smart lock A and smart lock B respond to the unlocking command sent by the identification device A and perform the unlocking action.

[0074] In the aforementioned device control method, the control device responds to a control operation triggered on the control device, and, based on the control operation, determines at least one target controlled device among at least one controlled device associated with the control device; then, it sends a control command corresponding to the control operation to each target controlled device, causing each target controlled device to perform an action corresponding to the control command. Based on this application, by determining at least one target controlled device among at least one controlled device associated with the control device, and by sending control commands to each target controlled device so that each target controlled device performs an action corresponding to the control command, simultaneous control of multiple controlled devices can be achieved, thus enhancing the user's convenience in controlling the controlled devices.

[0075] In one embodiment, determining at least one target controlled device among at least one controlled device associated with the control device, based on a control operation, includes the following steps:

[0076] Obtain trigger information for initiating control operations; determine each target controlled device from among the controlled devices based on the trigger information.

[0077] Triggering information refers to information used to trigger control operations on the control device. Taking the identification device in the smart door lock kit as an example, triggering information refers to the credential information entered on the control device, including but not limited to passwords, facial recognition, fingerprints, NFC (Near Field Communication) information, etc.

[0078] In this embodiment, the control device acquires trigger information for triggering the control operation, performs permission verification on the control operation based on the trigger information, and then determines the controlled devices that are allowed to be controlled from among the controlled devices based on the permission verification results, thereby obtaining each target controlled device.

[0079] In this embodiment, the control device can identify the controlled device that is allowed to be controlled as the target controlled device by triggering information.

[0080] In some embodiments, the above steps, including obtaining trigger information for triggering control operations, include obtaining trigger information when the control operation requires a higher level of access privilege.

[0081] In this embodiment, the control device determines the operation permission required for the control operation. If the required operation permission is high, the control device obtains trigger information and determines the target controlled device based on the trigger information. If the required operation permission is low, the control device determines all controlled devices as the target controlled device.

[0082] Taking the identification device in the smart lock kit as the control device and the smart lock in the smart lock kit as the target controlled device, if the control operation is an unlocking operation, the identification device obtains the trigger information and determines the smart lock to be controlled based on the trigger information. If the control operation is a locking operation, the identification device determines all associated smart locks as the smart locks to be controlled.

[0083] In one embodiment, before determining each target controlled device from each controlled device based on the trigger information as described above, the following step is further included:

[0084] Determine whether the trigger information matches the preset trigger information bound to the control device; if they match, then execute the step of determining each target controlled device from each controlled device based on the trigger information.

[0085] In this system, the user has pre-bound at least one preset trigger information to the control device. The preset trigger information is information that grants the control device triggering permission, which is the permission to trigger the control device to control the controlled device. Taking the control device as the identification device in the smart lock kit and the controlled device as the smart lock in the smart lock kit as an example, the preset trigger information is the password, face, fingerprint, NFC (Near Field Communication) information, etc., that the user has pre-recorded and that allows the smart lock to be controlled through the identification device.

[0086] In this embodiment, the control device first determines whether there is a target trigger information that matches the trigger information among the preset trigger information bound to the control device. If there is a target trigger information, the control device determines each target controlled device from each controlled device according to the trigger information.

[0087] In this embodiment, by matching the trigger information with the preset trigger information, the control device can determine whether the trigger information has the authority to trigger the control device; when the trigger information matches the preset trigger information, the control device can determine the target controlled device, thus ensuring control security.

[0088] In one embodiment, the above step of determining each target controlled device from each controlled device based on the trigger information includes the following steps:

[0089] Among the controlled devices, identify the uncontrollable controlled devices that are pre-configured for the trigger information, and designate the other controlled devices besides the uncontrollable controlled devices as target controlled devices; or, among the controlled devices, identify the controllable controlled devices that are pre-configured for the trigger information, and designate the controllable controlled devices as target controlled devices.

[0090] Users can configure corresponding uncontrollable or controllable devices for preset trigger information. Uncontrollable devices for preset trigger information refer to controlled devices restricted from control based on that preset trigger information, i.e., devices not allowed to be controlled by that preset trigger information. Controllable devices for preset trigger information refer to controlled devices allowed to be controlled based on that preset trigger information, i.e., devices permitted to be controlled by that preset trigger information. In practical applications, by configuring corresponding uncontrollable or controllable devices for preset trigger information, the preset trigger information can be restricted to controlling only certain controlled devices. For example, if the control device is the identification device in a smart lock kit, and the controlled device is the smart lock itself, a user can set a unique password for a housekeeper, specifying that this password cannot open the bedroom door lock (i.e., configuring the corresponding uncontrollable device) or that the password can only open the main door lock (i.e., configuring the corresponding controllable device).

[0091] In this embodiment, the control device determines, among the controlled devices, the uncontrollable controlled device that is pre-configured for the target trigger information that matches the trigger information, and then determines the other controlled devices among the controlled devices other than the uncontrollable controlled devices as the target controlled devices.

[0092] Alternatively, the control device may identify, among the controlled devices, a controllable controlled device pre-configured for the target trigger information that matches the trigger information, and then designate the controllable controlled device as the target controlled device.

[0093] Taking the identification device A in smart lock kit A as the control device, and the controlled devices including smart lock A in smart lock kit A, smart lock B in smart lock kit B, and smart lock C in smart lock kit C as an example; assuming a user sets smart lock B as an uncontrollable controlled device for a certain entered password, then when the password is entered into identification device A, identification device A will only identify smart lock A and smart lock C as the target controlled devices; assuming a user sets smart lock B as a controllable controlled device for a certain entered password, then when the password is entered into identification device A, identification device A will only identify smart lock B as the target controlled device.

[0094] In this embodiment, by configuring corresponding uncontrollable or controllable devices for preset trigger information, the preset trigger information can only control some of the controlled devices, thereby achieving trigger information restriction and further improving control security.

[0095] In one embodiment, the above step of determining each target controlled device from each controlled device based on the trigger information includes the following steps:

[0096] Among all controlled devices, identify the uncontrollable controlled devices pre-configured for the target triggering object, and designate the other controlled devices besides the uncontrollable controlled devices as the target controlled devices; or, among all controlled devices, identify the controllable controlled devices pre-configured for the target triggering object, and designate the controllable controlled devices as the target controlled devices.

[0097] The target triggering object refers to the object that triggers the control operation by inputting trigger information on the controlled device. Taking the identification device in the smart lock kit as the control device and the smart lock in the smart lock kit as the controlled device, the target triggering object refers to the password, face, fingerprint, NFC (Near Field Communication) information, etc., entered on the identification device.

[0098] In this system, the user pre-binds at least one preset trigger object to the control device. The preset trigger object is an object that has trigger permission to the control device. The trigger permission is the permission to trigger the control device to control the controlled device. The user also configures corresponding preset trigger information for the preset trigger object. Taking the control device as the identification device in the smart lock kit and the controlled device as the smart lock in the smart lock kit as an example, the preset trigger object is an object that the user has pre-recorded and is allowed to control the smart lock through the identification device. The user also configures corresponding password, face, fingerprint, and NFC (Near Field Communication) information for the preset trigger object.

[0099] The target triggering object is determined based on the triggering information. Taking the control device as the identification device in the smart lock kit and the controlled device as the smart lock in the smart lock kit as an example, when the control device receives the triggering information, it determines the target triggering information that matches the triggering information in the preset triggering information, and then determines the preset triggering object corresponding to the target triggering information as the target triggering object.

[0100] Users can configure corresponding uncontrollable or controllable devices for preset trigger objects. Uncontrollable devices for preset trigger objects refer to controlled devices that restrict control based on the preset trigger object, i.e., devices that are not allowed to be controlled by the preset trigger object. Controllable devices for preset trigger objects refer to controlled devices that allow control based on the preset trigger object, i.e., devices that are allowed to be controlled by the preset trigger object. In practical applications, by configuring corresponding uncontrollable or controllable devices for preset trigger objects, the preset trigger object can only control certain controlled devices. For example, if the control device is the identification device in the smart lock kit, and the controlled device is the smart lock in the smart lock kit, the user can set that the housekeeper cannot open the bedroom door (i.e., configure the corresponding uncontrollable device) or set that the housekeeper can only open the main door (i.e., configure the corresponding controllable device).

[0101] In this embodiment, the control device first determines the target triggering object based on the triggering information; then, among each controlled device, the control device determines the uncontrollable controlled device that has been pre-configured for the target triggering object, and then determines the other controlled devices among each controlled device except for the uncontrollable controlled devices as the target controlled devices.

[0102] Alternatively, the control device may identify, among the controlled devices, a controllable controlled device pre-configured for the target triggering object, and then designate the controllable controlled device as the target controlled device.

[0103] Taking the identification device A in smart lock kit A as the control device, and the controlled devices including smart lock A in smart lock kit A, smart lock B in smart lock kit B, and smart lock C in smart lock kit C as an example; assuming a user sets smart lock B as an uncontrollable controlled device for a certain object, then when the object triggers a control operation through identification device A, identification device A will only identify smart lock A and smart lock C as the target controlled devices; assuming a user sets smart lock B as a controllable controlled device for a certain object, then when the object triggers a control operation through identification device A, identification device A will only identify smart lock B as the target controlled device.

[0104] In this embodiment, by configuring corresponding uncontrollable or controllable devices for the preset triggering object, the preset triggering object can only control some of the controlled devices, thereby achieving triggering object restriction and further improving control security.

[0105] In one embodiment, before determining each target controlled device from each controlled device based on the trigger information as described above, the following step is further included:

[0106] Based on the trigger information, the target trigger object for triggering the control operation is determined from the preset trigger objects bound to the control device.

[0107] Among them, the preset trigger object is an object that has trigger permission to control the control device. The trigger permission is the permission to trigger the control device to control the controlled device. In practical applications, the user pre-binds at least one preset trigger object to the control device and configures corresponding preset trigger information for the preset trigger object.

[0108] In this embodiment, the control device first determines whether there is a target trigger information that matches the trigger information among the preset trigger information bound to the control device. If there is a target trigger information, the control device determines the preset trigger object corresponding to the target trigger information as the target trigger object corresponding to the trigger control operation.

[0109] In this embodiment, by means of the correspondence between preset trigger information and preset trigger objects, the control device can determine whether the trigger object corresponding to the trigger information has the triggering permission to the control device, and determine the target trigger object for triggering the control operation from the preset trigger objects.

[0110] In one embodiment, step S204 above, which involves sending the control command corresponding to the control operation to each target controlled device, includes the following steps:

[0111] Control commands and trigger information for triggering control operations are sent to each target controlled device so that each target controlled device can determine whether the trigger information or the target trigger object corresponding to the trigger information has the authority to control each target controlled device to execute the action corresponding to the control command, and / or establish and record the correspondence between the trigger information and the action executed corresponding to the control command.

[0112] In this embodiment, the control device sends control commands and trigger information to each target controlled device. In some embodiments, each target controlled device determines whether the trigger information or the target trigger object corresponding to the trigger information has the authority to control each target controlled device to execute the action corresponding to the control command; for example, the target controlled device determines whether it is an uncontrollable or controllable device pre-configured for the trigger information or the target trigger object. If it is an uncontrollable device, it does not execute the action corresponding to the control command; if it is a controllable device, it executes the action corresponding to the control command. In some embodiments, after executing the action corresponding to the control command, each target controlled device also establishes and records the correspondence between the trigger information and the executed action corresponding to the control command, so that users can view the control records of the target controlled devices later.

[0113] In this embodiment, by determining whether the target controlled device is an uncontrollable or controllable controlled device pre-configured for the trigger information or the target trigger object, it can accurately determine whether it needs to perform an action under the limitations of the trigger information or the trigger object, thereby further improving the security of control. In addition, by establishing and recording the correspondence between the trigger information and the actions performed in accordance with the control instructions, it is convenient for users to view the control records of the target controlled device later.

[0114] In one embodiment, before determining at least one target controlled device among at least one controlled device associated with the control device in response to a control operation triggered on the control device in step S202, the following step is further included:

[0115] Identify at least one bound control device to which the control device is bound; for each bound control device, obtain the device configuration information of the bound control device and associate it with each associated controlled device, so as to control each associated controlled device according to the device configuration information of the bound control device.

[0116] In this context, the bound control device refers to other control devices bound to the control device. These control devices are from other smart device suites besides the smart device suite to which the control device belongs. In other words, in this embodiment, control devices from different smart device suites can be bound to each other.

[0117] Similar to control devices, a bound control device is associated with at least one corresponding associated controlled device.

[0118] The device configuration information for each control device includes, but is not limited to, the preset trigger information and preset trigger objects configured by the user for the control device, other settings of the user for the control device, and other settings of the user for the controlled devices associated with the control device.

[0119] In this embodiment, the control device identifies the bound control device and obtains its device configuration information from the bound control device. Then, the control device associates with the associated controlled device of the bound control device so that the associated controlled device can be controlled according to the device configuration information of the bound control device.

[0120] Taking the identification device in a smart lock kit as the control device and the smart lock in the kit as the controlled device, let's assume there are smart lock kits A and B. Identification device A in smart lock kit A is associated with smart lock A within smart lock kit A, and identification device B in smart lock kit B is associated with smart lock B within smart lock kit B. If a user binds identification device A to identification device B, then identification device A can automatically associate with smart lock B. Therefore, the user can control both smart locks A and B simultaneously based on identification device A. Similarly, identification device B can automatically associate with smart lock A. Therefore, the user can control both smart locks A and B simultaneously based on identification device B.

[0121] In this embodiment, the control device can be quickly associated with other controlled devices in the smart device suite, and multiple control devices can share device configuration information, reducing the repetitive operations of users in associating controlled devices and configuring device configuration information.

[0122] In one embodiment, before determining at least one target controlled device among at least one controlled device associated with the control device in response to a control operation triggered on the control device in step S202, the following step is further included:

[0123] Identify at least one bound controlled device for each controlled device; associate each bound controlled device; for each bound controlled device, if it is detected that the bound controlled device is pre-configured with an associated control device, obtain the device configuration information of the associated control device from the associated control device, so as to control the bound controlled device according to the device configuration information of the associated control device, and / or, send the device configuration information of the control device to the associated control device so that the associated control device controls the bound controlled device according to the device configuration information of the control device.

[0124] In this context, the bound controlled device refers to other controlled devices bound to the controlled device, such as controlled devices in other smart device kits besides the smart device kit to which the controlled device belongs. That is, in this embodiment, controlled devices in different smart device kits can be bound to each other.

[0125] Among them, the associated control device is another controlled device associated with the bound controlled device. For example, the bound controlled device is associated with the control device in the smart device suite to which it belongs.

[0126] In this embodiment, the control device determines and associates with the bound controlled device of its associated controlled device. If it detects that the bound controlled device is pre-associated with a corresponding associated control device, the control device obtains its device configuration information from the associated control device, especially the device configuration information related to the bound controlled device, so as to control the bound controlled device according to the device configuration information of the associated control device. And / or, the control device sends its own device configuration information, especially the device configuration information related to the bound controlled device, to the associated control device so as to control the bound controlled device according to its own device configuration information.

[0127] Taking the identification device in a smart lock kit as the control device and the smart lock in the kit as the controlled device as the controlled device, assume there are existing smart lock kits A and B. Identification device A in smart lock kit A is associated with smart lock A in smart lock kit A, and identification device B in smart lock kit B is associated with smart lock B in smart lock kit B. If a user binds smart lock A and smart lock B, then identification device A can automatically associate with smart lock B. Therefore, the user can control both smart lock A and smart lock B simultaneously based on identification device A. Similarly, identification device B can automatically associate with smart lock A. Therefore, the user can control both smart lock A and smart lock B simultaneously based on identification device B.

[0128] In this embodiment, the control device can be quickly associated with other controlled devices in the smart device suite, and multiple control devices can share device configuration information, reducing the repetitive operations of users in associating controlled devices and configuring device configuration information.

[0129] In one embodiment, this application also provides a device association method. For specific limitations in one or more device association method embodiments provided below, please refer to the limitations of the device control method above, which will not be repeated here.

[0130] In this embodiment, as Figure 3As shown, a device association method is provided. This method is applicable to electronic devices, which may be control devices or other devices. Figure 1 The terminal device in the intelligent system shown includes the following steps:

[0131] Step S302: Display the control device page of the control device; the control device page includes at least one device component to be associated with the device to be associated with.

[0132] In some embodiments, the control device page includes multiple pages, such as a main page and multiple sub-pages. By triggering operations on various components in the control device page, such as click operations, selection operations, control operations, long press operations, etc., the control device page will jump between the multiple pages.

[0133] Among them, the devices to be associated are those that can be associated with the control devices.

[0134] In this step, in response to a controlled device configuration operation, the electronic device displays a control device page including a device component to be associated with at least one device; taking the identification device in a smart lock kit as an example, such as... Figure 4 The image shown is a schematic diagram of the control device page.

[0135] Step S304: Instruct the control device to associate with the selected first target device component to which it belongs, thereby obtaining at least one controlled device associated with the control device.

[0136] The first target device component is at least one of the device components to be associated.

[0137] The control device is used to respond to a control operation triggered on the control device, determine at least one target controlled device among the controlled devices according to the control operation, and send the control command corresponding to the control operation to each target controlled device so that each target controlled device performs the action corresponding to the control command.

[0138] In this step, the user can select from the various devices to be associated according to the association requirements and select the corresponding device component to be associated. The electronic device will determine the selected device component to be associated as the first target device component and instruct the control device to associate with the device to which the first target device component belongs, thereby obtaining the controlled device associated with the control device.

[0139] In this embodiment, the electronic device facilitates the user's selection of the device to be associated with the control device by displaying at least one device component that can be associated with the control device.

[0140] In one embodiment, before step S304 above, instructing the control device to associate with the selected first target device component to which it belongs, the following steps are further included:

[0141] Establish a communication channel between the control device and the device to be associated with the first target device component.

[0142] Step S304 above, which instructs the control device to associate with the selected first target device component to which it belongs, includes the following steps: instructing the control device to associate with the device to be associated through a communication channel.

[0143] Among them, the control device is used to communicate with the device to be associated through a communication channel after the device to be associated becomes a controlled device, for example, by sending control commands.

[0144] The communication channels include, but are not limited to, Bluetooth communication channels, WiFi communication channels, ZigBee communication channels, and Thread communication. That is, the control device and the controlled device can communicate through communication methods such as Bluetooth communication, WiFi communication, ZigBee communication, and Thread communication. In practical applications, the communication channel between the control device and the controlled device is the BLE (Bluetooth Low Energy) communication channel to achieve low-power, low-latency communication between the control device and the controlled device.

[0145] In this embodiment, the electronic device establishes a communication channel between the control device and the device to be associated, to which the first target device component belongs. Then, the electronic device instructs the control device to associate with the device to be associated through the communication channel.

[0146] In some embodiments, during the association process between the control device and the device to be associated, the electronic device will also display a corresponding association result message on the control device page based on the association result. For example, if the association fails, the electronic device will display an association failure message on the control device page, which informs the control device that the association with the device to be associated has failed. If the association succeeds, the electronic device will display an association success message on the control device page, which informs the control device that the association with the device to be associated has succeeded. In practical applications, association failure may occur if the control device or the device to be associated does not meet the preset association conditions, the communication channel establishment times out, the first distance between the control device and the device to be associated is greater than or equal to the preset first distance, or the second distance between the control device and the device to be associated is greater than or equal to the preset distance. The preset association conditions include power conditions and association status conditions. The power condition refers to the remaining available power of the smart device being greater than or equal to a preset power threshold. The association status condition refers to the association status of the smart device being unassociated, meaning that the device is not associated with other smart devices to achieve linkage control. For example, taking the identification device in a smart door lock kit as an example, such as... Figure 5 The image shows a diagram illustrating the display of the corresponding associated result messages on the control device page.

[0147] In this embodiment, the electronic device can obtain the controlled device associated with the control device by establishing a communication channel between the control device and the device to be associated, and by associating the control device and the device to be associated through the communication channel.

[0148] In one embodiment, the above steps, establishing a communication channel between the control device and the device to be associated with the first target device component, include the following steps:

[0149] The system issues association commands to the control device and the device to be associated; the control device, in response to the association command, performs a broadcast signal scan based on the device identifier of the device to be associated; the device to be associated, in response to the association command, sends an association broadcast signal.

[0150] Among them, the device identifier of a smart device is information that can uniquely identify a smart device.

[0151] The association command sent to the control device carries the device identifier of the device to be associated.

[0152] Among them, the associated broadcast signal refers to the broadcast signal issued by the device to be associated, which indicates that it is waiting to be associated.

[0153] In this embodiment, the electronic device sends an association command to the control device and the device to be associated; the device to be associated responds to the association command sent by the electronic device by emitting an association broadcast signal; the control device, in response to the association command sent by the electronic device carrying the device identifier of the device to be associated, performs a broadcast signal scan to detect the association broadcast signal emitted by the device to be associated, and establishes a communication channel based on the detected association broadcast signal. In practical applications, association failure may also occur if the association broadcast signal scan times out.

[0154] In some embodiments, the electronic device may also display association progress information on the control device page to inform the user that the control device and the device to be associated are being associated. The association progress information is used to inform the user that the electronic device is associating with the control device and the device to be associated. For example, taking the identification device in a smart lock kit as an example, the control device may be... Figure 6 The image shown is a schematic diagram illustrating the display of associated progress information on the control device page.

[0155] In this embodiment, the association command enables the device to be associated to send an association broadcast signal and enables the control device to perform broadcast signal scanning. At the same time, the broadcast signal scanning command carrying the device identifier of the device to be associated ensures that the control device can correctly scan the association broadcast signal sent by the device to be associated.

[0156] In one embodiment, the device to be associated sends an association broadcast command when the device body (e.g., a physical button or knob on the device to be associated) is triggered.

[0157] In one embodiment, the above steps, establishing a communication channel between the control device and the device to be associated with the first target device component, include the following steps:

[0158] On the control device page, association operation prompts are displayed for the device to be associated, prompting the device to be associated to trigger an operation. The device to be associated responds to the trigger operation by sending an association broadcast signal. The control device scans for broadcast signals based on the device identifier of the device to be associated. If the control device detects that an association broadcast signal has been scanned, a communication channel is established.

[0159] The associated operation prompts are used to guide users to trigger an operation on the device to be associated, thereby inducing the device to issue an associated broadcast signal. In practical applications, triggering the device can be done through the device itself, such as physical buttons or knobs, or through corresponding components on the device's interface. For example, if the device to be associated is a smart lock in a smart lock kit... Figure 7The image shown illustrates the display of associated operation prompts on the control device page. (See attached image.) Figure 7 The association operation prompt message instructs the user to trigger the associated broadcast signal by pressing the set button on the device to be associated.

[0160] In this embodiment, after the electronic device determines that it has a device to be associated, it displays association operation prompts for the device on the control device page. These prompts indicate that the device needs to be associated to trigger an association broadcast signal. For example, if the device to be associated is a smart lock in a smart lock kit, then... Figure 7 The image shown illustrates the display of associated operation prompts on the control device page. (See attached image.) Figure 7 The association operation prompt message instructs the user to trigger the associated broadcast signal by pressing the set button on the device to be associated.

[0161] Furthermore, in this embodiment, while displaying the associated operation prompt information, refer to... Figure 7 The electronic device also displays a trigger confirmation component for the device to be associated on the control device page. After the user completes the trigger operation for the device to be associated, the user confirms the confirmation component to confirm that the trigger operation for the device to be associated has been completed. In response to the user's confirmation operation for the confirmation component, the electronic device sends a broadcast signal scanning command carrying the device identifier of the device to be associated to the control device, so that the control device performs a broadcast signal scan based on the device identifier of the device to be associated in order to scan for the associated broadcast signal emitted by the device to be associated.

[0162] In this embodiment, the electronic device can display association operation prompts to guide the user to perform the next operation, so that the user can smoothly associate the control device with the device to be associated.

[0163] In the above steps, establishing a communication channel between the control device and the device to be associated with the first target device component includes the following steps: On the control device page, display association operation prompts for the control device and the device to be associated, prompting for triggering operations on the control device and the device to be associated; The device to be associated is used to send an association broadcast signal in response to the triggering operation on the device to be associated; The control device is used to scan for broadcast signals in response to the triggering operation on the control device; If an association broadcast signal is detected, a communication channel is established with the device that sent the scanned association broadcast signal.

[0164] In one embodiment, such as Figure 8 As shown, after obtaining at least one controlled device associated with the control device in the above steps, the following steps are also included:

[0165] Step S802: In response to the trigger operation of the information restriction component displayed on the control device page, the information component of each preset trigger information bound to the control device is displayed.

[0166] Step S804: In response to the trigger operation for the target information component, display the controlled device components of each controlled device.

[0167] Step S806: Based on the controlled device to which the selected second target device component belongs, obtain the uncontrollable controlled device to which the target information component belongs to the target preset trigger information.

[0168] Among them, the preset trigger information is information that has the triggering permission to control the control device, and the triggering permission is the permission to trigger the control device to control the controlled device.

[0169] The target information component is at least one of the information components.

[0170] The second target device component is at least one of the controlled device components.

[0171] Among them, uncontrollable controlled equipment refers to controlled equipment that is restricted from being controlled based on preset trigger information of the target.

[0172] In this step, such as Figure 9 The diagram illustrates the setting of trigger information restrictions, using a smart lock in a smart lock kit as an example of the controlled device. (See attached image.) Figure 9 (a) In response to a user's triggering action on the information restriction component displayed on the control device page, the electronic device displays information components for each preset trigger information bound to the control device; see also Figure 9 (b) and Figure 9 (c) In response to a trigger operation on the target information component, the electronic device displays the controlled device components of each controlled device; see also Figure 9 (d) Based on the controlled device to which the selected second target device component belongs, the electronic device obtains the uncontrolled controlled device to which the target information component belongs to the target preset trigger information. For example, see Figure 9 If a user clicks "Trigger Information Restriction", "Face Restriction", "Face 1" and "Smart Lock B" in sequence, then the controlled device "Smart Lock B" will be configured as an uncontrollable controlled device with the preset trigger information "Face 1".

[0173] In this embodiment, by limiting the trigger information, corresponding uncontrollable controlled devices can be configured for the preset trigger information, so that the preset trigger information can only control some controlled devices, thereby further improving the security of control.

[0174] In one embodiment, such as Figure 10As shown, after obtaining at least one controlled device associated with the control device in the above steps, the following steps are also included:

[0175] Step S1002: In response to the trigger operation of the object restriction component displayed on the control device page, display the object components of each preset trigger object bound to the control device.

[0176] Step S1004: In response to the trigger operation for the target object component, display the controlled device components of each controlled device.

[0177] Step S1006: Based on the controlled device to which the selected third target device component belongs, obtain the uncontrollable controlled device of the target preset trigger object to which the target object component belongs.

[0178] Among them, the preset trigger object is an object that has triggering permission to control the control device, and the triggering permission is the permission to trigger the control device to control the controlled device;

[0179] The third target device component is at least one of the controlled device components.

[0180] Among them, uncontrollable controlled devices are controlled devices that are restricted from being controlled according to the target preset trigger object.

[0181] In this step, such as Figure 11 The diagram illustrates the setting of trigger object restrictions, using a smart lock in a smart lock kit as an example of the controlled device; see reference. Figure 11 (a) In response to a user's triggering action on the object restriction components displayed on the control device page, the electronic device displays the object components of each preset trigger object bound to the control device; see also Figure 11 (b) In response to a trigger operation on a target object component, the electronic device displays the controlled device components of each controlled device; see also Figure 11 (c) Based on the controlled device to which the selected third target device component belongs, the electronic device obtains the uncontrollable controlled device of the target preset trigger object to which the target object component belongs. For example, see Figure 11 If the user clicks "Trigger Object Restriction", "Object 2", and "Smart Lock C" in sequence, then the controlled device "Smart Lock C" will be configured as an uncontrollable controlled device of the preset trigger object "Object 2".

[0182] In this embodiment, by restricting the triggering object, a corresponding uncontrollable controlled device can be configured for the preset triggering object, so that the preset triggering object can only control some controlled devices, thereby further improving the security of control.

[0183] To more clearly illustrate the device control method provided in the embodiments of this application, a specific embodiment is described below. However, it should be understood that the embodiments of this application are not limited thereto. In one embodiment, this application also provides a multi-lock associated linkage control method, which is applied to, for example... Figure 12 The smart home system shown includes terminal devices and multiple smart lock kits. Each smart lock kit includes an identification device and a smart lock, and specifically includes the following steps:

[0184] I. Association Configuration Phase.

[0185] 1. The terminal device displays the device page of any identification device, which includes the configuration entry for associated devices.

[0186] 2. See reference Figure 4 The terminal device responds to the user's trigger operation on the configuration entry of the associated device and displays the smart locks in each smart lock kit on the first device page.

[0187] 3. The terminal device responds to the user's selection of the displayed smart locks and determines the locks to be associated with the identification device.

[0188] The terminal device sends an association command to the identification device and the door lock to be associated; the door lock to be associated responds to the association command by sending an association broadcast signal; the identification device responds to the association command by scanning the association broadcast signal according to the device identifier of the door lock to be associated carried in the association command.

[0189] or,

[0190] See Figure 7 The terminal device displays association operation prompts on the device page to prompt the user to trigger the door lock to be associated so that it emits an association broadcast signal. At the same time, the device page displays a trigger confirmation component. In response to the user's confirmation operation of the trigger confirmation component, the terminal device sends a broadcast signal scanning command carrying the device identifier of the door lock to be associated to the identification device. The identification device scans the association broadcast signal based on the device identifier of the door lock to be associated.

[0191] or,

[0192] On the control device page, the terminal device displays association operation prompts for the identification device and the door lock to be associated, prompting the identification device and the door lock to be associated to perform trigger operations. The door lock to be associated responds to the trigger operation for the device to be associated by sending an association broadcast signal. The identification device responds to the trigger operation for the identification device by scanning the broadcast signal. If an association broadcast signal is detected, a communication channel is established between the door lock that sent the scanned association broadcast signal and the door lock.

[0193] 4. Based on the association broadcast signal emitted by the scanned lock to be associated, the identification device establishes a BLE communication channel with the lock. All subsequent communication between the identification device and the lock is achieved through this BLE communication channel. The identification device sends an association request to the lock; the lock responds to the association request by returning an association response message. The identification device and the lock are then associated, and the identified lock is identified. In practical applications, the identification device and the lock use BLE certificates for device authentication to prevent unauthorized access and ensure data encryption during subsequent communication to avoid information leakage.

[0194] 5. Users bind preset trigger information and preset trigger objects to the identification device through the terminal device, which are used to control each associated door lock according to the identification device.

[0195] 6. Trigger information configuration restrictions.

[0196] See Figure 9 In response to the user's triggering operation on the information restriction component displayed on the control device page, the terminal device displays information components that identify the preset trigger information bound to the device. In response to the selection operation of any information component, the electronic device displays the door lock components of each associated door lock. Based on the associated door lock to which the selected door lock component belongs, the electronic device obtains the uncontrollable door lock to which the target preset trigger information of the selected information component belongs.

[0197] 7. Trigger object configuration restrictions.

[0198] See Figure 11 In response to the user's triggering operation on the object restriction component displayed on the device page, the terminal device displays object components that identify each preset trigger object bound to the device. In response to the selection operation of any object component, the electronic device displays door lock components of each associated door lock. Based on the associated door lock to which the selected door lock component belongs, the electronic device obtains the uncontrollable door lock of the target preset trigger object to which the selected object component belongs.

[0199] II. Joint Control Phase.

[0200] 1. In response to a control operation triggered on the identification device, the identification device determines the trigger information that triggered the control operation.

[0201] 2. The identification device determines whether the trigger information is the preset trigger information.

[0202] If it is a preset trigger information, then the uncontrollable door lock of the preset trigger information is identified, and the associated door locks of the identification device other than the uncontrollable door locks are identified as the target door locks;

[0203] and / or;

[0204] If it is a preset trigger information, then the preset trigger object corresponding to the trigger information is determined, and the uncontrollable door lock of the preset trigger object is determined. The associated door locks of the identification device, excluding the uncontrollable door locks, are determined as the target door locks.

[0205] 3. Send the control command corresponding to the control operation to each target door lock so that each target door lock performs the same unlocking or locking action.

[0206] In this embodiment, by establishing a BLE connection between an identification device and at least one smart lock, it is possible to achieve coordinated control of multiple smart locks. At the same time, it also controls the power consumption and communication speed of the identification device and the smart lock itself, thereby improving the user experience.

[0207] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0208] Based on the same inventive concept, this application also provides a device control apparatus for implementing the device control method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more device control apparatus embodiments provided below can be found in the limitations of the device control method described above, and will not be repeated here.

[0209] In one embodiment, such as Figure 13 As shown, a device control apparatus is provided, including: a device determination module 1302 and a device control module 1304, wherein:

[0210] Device determination module 1302 is configured to, in response to a control operation triggered on a control device, determine at least one target controlled device among at least one controlled device associated with the control device, based on the control operation.

[0211] The equipment control module 1304 is used to send control commands corresponding to control operations to each target controlled device so that each target controlled device can perform the actions corresponding to the control commands.

[0212] In one embodiment, the device determination module 1302 is further configured to acquire trigger information for triggering control operations; and determine each target controlled device from among the controlled devices based on the trigger information.

[0213] In one embodiment, the device determination module 1302 is further configured to determine, among the controlled devices, an uncontrollable controlled device pre-configured for the trigger information, and to determine other controlled devices besides the uncontrollable controlled devices as target controlled devices.

[0214] In one embodiment, the device determination module 1302 is further configured to determine, among each controlled device, a controllable controlled device pre-configured for trigger information, and determine the controllable controlled device as the target controlled device.

[0215] In one embodiment, the device determination module 1302 is further configured to determine, among the controlled devices, an uncontrollable controlled device pre-configured for the target triggering object, and to determine the other controlled devices besides the uncontrollable controlled devices as the target controlled devices;

[0216] In one embodiment, the device determination module 1302 is further configured to determine, among each controlled device, a controllable controlled device pre-configured for the target triggering object, and determine the controllable controlled device as the target controlled device; wherein the target triggering object is determined based on triggering information.

[0217] In one embodiment, the device determination module 1302 is further configured to determine, based on the trigger information, the target trigger object for triggering the control operation from among the preset trigger objects bound to the control device; the preset trigger object is an object that has trigger permission to the control device, and the trigger permission is the permission to trigger the control device to control the controlled device.

[0218] In one embodiment, the device determination module 1302 is further configured to determine whether the trigger information matches the preset trigger information bound to the control device; the preset trigger information is information that has triggering permission for the control device, and the triggering permission is the permission to trigger the control device to control the controlled device; if they match, the step of determining each target controlled device from each controlled device according to the trigger information is executed.

[0219] In one embodiment, the device control module 1304 is further configured to send control commands and trigger information for triggering control operations to each target controlled device, so that each target controlled device can determine whether the trigger information or the target trigger object corresponding to the trigger information has the authority to control each target controlled device to perform the action corresponding to the control command, and / or establish and record the correspondence between the trigger information and the action performed corresponding to the control command.

[0220] In one embodiment, the device control device further includes a device association module for determining at least one bound control device to which the control device is bound; the bound control device is associated with at least one corresponding association; for each bound control device, the device configuration information of the bound control device is obtained from the bound control device and associated with each associated controlled device, so as to control each associated controlled device according to the device configuration information of the bound control device.

[0221] In one embodiment, the device control device further includes a device association module, configured to determine at least one bound controlled device for each controlled device; associate each bound controlled device; and for each bound controlled device, if it is detected that the bound controlled device is pre-configured with an associated control device, obtain the device configuration information of the associated control device from the associated control device, so as to control the bound controlled device according to the device configuration information of the associated control device, and / or send the device configuration information of the control device to the associated control device so that the associated control device controls the bound controlled device according to the device configuration information of the control device.

[0222] Each module in the aforementioned equipment control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0223] Based on the same inventive concept, this application also provides a device association apparatus for implementing the device association method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more device association apparatus embodiments provided below can be found in the limitations of the device association method described above, and will not be repeated here.

[0224] In one embodiment, such as Figure 14 As shown, a device association apparatus is provided, including: a component display module 1402 and a device association module 1404, wherein:

[0225] The component display module 1402 is used to display the control device page of the control device; the control device page includes at least one device component to be associated with; the device to be associated is a device that can be associated with the control device.

[0226] The device association module 1404 is used to instruct the control device to associate with the selected first target device component to obtain at least one controlled device associated with the control device; the first target device component is at least one of the device components to be associated.

[0227] The control device is used to respond to a control operation triggered on the control device, determine at least one target controlled device among the controlled devices according to the control operation, and send the control command corresponding to the control operation to each target controlled device so that each target controlled device performs the action corresponding to the control command.

[0228] In one embodiment, the device association module 1404 is further configured to establish a communication channel between the control device and the device to be associated to which the first target device component belongs; and to instruct the control device to associate with the device to be associated through the communication channel.

[0229] In one embodiment, the device association module 1404 is further configured to issue an association command to the control device and the device to be associated; the control device is configured to perform a broadcast signal scan based on the device identifier of the device to be associated in response to the association command; the device to be associated is configured to send an association broadcast signal in response to the association command; if the control device detects that the association broadcast signal has been scanned, a communication channel is established.

[0230] In one embodiment, the device association module 1404 is further configured to display association operation prompts for the device to be associated on the control device page, so as to prompt the device to be associated to perform a trigger operation; the device to be associated is configured to send an association broadcast signal in response to the trigger operation for the device to be associated; the control device scans the broadcast signal based on the device identifier of the device to be associated; if the control device detects that the associated broadcast signal has been scanned, a communication channel is established.

[0231] In one embodiment, the device association device further includes a restriction configuration module, configured to display information components of preset trigger information bound to the control device in response to a trigger operation on an information restriction component displayed on the control device page; the preset trigger information is information that has trigger permissions for the control device, and the trigger permissions are permissions that can trigger the control device to control the controlled device; in response to a trigger operation on a target information component, the module displays controlled device components of each controlled device; the target information component is at least one of the information components; based on the controlled device to which the selected second target device component belongs, the module obtains the uncontrollable controlled device to which the target preset trigger information belongs; the second target device component is at least one of the controlled device components; the uncontrollable controlled device is a controlled device restricted from being controlled according to the target preset trigger information.

[0232] In one embodiment, the device association device further includes a restriction configuration module, configured to display object components of each preset trigger object bound to the control device in response to a trigger operation on an object restriction component displayed on the control device page; the preset trigger object is an object with trigger permission to the control device, and the trigger permission is the permission to trigger the control device to control the controlled device; in response to a trigger operation on a target object component, the module displays the controlled device components of each controlled device; based on the controlled device to which the selected third target device component belongs, the module obtains the uncontrollable controlled device of the target preset trigger object to which the target object component belongs; the third target device component is at least one of the controlled device components; the uncontrollable controlled device is a controlled device restricted from being controlled according to the target preset trigger object.

[0233] Each module in the aforementioned equipment control device and equipment association device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0234] In one embodiment, such as Figure 15 As shown, a device control system is provided, including a terminal device, a control device, and a controlled device associated with the control device.

[0235] In this embodiment, the terminal device is used to associate the control device and the controlled device.

[0236] In this embodiment, the control device is used to respond to a control operation triggered on the control device, determine at least one target controlled device among the controlled devices according to the control operation, and send the control command corresponding to the control operation to each target controlled device.

[0237] In this embodiment, the controlled device is used to execute corresponding actions in response to control commands issued by the control device.

[0238] In some embodiments, the control device is used to implement the device control method described above; the terminal device is used to implement the device association method described above.

[0239] In one embodiment, an electronic device is provided, which may be a terminal device, a control device, or a controlled device, and its internal structure diagram may be as follows: Figure 16 As shown, the electronic device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a device control method or a device association method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the electronic device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the electronic device, or external keyboards, touchpads, or mice, etc.

[0240] Those skilled in the art will understand that Figure 16 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0241] In one embodiment, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0242] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above-described method embodiments.

[0243] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0244] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0245] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0246] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A device control method, characterized in that, The method includes: In response to a control operation triggered on a control device, at least one target controlled device is determined from at least one controlled device associated with the control device according to the control operation; The control command corresponding to the control operation is sent to each of the target controlled devices so that each of the target controlled devices performs the action corresponding to the control command.

2. The method according to claim 1, characterized in that, The step of determining at least one target controlled device among at least one controlled device associated with the control device according to the control operation includes: Obtain trigger information for triggering the control operation; Each target controlled device is determined from each of the controlled devices based on the trigger information.

3. The method according to claim 2, characterized in that, The step of determining each target controlled device from each of the controlled devices based on the trigger information includes: Among the controlled devices, an uncontrollable controlled device pre-configured for the trigger information is identified, and the other controlled devices besides the uncontrollable controlled devices are identified as the target controlled devices; or, Among the controlled devices, a controllable controlled device pre-configured for the trigger information is determined, and the controllable controlled device is identified as the target controlled device.

4. The method according to claim 2, characterized in that, The step of determining each target controlled device from each of the controlled devices based on the trigger information includes: Among the controlled devices, an uncontrollable controlled device pre-configured for the target triggering object is determined, and the other controlled devices besides the uncontrollable controlled devices are determined as the target controlled devices; or, Among the controlled devices, a controllable controlled device pre-configured for the target triggering object is determined, and the controllable controlled device is determined as the target controlled device; The target triggering object is determined based on the triggering information.

5. The method according to claim 4, characterized in that, Before determining each target controlled device from each controlled device based on the trigger information, the method further includes: Based on the triggering information, the target triggering object that triggers the control operation is determined from the preset triggering objects bound to the control device; the preset triggering object is an object that has triggering permission to the control device, and the triggering permission is the permission to trigger the control device to control the controlled device.

6. The method according to claim 2, characterized in that, Before determining each target controlled device from each controlled device based on the trigger information, the method further includes: Determine whether the trigger information matches the preset trigger information bound to the control device; the preset trigger information is information that grants trigger permission to the control device, and the trigger permission is the permission to trigger the control device to control the controlled device; If a match is found, then the step of determining each target controlled device from each of the controlled devices based on the trigger information is performed.

7. The method according to any one of claims 1 to 6, characterized in that, The step of sending the control command corresponding to the control operation to each of the target controlled devices includes: The control command and the trigger information that triggers the control operation are sent to each of the target controlled devices, so that each target controlled device can determine whether the trigger information or the target trigger object corresponding to the trigger information has the authority to control each target controlled device to perform the action corresponding to the control command, and / or establish and record the correspondence between the trigger information and the action performed corresponding to the control command.

8. The method according to any one of claims 1 to 6, characterized in that, Before determining at least one target controlled device among at least one controlled device associated with the control device in response to a control operation triggered on the control device, the method further includes: Identify at least one bound control device to which the control device is bound; the bound control device is associated with at least one corresponding associated controlled device; For each of the bound control devices, the device configuration information of the bound control device is obtained and associated with each of the associated controlled devices, so as to control each of the associated controlled devices according to the device configuration information of the bound control device.

9. The method according to any one of claims 1 to 6, characterized in that, Before determining at least one target controlled device among at least one controlled device associated with the control device in response to a control operation triggered on the control device, the method further includes: Identify at least one bound controlled device for each of the controlled devices; Associate each of the bound controlled devices; For each of the bound controlled devices, if it is detected that the bound controlled device is pre-configured with an associated control device, then the device configuration information of the associated control device is obtained from the associated control device, so as to control the bound controlled device according to the device configuration information of the associated control device, and / or, the device configuration information of the control device is sent to the associated control device, so that the associated control device controls the bound controlled device according to the device configuration information of the control device.

10. A device association method, characterized in that, The method includes: A control device page displays the control device; the control device page includes at least one device component to be associated with a device; the device to be associated with a device is a device that can be associated with the control device. The control device is instructed to associate with the selected first target device component to which the device to be associated belongs, thereby obtaining at least one controlled device associated with the control device; the first target device component is at least one of the devices to be associated. The control device is configured to respond to a control operation triggered on the control device, determine at least one target controlled device among the controlled devices according to the control operation, and send a control command corresponding to the control operation to each target controlled device so that each target controlled device performs an action corresponding to the control command.

11. The method according to claim 10, characterized in that, Before instructing the control device to associate with the selected first target device component to which the device to be associated belongs, the method further includes: Establish a communication channel between the control device and the device to be associated, to which the first target device component belongs; The instruction to associate the control device with the selected first target device component to which the device to be associated belongs includes: The control device is instructed to associate with the device to be associated through the communication channel.

12. The method according to claim 11, characterized in that, Establishing a communication channel between the control device and the device to be associated, to which the first target device component belongs, includes: The control device sends an association command to the control device and the device to be associated; the control device is configured to perform a broadcast signal scan based on the device identifier of the device to be associated in response to the association command; the device to be associated is configured to send an association broadcast signal in response to the association command. If the control device detects that it has scanned the associated broadcast signal, then the communication channel is established.

13. The method according to claim 11, characterized in that, Establishing a communication channel between the control device and the device to be associated, to which the first target device component belongs, includes: The control device page displays association operation prompts for the device to be associated, prompting the device to be associated to trigger an operation; the device to be associated is used to send an association broadcast signal in response to the trigger operation. The control device is controlled to perform a broadcast signal scan based on the device identifier of the device to be associated. If the control device detects that it has scanned the associated broadcast signal, then the communication channel is established.

14. The method according to any one of claims 10 to 13, characterized in that, After obtaining at least one controlled device associated with the control device, the method further includes: In response to a trigger operation on the information restriction component displayed on the control device page, an information component displaying each preset trigger information bound to the control device is displayed; the preset trigger information is information that has trigger permission for the control device, and the trigger permission is the permission to trigger the control device to control the controlled device; In response to a trigger operation targeting a target information component, the controlled device component of each of the controlled devices is displayed; the target information component is at least one of the information components. Based on the controlled device to which the selected second target device component belongs, the uncontrollable controlled device to which the target information component belongs to the target preset trigger information is obtained; the second target device component is at least one of the controlled device components; the uncontrollable controlled device is the controlled device that is restricted from being controlled according to the target preset trigger information.

15. The method according to any one of claims 10 to 13, characterized in that, After obtaining at least one controlled device associated with the control device, the method further includes: In response to a trigger operation on the object restriction component displayed on the control device page, the object components of each preset trigger object bound to the control device are displayed; the preset trigger object is an object that has trigger permission to the control device, and the trigger permission is the permission to trigger the control device to control the controlled device; In response to a trigger operation on a target object component, the controlled device components of each of the controlled devices are displayed; Based on the controlled device to which the selected third target device component belongs, the uncontrollable controlled device of the target preset trigger object to which the target object component belongs is obtained; the third target device component is at least one of the controlled device components; the uncontrollable controlled device is the controlled device that is restricted from being controlled according to the target preset trigger object.

16. A device control apparatus, characterized in that, The device includes: A device determination module is configured to, in response to a control operation triggered on a control device, determine at least one target controlled device among at least one controlled device associated with the control device, based on the control operation. The device control module is used to send control commands corresponding to the control operation to each of the target controlled devices, so that each of the target controlled devices can perform the action corresponding to the control command.

17. A device association apparatus, characterized in that, The device includes: The component display module is used to display the control device page of the control device; the control device page includes at least one device component to be associated with a device to be associated with; the device to be associated with a device is a device that can be associated with the control device. The device association module is used to instruct the control device to associate with the selected first target device component to which the device to be associated belongs, thereby obtaining at least one controlled device associated with the control device; the first target device component is at least one of the device components to be associated. The control device is configured to respond to a control operation triggered on the control device, determine at least one target controlled device among the controlled devices according to the control operation, and send a control command corresponding to the control operation to each target controlled device so that each target controlled device performs an action corresponding to the control command.

18. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the device control method according to any one of claims 1 to 9 or the device association method according to any one of claims 10 to 15.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it represents the steps of the device control method according to any one of claims 1 to 9 or the device association method according to any one of claims 10 to 15.

20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it represents the steps of the device control method according to any one of claims 1 to 9 or the device association method according to any one of claims 10 to 15.