CN113777943A - Intelligent device control method and device, intelligent device and storage medium - Google Patents

Intelligent device control method and device, intelligent device and storage medium Download PDF

Info

Publication number
CN113777943A
CN113777943A CN202111070367.7A CN202111070367A CN113777943A CN 113777943 A CN113777943 A CN 113777943A CN 202111070367 A CN202111070367 A CN 202111070367A CN 113777943 A CN113777943 A CN 113777943A
Authority
CN
China
Prior art keywords
target
fence
geo
time length
working state
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
CN202111070367.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
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
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, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111070367.7A priority Critical patent/CN113777943A/en
Publication of CN113777943A publication Critical patent/CN113777943A/en
Pending legal-status Critical Current

Links

Images

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)
  • Telephone Function (AREA)

Abstract

The application provides an intelligent device control method and device, an intelligent device and a storage medium, and belongs to the technical field of intelligent devices. The method comprises the following steps: acquiring the target number of persons remaining in a geo-fence, wherein the geo-fence is a geographical range which extends outwards for a preset distance by taking the home geographical position of the target person as a center and comprises intelligent equipment; under the condition that the target number is determined to be less than zero, acquiring a target distance between the target person and the geo-fence and the away-from-home time length of the target person; and controlling the intelligent equipment to enter a preset working state according to at least one of the target distance and the away-from-home time length, wherein the preset working state is determined according to the time length of no reserved personnel in the geo-fence. According to the method and the device, whether the user leaves the intelligent device for a short time or a long time is determined, so that the intelligent device is controlled to enter a preset working state, and a better experience feeling is brought to the user.

Description

Intelligent device control method and device, intelligent device and storage medium
Technical Field
The present application relates to the field of intelligent device technologies, and in particular, to an intelligent device control method, an intelligent device control apparatus, an intelligent device, and a storage medium.
Background
Along with the development of the internet, intelligent equipment gradually enters the sight of people, and more users adopt the intelligent equipment to improve the quality of life. The user can regulate and control smart machine at home to make smart machine more accord with user's demand, if the user leaves home, can close smart machine in order to save the electric energy voluntarily generally. However, if the user forgets to turn off the smart device after leaving home, the smart device cannot know that the user is away from home and still keeps running in the original state, which brings inconvenience to the user.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for controlling an intelligent device, and a storage medium, so as to solve the problem that the intelligent device keeps running in an original state when a user is away from home. The specific technical scheme is as follows:
in a first aspect, a method for controlling an intelligent device is provided, where the method includes:
acquiring the target number of persons remaining in a geo-fence, wherein the geo-fence is a geographical range which extends outwards for a preset distance by taking the home geographical position of the target person as a center and comprises intelligent equipment;
under the condition that the target number is determined to be less than zero, acquiring a target distance between the target person and the geo-fence and the away-from-home time length of the target person;
and controlling the intelligent equipment to enter a preset working state according to at least one of the target distance and the away-from-home time length, wherein the preset working state is determined according to the time length of no reserved personnel in the geo-fence.
Optionally, the obtaining the target number of persons staying in the geo-fence includes:
under the condition that people come in and go out in the geo-fence are detected, the number and the direction of the people coming in and going out at the current moment and the number of the people left at the previous moment are confirmed, wherein the people come in and go out are obtained through a shooting device;
in the event that the access direction is determined to be into the geofence, increasing the access number based on the number of surviving persons to obtain a target number of the surviving persons; or the like, or, alternatively,
in the event that the access direction is determined to be away from the geofence, decreasing the access number based on the number of surviving people, resulting in a target number of the surviving people.
Optionally, the obtaining of the leaving-home duration of the target person includes:
determining a target time when the target number is zero for the first time according to the last recording partition, wherein the memory comprises a plurality of recording partitions, each recording partition comprises a plurality of records of which the target number is from more than zero to zero, each record corresponds to a time, and the target time is used for indicating the time when the last person in the target persons leaves the geo-fence;
determining the current time of the system;
and taking the time difference between the current time and the target time of the system as the leaving-home time length.
Optionally, the controlling the smart device to enter a preset working state according to at least one of the target distance and the away-from-home duration includes:
under the condition that the leaving time length is larger than a preset time length threshold value, controlling the intelligent equipment to enter a first working state, wherein the first working state is the working state of the intelligent equipment when no reserve personnel exist in the geo-fence within the first time length; or the like, or, alternatively,
and under the condition that the target distance is greater than a preset distance threshold value, controlling the intelligent equipment to enter a first working state, wherein the first working state is the working state of the intelligent equipment when no reserve personnel exist in the geo-fence within a first time length.
Optionally, the controlling the smart device to enter a preset working state according to at least one of the target distance and the away-from-home duration includes:
and under the condition that the leaving-home time length is not more than a preset time length threshold value and the target distance is not more than a preset distance threshold value, controlling the intelligent equipment to enter a second working state, wherein the second working state is in the second time length, the working state of the intelligent equipment is in the absence of reserved personnel in the geo-fence, and the second time length is less than the first time length.
Optionally, the controlling the smart device to enter the first working state includes:
acquiring living habits and current environment information of a target user, wherein the living habits are acquired according to historical environment information;
and under the condition that the similarity between the current environment information and the historical environment information is larger than a similarity threshold value, controlling the intelligent equipment to be opened and closed at regular time according to the living habits so that the current environment information meets preset environment conditions.
Optionally, the obtaining the target distance between the target person and the geo-fence comprises:
determining set persons in the target persons according to a selection instruction under the condition that the number of the target persons is multiple, wherein the set persons are persons which are in the geo-fence for a long time and have independent capacity;
determining a mobile wearable device of the set person;
determining a target distance between the mobile wearable device and the geofence from GPS.
In a second aspect, a smart device control module is provided, the module comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the target number of persons remaining in a geo-fence, the geo-fence is a geographical range which takes the home geographical position of a target person as a center and extends outwards for a preset distance, and intelligent equipment is included in the geo-fence;
a second obtaining module, configured to obtain a target distance between the target person and the geo-fence and a time duration of leaving home of the target person when it is determined that the target number is less than zero;
and the control module is used for controlling the intelligent equipment to enter a preset working state according to at least one of the target distance and the away-from-home time length, wherein the preset working state is determined according to the time length of no reserved personnel in the geo-fence.
In a third aspect, an intelligent device is provided, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for the memory to complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of any intelligent equipment control method when executing the program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, in which a computer program is stored, which computer program, when being executed by a processor, realizes any of the intelligent device control method steps.
The embodiment of the application has the following beneficial effects:
the embodiment of the application provides an intelligent device control method, wherein a central server acquires the target number of persons remaining in a geo-fence, acquires the target distance between a target person and the geo-fence and the leaving time length of the target person under the condition that the target number is determined to be less than zero, and controls an intelligent device to enter a preset working state according to at least one of the target distance and the leaving time length, wherein the preset working state is determined according to the time length when no person remains in the geo-fence.
In the application, the intelligent device of the central server can determine whether the user leaves, specifically, whether no persisting personnel exist in the geo-fence is determined according to the number of the persisting personnel, in order to improve the intelligence and the humanization of the intelligent device, the intelligent device is not always in a closed state when no user exists, and whether the user leaves for a short time or leaves for a long time can be determined according to at least one of a target distance and a leaving time, so that the intelligent device is controlled to enter a preset working state, and a better experience feeling is brought to the user.
Of course, not all of the above advantages need be achieved in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware environment of an apparatus control method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method of controlling a device according to an embodiment of the present disclosure;
fig. 3 is a flowchart for controlling an intelligent device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an apparatus control method and apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an intelligent device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
To solve the problems mentioned in the background, according to an aspect of embodiments of the present application, an embodiment of a method for controlling an intelligent device is provided.
Alternatively, in the embodiment of the present application, the device control method may be applied to a hardware environment formed by the smart device 101 and the server 103 as shown in fig. 1. As shown in fig. 1, a server 103 is connected to a smart device 101 through a network, which may be used to provide services for the smart device, and a database 105 may be provided on the server or independent of the server, which may be used to provide data storage services for the server 103, and the network includes but is not limited to: wide area network, metropolitan area network, or local area network, and the smart device 101 includes, but is not limited to, a refrigerator, a television, an air conditioner, and the like.
The intelligent device control method in the embodiment of the present application may be executed by the intelligent device 101, may be executed by the server 103, or may be executed by both the server 103 and the intelligent device 101.
The embodiment of the application can select the central intelligent equipment from the plurality of intelligent equipment, the central intelligent equipment can communicate with other intelligent equipment, and the application is applied to the central intelligent equipment and used for controlling the working state of the intelligent equipment when no person is at home.
The following describes a method for controlling an intelligent device according to an embodiment of the present application in detail with reference to a specific implementation manner, and as shown in fig. 2, the specific steps are as follows:
step 201: and acquiring the target number of the persons reserved in the geo-fence.
The geo-fence is a geographical range which extends outwards for a preset distance by taking the home geographical position of the target person as a center, and the geo-fence comprises an intelligent device.
In this embodiment of the application, the central smart device takes the home geographic location of the target person as a geographic range extending outward by a preset distance from the center as a geo-fence, and since the smart device is located in the home of the user, the smart device is also located in the geo-fence, which may be set by the user.
The target person is the person living in the geo-fence set by the user, and the number of the target person can be one or more. The people currently in the geo-fence are the survivors, but the survivors are not limited to the target people, i.e., the relationship of the survivors to the target people can be friends, relatives, classmates, etc., and can also be the target people themselves. The central smart device may determine a target number of surviving people via a camera to determine if there are more people in the geofence.
Step 202: in the case where it is determined that the number of targets is less than zero, a target distance between the target person and the geofence and a time period away from home for the target person are obtained.
In the embodiment of the present application, if the central intelligent device determines that the target number of surviving persons is less than zero, that is, the number of persons in the current geo-fence is 0, it indicates that there are no surviving persons in the current geo-fence. The reason for the remaining person being 0 may be that the target person is going out for a short time, in which case the original operating state of the smart device may be maintained, or that the target person is going out for a long time, in which case other control processing needs to be performed on the smart device. Thus, the central smart device also obtains a target distance between the target person and the geofence and a time away from home for the target person.
The number of the target personnel can be one or more, and if the number of the target personnel is one, the target distance is the distance between the target personnel and the geo-fence; and if the number of the target personnel is multiple, selecting a set personnel in the target personnel, and taking the distance between the set personnel and the geo-fence as the target distance.
If the number of the target personnel is one, the leaving time length is the leaving time length of the target personnel from the geo-fence; if the number of the target persons is multiple, the time length of the last person in the target persons leaving the geo-fence is taken as the leaving time length.
Step 203: and controlling the intelligent equipment to enter a preset working state according to at least one of the target distance and the away-from-home time. Wherein the preset operating state is determined based on a length of time that no surviving personnel are present in the geofence.
In the embodiment of the application, after the central intelligent device obtains the target distance and the away-from-home time length, the central intelligent device can be controlled to enter the preset working state according to the target distance, can also be controlled to enter the preset working state according to the away-from-home time length, and can also be controlled to enter the preset working state according to the target distance and the away-from-home time length. Because there is not the persistence personnel in the geofence, the operating condition of the smart device is suitable for operating conditions without a user.
In the application, the intelligent device of the central server can determine whether the user leaves, specifically, whether no persisting personnel exist in the geo-fence is determined according to the number of the persisting personnel, in order to improve the intelligence and the humanization of the intelligent device, the intelligent device is not always in a closed state when no user exists, and whether the user leaves for a short time or leaves for a long time can be determined according to at least one of a target distance and a leaving time, so that the intelligent device is controlled to enter a preset working state, and a better experience feeling is brought to the user.
As an optional implementation, the obtaining the target number of persons staying in the geo-fence includes: under the condition that people come in and go out in the geo-fence are detected, the number and the direction of the people coming in and going out at the current moment and the number of the people left at the previous moment are confirmed, wherein the people come in and go out are obtained through a shooting device; under the condition that the entering and exiting direction is determined to be entering the geo-fence, increasing the entering and exiting quantity on the basis of the quantity of the reserved personnel to obtain the target quantity of the reserved personnel; or, in the case where the access direction is determined to be away from the geofence, decreasing the number of accesses based on the number of surviving persons to obtain a target number of surviving persons.
In this application embodiment, there is the shooting device in the geofence, and the shooting device can shoot the personnel's condition of cominging in and going out of geofence, including personnel's quantity of cominging in and going out and direction of cominging in and going out, then will go in and go out quantity and direction of cominging in and going out and send central smart machine. Specifically, the shooting device can be installed at the entrance and exit of the geo-fence, and the accuracy of the entrance and exit conditions of people is improved. Illustratively, the shooting device is a shooting device in the intelligent door lock, and the shooting device can also be a camera separately installed on the entrance.
When detecting that a person is present in the geofence, the central smart device indicates that the number of persons in the geofence may change. The method comprises the steps that the central intelligent device determines the access quantity and the access direction of people coming in and going out at the current moment, meanwhile, the quantity of reserved people in a geographic fence at the last moment is obtained, and if the central intelligent device determines that the access direction of the people is the access direction of the people into the geographic fence, and the quantity of the people in the geographic fence is increased, the central intelligent device increases the access quantity on the basis of the quantity of the reserved people, and the target quantity of the reserved people is obtained; if the central intelligent device determines that the entering and exiting direction of the personnel is far away from the geo-fence, the number of the personnel in the geo-fence is reduced and increased, the entering and exiting number is reduced on the basis of the number of the reserved personnel, and the target number of the reserved personnel is obtained.
Illustratively, the central smart device detects a 10:00:00 if 3 people enter the geofence, then the number of people remaining in the geofence is 5 when 9:59:59 is obtained, then the number of people remaining in the geofence is 8 when 10:00:00, and the central smart device detects that 10:00:01 has 1 person leaving the geofence, the number of people remaining in the geofence at 10:00:01 is 7.
As an optional implementation, the obtaining the away-from-home duration of the target person includes: determining a target time when the target number is zero for the first time according to the last recording partition, wherein the memory comprises a plurality of recording partitions, each recording partition comprises a plurality of records of which the target number is from more than zero to zero, each record corresponds to a time, and the target time is used for indicating the time when the last person in the target persons leaves the geo-fence; determining the current time of the system; and taking the time difference between the current time and the target time of the system as the leaving-home time length.
In the embodiment of the application, the central intelligent device is provided with a historical record, the historical record comprises a plurality of record partitions, each record partition comprises a plurality of records with the target number from more than zero to equal to zero, and each record corresponds to one historical moment; and then the central intelligent equipment determines the current time of the system, and takes the time difference between the current time of the system and the target time as the leaving time length.
As an optional implementation manner, the controlling the intelligent device to enter the preset working state according to at least one of the target distance and the away-from-home time duration includes two aspects, on one hand, determining that no survivors exist in the geo-fence within the first time duration for the central intelligent device, and controlling the intelligent device to enter the first working state, where the first working state is a working state of the intelligent device when the target person leaves the geo-fence for a long time (the first time duration); and on the other hand, the central intelligent device determines that no reserved person exists in the geo-fence within the second time length, and controls the intelligent device to enter a second working state, wherein the second working state is the working state of the intelligent device when the target person leaves the geo-fence in a short time (the second time length).
Wherein, controlling the smart device to enter a first working state comprises: acquiring living habits and current environment information of a target user, wherein the living habits are obtained according to historical environment information; and under the condition that the similarity between the current environment information and the historical environment information is larger than a similarity threshold value, controlling the intelligent equipment to be opened and closed at regular time according to the living habits so that the current environment information meets the preset environment condition.
In the embodiment of the application, the intelligent device determines the living habits of the user and determines the current environment information according to the historical environment information and the historical adjustment information of the user on the intelligent device. If the central intelligent device determines that the similarity between the current environment information and the historical environment information is larger than the similarity threshold, the intelligent device is controlled to be opened and closed at regular time according to the living habits of the user, so that the current environment information meets the preset environment conditions.
For example, when the southern area is on the southwest, the wall surface hangs water due to condensation of water vapor, which may cause the furniture to get moldy due to excessive humidity in the home, and the user may open the dehumidifier. The central intelligent equipment detects indoor humidity through the humidity sensor, if humidity information and historical humidity information are greater than the similarity threshold value, and the user opens the dehumidifier when the humidity sensor is historical humidity information, and then the central intelligent equipment is automatic to open the dehumidifier for a period of time to reduce indoor humidity, avoid the user furniture when not at home to go mouldy.
The central intelligent device controls the intelligent device to enter the first working state, and the central intelligent device comprises the following two conditions:
in the first case: the central intelligent device determines that the time length from home is greater than a preset time length threshold value, no matter how far the target distance is, the time length of the target person leaving the geo-fence is too long, the target person is on business trip or travelling, and the like, and then the central intelligent device controls the intelligent device to enter a first working state. Specifically, the away-from-home time length is greater than a preset time length threshold and the target distance is greater than a preset distance threshold, or the away-from-home time length is greater than the preset time length threshold and the target distance is not greater than the preset distance threshold.
In the second case: the central intelligent device determines that the target distance is greater than a preset distance threshold, and no matter how long the target distance is away from home, the target person is far away from the geo-fence, the target person is on business trip or travelling, and the like, and then the central intelligent device controls the intelligent device to enter a first working state. Specifically, the target distance is greater than a preset distance threshold and the away-from-home time length is greater than a preset time length threshold, or the target distance is greater than a preset distance threshold and the away-from-home time length is not greater than a preset time length threshold.
The central intelligent device controls the intelligent device to enter the second working state, and the conditions comprise that:
the central intelligent device determines that the away-from-home time length is not greater than a preset time length threshold value and the target distance is not greater than a preset distance threshold value, the fact that the target person is not far away from the geo-fence and the away-from-geo-fence time is not long is indicated, the fact that the target person temporarily leaves the home is indicated, the central intelligent device controls the intelligent device to enter a second working state, and the second time length is smaller than the first time length. And the second state is the original state of the intelligent equipment.
Fig. 3 is a flow chart for controlling a smart device, comprising the steps of:
step 301: the central intelligent device obtains the target number of the persons staying in the geo-fence, the target distance between the target person and the geo-fence and the time length of the target person leaving home.
Step 302: the central intelligent device judges whether the target number is greater than 0, if so, the step 306 is carried out; if not, go to step 303.
Step 303: the central intelligent device judges whether the target time length is greater than a preset time length threshold value, and if so, the step 305 is executed; if not, go to step 304;
step 304: the central intelligent device determines whether the target distance is greater than a preset distance threshold, and if so, the step 305 is performed; if not, go to step 306;
step 305: the central intelligent device controls the intelligent device to enter a first working state, and the first working state is the working state of the intelligent device when the target person leaves the geo-fence for a long time.
Step 306: the central intelligent device controls the intelligent device to enter a second working state, and the second state is the original state of the intelligent device.
As an alternative embodiment, obtaining the target distance between the target person and the geofence comprises: determining a set person in the target persons according to the selection instruction under the condition that the number of the target persons is multiple, wherein the set person can represent one target person leaving the geo-fence; determining a mobile wearable device of a set person; determining a target distance between the mobile wearable device and the geofence from the GPS.
In the embodiment of the present application, if a plurality of members are included in a family, the target person includes each member. The user selects a setting person from a plurality of members by himself, and the setting person can be a person who is in the geo-fence for a long time and has independent capacity.
Illustratively, a family includes dad, mom and children, dad is on business for a long time, mom and children are in geo-fences for a long time, and mom can be set as a set person. When the mother leaves the geofence, the central intelligent device determines the target distance between the mobile wearable device of the mother and the geofence according to the GPS.
Illustratively, if the family includes dad, mom, grandpa and breast milk, and the family members have independent capabilities, any one member can be used as the setting person, or a person who stays in the geo-fence for a long time can be used as the setting person. Exemplarily, a grandpa is in the geofence for a long time, then regards grandpa as the settlement personnel, and the target distance between mom's portable wearing equipment and the geofence is confirmed according to GPS to central smart machine.
Based on the same technical concept, an embodiment of the present application further provides an intelligent device control apparatus, as shown in fig. 4, the apparatus includes:
a first obtaining module 401, configured to obtain a target number of people remaining in a geo-fence, where the geo-fence is a geographic range that extends outward by a preset distance with a home geographic location of a target person as a center, and the geo-fence includes an intelligent device therein;
a second obtaining module 402, configured to obtain a target distance between the target person and the geo-fence and a time length of leaving home of the target person when it is determined that the number of targets is less than zero;
and a control module 403, configured to control the smart device to enter a preset working state according to at least one of the target distance and the away-from-home time, where the preset working state is determined according to a time length during which no remaining person exists in the geo-fence.
Optionally, the first obtaining module 401 is configured to:
under the condition that people come in and go out in the geo-fence are detected, the number and the direction of the people coming in and going out at the current moment and the number of the people left at the previous moment are confirmed, wherein the people come in and go out are obtained through a shooting device;
under the condition that the entering and exiting direction is determined to be entering the geo-fence, increasing the entering and exiting quantity on the basis of the quantity of the reserved personnel to obtain the target quantity of the reserved personnel; or the like, or, alternatively,
in the case where the direction of access is determined to be away from the geofence, the number of accesses is reduced based on the number of remaining people, resulting in a target number of remaining people.
Optionally, the second obtaining module 402 is configured to:
determining a target time when the target number is zero for the first time according to the last recording partition, wherein the memory comprises a plurality of recording partitions, each recording partition comprises a plurality of records of which the target number is from more than zero to zero, each record corresponds to a time, and the target time is used for indicating the time when the last person in the target persons leaves the geo-fence;
determining the current time of the system;
and taking the time difference between the current time and the target time of the system as the leaving-home time length.
Optionally, the control module 403 is configured to:
under the condition that the leaving time length is larger than a preset time length threshold value, controlling the intelligent equipment to enter a first working state, wherein the first working state is the working state of the intelligent equipment when no reserved personnel exist in the geo-fence within the first time length; or the like, or, alternatively,
and under the condition that the target distance is greater than a preset distance threshold value, controlling the intelligent device to enter a first working state, wherein the first working state is the working state of the intelligent device when no reserved personnel exist in the geo-fence within a first time period.
Optionally, the control module 403 is configured to:
and under the condition that the away-from-home time length is not more than the preset time length threshold value and the target distance is not more than the preset distance threshold value, controlling the intelligent equipment to enter a second working state, wherein the second working state is the working state of the intelligent equipment when no reserved personnel exist in the geo-fence within the second time length, and the second time length is less than the first time length.
Optionally, the control module 403 is configured to:
acquiring living habits and current environment information of a target user, wherein the living habits are obtained according to historical environment information;
and under the condition that the similarity between the current environment information and the historical environment information is larger than a similarity threshold value, controlling the intelligent equipment to be opened and closed at regular time according to the living habits so that the current environment information meets the preset environment condition.
Optionally, the second obtaining module 402 is configured to:
determining set persons in the target persons according to the selection instruction under the condition that the number of the target persons is multiple, wherein the set persons are persons which are in the geo-fence for a long time and have independent capacity;
determining a mobile wearable device of a set person;
determining a target distance between the mobile wearable device and the geofence from the GPS.
According to another aspect of the embodiments of the present application, there is provided a smart device, as shown in fig. 5, including a memory 503, a processor 501, a communication interface 502 and a communication bus 504, where the memory 503 stores a computer program that can be executed on the processor 501, the memory 503 and the processor 501 communicate with each other through the communication interface 502 and the communication bus 504, and the processor 501 executes the computer program to implement the steps of the method.
The memory and the processor in the intelligent device communicate with the communication interface through the communication bus. The communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
There is also provided, in accordance with yet another aspect of an embodiment of the present application, a computer-readable medium having non-volatile program code executable by a processor.
Optionally, in an embodiment of the present application, a computer readable medium is configured to store program codes for the processor to execute the above method:
optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
When the embodiments of the present application are specifically implemented, reference may be made to the above embodiments, and corresponding technical effects are achieved.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured 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 performing 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.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk. It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An intelligent device control method, characterized in that the method comprises:
acquiring the target number of persons remaining in a geo-fence, wherein the geo-fence is a geographical range which extends outwards for a preset distance by taking the home geographical position of the target person as a center and comprises intelligent equipment;
under the condition that the target number is determined to be less than zero, acquiring a target distance between the target person and the geo-fence and the away-from-home time length of the target person;
and controlling the intelligent equipment to enter a preset working state according to at least one of the target distance and the away-from-home time length, wherein the preset working state is determined according to the time length of no reserved personnel in the geo-fence.
2. The method of claim 1, wherein obtaining the target number of people remaining in the geofence comprises:
under the condition that people come in and go out in the geo-fence are detected, the number and the direction of the people coming in and going out at the current moment and the number of the people left at the previous moment are confirmed, wherein the people come in and go out are obtained through a shooting device;
in the event that the access direction is determined to be into the geofence, increasing the access number based on the number of surviving persons to obtain a target number of the surviving persons; or the like, or, alternatively,
in the event that the access direction is determined to be away from the geofence, decreasing the access number based on the number of surviving people, resulting in a target number of the surviving people.
3. The method of claim 1, wherein the obtaining of the away-from-home duration of the target person comprises:
determining a target time when the target number is zero for the first time according to the last recording partition, wherein the memory comprises a plurality of recording partitions, each recording partition comprises a plurality of records of which the target number is from more than zero to zero, each record corresponds to a time, and the target time is used for indicating the time when the last person in the target persons leaves the geo-fence;
determining the current time of the system;
and taking the time difference between the current time and the target time of the system as the leaving-home time length.
4. The method of claim 1, wherein the controlling the smart device to enter a preset operating state according to at least one of the target distance and the away-from-home duration comprises:
under the condition that the leaving time length is larger than a preset time length threshold value, controlling the intelligent equipment to enter a first working state, wherein the first working state is the working state of the intelligent equipment when no reserve personnel exist in the geo-fence within the first time length; or the like, or, alternatively,
and under the condition that the target distance is greater than a preset distance threshold value, controlling the intelligent equipment to enter a first working state, wherein the first working state is the working state of the intelligent equipment when no reserve personnel exist in the geo-fence within a first time length.
5. The method of claim 1, wherein the controlling the smart device to enter a preset operating state according to at least one of the target distance and the away-from-home duration comprises:
and under the condition that the leaving-home time length is not more than a preset time length threshold value and the target distance is not more than a preset distance threshold value, controlling the intelligent equipment to enter a second working state, wherein the second working state is in the second time length, the working state of the intelligent equipment is in the absence of reserved personnel in the geo-fence, and the second time length is less than the first time length.
6. The method of claim 4, wherein the controlling the smart device to enter the first operating state comprises:
acquiring living habits and current environment information of a target user, wherein the living habits are acquired according to historical environment information;
and under the condition that the similarity between the current environment information and the historical environment information is larger than a similarity threshold value, controlling the intelligent equipment to be opened and closed at regular time according to the living habits so that the current environment information meets preset environment conditions.
7. The method of claim 1, wherein said obtaining a target distance between the target person and the geofence comprises:
determining set persons in the target persons according to a selection instruction under the condition that the number of the target persons is multiple, wherein the set persons are persons which are in the geo-fence for a long time and have independent capacity;
determining a mobile wearable device of the set person;
determining a target distance between the mobile wearable device and the geofence from GPS.
8. The utility model provides an intelligent equipment control module which characterized in that, the module includes:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the target number of persons remaining in a geo-fence, the geo-fence is a geographical range which takes the home geographical position of a target person as a center and extends outwards for a preset distance, and intelligent equipment is included in the geo-fence;
a second obtaining module, configured to obtain a target distance between the target person and the geo-fence and a time duration of leaving home of the target person when it is determined that the target number is less than zero;
and the control module is used for controlling the intelligent equipment to enter a preset working state according to at least one of the target distance and the away-from-home time length, wherein the preset working state is determined according to the time length of no reserved personnel in the geo-fence.
9. The intelligent device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202111070367.7A 2021-09-13 2021-09-13 Intelligent device control method and device, intelligent device and storage medium Pending CN113777943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111070367.7A CN113777943A (en) 2021-09-13 2021-09-13 Intelligent device control method and device, intelligent device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111070367.7A CN113777943A (en) 2021-09-13 2021-09-13 Intelligent device control method and device, intelligent device and storage medium

Publications (1)

Publication Number Publication Date
CN113777943A true CN113777943A (en) 2021-12-10

Family

ID=78843091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111070367.7A Pending CN113777943A (en) 2021-09-13 2021-09-13 Intelligent device control method and device, intelligent device and storage medium

Country Status (1)

Country Link
CN (1) CN113777943A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000315271A (en) * 1999-04-30 2000-11-14 Is Co Ltd Security system equipped with management function number of residents in building and prevention system for forgetting set of burglar prevension system
CN102148921A (en) * 2011-05-04 2011-08-10 中国科学院自动化研究所 Multi-target tracking method based on dynamic group division
CN104582153A (en) * 2014-12-25 2015-04-29 合肥康胜达智能科技有限公司 LED energy-saving lamp control system for smart home
CN105159107A (en) * 2015-08-17 2015-12-16 黄可斌 Smart home control method, control device and control system
CN106595005A (en) * 2017-02-08 2017-04-26 广东美的制冷设备有限公司 Air controller control method and device and air conditioner
US20180018508A1 (en) * 2015-01-29 2018-01-18 Unifai Holdings Limited Computer vision systems
CN109725619A (en) * 2019-01-24 2019-05-07 深圳市欧瑞博科技有限公司 Control method, device and the server of smart home system
CN109910879A (en) * 2019-04-03 2019-06-21 大连理工大学 A kind of vehicle safety anticollision control method of combination safe distance and collision time
CN111711548A (en) * 2020-05-29 2020-09-25 广东万和热能科技有限公司 Energy-saving control method and energy-saving interaction system for heating stove
CN111736482A (en) * 2020-07-16 2020-10-02 日海通信服务有限公司 Intelligent household equipment control method, device, equipment and medium
CN112230611A (en) * 2020-09-22 2021-01-15 珠海格力电器股份有限公司 Control method and device of intelligent household equipment, electronic equipment and storage medium
CN112350906A (en) * 2020-11-03 2021-02-09 珠海格力电器股份有限公司 Method and system for judging whether user leaves home for long time
CN112991588A (en) * 2021-02-26 2021-06-18 北京骑胜科技有限公司 Safety control method and system for vehicle

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000315271A (en) * 1999-04-30 2000-11-14 Is Co Ltd Security system equipped with management function number of residents in building and prevention system for forgetting set of burglar prevension system
CN102148921A (en) * 2011-05-04 2011-08-10 中国科学院自动化研究所 Multi-target tracking method based on dynamic group division
CN104582153A (en) * 2014-12-25 2015-04-29 合肥康胜达智能科技有限公司 LED energy-saving lamp control system for smart home
US20180018508A1 (en) * 2015-01-29 2018-01-18 Unifai Holdings Limited Computer vision systems
CN105159107A (en) * 2015-08-17 2015-12-16 黄可斌 Smart home control method, control device and control system
CN106595005A (en) * 2017-02-08 2017-04-26 广东美的制冷设备有限公司 Air controller control method and device and air conditioner
CN109725619A (en) * 2019-01-24 2019-05-07 深圳市欧瑞博科技有限公司 Control method, device and the server of smart home system
CN109910879A (en) * 2019-04-03 2019-06-21 大连理工大学 A kind of vehicle safety anticollision control method of combination safe distance and collision time
CN111711548A (en) * 2020-05-29 2020-09-25 广东万和热能科技有限公司 Energy-saving control method and energy-saving interaction system for heating stove
CN111736482A (en) * 2020-07-16 2020-10-02 日海通信服务有限公司 Intelligent household equipment control method, device, equipment and medium
CN112230611A (en) * 2020-09-22 2021-01-15 珠海格力电器股份有限公司 Control method and device of intelligent household equipment, electronic equipment and storage medium
CN112350906A (en) * 2020-11-03 2021-02-09 珠海格力电器股份有限公司 Method and system for judging whether user leaves home for long time
CN112991588A (en) * 2021-02-26 2021-06-18 北京骑胜科技有限公司 Safety control method and system for vehicle

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
付晓薇: "一种基于动态图像的多目标识别计数方法", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》, pages 46 - 60 *
吴伟: "室内设计方法与细部设计", 广东科技出版社, pages: 138 *

Similar Documents

Publication Publication Date Title
US11727735B2 (en) Home monitoring system triggered rules
US10584892B2 (en) Air-conditioning control method, air-conditioning control apparatus, and storage medium
CN111144434B (en) Method and device for acquiring floor number, electronic equipment and storage medium
CN110925969B (en) Air conditioner control method and device, electronic equipment and storage medium
US20200200414A1 (en) Smart home air conditioner automatic control system based on artificial intelligence
CN110989391A (en) Method and device for controlling equipment, control equipment and storage medium
WO2022222608A1 (en) Method and system for linking air conditioning devices, readable storage medium, and server
CN111965991B (en) Authority adjusting method and device of intelligent control switch, intelligent control switch and storage medium
CN109034969A (en) Monitoring method and device that public affairs are rented a house, calculate equipment at storage medium
US10382219B2 (en) Method, apparatus, and non-transitory computer-readable recording medium storing program for estimating operator
CN109615750B (en) Face recognition control method and device for access control machine, access control equipment and storage medium
CN111505206A (en) Gas concentration warning method, device and system
CN113777943A (en) Intelligent device control method and device, intelligent device and storage medium
CN105682021B (en) Information processing method and electronic equipment
US20200018506A1 (en) System and method for dual occupancy detection
CN113310182A (en) Control method of temperature adjusting equipment and electronic equipment
CA3104823A1 (en) Network activity validation
CN115218358B (en) Indoor air environment adjusting method and equipment
CN114484804A (en) Air conditioner control method, air conditioner, electronic device and storage medium
JP7427404B2 (en) equipment control device
CN109885065B (en) Intelligent following system and operation method
CN114110930A (en) Condensation preventing method and device, air conditioner and computer readable storage medium
CN115309255A (en) Output control method and device for regional environment state
CN108139101B (en) Method for determining indoor environment comfort zone and terminal equipment
CN115311836B (en) Method for pushing information and related product

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211210