Equipment control method and device, terminal equipment and storage medium

The terminal equipment receives control instructions and determines the control scenarios, and automatically controls the intelligent building equipment, solving the efficiency problems of operation and maintenance personnel in remote monitoring and mobile terminal control, and achieving efficient management of intelligent building equipment.

CN119225244APending Publication Date: 2024-12-31GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411334724.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing technology cannot effectively optimize the control efficiency of smart building equipment, especially in the absence of remote monitoring and convenient mobile control for operation and maintenance personnel.

Method used

The terminal device receives control instructions, obtains identification information, determines the trigger conditions and execution actions in the control scenario, and determines the target device based on the control scenario and instructions, realizes automatic control of the target device, and supports manual, timing and linkage triggering.

Benefits of technology

It improves the control efficiency of smart building equipment, optimizes multi-equipment control solutions, simplifies the operation process of operation and maintenance personnel, and enhances the real-time management and adjustment capabilities of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225244A_ABST
    Figure CN119225244A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an equipment control method and device, terminal equipment and a storage medium, and the method comprises the steps: obtaining the identification information of a terminal when the terminal receives a control instruction; determining a plurality of control scenes corresponding to the identification information, wherein each control scene comprises a triggering condition and an execution action of the equipment; determining a target device from a device set corresponding to the terminal according to the control scene and the control instruction; and when the target equipment meets the triggering condition, controlling the target equipment to complete the execution action. Therefore, the control scene can be determined through the identification information of the terminal, the target equipment to be controlled can be determined, and the target equipment can be controlled according to the control scene. According to the invention, different devices in the intelligent building are correspondingly controlled based on the control scene, the devices do not need to be controlled through a control system corresponding to each device, a control scheme for multiple devices is optimized, and the control efficiency of controlling different devices in the building is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of intelligent control of building equipment, and in particular, to a control method, device, terminal equipment and storage medium for equipment. Background Art

[0002] With the rapid development of informatization and digitalization, smart office modes such as mobile office, hybrid office, and home office have emerged. The single and scattered smart building application model cannot meet the modern user operation and maintenance needs, and even affects the application effect of smart buildings.

[0003] In buildings, the operation and maintenance roles are generally undertaken by the operation and maintenance or logistics teams such as property management, equipment management personnel, and security management personnel. However, building operation and maintenance personnel often work on the move, and it is impossible to always control the operation of equipment in the building by simply monitoring the equipment. Therefore, terminal operation and maintenance and control are the only way. At present, some operation and maintenance apps have been launched on the market to monitor, repair, and inspect equipment. However, for operation and maintenance personnel, not only remote data monitoring is required, but also some convenient mobile control functions. Therefore, how to optimize the control of equipment in smart buildings to improve control efficiency has become a problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, in order to solve the above technical problems or part of the technical problems, the embodiments of the present invention provide a control method, an apparatus, a terminal device and a storage medium for a device.

[0005] In a first aspect, an embodiment of the present invention provides a device control method, which is applied to a terminal, including:

[0006] When the terminal receives the control instruction, acquiring identification information of the terminal;

[0007] Determine a plurality of control scenarios corresponding to the identification information, each of the control scenarios comprising: a trigger condition and an execution action of a device;

[0008] Determining a target device from a set of devices corresponding to the terminal according to the control scenario and the control instruction;

[0009] When the target device meets the trigger condition, the target device is controlled to complete the execution action.

[0010] In a possible implementation manner, determining the target device from a device set corresponding to the terminal according to the control scenario and the control instruction includes:

[0011] Determine the first device included in each of the control scenarios to obtain a first device set;

[0012] determining a second device included in the control instruction;

[0013] A first device of the same device type as the second device is determined as the target device.

[0014] In a possible implementation, when the trigger condition corresponding to the target device is a manual trigger, when the target device satisfies the trigger condition, controlling the target device to complete the execution action includes:

[0015] receiving a trigger instruction for the terminal;

[0016] adjusting the execution action according to the trigger instruction;

[0017] Controlling the target device to complete the adjusted execution action.

[0018] In a possible implementation, when the trigger condition corresponding to the target device is a timed trigger, when the target device satisfies the trigger condition, controlling the target device to complete the execution action includes:

[0019] Obtaining the target time and execution frequency in the trigger condition;

[0020] When the target time is reached, the target device is controlled according to the execution frequency to complete the execution action.

[0021] In a possible implementation, when the trigger condition corresponding to the target device is a linkage trigger, when the target device satisfies the trigger condition, controlling the target device to complete the execution action includes:

[0022] Determine a linkage device that needs to be linked with the target device for triggering;

[0023] Acquire a first trigger condition corresponding to the target device, and acquire a second trigger condition corresponding to the linkage device;

[0024] When the target device meets the first trigger condition and the linkage device meets the second trigger condition, the target device is controlled to complete the execution action.

[0025] In a possible implementation manner, after determining the multiple control scenarios corresponding to the identification information, the method further includes:

[0026] Receive adjustment instructions for target control scenarios;

[0027] The trigger condition and the execution action are adjusted according to the adjustment instruction.

[0028] In a possible implementation manner, adjusting the trigger condition and the execution action according to the adjustment instruction includes:

[0029] determining an adjustment type of the adjustment instruction;

[0030] Adjust the parameters in the trigger condition, the logical conditions and the parameter values ​​corresponding to the parameters according to the adjustment type;

[0031] Or, the action content and action parameters in the execution action are adjusted according to the adjustment type.

[0032] In a second aspect, an embodiment of the present invention provides a control device for a device, including:

[0033] An acquisition module, used for acquiring identification information of the terminal when the terminal receives a control instruction;

[0034] A determination module, used to determine a plurality of control scenarios corresponding to the identification information, each of the control scenarios including: a trigger condition and an execution action of a device;

[0035] The determination module is further used to determine the target device from the device set corresponding to the terminal according to the control scenario and the control instruction;

[0036] The control module is used to control the target device to complete the execution action when the target device meets the trigger condition.

[0037] In a third aspect, an embodiment of the present invention provides a terminal device, comprising: a processor and a memory, wherein the processor is used to execute a control program of the device stored in the memory to implement a control method of the device described in any one of the first aspects above.

[0038] In a fourth aspect, an embodiment of the present invention provides a storage medium, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the control method of the device described in any one of the first aspects above.

[0039] The control scheme of the device provided by the embodiment of the present invention is as follows: when the terminal receives a control instruction, the identification information of the terminal is obtained; multiple control scenarios corresponding to the identification information are determined, each control scenario includes: a trigger condition and an execution action of the device; a target device is determined from a set of devices corresponding to the terminal according to the control scenario and the control instruction; when the target device meets the trigger condition, the target device is controlled to complete the execution action. Thus, the control scenario can be determined through the identification information of the terminal, and the target device to be controlled can be determined, and the target device can be controlled according to the control scenario. Corresponding control of different devices in the intelligent building based on the control scenario is achieved, and the devices do not need to be controlled through the control system corresponding to each device, the control scheme for multiple devices is optimized, and the control efficiency when controlling different devices in the building is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic diagram of a flow chart of a control method for a device provided by an embodiment of the present invention;

[0041] Figure 2 A schematic flow chart of another device control method provided by an embodiment of the present invention;

[0042] Figure 3 A schematic diagram of the structure of a control device of a device provided by an embodiment of the present invention;

[0043] Figure 4 A schematic diagram of the structure of a terminal device provided by an embodiment of the present invention;

[0044] Figure 5 A schematic diagram of setting a control scenario in a control method for a device provided in an embodiment of the present invention;

[0045] Figure 6 A schematic diagram of adding a control scenario for a manual task in a device control method provided by an embodiment of the present invention;

[0046] Figure 7 A schematic diagram of adding a control scenario to a scheduled task in a device control method provided by an embodiment of the present invention;

[0047] Figure 8 A schematic diagram of adding a control scenario to a linkage task in a device control method provided by an embodiment of the present invention;

[0048] Fig. 9 A schematic diagram of the structure of a control system of a device provided by an embodiment of the present invention;

[0049] Fig.10 A schematic diagram of the structure of a control system of another device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.

[0052] Figure 1 A flow chart of a control method for a device provided in an embodiment of the present invention is shown as follows: Figure 1 As shown, the method specifically includes:

[0053] S11. When the terminal receives the control instruction, the terminal obtains identification information.

[0054] The control method of the device provided in the embodiment of the present invention is applied to a terminal device, which may include but is not limited to: a mobile phone, a tablet computer, etc. The device may include but is not limited to the devices used in smart buildings (for example, air conditioners, cameras, access control, smart lights, temperature sensors, humidity sensors, smoke sensors, alarm systems, etc.), and a control platform for controlling and managing the devices may be set on the terminal device (for example, an application for building device control may be pre-installed, in which the control scene may be configured, and the target device may be controlled according to the control scene). Specifically, the control scene may be determined through the identification information of the terminal, and the target device may be determined and controlled to complete the execution action according to the control scene and the control instruction.

[0055] In this embodiment, the user logs in to the control platform of the terminal and selects the device that currently needs to be controlled or viewed through the control platform, or selects a certain type of device that currently needs to be controlled or viewed, and generates corresponding control instructions. When the terminal receives the control instruction, it obtains the unique identification of the currently logged-in user (for example, account ID, mobile phone number of the login account, etc.) as the identification information of the current terminal.

[0056] S12. Determine multiple control scenarios corresponding to the identification information, each control scenario including: a trigger condition and an execution action of a device.

[0057] In this embodiment, a control scene corresponding to each identification information is pre-set, and the control scene includes: a trigger condition and an execution action for each device to be controlled. The control scene can be input and set by the user through the control platform, that is, the user can add, delete, modify, configure, etc. the control scene each time he logs in to the control platform. Different trigger conditions corresponding to different devices can be set. The trigger condition can be to determine whether the parameters of the current device are within a preset range, or whether the current moment reaches the trigger moment, etc. The specific trigger condition can be set according to the user's control requirements for the device. Each trigger condition corresponds to an execution action. When the trigger condition is met, the control device completes the execution action. The execution action can be to control the device to turn on and off, switch the operation mode, adjust the operation parameters, etc. (for example, the trigger condition can be: the value of the parameter Y of the device X is greater than a certain value, the value of the parameter Y of the device X is greater than or equal to a certain value, the value of the parameter Y of the device X is equal to a certain value, the value of the parameter Y of the device X is less than or equal to a certain value, and the value of the parameter Y of the device X is less than a certain value). Each trigger condition and the corresponding execution action form a control scene for a device (for example, the trigger condition can be: when the indoor ambient temperature is greater than 25 degrees, the execution action is: control the air conditioner to turn on).

[0058] S13: Determine a target device from a device set corresponding to the terminal according to the control scenario and the control instruction.

[0059] In this embodiment, a device set corresponding to the terminal is preset, that is, a set of all devices in the intelligent building that can be remotely controlled by the terminal. The control instruction carries the identifier of the device currently to be controlled (for example, the air conditioner numbered 1) selected by the user, or the type of device currently to be controlled (for example, a refrigeration device). When the control instruction selects the first device type, the controllable device in each control scenario is determined, and the second device type corresponding to the controllable device is determined. When the second device type is consistent with the first device type, the controllable device corresponding to the control scenario is determined as the target device. The target device can be one or more.

[0060] If the control instruction is to select a device for control, the device is directly controlled as the target device, and all control scenarios containing the device are determined. If the control instruction does not contain any device or device type, all control scenarios and controllable devices contained in each control scenario are directly displayed to the user through the terminal, and the user's selection operation is received, and the device selected by the selection operation is determined as the target device.

[0061] S14. When the target device meets the trigger condition, the target device is controlled to complete the execution action.

[0062] In this embodiment, the control scenario corresponding to each target device is determined, and whether the current target device meets the trigger condition in the control scenario is judged. When the target device meets the trigger condition, the target device is controlled to complete the execution action in the corresponding control scenario.

[0063] As an example, the terminal is a mobile phone. The mobile phone receives a control instruction to control the refrigeration equipment. At this time, the account ID of the user who logs in to the target app is obtained, and all the control scenes corresponding to the account ID are determined for display. The user can modify and select the displayed control scenes. The mobile phone can automatically identify the devices to be controlled contained in each control scene, and select refrigeration equipment such as air conditioners as target devices. The control scene corresponding to air conditioner A is: the trigger condition is that the temperature is greater than the first set value (for example, 25 degrees), and the execution action is to turn on the cooling mode and adjust the cooling temperature to the second set value (for example, 24 degrees). At this time, when the ambient temperature is greater than 25 degrees, air conditioner A is turned on and the cooling operation mode is turned on, and the cooling temperature is adjusted to 24 degrees.

[0064] The device control method provided by the embodiment of the present invention obtains the identification information of the terminal when the terminal receives the control instruction; determines multiple control scenarios corresponding to the identification information, each control scenario includes: the trigger condition and execution action of the device; determines the target device from the device set corresponding to the terminal according to the control scenario and the control instruction; when the target device meets the trigger condition, controls the target device to complete the execution action. Therefore, the control scenario can be determined by the identification information of the terminal, and the target device to be controlled can be determined, and the target device can be controlled according to the control scenario. The corresponding control of different devices in the intelligent building based on the control scenario is realized, and the devices do not need to be controlled through the control system corresponding to each device, the control scheme for multiple devices is optimized, and the control efficiency when controlling different devices in the building is improved.

[0065] Figure 2 A flow chart of another device control method provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the method specifically includes:

[0066] S21. When the terminal receives the control instruction, the terminal obtains identification information of the terminal.

[0067] S22. Determine multiple control scenarios corresponding to the identification information, each control scenario including: a trigger condition and an execution action of a device.

[0068] In this embodiment, similar to steps S11-S12, please refer to Figure 1 For the sake of brevity, the relevant content will not be elaborated here.

[0069] S23, receiving an adjustment instruction for the target control scenario; and adjusting the trigger condition and the execution action according to the adjustment instruction.

[0070] In this embodiment, after determining the multiple control scenarios corresponding to the identification information, the multiple control scenarios can be displayed to the user through the terminal, and the user's adjustment instructions for any target control scenario can be received, and the trigger conditions and execution actions can be adjusted according to the adjustment instructions. After the control scenario is set, when the user selects automatic control, the user does not need to trigger it, and the automatic control device completes the execution action when the trigger condition is met. In this way, the trigger conditions and execution instructions can be adjusted according to the adjustment instructions, and the control scenarios can be flexibly adjusted to improve the accuracy of controlling the device through the control scenario. In addition, the device and the control scenario of the device can be uniformly managed and adjusted to optimize the user experience.

[0071] The adjusting of the trigger condition and the execution action according to the adjustment instruction includes:

[0072] Determine the adjustment type of the adjustment instruction; adjust the parameters in the trigger condition, the logical condition and the parameter values ​​corresponding to the parameters according to the adjustment type; or, adjust the action content and action parameters in the execution action according to the adjustment type.

[0073] Specifically, the adjustment type may include adjusting the trigger conditions and adjusting the execution actions. The adjustable contents in the trigger conditions may include, but are not limited to: parameters, logical conditions, and parameter values ​​corresponding to the parameters. The parameters may be operating parameters of the device or parameters used to control the environment of the device, or the time for controlling the device to be turned on or off (for example, ambient temperature, ambient humidity, device temperature, etc.). The parameter value may be a threshold range set for each operating parameter. The logical condition may be a logical symbol for comparing parameters and parameter values ​​(for example, greater than, less than, equal to, greater than or equal to, etc.). When it is necessary to set the trigger conditions for multiple devices at the same time, the logical condition may also include logical symbols such as AND, OR, NOT, XOR, etc. For example, the trigger condition may be that the ambient temperature (parameter) is greater than (logical symbol) 20 degrees (parameter value).

[0074] The execution action may include but is not limited to: the content and parameters of the action to be executed to control the device, etc. The execution action may be the opening and closing of the device, the operating mode (cooling mode, heating mode, etc.), the operating gear (wind speed, temperature, humidity, loudness, brightness), etc. For example, the execution action may be to turn on the device, turn on the cooling mode (action content), and the cooling temperature is 20 degrees (action parameter). Therefore, different trigger conditions and execution actions can be adjusted according to the adjustment type of the adjustment instruction, realizing flexible adjustment of the control scene, and adjusting according to the adjustment type improves the accuracy and richness of the adjustment.

[0075] like Figure 5 The figure shows a schematic diagram of setting a control scene in a control method for a device provided in an embodiment of the present invention. The user selects scene management in operation and maintenance, and can make adjustments to the displayed control scenes 1-9. The user can also add, delete, modify, configure, copy and paste, and share the application scenes with other users. Among them, scene copying: directly copy a scene, then the user only needs to edit the name, modify the parameters or equipment in the scene, which is used for the quick creation of similar scenes; scene deletion: select delete, a pop-up window will pop up for confirmation and then it can be deleted, and the execution of the scene that has been used will not be affected after deletion. Scene sharing: click share, and you can choose to share it with everyone or with specific users. If shared with everyone, everyone can view the scene and choose to use it; if shared with specific users, a sharing code can be automatically generated, and the shared user can use the scene by entering the sharing code.

[0076] S24, determining the first device included in each control scenario to obtain a first device set; determining the second device included in the control instruction; and determining the first device having the same device type as the second device as the target device.

[0077] In this embodiment, the first device that needs to be controlled can be selected according to the user's control instruction. Since there may be multiple devices of the same control type in the device set, the device type of the first device is determined at this time, and the device type of the second device included in each control scene is determined, and the first device with the same device type as the second device is determined as the target device, and the target device can be one or more. (For example, the user chooses to control the air conditioner, and different central air conditioners or cabinet air conditioners are set in different areas of the building. At this time, all devices with the device type of air conditioner should be determined as target devices.) In this way, the target device to be controlled can be determined according to the control scene and the control instruction to improve the accuracy of determining the device to be controlled.

[0078] S25. When the trigger condition corresponding to the target device is manual triggering, receiving a trigger instruction for the terminal; adjusting the execution action according to the trigger instruction; and controlling the target device to complete the adjusted execution action.

[0079] In this embodiment, the trigger type of the trigger condition may include but is not limited to: manual trigger, timed trigger and linkage trigger. When the trigger condition is a manual trigger, the user needs to manually click to turn on the device and select the control content of the device to generate a trigger instruction. After the terminal receives the trigger instruction, it can directly control the device to complete the pre-set execution action according to the trigger instruction, or, if the current user does not want to control the device to complete the corresponding execution action, the user can adjust the execution action according to the trigger instruction; control the target device to complete the adjusted execution action. (Tasks executed by manual triggering may include: fire mode. The operation and maintenance personnel only need to manually click to execute the scene, and the actions in the fire mode will be automatically executed, such as the fire broadcast sounding and the access control power off.) In this way, it is possible to control the device to complete the execution action by manual triggering, and at the same time, the execution action can be arbitrarily adjusted to improve the flexibility of controlling the device when manually triggered.

[0080] In a possible implementation, Figure 6 The figure shows a schematic diagram of adding a control scene to a manual task in a control method of a device provided by an embodiment of the present invention. When adding a control scene, the user can click on the manual task, select a scene to add, and manually add an execution action. The adding page is similar to adding a control scene. On the policy list page, each policy corresponds to an execution action. You can directly search for the required execution action and click to execute it manually. After clicking, it will take effect and execute once. You can copy, paste, share, and other operations on each policy.

[0081] S26. When the trigger condition corresponding to the target device is a timed trigger, the target time and execution frequency in the trigger condition are obtained; when the target time is reached, the target device is controlled to complete the execution action according to the execution frequency.

[0082] In this embodiment, when the trigger type of the trigger condition is a timed trigger, the current time is obtained, and the target time and execution frequency are obtained from the trigger condition. The target time is the time to start controlling the device, and the execution frequency is the interval length of each control of the device (for example, control is performed according to working hours or off-get off work hours, the target time is nine o'clock in the morning, and the execution frequency is to perform control once a day, so the trigger condition is to trigger control at nine o'clock every morning). When the target time is reached, the target device is controlled to complete the execution action according to the execution frequency. Other trigger conditions can also be set on the basis of setting the target time and execution frequency. The control is triggered when the trigger conditions of the timed trigger and other trigger conditions are met. Other trigger conditions may include: parameters, logical conditions, and parameter values ​​corresponding to the parameters, etc. (for example, the trigger condition of the timed trigger is to trigger control at nine o'clock every morning, and other trigger conditions are: trigger control when the ambient temperature is greater than 25 degrees). In this way, it is possible to control the device to complete the execution action according to the target time and execution frequency through the timed trigger method, thereby improving the accuracy of controlling the device through time and frequency.

[0083] In a possible implementation, Figure 7 The figure shows a schematic diagram of a control scenario for adding a scheduled task in a control method for a device provided by an embodiment of the present invention, which may include a calendar view and a list view. The calendar view displays the calendar for the current month, and the user can choose the date to add a scheduled triggered task, and the task point is displayed under the calendar with the scheduled task. When the user clicks on a task point on a certain day, the list displays all scheduled triggered tasks for that day. The list view displays all scheduled triggered tasks. Click the switch icon to switch views. The trigger condition for the scheduled task is time, and exceptions can be selected. For example, it is executed at 8 o'clock every day from the 1st to the 20th of each month, except for holidays, and it is only executed on weekdays. The execution action can be selected to add or manually added in the scene.

[0084] S27. When the trigger condition corresponding to the target device is a linkage trigger, determine the linkage device that needs to be linked with the target device for triggering; obtain the first trigger condition corresponding to the target device, and obtain the second trigger condition corresponding to the linkage device; when the target device meets the first trigger condition and the linkage device meets the second trigger condition, control the target device to complete the execution action.

[0085] In this embodiment, when the trigger type of the trigger condition is linkage trigger, the target device and linkage device are controlled separately or simultaneously when the devices that need linkage meet the trigger condition at the same time. The trigger condition of linkage trigger is pre-set with the first trigger condition corresponding to the target device and the second trigger condition corresponding to the linkage device. When the target device meets the first trigger condition and the linkage device meets the second trigger condition, the control is triggered, or the judgment priority of the target device and the linkage device is set. When the device with high priority meets the trigger condition, the device with low priority is judged (for example, when the target device meets the first trigger condition, it is judged whether the linkage device meets the second trigger condition). When controlling, the linkage device or the target device or both devices can be controlled at the same time according to the set execution action. (For example, when the ambient temperature obtained by the air conditioner is greater than 25 degrees, and the humidity obtained by the humidity adjustment device is less than 30%, the air conditioner is controlled to start the cooling mode, and the humidity adjustment device is controlled to start the humidification mode). In this way, it is possible to control the device to complete the execution action through linkage triggering, and control the target device after judging the linkage device and the target device at the same time, thereby improving the accuracy of linkage control of the device.

[0086] In a possible implementation, Figure 8 The figure shows a schematic diagram of adding a control scene to a linkage task in a control method of a device provided by an embodiment of the present invention. The control scene in each strategy can be modified, configured and added by selecting a linkage task. At the same time, the linkage task can also include a calendar mode and a list mode, which are consistent with the scheduled task. The linkage task can set trigger conditions and execution actions, and the content is consistent with the scene setting, and can also be selected from the scene setting. The linkage task can set a validity period, and the linkage task will only be executed during the validity period.

[0087] like Fig. 9 The figure is a schematic diagram of the structure of a control system of a device provided in an embodiment of the present invention. The mobile terminal device may be a mobile phone. The user may configure the control scene of each device through the control platform on the mobile phone. The mobile phone is connected to the server for communication. The server may be used to determine whether each device meets the triggering conditions. When the triggering conditions are met, the server may be used to control the device to complete the execution action.

[0088] like Fig.10 The figure shows a schematic diagram of the structure of a control system of another device provided by an embodiment of the present invention, including: a mobile terminal device for configuring control scenes and controlling the device, a manual task module for controlling manually triggered tasks, a timed task module for controlling timed triggered tasks, a linkage task module for controlling linkage triggered tasks, a scene management module for users to store associated control scenes, and a recommendation strategy module for sharing the content in the control scenes.

[0089] The device control method provided in this embodiment can determine the control scene and the target device to be controlled through the identification information of the terminal, and control the target device according to the control scene. It includes: manual trigger control, linkage trigger control and timed trigger control. It can realize corresponding control of different devices in the intelligent building based on the control scene, without the need to control the device through the control system corresponding to each device, optimize the control scheme for multiple devices, and improve the control efficiency when controlling different devices in the building. By setting the control scene, it is convenient to share, add, modify, etc. the control scene, and improve the reusability of the control scene.

[0090] Figure 3 A schematic diagram of a control device of a device provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the device specifically includes:

[0091] An acquisition module 31, configured to acquire identification information of the terminal when the terminal receives a control instruction;

[0092] A determination module 32, configured to determine a plurality of control scenarios corresponding to the identification information, each of the control scenarios comprising: a trigger condition and an execution action of a device;

[0093] The determination module is further used to determine the target device from the device set corresponding to the terminal according to the control scenario and the control instruction;

[0094] The control module 33 is used to control the target device to complete the execution action when the target device meets the trigger condition.

[0095] In a possible implementation manner, the determining module is specifically configured to determine the first device included in each of the control scenarios to obtain a first device set;

[0096] determining a second device included in the control instruction;

[0097] A first device of the same device type as the second device is determined as the target device.

[0098] In a possible implementation manner, the control module is specifically configured to receive a trigger instruction for the terminal;

[0099] adjusting the execution action according to the trigger instruction;

[0100] Controlling the target device to complete the adjusted execution action.

[0101] In a possible implementation manner, the control module is specifically configured to obtain the target time and execution frequency in the trigger condition;

[0102] When the target time is reached, the target device is controlled according to the execution frequency to complete the execution action.

[0103] In a possible implementation, the control module is specifically used to determine a linkage device that needs to be triggered in linkage with the target device;

[0104] Acquire a first trigger condition corresponding to the target device, and acquire a second trigger condition corresponding to the linkage device;

[0105] When the target device meets the first trigger condition and the linkage device meets the second trigger condition, the target device is controlled to complete the execution action.

[0106] In a possible implementation, the adjustment module 34 is configured to receive an adjustment instruction for a target control scenario;

[0107] The trigger condition and the execution action are adjusted according to the adjustment instruction.

[0108] In a possible implementation manner, the determining module is further configured to determine an adjustment type of the adjustment instruction;

[0109] The adjustment module is specifically used to adjust the parameters in the trigger condition, the logical conditions and the parameter values ​​corresponding to the parameters according to the adjustment type;

[0110] Or, the action content and action parameters in the execution action are adjusted according to the adjustment type.

[0111] The device provided in this embodiment can be as follows Figure 3 The device shown in FIG. 1 can perform the following steps: Figure 1-2 All steps of the control method of the device in the Figure 1-2 For details on the technical effects of the control method of the device shown, please refer to Figure 1-2 For the sake of brevity, the relevant description is not repeated here.

[0112] Figure 4 A schematic diagram of the structure of a terminal device provided by an embodiment of the present invention, Figure 4 The terminal device 400 shown includes: at least one processor 401, a memory 402, at least one network interface 404 and other user interfaces 403. The various components in the terminal device 400 are coupled together via a bus system 405. It is understood that the bus system 405 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 405 is not shown in FIG. Figure 4 Various buses are labeled as bus system 405 .

[0113] The user interface 403 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).

[0114] It can be understood that the memory 402 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 402 described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0115] In some implementations, the memory 402 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 4021 and application programs 4022 .

[0116] The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 4022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 4022.

[0117] In the embodiment of the present invention, by calling the program or instruction stored in the memory 402, specifically, the program or instruction stored in the application 4022, the processor 401 is used to execute the method steps provided by each method embodiment, for example, including:

[0118] When the terminal receives the control instruction, acquiring identification information of the terminal;

[0119] Determine a plurality of control scenarios corresponding to the identification information, each of the control scenarios comprising: a trigger condition and an execution action of a device;

[0120] Determining a target device from a set of devices corresponding to the terminal according to the control scenario and the control instruction;

[0121] When the target device meets the trigger condition, the target device is controlled to complete the execution action.

[0122] In a possible implementation, determining a first device included in each of the control scenarios to obtain a first device set;

[0123] determining a second device included in the control instruction;

[0124] A first device of the same device type as the second device is determined as the target device.

[0125] In a possible implementation, receiving a trigger instruction for the terminal;

[0126] adjusting the execution action according to the trigger instruction;

[0127] Controlling the target device to complete the adjusted execution action.

[0128] In a possible implementation, obtaining a target time and an execution frequency in the trigger condition;

[0129] When the target time is reached, the target device is controlled according to the execution frequency to complete the execution action.

[0130] In a possible implementation, determining a linkage device that needs to be triggered in linkage with the target device;

[0131] Acquire a first trigger condition corresponding to the target device, and acquire a second trigger condition corresponding to the linkage device;

[0132] When the target device meets the first trigger condition and the linkage device meets the second trigger condition, the target device is controlled to complete the execution action.

[0133] In one possible implementation, receiving an adjustment instruction for a target control scenario;

[0134] The trigger condition and the execution action are adjusted according to the adjustment instruction.

[0135] In a possible implementation, determining an adjustment type of the adjustment instruction;

[0136] Adjust the parameters in the trigger condition, the logical conditions and the parameter values ​​corresponding to the parameters according to the adjustment type;

[0137] Or, the action content and action parameters in the execution action are adjusted according to the adjustment type.

[0138] The method disclosed in the above embodiment of the present invention can be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 401 or the instruction in the form of software. The above processor 401 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the above method in combination with its hardware.

[0139] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0140] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0141] The terminal device provided in this embodiment may be as follows Figure 4 The terminal device shown in FIG. 1 can execute the following Figure 1-2 All steps of the control method of the device in the Figure 1-2 For details on the technical effects of the control method of the device shown, please refer to Figure 1-2 For the sake of brevity, the relevant description is not repeated here.

[0142] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0143] When one or more programs in the storage medium can be executed by one or more processors, the control method of the device executed on the device side can be implemented.

[0144] The processor is used to execute the control program of the device stored in the memory to implement the following steps of the device control method executed on the device side:

[0145] When the terminal receives the control instruction, acquiring identification information of the terminal;

[0146] Determine a plurality of control scenarios corresponding to the identification information, each of the control scenarios comprising: a trigger condition and an execution action of a device;

[0147] Determining a target device from a set of devices corresponding to the terminal according to the control scenario and the control instruction;

[0148] When the target device meets the trigger condition, the target device is controlled to complete the execution action.

[0149] In a possible implementation, determining a first device included in each of the control scenarios to obtain a first device set;

[0150] determining a second device included in the control instruction;

[0151] A first device of the same device type as the second device is determined as the target device.

[0152] In a possible implementation, receiving a trigger instruction for the terminal;

[0153] adjusting the execution action according to the trigger instruction;

[0154] Controlling the target device to complete the adjusted execution action.

[0155] In a possible implementation, obtaining a target time and an execution frequency in the trigger condition;

[0156] When the target time is reached, the target device is controlled according to the execution frequency to complete the execution action.

[0157] In a possible implementation, determining a linkage device that needs to be triggered in linkage with the target device;

[0158] Acquire a first trigger condition corresponding to the target device, and acquire a second trigger condition corresponding to the linkage device;

[0159] When the target device meets the first trigger condition and the linkage device meets the second trigger condition, the target device is controlled to complete the execution action.

[0160] In one possible implementation, receiving an adjustment instruction for a target control scenario;

[0161] The trigger condition and the execution action are adjusted according to the adjustment instruction.

[0162] In a possible implementation, determining an adjustment type of the adjustment instruction;

[0163] Adjust the parameters in the trigger condition, the logical conditions and the parameter values ​​corresponding to the parameters according to the adjustment type;

[0164] Or, the action content and action parameters in the execution action are adjusted according to the adjustment type.

[0165] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0166] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0167] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for controlling a device, characterized in that: Applied to terminals, including: When the terminal receives the control instruction, acquiring identification information of the terminal; Determine a plurality of control scenarios corresponding to the identification information, each of the control scenarios comprising: a trigger condition and an execution action of a device; Determining a target device from a set of devices corresponding to the terminal according to the control scenario and the control instruction; When the target device meets the trigger condition, the target device is controlled to complete the execution action.

2. The method according to claim 1, characterized in that The determining the target device from the device set corresponding to the terminal according to the control scenario and the control instruction includes: Determine the first device included in each of the control scenarios to obtain a first device set; determining a second device included in the control instruction; A first device of the same device type as that of the second device is determined as the target device.

3. The method according to claim 1, characterized in that: When the trigger condition corresponding to the target device is a manual trigger, when the target device satisfies the trigger condition, controlling the target device to complete the execution action includes: receiving a trigger instruction for the terminal; adjusting the execution action according to the trigger instruction; Controlling the target device to complete the adjusted execution action.

4. The method according to claim 1, characterized in that When the trigger condition corresponding to the target device is a timed trigger, when the target device satisfies the trigger condition, controlling the target device to complete the execution action includes: Obtaining the target time and execution frequency in the trigger condition; When the target time is reached, the target device is controlled according to the execution frequency to complete the execution action.

5. The method according to claim 1, characterized in that When the trigger condition corresponding to the target device is a linkage trigger, when the target device satisfies the trigger condition, controlling the target device to complete the execution action includes: Determine a linkage device that needs to be linked with the target device for triggering; Acquire a first trigger condition corresponding to the target device, and acquire a second trigger condition corresponding to the linkage device; When the target device meets the first trigger condition and the linkage device meets the second trigger condition, the target device is controlled to complete the execution action.

6. The method according to claim 1, characterized in that After determining the multiple control scenarios corresponding to the identification information, the method further includes: Receive adjustment instructions for target control scenarios; The trigger condition and the execution action are adjusted according to the adjustment instruction.

7. The method according to claim 6, characterized in that The adjusting the trigger condition and the execution action according to the adjustment instruction includes: determining an adjustment type of the adjustment instruction; Adjust the parameters in the trigger condition, the logical conditions and the parameter values ​​corresponding to the parameters according to the adjustment type; Or, the action content and action parameters in the execution action are adjusted according to the adjustment type.

8. A control device for an equipment, characterized in that: include: An acquisition module, used for acquiring identification information of the terminal when the terminal receives a control instruction; A determination module, used to determine a plurality of control scenarios corresponding to the identification information, each of the control scenarios including: a trigger condition and an execution action of a device; The determination module is further used to determine the target device from the device set corresponding to the terminal according to the control scenario and the control instruction; The control module is used to control the target device to complete the execution action when the target device meets the trigger condition.

9. A computer device, characterized in that: include: A processor and a memory, wherein the processor is used to execute a control program of the device stored in the memory to implement the control method of the device according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the control method of the device in any one of claims 1 to 7.