Equipment control method and device, storage medium and electronic device

By obtaining the monitoring results and command reception results of multiple devices on the monitoring area, generating the status of the monitoring area, and controlling multiple devices in the monitoring area based on this status, the problem that smart home devices cannot accurately obtain the situation of people in the home space and perform precise control, and achieving accurate decision-making of home scenarios and precise control of equipment.

CN120065817APending Publication Date: 2025-05-30QINGDAO HAIER TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510103415.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

When performing personnel sensing and recognition, existing smart home devices can only obtain the current personnel situation around the home appliances, and cannot obtain the personnel situation in the entire home space, resulting in the inability to make accurate decisions on home scene control.

Method used

By acquiring the monitoring results and command reception results of the monitoring area by multiple devices, a state of the monitoring area is generated, and a plurality of devices in the monitoring area are controlled according to the status.

Benefits of technology

Accurate acquisition of personnel situations in the entire home space and precise control of equipment are achieved, and the problem of inaccurate equipment control in the prior art is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120065817A_ABST
    Figure CN120065817A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment control method and device, a storage medium and an electronic device, and relates to the technical field of smart home, the equipment control method comprises the following steps: obtaining monitoring results of multiple pieces of equipment on a monitoring area, the monitoring results being used for indicating whether a target object exists in the monitoring area; instruction receiving results of the multiple devices are obtained, and the instruction receiving results at least comprise the types of instructions received by the multiple devices in the preset time period; the state of the monitoring area is generated based on the monitoring result and the instruction receiving result, the multiple devices in the monitoring area are controlled according to the state of the monitoring area, the state of the monitoring area is used for indicating the existence of the target object, and by adopting the technical scheme, the problem of how to accurately control the devices is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart home, and in particular, to a device control method, device, storage medium and electronic device. Background Art

[0002] Currently, with the development of smart home technology, more and more household appliances are beginning to have sensing functions. By sensing the situation of people, it is possible to guide smart home devices to perform intelligent and automated scene control. However, existing smart home devices usually can only obtain the situation of people around the current household appliance when performing human sensing and recognition, and cannot obtain the situation of people in the entire home space. Based on the existing technology, accurate decisions cannot be made for home scene control. Therefore, in related technologies, there is a problem of how to accurately control devices.

[0003] In view of the problem in related technologies of how to accurately control devices, no effective solution has been proposed yet. Summary of the Invention

[0004] Embodiments of the present application provide a device control method, device, storage medium and electronic device to at least solve the problem in related technologies of how to accurately control devices.

[0005] According to an embodiment of the embodiments of the present application, a device control method is provided, including: obtaining monitoring results of a monitoring area by a plurality of devices, where the monitoring results are used to indicate whether a target object exists in the monitoring area; obtaining instruction reception results of the plurality of devices, where the instruction reception results at least include instruction types received by the plurality of devices in a preset time period; generating a state of the monitoring area based on the monitoring results and the instruction reception results, and controlling a plurality of devices in the monitoring area according to the state of the monitoring area, where the state of the monitoring area is used to indicate the existence of the target object.

[0006] In an exemplary embodiment, the monitoring area at least includes the area to which the plurality of devices belong and the area covered by the monitoring signals of the plurality of devices. Obtaining the monitoring results of the monitoring area by the plurality of devices includes: obtaining the monitoring results of each sub-area through sensors on each of the plurality of devices to obtain the monitoring results of a plurality of sub-areas; determining the monitoring results of the plurality of sub-areas as the monitoring results, where the monitoring area is composed of the plurality of sub-areas.

[0007] In an exemplary embodiment, obtaining the instruction reception results of the multiple devices includes: obtaining the first instruction reception result of each of the multiple devices in the preset time period, where the first instruction reception result is used to indicate the reception situation of an instruction whose instruction type is a local control instruction; obtaining the second instruction reception result of each of the multiple devices in the preset time period, where the second instruction reception result is used to indicate the reception situation of an instruction whose instruction type is a mobile device connection instruction; and determining the first instruction reception result and the second instruction reception result as the instruction reception result.

[0008] In an exemplary embodiment, generating the state of the monitoring area based on the monitoring result and the instruction reception result includes: when it is determined that both the monitoring result and the instruction reception result indicate that the state of the monitoring area is an unoccupied state, determining the state of the monitoring area as an unoccupied state; when it is determined that at least one of the monitoring result and the instruction reception result indicates that the state of the monitoring area is an occupied state, determining the state of the monitoring area as an occupied state.

[0009] In an exemplary embodiment, the state of the monitoring area indicated by the monitoring result is determined in the following manner: when it is determined that any sensor on any one of the multiple devices monitors the presence of a target object in the monitoring area, determining that the state of the monitoring area indicated by the monitoring result is an occupied state; when it is determined that all sensors on the multiple devices do not monitor the presence of a target object in the monitoring area, determining that the state of the monitoring area indicated by the monitoring result is an unoccupied state.

[0010] In an exemplary embodiment, the state of the monitoring area indicated by the instruction reception result is determined in the following manner: when it is determined that any one of the multiple devices receives a local control instruction in the preset time period, determining that the state of the monitoring area indicated by the first instruction reception result is an occupied state; when it is determined that any one of the multiple devices receives a mobile device connection instruction in the preset time period, determining that the state of the monitoring area indicated by the second instruction reception result is an occupied state; when it is determined that at least one of the first instruction reception result and the second instruction reception result indicates that the state of the monitoring area is an occupied state, determining the state of the monitoring area indicated by the instruction reception result as an occupied state.

[0011] In an exemplary embodiment, controlling a plurality of devices in a monitoring area according to the state of the monitoring area includes: when it is determined that the state of the monitoring area changes from an occupied state to an unoccupied state, controlling the plurality of devices to enter a first mode respectively, where the first modes corresponding to the plurality of devices are different, and the first mode at least includes: an energy-saving mode, a security mode, and a sleep mode; when it is determined that the state of the monitoring area changes from an unoccupied state to an occupied state, controlling the plurality of devices to enter a second mode respectively, where the second mode at least includes: a working mode, and the device parameters of the plurality of devices in the second mode are the parameters preset for the target object.

[0012] According to another aspect of the embodiments of the present application, there is also provided a device control device, including: a monitoring module, configured to obtain monitoring results of a plurality of devices for a monitoring area, where the monitoring results are used to indicate whether a target object exists in the monitoring area; an obtaining module, configured to obtain instruction receiving results of the plurality of devices, where the instruction receiving results at least include the types of instructions received by the plurality of devices within a preset time period; a control module, configured to generate the state of the monitoring area based on the monitoring results and the instruction receiving results, and control the plurality of devices in the monitoring area according to the state of the monitoring area, where the state of the monitoring area is used to indicate the existence of the target object.

[0013] According to yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above-mentioned device control method when running.

[0014] According to yet another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the above-mentioned processor executes the above-mentioned device control method through the computer program.

[0015] According to yet another aspect of the embodiments of the present application, there is also provided a computer program product, including a computer program, where the computer program, when executed by a processor, implements the steps in any one of the above method embodiments.

[0016] In the embodiments of the present application, it is possible to obtain the monitoring results of the monitoring areas covered by a plurality of devices with different device types, and obtain the instruction receiving results of the types of instructions received by the plurality of devices within a preset time period, and then generate the state of the monitoring area based on the monitoring results and the instruction receiving results, and control the plurality of devices in the monitoring area according to the state of the monitoring area. By adopting the above technical solution, the problem of how to accurately control the devices is solved, and the effect of accurately controlling the devices is achieved. Brief Description of the Drawings

[0017] The drawings herein are incorporated into and form a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.

[0018] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0019] Figure 1 is a schematic diagram of the hardware environment of a device control method according to an embodiment of the present application;

[0020] Figure 2 is a flowchart of the device control method according to an embodiment of the present application;

[0021] Figure 3 is a schematic flowchart of the device control method according to an embodiment of the present application;

[0022] Figure 4 is a block diagram of the structure of a device control device according to an embodiment of the present application. Detailed Description of the Embodiments

[0023] To enable those skilled in the art to better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0025] According to one aspect of an embodiment of the present application, a device control method is provided. The device control method is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (IntelligenceHouse) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above device control method can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0026] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0027] In this embodiment, a device control method is provided, which is applied to the above terminal device. Figure 2 is a flow chart of a device control method according to an embodiment of the present application, the flow includes the following steps:

[0028] Step S202, obtaining monitoring results of a monitoring area by multiple devices, wherein the monitoring results are used to indicate whether a target object exists in the monitoring area;

[0029] Optionally, in the above step S202, for example in a home environment, the monitoring area may represent the area range within the entire home space, and the multiple devices are smart home devices with sensor detection functions, such as but not limited to refrigerators with infrared sensors, air conditioners with millimeter wave radars, home cameras, etc.

[0030] Step S204, obtain the instruction reception results of the multiple devices, where the instruction reception results at least include the types of instructions received by the multiple devices within a preset time period;

[0031] Step S206, generate the status of the monitoring area based on the monitoring results and the instruction reception results, and control the multiple devices within the monitoring area according to the status of the monitoring area, where the status of the monitoring area is used to indicate the presence of a target object.

[0032] Optionally, in the above step S206, the execution process of generating the status of the monitoring area based on the monitoring results and the instruction reception results may be that each device separately sends the monitoring results and instruction reception results obtained by the device to the cloud server, and the cloud server summarizes the information of each device and then performs calculations to generate the status of the monitoring area.

[0033] Through the above steps, obtain the monitoring results of the multiple devices for the monitoring area, where the monitoring results are used to indicate whether a target object exists in the monitoring area; obtain the instruction reception results of the multiple devices, where the instruction reception results at least include the types of instructions received by the multiple devices within a preset time period; generate the status of the monitoring area based on the monitoring results and the instruction reception results, and control the multiple devices within the monitoring area according to the status of the monitoring area. This solves the problem of how to accurately control devices in the related art, and further achieves the effect of accurately controlling devices.

[0034] In an exemplary embodiment, the execution process of obtaining the monitoring results of the multiple devices for the monitoring area in the above step S202 specifically includes: obtaining the monitoring results of each sub-area through the sensors on each of the multiple devices to obtain the monitoring results of multiple sub-areas; determining the monitoring results of the multiple sub-areas as the monitoring results, where the monitoring area is composed of the multiple sub-areas.

[0035] Optionally, in the above embodiment, taking the home space as an example of the monitoring area, the home space is composed of three sub-areas, namely Room A, Room B, and Room C. Among them, there is an air conditioner in Room A, a refrigerator in Room B, and a home camera in Room C. For example, multiple sensors may exist on the air conditioner at the same time to monitor Room A and obtain the monitoring results of Room A. The monitoring results of the entire home space are obtained by summarizing the monitoring results of Room A, Room B, and Room C.

[0036] In an exemplary embodiment, the execution process of obtaining the instruction reception results of the multiple devices in step S204 specifically includes: obtaining the first instruction reception result of each device among the multiple devices in the preset time period, where the first instruction reception result is used to indicate the instruction reception situation of the instruction whose instruction type is a local control instruction; obtaining the second instruction reception result of each device among the multiple devices in the preset time period, where the second instruction reception result is used to indicate the instruction reception situation of the instruction whose instruction type is a mobile device connection instruction; and determining the first instruction reception result and the second instruction reception result as the instruction reception result.

[0037] Optionally, in the above embodiment, the local control instruction represents an instruction for the user to manually control the device. For example, adjusting the temperature of the air conditioner through a remote control, opening or closing the refrigerator door, starting the washing machine through a manual button, etc. Since the local control instruction requires the user to manually control near the device, it can be used to determine whether there is someone near the device.

[0038] Optionally, in the above embodiment, the mobile device connection instruction represents a connection instruction initiated by the user's mobile terminal device to the device. For example, a Bluetooth speaker detects that the user's mobile phone has made a connection, a router detects that the user's mobile phone has made a network connection, etc. When the device detects that a mobile terminal device such as a mobile phone has made a connection, it indicates that a user has entered the monitoring area with the mobile terminal.

[0039] In an exemplary embodiment, the execution process of generating the state of the monitoring area based on the monitoring result and the instruction reception result in step S206 specifically includes: when it is determined that both the monitoring result and the instruction reception result indicate that the state of the monitoring area is an unmanned state, determining the state of the monitoring area as an unmanned state; when it is determined that at least one of the monitoring result and the instruction reception result indicates that the state of the monitoring area is a manned state, determining the state of the monitoring area as a manned state.

[0040] In an exemplary embodiment, the state of the monitoring area indicated by the monitoring result can be determined in the following manner: when it is determined that any sensor on any device among the multiple devices monitors the presence of a target object in the monitoring area, determining that the state of the monitoring area indicated by the monitoring result is a manned state; when it is determined that all sensors on the multiple devices do not monitor the presence of a target object in the monitoring area, determining that the state of the monitoring area indicated by the monitoring result is an unmanned state.

[0041] In an exemplary embodiment, the status of the monitoring area indicated by the instruction reception result may be determined in the following manner: when it is determined that any one of the multiple devices receives a local control instruction within the preset time period, the status of the monitoring area indicated by the first instruction reception result is the occupied state; when it is determined that any one of the multiple devices receives a mobile device connection instruction within the preset time period, the status of the monitoring area indicated by the second instruction reception result is the occupied state; when it is determined that at least one of the first instruction reception result and the second instruction reception result indicates that the status of the monitoring area is the occupied state, the status of the monitoring area indicated by the instruction reception result is determined to be the occupied state.

[0042] Optionally, in the above embodiment, the status of the monitoring area indicated by the instruction reception result may also be determined in the following manner: when it is determined that all of the multiple devices do not receive a local control instruction within the preset time period, the status of the monitoring area indicated by the first instruction reception result is the unoccupied state; when it is determined that all of the multiple devices do not receive a mobile device connection instruction within the preset time period, the status of the monitoring area indicated by the second instruction reception result is the unoccupied state; when it is determined that both the first instruction reception result and the second instruction reception result indicate that the status of the monitoring area is the unoccupied state, the status of the monitoring area indicated by the instruction reception result is determined to be the unoccupied state.

[0043] In an exemplary embodiment, the execution process of controlling multiple devices within the monitoring area according to the status of the monitoring area in step S206 above specifically includes: when it is determined that the status of the monitoring area changes from the occupied state to the unoccupied state, controlling the multiple devices to enter the first mode respectively, where the first modes corresponding to the multiple devices are different, and the first mode at least includes: energy-saving mode, security mode, sleep mode; when it is determined that the status of the monitoring area changes from the unoccupied state to the occupied state, controlling the multiple devices to enter the second mode respectively, where the second mode at least includes: working mode, and the device parameters of the multiple devices in the second mode are the parameters preset by the target object.

[0044] To better understand the process of the above device control method, the implementation method flow of the above device control is further described below in combination with optional embodiments, but it is not used to limit the technical solutions of the embodiments of the present application.

[0045] In this embodiment, a device control method is provided. Figure 3 It is a schematic flowchart of the device control method according to the embodiments of the present application, as Figure 3As shown, for example, when the monitoring area is a home space, there are N smart home devices in total, and the total sensing range of all devices can cover all spaces in the home. Each device sends the sensing monitoring results to the IoT cloud platform, and each device sends the control command reception results to the IoT cloud platform. After receiving the monitoring results and command reception results of each device, the IoT cloud platform starts calculation to determine whether the state of the home space is occupied or unoccupied. The specific judgment rules include:

[0046] 1) When the monitoring results and command receiving results of all devices indicate that the home is unoccupied, it is determined that the home is unoccupied;

[0047] 2) When the monitoring result of any device indicates that a home is occupied, the home is determined to be occupied;

[0048] 3) When the command reception result of any device indicates that the home is occupied, it is determined that the home is occupied;

[0049] 4) After the home enters the occupied state, all home appliances have not detected anyone for a long time and have not received local control commands and mobile device connection commands, then the home is determined to be in an unoccupied state.

[0050] It should be noted that the above-mentioned command reception results at least include the command types received by the device in a preset time period, and the command types include local control commands and mobile device connection commands. Local control commands refer to commands for users to manually control the device, such as adjusting the temperature of the air conditioner through a remote control, opening and closing the refrigerator door, starting the washing machine through a manual button, and other control commands. Mobile device connection commands refer to connection commands initiated by the user's mobile terminal device to the device, such as a Bluetooth speaker detecting that the user's mobile phone is connected, a router detecting that the user's mobile phone is connected to the network, and other connection commands.

[0051] When the physical network cloud platform determines that the home status has changed from occupied to unoccupied, the home appliances in the whole house will be linked to enter energy-saving mode, security mode, sleep mode, etc. Users can set it for each specific smart home device.

[0052] When the physical network cloud platform determines that the state of the home has changed from unoccupied to occupied, the devices in the occupied rooms are linked to enter the working mode, and the devices in other rooms exit the energy-saving mode, security mode, sleep mode, etc., so that they can respond in time when users use them.

[0053] Furthermore, in the above embodiment, the user can also configure device linkage solutions for leaving home or returning home scenarios for multiple devices to control the devices.

[0054] Through the above embodiments, full-range monitoring coverage of the home space can be achieved, accurately sensing the activity status of people in the home, greatly enhancing the scene linkage effect between smart home devices, and improving the user experience.

[0055] Through the description of the above implementation manners, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation manner. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present application.

[0056] Figure 4 is a structural block diagram of a device control device according to an embodiment of the present application; as Figure 4 shown, it includes:

[0057] A monitoring module 42, configured to obtain monitoring results of a plurality of devices on a monitoring area, where the monitoring results are used to indicate whether a target object exists in the monitoring area;

[0058] An obtaining module 44, configured to obtain the instruction receiving results of the plurality of devices, where the instruction receiving results at least include the instruction types received by the plurality of devices in a preset time period;

[0059] A control module 46, configured to generate a state of the monitoring area based on the monitoring results and the instruction receiving results, and control a plurality of devices in the monitoring area according to the state of the monitoring area, where the state of the monitoring area is used to indicate the existence of a target object.

[0060] Through the above device, obtain the monitoring results of a plurality of devices on a monitoring area, where the monitoring results are used to indicate whether a target object exists in the monitoring area; obtain the instruction receiving results of the plurality of devices, where the instruction receiving results at least include the instruction types received by the plurality of devices in a preset time period; generate a state of the monitoring area based on the monitoring results and the instruction receiving results, and control a plurality of devices in the monitoring area according to the state of the monitoring area, where the state of the monitoring area is used to indicate the existence of a target object. Solve the problem of how to accurately control devices in the related art, and further achieve the effect of accurately controlling devices.

[0061] In an exemplary embodiment, the above-mentioned monitoring module 42 is further configured to: obtain the monitoring results of each sub-region through the sensors on each of the multiple devices, so as to obtain the monitoring results of multiple sub-regions; determine the monitoring results of the multiple sub-regions as the monitoring results, where the monitoring region is composed of the multiple sub-regions.

[0062] In an exemplary embodiment, the above-mentioned acquisition module 44 is further configured to: obtain the first instruction reception result of each of the multiple devices during the preset time period, where the first instruction reception result is used to indicate the instruction reception situation of the instruction whose instruction type is a local control instruction; obtain the second instruction reception result of each of the multiple devices during the preset time period, where the second instruction reception result is used to indicate the instruction reception situation of the instruction whose instruction type is a mobile device connection instruction; determine the first instruction reception result and the second instruction reception result as the instruction reception result.

[0063] In an exemplary embodiment, the above-mentioned control module 46 is further configured to: when it is determined that both the monitoring result and the instruction reception result indicate that the state of the monitoring region is an unoccupied state, determine the state of the monitoring region as an unoccupied state; when it is determined that at least one of the monitoring result and the instruction reception result indicates that the state of the monitoring region is an occupied state, determine the state of the monitoring region as an occupied state.

[0064] In an exemplary embodiment, the above-mentioned control module 46 is further configured to: when it is determined that any sensor on any one of the multiple devices monitors that there is a target object in the monitoring region, determine that the state of the monitoring region indicated by the monitoring result is an occupied state; when it is determined that all sensors on the multiple devices do not monitor that there is a target object in the monitoring region, determine that the state of the monitoring region indicated by the monitoring result is an unoccupied state.

[0065] In an exemplary embodiment, the above-mentioned control module 46 is further configured to: when it is determined that any one of the multiple devices receives a local control instruction during the preset time period, determine that the state of the monitoring region indicated by the first instruction reception result is an occupied state; when it is determined that any one of the multiple devices receives a mobile device connection instruction during the preset time period, determine that the state of the monitoring region indicated by the second instruction reception result is an occupied state; when it is determined that at least one of the first instruction reception result and the second instruction reception result indicates that the state of the monitoring region is an occupied state, determine the state of the monitoring region indicated by the instruction reception result as an occupied state.

[0066] In an exemplary embodiment, the above control module 46 is further configured to: when it is determined that the state of the monitoring area changes from the occupied state to the unoccupied state, control the multiple devices to enter the first mode respectively, where the first modes corresponding to the multiple devices are different, and the first mode at least includes: an energy-saving mode, a security mode, and a sleep mode; when it is determined that the state of the monitoring area changes from the unoccupied state to the occupied state, control the multiple devices to enter the second mode respectively, where the second mode at least includes: a working mode, and the device parameters of the multiple devices in the second mode are the parameters preset for the target object.

[0067] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the above program executes the method of any one of the above when running.

[0068] Optionally, in this embodiment, the above storage medium may be set to store program codes for executing the following steps:

[0069] S1. Obtain the monitoring results of multiple devices for a monitoring area, where the monitoring results are used to indicate whether there is a target object in the monitoring area;

[0070] S2. Obtain the instruction reception results of the multiple devices, where the instruction reception results at least include the types of instructions received by the multiple devices within a preset time period;

[0071] S3. Generate the state of the monitoring area based on the monitoring results and the instruction reception results, and control the multiple devices in the monitoring area according to the state of the monitoring area, where the state of the monitoring area is used to indicate the presence of the target object.

[0072] An embodiment of the present application further provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0073] Optionally, the above electronic device may further include a transmission device and an input / output device, where the transmission device is connected to the above processor, and the input / output device is connected to the above processor.

[0074] Optionally, in this embodiment, the above processor may be configured to execute the following steps through a computer program:

[0075] S1. Obtain the monitoring results of multiple devices for a monitoring area, where the monitoring results are used to indicate whether there is a target object in the monitoring area;

[0076] S2. Obtain the instruction reception results of the multiple devices, where the instruction reception results at least include the types of instructions received by the multiple devices within a preset time period;

[0077] S3. Generate the status of the monitoring area based on the monitoring results and the instruction reception results, and control the multiple devices in the monitoring area according to the status of the monitoring area, where the status of the monitoring area is used to indicate the presence of the target object.

[0078] Optionally, in this embodiment, the above storage medium may include, but is not limited to: USB flash drive, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disc, etc., various media that can store program codes.

[0079] An embodiment of the present application also provides a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0080] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0081] An embodiment of the present application also provides a computer program. The computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in any one of the above method embodiments.

[0082] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and will not be repeated here.

[0083] Obviously, those skilled in the art should understand that the various modules or steps of the present application described above can be implemented by a general-purpose computing device. They can be centralized on a single computing device or distributed over a network composed of multiple computing devices. Optionally, they can be implemented with program codes executable by the computing device. Thus, they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.

[0084] The above description is only the preferred embodiment of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can still be made, and these improvements and refinements should also be regarded as the protection scope of the present application.

Claims

1. A device control method, characterized in that: include: Acquire monitoring results of a monitoring area by multiple devices, wherein the monitoring results are used to indicate whether a target object exists in the monitoring area; Acquire instruction reception results of the multiple devices, wherein the instruction reception results at least include instruction types received by the multiple devices in a preset time period; The state of the monitoring area is generated based on the monitoring result and the instruction reception result, and multiple devices in the monitoring area are controlled according to the state of the monitoring area, wherein the state of the monitoring area is used to indicate the existence of the target object.

2. The device control method according to claim 1, characterized in that: The monitoring area at least includes the area to which the multiple devices belong and the area covered by the monitoring signals of the multiple devices, and obtaining the monitoring results of the multiple devices on the monitoring area includes: Acquire monitoring results of each sub-area through sensors on each of the multiple devices to obtain monitoring results of multiple sub-areas; The monitoring results of the multiple sub-areas are determined as the monitoring result, wherein the monitoring area is composed of the multiple sub-areas.

3. The device control method according to claim 1, characterized in that: Obtaining command reception results of the multiple devices, including: Obtaining a first instruction reception result of each device in the plurality of devices in the preset time period, wherein the first instruction reception result is used to indicate an instruction reception status of the instruction type being a local control instruction; Obtaining a second instruction reception result of each device in the plurality of devices in the preset time period, wherein the second instruction reception result is used to indicate an instruction reception status of the instruction type being a mobile device connection instruction; The first instruction reception result and the second instruction reception result are determined as the instruction reception result.

4. The device control method according to claim 1, characterized in that: Generating the state of the monitoring area based on the monitoring result and the instruction receiving result includes: In the case where it is determined that both the monitoring result and the command receiving result indicate that the state of the monitoring area is an unmanned state, determining the state of the monitoring area as an unmanned state; In the case where it is determined that at least one of the monitoring result and the instruction reception result indicates that the state of the monitoring area is a occupied state, the state of the monitoring area is determined to be a occupied state.

5. The device control method according to claim 4, characterized in that: The state of the monitoring area indicated by the monitoring result is determined by: In a case where it is determined that any sensor on any device among the multiple devices detects that a target object exists in the monitoring area, determining that the state of the monitoring area indicated by the monitoring result is a human state; When it is determined that all sensors on the plurality of devices do not detect the existence of the target object in the monitoring area, it is determined that the state of the monitoring area indicated by the monitoring result is an unmanned state.

6. The device control method according to claim 4, characterized in that: The state of the monitoring area indicated by the instruction reception result is determined by: When it is determined that any one of the multiple devices receives the local control instruction during the preset time period, the state of the monitoring area indicated by the first instruction reception result is a occupied state; When it is determined that any one of the plurality of devices receives a mobile device connection instruction during the preset time period, the state of the monitoring area indicated by the second instruction reception result is a occupied state; When it is determined that at least one of the first instruction reception result and the second instruction reception result indicates that the state of the monitoring area is a occupied state, the state of the monitoring area indicated by the instruction reception result is determined to be a occupied state.

7. The device control method according to claim 1, characterized in that: Controlling a plurality of devices in the monitoring area according to the state of the monitoring area includes: When it is determined that the state of the monitoring area is changed from a occupied state to an unoccupied state, controlling the multiple devices to enter the first mode respectively, wherein the first modes corresponding to the multiple devices are different, and the first modes at least include: energy saving mode, security mode, and sleep mode; When it is determined that the state of the monitoring area is changed from an unmanned state to a manned state, the multiple devices are controlled to enter a second mode respectively, wherein the second mode at least includes: a working mode, and the device parameters of the multiple devices in the second mode are the pre-set parameters of the target object.

8. A device control device, characterized in that: include: A monitoring module, used to obtain monitoring results of a monitoring area by multiple devices, wherein the monitoring results are used to indicate whether a target object exists in the monitoring area; An acquisition module, configured to acquire instruction reception results of the multiple devices, wherein the instruction reception results at least include instruction types received by the multiple devices in a preset time period; A control module is used to generate a state of the monitoring area based on the monitoring result and the instruction reception result, and control multiple devices in the monitoring area according to the state of the monitoring area, wherein the state of the monitoring area is used to indicate the existence of a target object.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 7 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.