CN116520715A - Control method and device of equipment, computer equipment and storage medium - Google Patents

Control method and device of equipment, computer equipment and storage medium Download PDF

Info

Publication number
CN116520715A
CN116520715A CN202310642512.7A CN202310642512A CN116520715A CN 116520715 A CN116520715 A CN 116520715A CN 202310642512 A CN202310642512 A CN 202310642512A CN 116520715 A CN116520715 A CN 116520715A
Authority
CN
China
Prior art keywords
space
equipment
target object
controlling
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310642512.7A
Other languages
Chinese (zh)
Inventor
刘进轩
吴欢龙
谭云龙
王创
曾巍
潘金平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202310642512.7A priority Critical patent/CN116520715A/en
Publication of CN116520715A publication Critical patent/CN116520715A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention relates to a control method and device of equipment, computer equipment and a storage medium, wherein the method comprises the following steps: when detecting that a target object exists in a first space, acquiring operation parameters of first equipment in the first space; when the target object is detected to appear in the second space, controlling second equipment in the second space to be started; and controlling the second equipment according to the operation parameters, so that the equipment can be automatically opened under the condition that the user does not perceive the equipment, the equipment is adjusted to the working state set by the user, and the user experience is improved.

Description

Control method and device of equipment, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of intelligent home, in particular to a control method and device of equipment, computer equipment and a storage medium.
Background
With the popularization of the internet of things technology, more and more household appliances have intelligent interconnection functions, and users can control the appliances in the household through a remote controller and a smart phone. Air conditioners are indispensable devices in every home, and when there are a plurality of rooms and vehicles in the home, there may be a plurality of air conditioners in each different space, and each time a user switches the space, the remote controller needs to be searched to turn on the air conditioners, set the temperature, the wind speed, etc., and the operation is frequently repeated.
Therefore, how to quickly control the device when the user switches between different spaces is a problem to be solved.
Disclosure of Invention
In view of this, in order to solve the above-mentioned technical problem of rapidly controlling devices when users switch different spaces, embodiments of the present invention provide a method, an apparatus, a computer device, and a storage medium for controlling devices.
In a first aspect, an embodiment of the present invention provides a method for controlling a device, including:
when detecting that a target object exists in a first space, acquiring operation parameters of first equipment in the first space;
when the target object is detected to appear in the second space, controlling second equipment in the second space to be started;
and controlling the second equipment according to the operation parameters.
In one possible implementation manner, when detecting that the target object exists in the first space, acquiring the operation parameters of the first device in the first space includes:
when the target object is detected to enter the first space, acquiring identity information of the target object;
when the first time length of the target object staying in the first space is larger than a first threshold value, controlling the first equipment to be started;
And acquiring parameter information and working modes of the first equipment corresponding to the identity information as the operation parameters.
In a possible implementation manner, when the target object is detected to be present in the second space, controlling the second device in the second space to be turned on includes:
when the target object is detected to enter the second space, acquiring image information of the target object;
determining that the target object is in a stay state when the similarity between the image information and the preset image information is larger than a second threshold value,
and controlling the first equipment to be closed and controlling the second equipment to be opened.
In one possible embodiment, the method further comprises:
when the similarity between the image information and the preset image information is smaller than or equal to a second threshold value, determining that the target object is in a non-stay state;
and when the second time length of the target object staying in the second space is larger than a third threshold value, controlling the first equipment to be closed and controlling the second equipment to be opened.
In one possible embodiment, when detecting that a first object and a second object exist in the first space, the method further includes:
Acquiring a first operation parameter corresponding to the first object and a first priority of the first operation parameter;
acquiring a second operation parameter corresponding to the second object and a second priority of the second operation parameter;
and controlling the first equipment to be started, and controlling the first equipment to operate according to the first operation parameter, wherein the first priority is higher than the second priority.
In one possible embodiment, the method further comprises:
when the fact that only the second object exists in the first space and only the first object exists in the second space is detected, the first device is controlled to operate according to the second operation parameters;
and controlling the second equipment to be started, and controlling the second equipment to operate according to the first operation parameters.
In one possible embodiment, when the operation parameter includes an operation duration, the method further includes:
when the target object is detected to leave the first space, acquiring a third time length for the first device to run;
determining a fourth time length remaining in the operation time length according to the operation time length and the third time length;
and when the target object is detected to appear in the second space, controlling the second equipment to be started, and controlling the second equipment to operate according to the fourth duration and the operation parameters.
In a second aspect, an embodiment of the present invention provides a control apparatus for a device, including:
the acquisition module is used for acquiring the operation parameters of the first equipment in the first space when the existence of the target object in the first space is detected;
the control module is used for controlling second equipment in the second space to be started when the target object in the second space is detected;
the control module is further used for controlling the second device according to the operation parameters.
In a third aspect, an embodiment of the present invention provides a computer apparatus, including: a processor and a memory, the processor being configured 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 the above first aspects.
In a fourth aspect, an embodiment of the present invention provides a storage medium storing one or more programs executable by one or more processors to implement the method for controlling an apparatus according to any one of the first aspects.
According to the control scheme of the equipment provided by the embodiment of the invention, when the existence of the target object in the first space is detected, the operation parameters of the first equipment in the first space are obtained; when the target object is detected to appear in the second space, controlling second equipment in the second space to be started; and controlling the second equipment according to the operation parameters, so that the equipment can be automatically opened under the condition that the user does not perceive the equipment, the equipment is adjusted to the working state set by the user, and the user experience is improved.
Drawings
Fig. 1 is a schematic flow chart of a control method of a device according to an embodiment of the present invention;
fig. 2 is a flow chart of another control method of the device according to the embodiment of the present invention;
fig. 3 is a flow chart of a control method of another device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device of an apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For the purpose of facilitating an understanding of the embodiments of the present invention, reference will now be made to the following description of specific embodiments, taken in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the invention.
Fig. 1 is a flow chart of a control method of an apparatus according to an embodiment of the present invention, as shown in fig. 1, where the method specifically includes:
and S11, when the existence of the target object in the first space is detected, acquiring the operation parameters of the first equipment in the first space.
The control method of the device provided by the embodiment of the invention is applied to computer equipment, the computer equipment can be a server, an intelligent home control system and the like, the controlled equipment is the intelligent home equipment, and a plurality of devices can exist in different rooms of a household generally, and the method can comprise the following steps: the air conditioner, the humidifier, the television, the intelligent lamp and the like are used for actively helping a user to open equipment when the user enters different spaces by acquiring the operation parameters of first equipment in a first space and controlling second equipment in a second space through the operation parameters, and the operation states set by the user are adjusted.
In this embodiment, the target object is a preset user, the target object corresponds to a plurality of spaces, the plurality of spaces may be a plurality of rooms in a user's home and vehicles of the user, the same type of equipment (for example, an air conditioner, a humidifier, an intelligent lamp, etc.) is arranged in each space, the first space is any room in the user's home or any vehicle of the user, a first device exists in the first space, the first devices in the user's home and in the automobile are connected to the internet in advance, information such as identification and working mode of the first device can be transmitted to the server, and a relative relation among the user, each space and the devices is established, when the target object enters the first space, the target object is detected to enter and be always in the first space through a human body sensing device in the first space, the target object can be started and adjusted through a remote controller, and when the current first device is detected to be started, the server obtains the working mode and parameter information of the current first device as operation parameters (when the first device is the air conditioner, the working mode can include air conditioning, the temperature information, the air-out temperature information and the like; when the first device is a humidifier, the working mode may include a standard mode, a sleep mode, a timing off mode, etc., the parameter information may include humidity, humidifier power, etc.), and the operation parameter of the first device is stored corresponding to the target object and the first space. The sensing device can be an infrared sensor, a camera, a radar sensor, a communicable sensor carried by a user, and the like.
In one possible embodiment, after detecting that the object enters the first space, a face image of the object is acquired, similarity confirmation is performed with a pre-stored face image of the target object, and the object is determined to be the target object when the similarity is greater than a set threshold.
In a possible implementation manner, the server may store in advance the operation parameters corresponding to the target object, where the operation parameters may be recorded and stored according to the history of using the first device by the target object, or the operation parameters may be actively input by the target object and stored in the server, and after detecting that the target object enters the first space, the operation parameters corresponding to the target object are obtained, and the air conditioner is started to control the air conditioner to operate according to the operation parameters.
And S12, when the target object is detected to appear in the second space, controlling second equipment in the second space to be started.
In this embodiment, the second space is any space corresponding to the target object, the second space is provided with a second device, the second device and the first device are the same type of device (for example, an air conditioner, a humidifier, an intelligent lamp, etc.), after the target object leaves the first space and enters the second space, whether the target object appears in the second space is detected by a human body sensing device in the second space, and when the target object appears is detected, the server sends an opening instruction to the second device, and controls the second device to be opened according to the opening instruction.
In one possible embodiment, a face image of the object entering the second space is acquired, and similarity confirmation is performed with a face image of a target object stored in advance, and the object is determined to be the target object when the similarity is greater than a set threshold.
S13, controlling the second equipment according to the operation parameters.
In this embodiment, the server generates a control instruction based on the operation parameter of the first device, sends the control instruction to the second device, and controls the second device to operate according to the operation parameter of the first device according to the control instruction.
In one possible implementation manner, when the target object is detected to leave the first space, acquiring a third time length for which the first device is already operated; determining the remaining fourth time length according to the operation time length and the third time length; and when the target object in the second space is detected, controlling the second equipment to be started, and controlling the second equipment to operate according to the fourth duration and the operation parameters.
Specifically, the operation duration is a duration (for example, the user sets that the air conditioner is automatically turned off after running for 1 hour) that the first device is required to run altogether, when the operation parameter includes the operation duration of the first device, the third time that the first device has run currently is obtained when the target object leaves the first space, the fourth time is obtained by subtracting the third time from the operation duration, and when the target object is detected to appear in the second space and the second device is controlled to be turned on, the second device is controlled to run according to the fourth time and the operation parameter.
For example, as shown in fig. 3, which is a schematic flow chart of a control method of another device provided by the embodiment of the present invention, the first space is a bedroom, the second space is a vehicle, the first device is an air conditioner of the bedroom, the second device is an air conditioner of the vehicle, firstly, all air conditioners in a user's home and in a vehicle are connected to the internet, so that functions of controlling on/off, temperature, wind speed, wind sweeping and the like of the air conditioner can be achieved; when the user A enters a bedroom, acquiring facial images of the user A through a camera and uploading the facial images to a server, determining the facial images as target objects, clicking an AI perception function on a remote controller or a mobile phone APP by the user A, and when the user presses the button, automatically uploading parameters or on-off states of functions such as temperature, mode, wind speed, wind sweeping and the like set by the user on an air conditioner as operation parameters; after a period of time, a user moves into the vehicle, an infrared sensor or a camera is arranged in the vehicle, after the user A is detected to enter the vehicle, the air conditioner acquires the operation parameters set by the user at the cloud end, and controls the air conditioner of the vehicle to be started and operated according to the operation parameters, so that the air conditioner in the vehicle is consistent with the air conditioner in a bedroom in operation state. An infrared sensor on an air conditioner in a bedroom detects whether a person is moving indoors or not, if no person is detected, the air conditioner is shut down, and if the person is moving, the air conditioner is kept in an original state until the sensor does not detect the person and then is shut down. If the user goes to other rooms or automobiles, the air conditioner still operates according to the program; after the AI sensing function is started, if a user changes the operation parameters such as the temperature, the mode, the wind speed, the wind sweeping and the like of any air conditioner, the changed information is synchronously updated and uploaded to a server, and then other air conditioners are transmitted into the server, and the operation parameters of other air conditioners are also changed; after the AI perception function is started, if a user presses the AI perception key again through a remote controller or mobile phone APP and other devices, the function of the air conditioner is closed, the current operation is continuously maintained, and the air conditioner does not work on other air conditioners.
According to the control method of the equipment, when the existence of the target object in the first space is detected, the operation parameters of the first equipment in the first space are obtained; when the target object is detected to appear in the second space, controlling second equipment in the second space to be started; and controlling the second equipment according to the operation parameters, so that the equipment can be automatically opened under the condition that the user does not perceive the equipment, the equipment is adjusted to the working state set by the user, and the user experience is improved.
Fig. 2 is a flow chart of another method for controlling a device according to an embodiment of the present invention, as shown in fig. 2, where the method specifically includes:
s21, when the fact that the target object enters the first space is detected, acquiring identity information of the target object; when the first time length of the target object staying in the first space is larger than a first threshold value, controlling the first equipment to be started; and acquiring parameter information and working modes of the first equipment corresponding to the identity information as the operation parameters.
In this embodiment, the description is performed by using the first device and the second device as an air conditioner, where an infrared sensor and a camera are disposed in the first space, and after detecting that an object enters the first space through the infrared sensor, an image of the object is acquired, where the image may be: facial images or whole body images. The server stores one or more images corresponding to the target objects, identity information corresponding to each target object and operation parameters corresponding to each identity information (the identity information is user A, the corresponding operation parameters are that the user A scans wind up and down, refrigerates for 26 degrees and is closed in one hour at regular time), namely, the corresponding relation among the target objects, the identity information and the operation parameters is generated. The operation parameter characterizes habit of the target object corresponding to each identity information when using the air conditioner, which may be input by the target object, or obtain the historical operation parameter of the target object when using the air conditioner historically as the operation parameter corresponding to the identity information of the target object, which may include, but is not limited to: temperature information, working mode, temperature, wind sweeping, wind speed, operation time length and the like of the air conditioner.
Further, comparing the acquired image with the image of the target object stored in the server, determining that the object is the target object when the similarity is larger than a set threshold, and determining the identity information of the target object from the corresponding relation. And obtaining the time of the target object entering the first space, calculating the stay time of the target object entering the first space as a first time according to the current time, and when the first time is longer than a first threshold value, representing that the target object stays in the first space for a long time, at the moment, sending an opening instruction by the server to control the first equipment to be opened, and obtaining the operation parameters corresponding to the identity information.
In one possible implementation, a target operation of a target object is received; controlling the first equipment to be started and run according to the target operation; and acquiring current parameter information and working mode of the first equipment as the operation parameters.
Specifically, the air conditioner needs to be in a preset working state, for example, an AI sensing state, in which a step of acquiring an operation parameter is triggered after a target object enters a first space, the target operation is to start a first device and start the AI sensing state of the first device through control triggered by a remote controller or a mobile phone APP, and adjust the operation of the working mode of the air conditioner, after the target object enters the first space, the target operation is triggered, the first device is started and operated, and a server acquires current parameter information, the working mode and the like of the first device as the operation parameter, wherein the parameter information may include: the air outlet temperature, working power, working time length, wind speed and the like of the first device, and the working modes can include: the first device is currently cooling, heating, dehumidifying or air supplying etc.
S22, when the target object is detected to enter the second space, acquiring image information of the target object; and when the similarity between the image information and the preset image information is larger than a second threshold value, determining that the target object is in a stay state, controlling the first equipment to be closed, and controlling the second equipment to be opened.
In this embodiment, the second device is turned off when the target object does not exist in the second space, the second space is provided with the infrared sensor and the camera, after the infrared sensor detects that the object enters the second space, the whole body image and the face image of the object are acquired as image information, and when the similarity between the face image and the face image of the target object is greater than a set threshold value, the object is determined to be the target object. Further, whether the target object is in a stay state or not is judged according to the whole body image, the judging method is that the current posture of the user is a sitting posture, a standing posture or a lying posture according to the whole body image, the target object is determined to be in the stay state when the current posture is the sitting posture or the lying posture, and the stay state indicates that the target object is in a second space for a long time and a second device needs to be started at the moment; and when the current gesture is the standing gesture, determining that the target object is in a non-stay state, wherein the non-stay state characterizes that the target object is in a second space for a short time, and the second equipment does not need to be started at the moment. The judging method may be that preset image information is preset, the preset image information may be an image of a sitting posture or a lying posture of the target object, the similarity between the whole body image in the image information of the user and the preset image information is determined, the target object is determined to be in a stay state when the similarity is greater than a second threshold value, the target object is illustrated to move from a first space to a second space and stay in the second space for a long time, and at the moment, the first device is controlled to be turned off and the second device is controlled to be turned on.
In one possible embodiment, when the second space is a vehicle, it may be determined whether the door is closed after the target object enters the vehicle, or whether the vehicle is opened, when it is determined that the door is not closed or the vehicle is not opened, it is determined that the target object is in a non-stay state, when it is determined that the door is closed and the vehicle is opened, it is determined that the target object is in a stay state, at which time the first device is controlled to be closed, and the second device is controlled to be opened.
In one possible implementation manner, the target object is determined to be in a non-stay state when the similarity between the image information and the preset image information is smaller than or equal to a second threshold value; further acquiring a second time length of the target object staying in the second space, and when the second time length is larger than a third threshold value, indicating that the target object is changed from a non-staying state to a staying state, controlling the first equipment to be closed and controlling the second equipment to be opened.
S23, controlling the second equipment according to the operation parameters.
The embodiment is similar to step S13, and the detailed description is omitted herein for brevity.
In one possible implementation manner, when the first object and the second object exist in the first space, a first operation parameter corresponding to the first object and a first priority of the first operation parameter are obtained; acquiring a second operation parameter corresponding to the second object and a second priority of the second operation parameter; and controlling the first equipment to be started and controlling the first equipment to operate according to the first operation parameters.
When detecting that only a second object exists in the first space and only the first object exists in the second space, controlling the first device to operate according to the second operation parameters; and controlling the second equipment to be started and controlling the second equipment to operate according to the first operation parameters.
Specifically, the server stores operation parameters corresponding to each target object in advance, and priorities corresponding to each operation parameter, and when a plurality of target objects are simultaneously present in the first space, the air conditioner is controlled to operate according to the operation parameter with the highest priority. When the plurality of target objects are a first object and a second object, respectively acquiring a first operation parameter and a corresponding first priority, and a second operation parameter and a corresponding second priority, wherein the first priority is higher than the second priority. And controlling the first equipment to be started and controlling the first equipment to operate according to the first operation parameters.
When the first object is detected to leave the first space, only the second object exists in the first space, and the first device is controlled to operate according to the second operation parameters. And after the first object is detected to enter the second space, controlling the second equipment to be started, and controlling the second equipment to operate according to the first operation parameters. And when the first object is detected to reenter the first space, judging the priorities of the first object and the second object again, and controlling the first equipment to operate according to the first operation parameters.
According to the control method of the equipment, when the target object is detected to enter the first space, the identity information of the target object is obtained; when the first time length of the target object staying in the first space is larger than a first threshold value, controlling the first equipment to be started; acquiring parameter information and a working mode of first equipment corresponding to the identity information as operation parameters; when the target object is detected to enter the second space, acquiring image information of the target object; when the similarity between the image information and the preset image information is larger than a second threshold value, determining that the target object is in a stay state, controlling the first equipment to be closed, and controlling the second equipment to be opened; controlling the second device according to the operation parameters; therefore, the equipment can be automatically opened under the condition that the user does not feel the equipment, the working state set by the user is adjusted, the user does not need to manually adjust the equipment in different spaces, and the user experience is improved.
Fig. 4 is a schematic structural diagram of a control device of an apparatus according to an embodiment of the present invention, as shown in fig. 4, where the device specifically includes:
an obtaining module 41, configured to obtain an operation parameter of a first device in a first space when it is detected that a target object exists in the first space;
A control module 42, configured to control a second device in a second space to be turned on when the target object is detected to be present in the second space;
the control module 42 is further configured to control the second device according to the operation parameter.
In a possible implementation manner, the acquiring module is specifically configured to acquire identity information of a target object when the target object is detected to enter the first space;
the control module is specifically configured to control the first device to be turned on when a first time period when the target object stays in the first space is greater than a first threshold;
the acquisition module is specifically configured to acquire parameter information and a working mode of the first device corresponding to the identity information as the operation parameters;
a receiving module 43, configured to receive a target operation of the target object;
the control module is specifically used for controlling the first equipment to be started and run according to the target operation;
the obtaining module is specifically configured to obtain current parameter information and a working mode of the first device as the operation parameters.
In a possible implementation manner, the acquiring module is specifically configured to acquire image information of the target object when the target object is detected to enter the second space;
A determining module 44, configured to determine that the target object is in a stay state when the similarity between the image information and the preset image information is greater than a second threshold,
and controlling the first equipment to be closed and controlling the second equipment to be opened.
In a possible implementation manner, the determining module is further configured to determine that the target object is in a non-stay state when the similarity between the image information and the preset image information is less than or equal to a second threshold;
the control module is further configured to control the first device to be turned off and control the second device to be turned on when a second time period when the target object stays in the second space is longer than a third threshold.
In a possible implementation manner, the obtaining module is further configured to obtain a first operation parameter corresponding to the first object and a first priority of the first operation parameter;
acquiring a second operation parameter corresponding to the second object and a second priority of the second operation parameter;
the control module is further configured to control the first device to be turned on, and control the first device to operate according to the first operation parameter, where the first priority is higher than the second priority.
In a possible implementation manner, the control module is further configured to control the first device to operate according to the second operation parameter when it is detected that only the second object exists in the first space and only the first object exists in the second space;
and controlling the second equipment to be started, and controlling the second equipment to operate according to the first operation parameters.
In a possible implementation manner, the obtaining module is further configured to obtain a third duration in which the first device has been operated when the target object is detected to leave the first space;
the determining module is further configured to determine a fourth duration remaining in the operation duration according to the operation duration and the third duration;
and the control module is further used for controlling the second equipment to be started when the target object appears in the second space, and controlling the second equipment to operate according to the fourth duration and the operation parameters.
The device control apparatus provided in this embodiment may be an apparatus as shown in fig. 4, and may perform all steps of the control method of the device as shown in fig. 1-3, so as to achieve the technical effects of the control method of the device as shown in fig. 1-3, and detailed description is omitted herein for brevity.
Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention, and the computer device 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in computer device 500 are coupled together by bus system 505. It is understood that bus system 505 is used to enable connected communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 505 in fig. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, a trackball, a touch pad, or a touch screen, etc.).
It will be appreciated that the memory 502 in embodiments of the invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (Double Data Rate SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct memory bus RAM (DRRAM). The memory 502 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 5022 includes various application programs such as a Media Player (Media Player), a Browser (Browser), and the like for realizing various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 5022.
In the embodiment of the present invention, the processor 501 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, for example, including:
when detecting that a target object exists in a first space, acquiring operation parameters of first equipment in the first space;
when the target object is detected to appear in the second space, controlling second equipment in the second space to be started;
And controlling the second equipment according to the operation parameters.
In one possible implementation manner, when the target object is detected to enter the first space, acquiring the identity information of the target object;
when the first time length of the target object staying in the first space is larger than a first threshold value, controlling the first equipment to be started;
and acquiring parameter information and working modes of the first equipment corresponding to the identity information as the operation parameters.
In one possible implementation, when the target object is detected to enter the second space, acquiring image information of the target object;
determining that the target object is in a stay state when the similarity between the image information and the preset image information is larger than a second threshold value,
and controlling the first equipment to be closed and controlling the second equipment to be opened.
In one possible implementation manner, the target object is determined to be in a non-stay state when the similarity between the image information and preset image information is smaller than or equal to a second threshold value;
and when the second time length of the target object staying in the second space is larger than a third threshold value, controlling the first equipment to be closed and controlling the second equipment to be opened.
In a possible implementation manner, a first operation parameter corresponding to the first object and a first priority of the first operation parameter are obtained;
acquiring a second operation parameter corresponding to the second object and a second priority of the second operation parameter;
and controlling the first equipment to be started, and controlling the first equipment to operate according to the first operation parameter, wherein the first priority is higher than the second priority.
In a possible implementation manner, when it is detected that only the second object exists in the first space and only the first object exists in the second space, the first device is controlled to operate according to the second operation parameter;
and controlling the second equipment to be started, and controlling the second equipment to operate according to the first operation parameters.
In a possible implementation manner, when the target object is detected to leave the first space, acquiring a third time length that the first device has operated;
determining a fourth time length remaining in the operation time length according to the operation time length and the third time length;
and when the target object is detected to appear in the second space, controlling the second equipment to be started, and controlling the second equipment to operate according to the fourth duration and the operation parameters.
The method disclosed in the above embodiment of the present invention may be applied to the processor 501 or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in the processor 501. The processor 501 may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software elements in a decoding processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 502, and the processor 501 reads information in the memory 502 and, in combination with its hardware, performs the steps of the method described above.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the processing units may be implemented within one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (dspev, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The computer device provided in this embodiment may be a computer device as shown in fig. 5, and may perform all steps of the control method of the device as shown in fig. 1-3, so as to achieve the technical effects of the control method of the device as shown in fig. 1-3, and refer to the related description of fig. 1-3, which is omitted herein for brevity.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium here stores one or more programs. Wherein the storage medium may comprise volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
When one or more programs in the storage medium are executable by one or more processors, the control method of the device executed on the device side described above is implemented.
The processor is configured to execute a control program of the device stored in the memory, so as to implement the following steps of a control method of the device executed on the device side:
when detecting that a target object exists in a first space, acquiring operation parameters of first equipment in the first space;
when the target object is detected to appear in the second space, controlling second equipment in the second space to be started;
and controlling the second equipment according to the operation parameters.
In one possible implementation manner, when the target object is detected to enter the first space, acquiring the identity information of the target object;
When the first time length of the target object staying in the first space is larger than a first threshold value, controlling the first equipment to be started;
and acquiring parameter information and working modes of the first equipment corresponding to the identity information as the operation parameters.
In one possible implementation, when the target object is detected to enter the second space, acquiring image information of the target object;
determining that the target object is in a stay state when the similarity between the image information and the preset image information is larger than a second threshold value,
and controlling the first equipment to be closed and controlling the second equipment to be opened.
In one possible implementation manner, the target object is determined to be in a non-stay state when the similarity between the image information and preset image information is smaller than or equal to a second threshold value;
and when the second time length of the target object staying in the second space is larger than a third threshold value, controlling the first equipment to be closed and controlling the second equipment to be opened.
In a possible implementation manner, a first operation parameter corresponding to the first object and a first priority of the first operation parameter are obtained;
acquiring a second operation parameter corresponding to the second object and a second priority of the second operation parameter;
And controlling the first equipment to be started, and controlling the first equipment to operate according to the first operation parameter, wherein the first priority is higher than the second priority.
In a possible implementation manner, when it is detected that only the second object exists in the first space and only the first object exists in the second space, the first device is controlled to operate according to the second operation parameter;
and controlling the second equipment to be started, and controlling the second equipment to operate according to the first operation parameters.
In a possible implementation manner, when the target object is detected to leave the first space, acquiring a third time length that the first device has operated;
determining a fourth time length remaining in the operation time length according to the operation time length and the third time length;
and when the target object is detected to appear in the second space, controlling the second equipment to be started, and controlling the second equipment to operate according to the fourth duration and the operation parameters.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A control method of an apparatus, characterized by comprising:
when detecting that a target object exists in a first space, acquiring operation parameters of first equipment in the first space;
when the target object is detected to appear in the second space, controlling second equipment in the second space to be started;
And controlling the second equipment according to the operation parameters.
2. The method of claim 1, wherein when the presence of the target object in the first space is detected, acquiring the operating parameters of the first device in the first space comprises:
when the target object is detected to enter the first space, acquiring identity information of the target object;
when the first time length of the target object staying in the first space is larger than a first threshold value, controlling the first equipment to be started;
and acquiring parameter information and working modes of the first equipment corresponding to the identity information as the operation parameters.
3. The method of claim 2, wherein controlling the second device to turn on in the second space when the presence of the target object in the second space is detected comprises:
when the target object is detected to enter the second space, acquiring image information of the target object;
determining that the target object is in a stay state when the similarity between the image information and the preset image information is larger than a second threshold value,
and controlling the first equipment to be closed and controlling the second equipment to be opened.
4. A method according to claim 3, characterized in that the method further comprises:
when the similarity between the image information and the preset image information is smaller than or equal to a second threshold value, determining that the target object is in a non-stay state;
and when the second time length of the target object staying in the second space is larger than a third threshold value, controlling the first equipment to be closed and controlling the second equipment to be opened.
5. The method of claim 2, wherein when the presence of the first object and the second object within the first space is detected, the method further comprises:
acquiring a first operation parameter corresponding to the first object and a first priority of the first operation parameter;
acquiring a second operation parameter corresponding to the second object and a second priority of the second operation parameter;
and controlling the first equipment to be started, and controlling the first equipment to operate according to the first operation parameter, wherein the first priority is higher than the second priority.
6. The method of claim 5, wherein the method further comprises:
when the fact that only the second object exists in the first space and only the first object exists in the second space is detected, the first device is controlled to operate according to the second operation parameters;
And controlling the second equipment to be started, and controlling the second equipment to operate according to the first operation parameters.
7. The method of claim 1, wherein when the operating parameter includes an operating duration, the method further comprises:
when the target object is detected to leave the first space, acquiring a third time length for the first device to run;
determining a fourth time length remaining in the operation time length according to the operation time length and the third time length;
and when the target object is detected to appear in the second space, controlling the second equipment to be started, and controlling the second equipment to operate according to the fourth duration and the operation parameters.
8. A control device of an apparatus, characterized by comprising:
the acquisition module is used for acquiring the operation parameters of the first equipment in the first space when the existence of the target object in the first space is detected;
the control module is used for controlling second equipment in the second space to be started when the target object in the second space is detected;
the control module is further used for controlling the second device according to the operation parameters.
9. A computer device, comprising: a processor and a memory, the processor being configured 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 storing one or more programs executable by one or more processors to implement the method of controlling an apparatus of any one of claims 1 to 7.
CN202310642512.7A 2023-05-31 2023-05-31 Control method and device of equipment, computer equipment and storage medium Pending CN116520715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310642512.7A CN116520715A (en) 2023-05-31 2023-05-31 Control method and device of equipment, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310642512.7A CN116520715A (en) 2023-05-31 2023-05-31 Control method and device of equipment, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116520715A true CN116520715A (en) 2023-08-01

Family

ID=87404979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310642512.7A Pending CN116520715A (en) 2023-05-31 2023-05-31 Control method and device of equipment, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116520715A (en)

Similar Documents

Publication Publication Date Title
US10584892B2 (en) Air-conditioning control method, air-conditioning control apparatus, and storage medium
CN110186167B (en) Control method and device of air conditioner, air conditioner and storage medium
CN107676938B (en) Air conditioner control method and device, electronic equipment and computer readable storage medium
US20160054017A1 (en) Air conditioning management device, air conditioning system, and program
CN111240555A (en) Intelligent Internet of things menu using camera device
CN110837230A (en) Method and device for controlling equipment, computing equipment and storage medium
CN111023485A (en) Air conditioner control method and device, air conditioner and storage medium
CN113819601A (en) Air conditioner control method and device and electronic equipment
CN103839358A (en) Intelligent air conditioner and anti-theft monitoring method and device thereof
CN113009843A (en) Household appliance control method and device, household appliance and storage medium
CN113339965A (en) Method and device for air conditioner control and air conditioner
CN111256325A (en) Temperature control method, air conditioning apparatus, control apparatus, and storage medium
CN110658736A (en) Household appliance control method, household appliance control device and computer storage medium
CN114488880A (en) Intelligent control method and device of equipment, intelligent switch and storage medium
CN111963473B (en) Fan control method and device and fan
CN111240217B (en) State detection method and device, electronic equipment and storage medium
CN116520715A (en) Control method and device of equipment, computer equipment and storage medium
CN110686372B (en) Air conditioner control method and device and air conditioner
CN110986327A (en) Sleep mode control method of air conditioner and air conditioner
CN112229032A (en) Environment temperature adjusting method, device and computer readable storage medium
CN112443948A (en) Control method and device of multi-split air conditioner and computer readable storage medium
CN115540297A (en) Method and device for controlling fresh air conditioning system and fresh air conditioning system
CN114857745A (en) Method and device for controlling air conditioner to repel mosquitoes, air conditioner and storage medium
CN112628949A (en) Control method, device and equipment of air conditioning equipment and storage medium
CN112856773A (en) Equipment linkage control method and system, control equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination