CN113568320A - Device control method and device, electronic device and computer-readable storage medium - Google Patents

Device control method and device, electronic device and computer-readable storage medium Download PDF

Info

Publication number
CN113568320A
CN113568320A CN202110815401.2A CN202110815401A CN113568320A CN 113568320 A CN113568320 A CN 113568320A CN 202110815401 A CN202110815401 A CN 202110815401A CN 113568320 A CN113568320 A CN 113568320A
Authority
CN
China
Prior art keywords
information
terminal
family
area
home
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
CN202110815401.2A
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 CN202110815401.2A priority Critical patent/CN113568320A/en
Publication of CN113568320A publication Critical patent/CN113568320A/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], 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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a device control method and device, an electronic device and a computer readable storage medium, wherein the method comprises the following steps: the method comprises the steps that under the condition that a first terminal is accessed to family WiFi, first information corresponding to the first terminal is obtained, wherein the family corresponding to the family WiFi comprises one or more devices; the first information includes at least one of: the position information of the first terminal and the state information used for representing the use state of the first terminal; and controlling the equipment in the family according to the first information. Through the method and the device, the problem that the state of the intelligent home can be changed according to the change of the current user state only by manual intervention in the prior art is solved.

Description

Device control method and device, electronic device and computer-readable storage medium
Technical Field
The present application relates to the field of intelligent devices, and in particular, to a device control method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The intelligent home is one of the times theme of the current everything interconnection, and the intelligent household appliances are controlled through the internet of things technology, so that the comfort and the convenience of the home life of people are greatly enriched, and the satisfaction degree of the home life of people is improved. At present, when a user faces different living scenes in a home, a user is generally required to be served by a manual control switch or by linkage of intelligent household appliances related to intelligent sound voice control so as to achieve a preset related functional state, for example, when the user leaves the home or enters a sleep state, the user needs to control the related intelligent household appliances through the intelligent sound voice control, that is, the intelligent home needs manual intervention to change the state according to the change of the current user state, so that the current intelligent home still has great limitation on intelligence.
Disclosure of Invention
An object of the embodiments of the present application is to provide a device control method and apparatus, an electronic device, and a computer-readable storage medium, so as to solve the problem that, in the prior art, a smart home needs manual intervention to change a state according to a change of a current user state. The specific technical scheme is as follows:
in a first aspect, a method for controlling a device is provided, including: the method comprises the steps that under the condition that a first terminal is accessed to family WiFi, first information corresponding to the first terminal is obtained, wherein the family corresponding to the family WiFi comprises one or more devices; the first information includes at least one of: the position information of the first terminal and the state information used for representing the use state of the first terminal; and controlling the equipment in the family according to the first information.
In a second aspect, there is provided a control apparatus for a device, comprising: the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first information corresponding to a first terminal under the condition that the first terminal is accessed to family WiFi, and the family corresponding to the family WiFi comprises one or more devices; the first information includes at least one of: the position information of the first terminal and the state information used for representing the use state of the first terminal; and the control module is used for controlling the equipment in the family according to the first information.
In a third aspect, there is also provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method of the first aspect.
In a fourth aspect, there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
Through the application, under the condition that the first terminal is connected to the family WiFi, the household equipment can be controlled through the position information of the first terminal and/or the state information used for representing the use state of the first terminal, for example, when the position information of the first terminal is detected to represent that the first terminal is from the outside of the family to the inside of the family, the household light can be turned on, an air conditioner is started, hot water is preheated and the like, or when the first terminal is detected to be located in a bedroom and the first terminal is not used, the light is automatically turned off, a curtain is pulled and the like. That is to say, in this application can, can need not modes such as user's manual, perhaps intelligent stereo set to control intelligent house for control to intelligent house is convenient and fast more, thereby has solved among the prior art intelligent house and need manual intervention just can produce the problem of the change of state to the change of current user state.
Drawings
Fig. 1 is a flowchart of a control method of an apparatus of an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a control device of the apparatus of the embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides a method for controlling a device, as shown in fig. 1, the method includes:
102, acquiring first information corresponding to a first terminal under the condition that the first terminal is accessed to family WiFi, wherein families corresponding to the family WiFi comprise one or more devices; the first information includes at least one of: the position information of the first terminal and the state information used for representing the use state of the first terminal;
and 104, controlling the equipment in the family according to the first information.
Through the above steps 102 and 104, in the case that the first terminal is connected to the home WiFi, the devices in the home may be controlled through the location information of the first terminal and/or the status information for representing the use status of the first terminal, for example, when it is detected that the location information of the first terminal represents that the first terminal goes from outside the home to inside the home, the light of the home may be turned on, the air conditioner may be turned on, the hot water may be preheated, and the like, or when it is detected that the first terminal is located in the bedroom and the first terminal is not used, the light may be automatically turned off, the curtain may be pulled, and the like. That is to say, in this application can, can need not modes such as user's manual, perhaps intelligent stereo set to control intelligent house for control to intelligent house is convenient and fast more, thereby has solved among the prior art intelligent house and need manual intervention just can produce the problem of the change of state to the change of current user state.
It should be noted that, in the embodiment of the present application, the execution main body in fig. 1 may be a background server, that is, a background server that can collect the location information and the state information of the first terminal, and the server may control the smart home in the whole home. The first terminal in the embodiment of the application can be a mobile phone, a tablet, a smart watch and the like. In addition, the home WiFi in the embodiment of the present application refers to a wireless network covering the whole home, and the wireless network may also extend to a certain location outside the home, and the home WiFi may be implemented by one or more routers.
In this embodiment of the application, regarding the manner of obtaining the location information of the first terminal in step 102, the method further may include: and acquiring the position information of the first terminal based on a WiFi position fingerprint method.
It should be noted that, in the embodiment of the present application, the WIFI location fingerprinting method may use a multi-path structure to receive a communication Signal such as a Received Signal Strength (RSS) and a WIFI fixed transceiver (e.g., a router) to determine location information. The multipath structure refers to that a radio signal emitted by a transmitting source propagates to the same position through a plurality of paths, and each ray has different energy intensity and time delay. The time delay depends on the distance traveled by the ray and the intensity depends on the distance and the particular propagation. RSS means that a mobile device can receive signals from multiple transmission sources, or a fixed plurality of base stations can perceive the same mobile device, and then RSS of multiple transmission sources or multiple receivers can be used to form an RSS vector as a fingerprint associated with a location.
In addition, the state information used for representing the use state of the first terminal in the embodiment of the application may be reported to the server after the first terminal detects the state, or may be the state of the first terminal actively detected by the background server, for example, whether the first terminal has a screen, WIFI transceiving traffic, and the like.
In an optional implementation manner of the embodiment of the present application, the manner of controlling the devices in the home according to the first information, which is referred to in step 104 of the present application, may further include:
step 11, determining a corresponding contextual model according to the first information and the mapping relation table; the mapping relation table is used for representing the mapping relation between different first information and corresponding scene modes;
and 12, controlling the equipment according to the determined contextual model, wherein the control comprises at least one of the following items: opening and closing.
As can be seen from steps 11 and 12, the corresponding profile can be determined from the mapping table through the first information, and the device is controlled based on the determined profile. The contextual model may be preset, or a user may perform corresponding setting according to a requirement, for example, if the first terminal is outside the home and is further away from the home, it indicates that the user is away from the home, and the contextual model is away from the home at this time, it is necessary to control devices that do not need to be operated in the home to stop operating, for example, a lamp, an air conditioner, a television, and the like, and the operable devices may continue to operate, for example, a refrigerator. Of course, the devices to be controlled in the above contextual model can be set according to actual situations, for example, an electric cooker, and if the user leaves home for a short time to buy things, and returns for a while, the operation is continuously kept; if the rice cooker moves away from home and needs a long time, the rice cooker needs to be controlled to stop running after running for a period of time or stop running immediately. Therefore, the control of the smart home is realized without manual intervention of a user in the embodiment of the application, and the control of the smart home is more convenient and safer under the condition of further improving the user experience.
It should be noted that in the embodiment of the present application, a plurality of different contextual models may be set, and in each contextual model, a device to be controlled may also be set correspondingly according to an actual requirement. The following explains a relationship between the first information and the profile, which is specific in the present application.
In the case that the first information is location information, the manner of determining the corresponding contextual model according to the first information and the mapping relationship table, which is referred to in step 104 in the embodiment of the present application, may include at least one of the following:
1) under the condition that the position information represents that the first terminal is not at home and is far away from the home, searching a first contextual model corresponding to the first information from the mapping relation table;
since the location information indicates that the first terminal is not at home and is far away from home, it indicates that the user is away from home at this time, and the device that does not need to continue to operate in home may be controlled to be turned off, for example: television, air conditioner, water tap, etc., i.e., if the location information at the first terminal indicates that the user has left home, if the air conditioner and television in the home are still running, the running air conditioner and television may be turned off. In a specific application process, all devices which need to be turned off in the first contextual model may be set in advance, and the preset devices may be updated in real time, for example, a new device is added, or a certain device needs to be continuously operated after leaving home, for example, if a user leaves home for only a short time, the turned-on air conditioner may be continuously operated. Therefore, through the application, the situation that a user forgets to close equipment which is not required to be continuously opened due to negligence can be avoided, power consumption can be saved, and meanwhile safety is improved.
2) Under the condition that the position information represents that the first terminal is from outside to inside of the family, searching a second contextual model corresponding to the first information from the mapping relation table;
the first terminal is characterized by the position information from outside to inside of the family, so that the user needs to get back to the home at the moment, if the user gets home at night, the user can turn on light, turn on an air conditioner, a water heater and the like, and if the user gets home in the daytime, the user can start a television in advance, turn on family videos and the like. The device to be turned on in the specific second contextual model may be preset or updated in real time according to the requirement.
For the manners in 1) and 2) above, in a specific application scenario, the following may be: when being at a door or having a certain distance, WIFI or bluetooth of mobile terminals such as cell-phones can be connected into the fixed transceiver in family's wiFi automatically, judge which user is apart from the distance at home according to user's MAC address, for example, calibration equipment keeps away from gradually, can judge that the user is from home, the equipment distance is more and more close, simultaneously intelligent lock is opened and can be judged the user and go home, start the predetermined contextual model of user immediately, temperature and humidity sensor at this moment judges indoor temperature and with this start/close air conditioner refrigeration or system warm in linkage home, open or close light etc. in the living room in certain set period of time.
3) Under the condition that the position information represents that the first terminal is located in a first area in a family, searching a third contextual model corresponding to the first information from the mapping relation table; wherein the first area is a washing area or a dining area in a family;
under the condition that the position information representation first terminal is located in a washing area in a family, light in the washing area can be turned on, and a water heater and the like are turned on. If the dining area is located in a household, the light, television and other equipment in other areas can be turned off, and the atmosphere lamp or other lighting lamps in the dining area can be turned on.
4) Under the condition that the position information represents that the first terminal moves from a first area in a family to a second area in the family, searching a fourth contextual model corresponding to the first information from the mapping relation table; wherein the first region is different from the second region.
Under the condition that the position information represents that the first terminal goes to other hospitals from a washing area in a family, light in the washing area can be turned off, and a water heater and the like can be turned on. If the dining area in the family goes to other areas, such as a living room area, the equipment such as light and television of the living room can be turned on, and the atmosphere lamp or the illuminating lamp of the dining area is turned off.
For the above 3) and 4), when the first terminal enters the washroom, the light of the washroom is turned on along with the first terminal, the light is turned off when the first terminal leaves the washroom, when the mobile devices in the home are gathered in a dining area and part or all of the mobile phones are in a dormant state, the light tubes in other rooms in the room are turned off, and the atmosphere lamp suitable for dining is turned on in the restaurant. Therefore, in the embodiment of the application, for entering a certain area or leaving the certain area, the equipment in the corresponding partial area can be controlled, the control on intelligent homes such as a washing area/dining area is further enriched, and the user experience is greatly improved.
In another optional implementation manner of the embodiment of the present application, in a case that the first information includes location information and status information, regarding a manner of determining a corresponding contextual model according to the first information and the mapping relationship table, which is referred to in step 104 of the embodiment of the present application, at least one of the following may be further included:
5) under the condition that the position information represents that the first terminal is positioned in a third area in a family and the state information represents that the first terminal is not in a use state, searching a fifth contextual model corresponding to the first information from the mapping relation table; wherein the third area is a rest area in a family;
for example, if the first terminal is a mobile phone and the screen of the mobile phone is closed, WiFi transceiving traffic data is reduced and the position of the mobile phone is detected to be in a bedroom, it can be determined that the user enters a sleeping scene, and then the light in the bedroom can be automatically turned off, and if the light is on in the living room or the air conditioner is still running, then the light and the air conditioner in the living room can be turned off.
6) Under the condition that the position information represents that the first terminal is positioned in a fourth area in a family and the state information represents that the first terminal is not in a use state, searching a sixth contextual model corresponding to the first information from the mapping relation table; the fourth area is a dining area in a family.
In the method 6), the restaurant can be detected to be located at the position of the first terminal in a specific application scene, and the first terminal automatically reports that the state of the first terminal is unused, so that the atmosphere lamp of the restaurant can be turned on at the moment, and the family video and audio can be turned on to create the atmosphere.
In an embodiment of the present application, there is also provided a control apparatus of a device, as shown in fig. 2, the apparatus including:
the obtaining module 22 is configured to obtain first information corresponding to a first terminal when the first terminal accesses a home WiFi, where a home corresponding to the home WiFi includes one or more devices; the first information includes at least one of: the position information of the first terminal and the state information used for representing the use state of the first terminal;
and the control module 24 is used for controlling the equipment in the family according to the first information.
Through the device of the embodiment of the application, under the condition that the first terminal is connected to the family WiFi, the equipment in the family can be controlled through the position information of the first terminal and/or the state information used for representing the use state of the first terminal, for example, when the position information of the first terminal is detected to represent that the first terminal goes from the outside of the family to the inside of the family, the light of the family can be turned on, an air conditioner is started, hot water is preheated and the like are started, or when the first terminal is detected to be located in a bedroom and the first terminal is not used, the light is automatically turned off, a curtain is pulled up and the like. That is to say, in this application can, can need not modes such as user's manual, perhaps intelligent stereo set to control intelligent house for control to intelligent house is convenient and fast more, thereby has solved among the prior art intelligent house and need manual intervention just can produce the problem of the change of state to the change of current user state.
Optionally, the control module 24 according to the embodiment of the present application further includes: the determining unit is used for determining a corresponding contextual model according to the first information and the mapping relation table; the mapping relation table is used for representing the mapping relation between different first information and corresponding scene modes; a control unit for controlling the device according to the determined contextual model, wherein the controlling comprises at least one of: opening and closing.
In this regard, in the embodiment of the present application, the corresponding contextual model may be determined from the mapping relationship table through the first information, and the device may be controlled based on the determined contextual model. The contextual model may be preset, or a user may perform corresponding setting according to a requirement, for example, if the first terminal is outside the home and is further away from the home, it indicates that the user is away from the home, and the contextual model is away from the home at this time, it is necessary to control devices that do not need to be operated in the home to stop operating, for example, a lamp, an air conditioner, a television, and the like, and the operable devices may continue to operate, for example, a refrigerator. Of course, the devices to be controlled in the above contextual model can be set according to actual situations, for example, an electric cooker, and if the user leaves home for a short time to buy things, and returns for a while, the operation is continuously kept; if the rice cooker moves away from home and needs a long time, the rice cooker needs to be controlled to stop running after running for a period of time or stop running immediately. Therefore, the control of the smart home is realized without manual intervention of a user in the embodiment of the application, and the control of the smart home is more convenient and safer under the condition of further improving the user experience.
It should be noted that in the embodiment of the present application, a plurality of different contextual models may be set, and in each contextual model, a device to be controlled may also be set correspondingly according to an actual requirement. The following explains a relationship between the first information and the profile, which is specific in the present application.
Optionally, in a case that the first information is location information, the determining unit of the embodiment of the present application includes at least one of:
1) the first searching subunit is used for searching a first contextual model corresponding to the first information from the mapping relation table under the condition that the position information represents that the first terminal is not in a family and is far away from the family;
since the location information indicates that the first terminal is not at home and is far away from home, it indicates that the user is away from home at this time, and the device that does not need to continue to operate in home may be controlled to be turned off, for example: television, air conditioner, water tap, etc., i.e., if the location information at the first terminal indicates that the user has left home, if the air conditioner and television in the home are still running, the running air conditioner and television may be turned off. In a specific application process, all devices which need to be turned off in the first contextual model may be set in advance, and the preset devices may be updated in real time, for example, a new device is added, or a certain device needs to be continuously operated after leaving home, for example, if a user leaves home for only a short time, the turned-on air conditioner may be continuously operated. Therefore, through the application, the situation that a user forgets to close equipment which is not required to be continuously opened due to negligence can be avoided, power consumption can be saved, and meanwhile safety is improved.
2) The second searching subunit is used for searching a second contextual model corresponding to the first information from the mapping relation table under the condition that the position information represents that the first terminal is from outside to inside of the family;
the first terminal is characterized by the position information from outside to inside of the family, so that the user needs to get back to the home at the moment, if the user gets home at night, the user can turn on light, turn on an air conditioner, a water heater and the like, and if the user gets home in the daytime, the user can start a television in advance, turn on family videos and the like. The device to be turned on in the specific second contextual model may be preset or updated in real time according to the requirement.
For the manners in 1) and 2) above, in a specific application scenario, the following may be: when being at a door or having a certain distance, WIFI or bluetooth of mobile terminals such as cell-phones can be connected into the fixed transceiver in family's wiFi automatically, judge which user is apart from the distance at home according to user's MAC address, for example, calibration equipment keeps away from gradually, can judge that the user is from home, the equipment distance is more and more close, simultaneously intelligent lock is opened and can be judged the user and go home, start the predetermined contextual model of user immediately, temperature and humidity sensor at this moment judges indoor temperature and with this start/close air conditioner refrigeration or system warm in linkage home, open or close light etc. in the living room in certain set period of time.
3) The third searching subunit is used for searching a third contextual model corresponding to the first information from the mapping relation table under the condition that the position information represents that the first terminal is located in a first area in a family; wherein the first area is a washing area or a dining area in a family;
under the condition that the position information representation first terminal is located in a washing area in a family, light in the washing area can be turned on, and a water heater and the like are turned on. If the dining area is located in a household, the light, television and other equipment in other areas can be turned off, and the atmosphere lamp or other lighting lamps in the dining area can be turned on.
4) And the fourth searching subunit is used for searching a fourth scene mode corresponding to the first information from the mapping relation table under the condition that the position information represents that the first terminal moves from a first area in the family to a second area in the family, wherein the first area is different from the second area.
Under the condition that the position information represents that the first terminal goes to other hospitals from a washing area in a family, light in the washing area can be turned off, and a water heater and the like can be turned on. If the dining area in the family goes to other areas, such as a living room area, the equipment such as light and television of the living room can be turned on, and the atmosphere lamp or the illuminating lamp of the dining area is turned off.
For the above 3) and 4), when the first terminal enters the washroom, the light of the washroom is turned on along with the first terminal, the light is turned off when the first terminal leaves the washroom, when the mobile devices in the home are gathered in a dining area and part or all of the mobile phones are in a dormant state, the light tubes in other rooms in the room are turned off, and the atmosphere lamp suitable for dining is turned on in the restaurant. Therefore, in the embodiment of the application, for entering a certain area or leaving the certain area, the equipment in the corresponding partial area can be controlled, the control on intelligent homes such as a washing area/dining area is further enriched, and the user experience is greatly improved.
Optionally, in a case that the first information includes location information and status information, the determining unit in this embodiment of the application includes at least one of:
5) the fifth searching subunit is configured to search, when the position information indicates that the first terminal is located in a third area in the home and the state information indicates that the first terminal is not in a used state, a fifth contextual model corresponding to the first information from the mapping relation table; wherein the third area is a rest area in a family;
for example, if the first terminal is a mobile phone and the screen of the mobile phone is closed, WiFi transceiving traffic data is reduced and the position of the mobile phone is detected to be in a bedroom, it can be determined that the user enters a sleeping scene, and then the light in the bedroom can be automatically turned off, and if the light is on in the living room or the air conditioner is still running, then the light and the air conditioner in the living room can be turned off.
6) The sixth searching subunit is configured to search, when the position information indicates that the first terminal is located in a fourth area in the home and the state information indicates that the first terminal is not in a used state, a sixth contextual model corresponding to the first information from the mapping relation table; the fourth area is a dining area in a family.
In the method 6), the restaurant can be detected to be located at the position of the first terminal in a specific application scene, and the first terminal automatically reports that the state of the first terminal is unused, so that the atmosphere lamp of the restaurant can be turned on at the moment, and the family video and audio can be turned on to create the atmosphere.
The embodiment of the present application further provides an electronic device, as shown in fig. 3, which includes a processor 301, a communication interface 302, a memory 303, and a communication bus 304, where the processor 301, the communication interface 302, and the memory 303 complete mutual communication through the communication bus 304,
a memory 303 for storing a computer program;
the processor 301 is configured to implement the method steps in fig. 1 when executing the program stored in the memory 303, and the functions of the method steps are similar to those of the method steps in fig. 1, and are not described again here.
The communication bus mentioned in the above terminal 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. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
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.
In yet another embodiment provided by the present application, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the method of controlling the apparatus described in any of the above embodiments.
In a further embodiment provided by the present application, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of controlling the apparatus of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, 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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (11)

1. A method of controlling a device, comprising:
the method comprises the steps that under the condition that a first terminal is accessed to family WiFi, first information corresponding to the first terminal is obtained, wherein the family corresponding to the family WiFi comprises one or more devices; the first information includes at least one of: the position information of the first terminal and the state information used for representing the use state of the first terminal;
and controlling the equipment in the family according to the first information.
2. The method of claim 1, wherein the controlling the devices within the home according to the first information comprises:
determining a corresponding contextual model according to the first information and a mapping relation table; the mapping relation table is used for representing the mapping relation between different first information and corresponding scene modes;
controlling the device according to the determined contextual model, wherein the controlling comprises at least one of: opening and closing.
3. The method according to claim 1, wherein in a case that the first information is the location information, the determining a corresponding contextual model according to the first information and a mapping relation table includes at least one of:
under the condition that the position information represents that the first terminal is not in the family and is far away from the family, searching a first contextual model corresponding to the first information from the mapping relation table;
under the condition that the position information represents that the first terminal is from the outside of the family to the inside of the family, searching a second contextual model corresponding to the first information from the mapping relation table;
under the condition that the position information represents that the first terminal is located in a first area in the family, searching a third contextual model corresponding to the first information from the mapping relation table; wherein the first area is a washing area or a dining area in the family;
and searching a fourth scene mode corresponding to the first information from the mapping relation table under the condition that the position information represents that the first terminal moves from a first area in the family to a second area in the family, wherein the first area is different from the second area.
4. The method according to claim 1, wherein in a case that the first information includes the location information and the status information, the determining a corresponding contextual model according to the first information and a mapping relation table includes at least one of:
searching a fifth contextual model corresponding to the first information from the mapping relation table under the condition that the position information represents that the first terminal is located in a third area in the family and the state information represents that the first terminal is not in use; wherein the third zone is a rest zone within the household;
when the position information represents that the first terminal is located in a fourth area in the family and the state information represents that the first terminal is not in use, searching a sixth contextual model corresponding to the first information from the mapping relation table; wherein the fourth area is a dining area in the household.
5. The method of claim 1, wherein the obtaining the location information of the first terminal comprises:
and acquiring the position information of the first terminal based on a WiFi position fingerprint method.
6. A control apparatus of a device, characterized by comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring first information corresponding to a first terminal under the condition that the first terminal is accessed to family WiFi, and the family corresponding to the family WiFi comprises one or more devices; the first information includes at least one of: the position information of the first terminal and the state information used for representing the use state of the first terminal;
and the control module is used for controlling the equipment in the family according to the first information.
7. The apparatus of claim 6, wherein the control module comprises:
the determining unit is used for determining a corresponding contextual model according to the first information and a mapping relation table; the mapping relation table is used for representing the mapping relation between different first information and corresponding scene modes;
a control unit for controlling the device according to the determined contextual model, wherein the controlling comprises at least one of: opening and closing.
8. The apparatus according to claim 7, wherein in a case where the first information is the location information, the determining unit includes at least one of:
a first searching subunit, configured to search, when the location information indicates that the first terminal is not in the home and is far away from the home, a first contextual model corresponding to the first information from the mapping relationship table;
a second searching subunit, configured to search, when the location information indicates that the first terminal is from outside the home to inside the home, a second contextual model corresponding to the first information from the mapping relationship table;
a third searching subunit, configured to search, when the location information indicates that the first terminal is located in a first area in the home, a third contextual model corresponding to the first information from the mapping relationship table; wherein the first area is a washing area or a dining area in the family;
and a fourth searching subunit, configured to search, when the location information indicates that the first terminal moves from a first area in the home to a second area in the home, a fourth contextual model corresponding to the first information from the mapping relation table, where the first area is different from the second area.
9. The apparatus according to claim 7, wherein in the case where the first information includes the location information and the status information, the determining unit includes at least one of:
a fifth searching subunit, configured to search, when the location information indicates that the first terminal is located in a third area in the home, and the state information indicates an unused state of the first terminal, a fifth contextual model corresponding to the first information from the mapping relation table; wherein the third zone is a rest zone within the household;
a sixth searching subunit, configured to search, when the location information indicates that the first terminal is located in a fourth area in the home, and the state information indicates an unused state of the first terminal, a sixth contextual model corresponding to the first information from the mapping relation table; wherein the fourth area is a dining area in the household.
10. An electronic 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 one of claims 1 to 5 when executing a program stored in the memory.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 5.
CN202110815401.2A 2021-07-19 2021-07-19 Device control method and device, electronic device and computer-readable storage medium Pending CN113568320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110815401.2A CN113568320A (en) 2021-07-19 2021-07-19 Device control method and device, electronic device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110815401.2A CN113568320A (en) 2021-07-19 2021-07-19 Device control method and device, electronic device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN113568320A true CN113568320A (en) 2021-10-29

Family

ID=78165540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110815401.2A Pending CN113568320A (en) 2021-07-19 2021-07-19 Device control method and device, electronic device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN113568320A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193413A (en) * 2023-04-27 2023-05-30 江西斐耳科技有限公司 Bluetooth connection method, system, storage medium and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201828822U (en) * 2010-10-09 2011-05-11 浙江大学 Home appliance control device based on sleeping status of user
CN106455050A (en) * 2016-09-23 2017-02-22 微梦创科网络科技(中国)有限公司 Bluetooth and Wifi-based indoor positioning method, apparatus and system
CN107085380A (en) * 2017-06-13 2017-08-22 北京金茂绿建科技有限公司 A kind of intelligent domestic system customer location determination methods and electronic equipment
CN107634886A (en) * 2017-09-20 2018-01-26 美的智慧家居科技有限公司 Control method, control terminal and the readable storage medium storing program for executing of intelligent home device
CN108931924A (en) * 2018-08-06 2018-12-04 珠海格力电器股份有限公司 The control method and device of smart home system, processor, storage medium
CN109412913A (en) * 2018-12-17 2019-03-01 Oppo广东移动通信有限公司 Control method, device, storage medium and the terminal of smart home device
CN109541959A (en) * 2019-01-17 2019-03-29 深圳市沃特沃德股份有限公司 Smart home system multi-user control method thereof, device and storage medium
CN109996185A (en) * 2017-12-29 2019-07-09 腾讯科技(深圳)有限公司 The localization method and device of terminal, storage medium, electronic device
CN110888681A (en) * 2019-11-29 2020-03-17 维沃移动通信有限公司 Lighting lamp control method, lighting lamp control device, electronic equipment and medium
CN111586585A (en) * 2020-05-07 2020-08-25 悠尼客(上海)企业管理有限公司 Position fingerprint positioning method based on Wifi
CN112230611A (en) * 2020-09-22 2021-01-15 珠海格力电器股份有限公司 Control method and device of intelligent household equipment, electronic equipment and storage medium
CN112365633A (en) * 2020-09-14 2021-02-12 深圳Tcl新技术有限公司 Control method, device and system of household appliance and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201828822U (en) * 2010-10-09 2011-05-11 浙江大学 Home appliance control device based on sleeping status of user
CN106455050A (en) * 2016-09-23 2017-02-22 微梦创科网络科技(中国)有限公司 Bluetooth and Wifi-based indoor positioning method, apparatus and system
CN107085380A (en) * 2017-06-13 2017-08-22 北京金茂绿建科技有限公司 A kind of intelligent domestic system customer location determination methods and electronic equipment
CN107634886A (en) * 2017-09-20 2018-01-26 美的智慧家居科技有限公司 Control method, control terminal and the readable storage medium storing program for executing of intelligent home device
CN109996185A (en) * 2017-12-29 2019-07-09 腾讯科技(深圳)有限公司 The localization method and device of terminal, storage medium, electronic device
CN108931924A (en) * 2018-08-06 2018-12-04 珠海格力电器股份有限公司 The control method and device of smart home system, processor, storage medium
CN109412913A (en) * 2018-12-17 2019-03-01 Oppo广东移动通信有限公司 Control method, device, storage medium and the terminal of smart home device
CN109541959A (en) * 2019-01-17 2019-03-29 深圳市沃特沃德股份有限公司 Smart home system multi-user control method thereof, device and storage medium
CN110888681A (en) * 2019-11-29 2020-03-17 维沃移动通信有限公司 Lighting lamp control method, lighting lamp control device, electronic equipment and medium
CN111586585A (en) * 2020-05-07 2020-08-25 悠尼客(上海)企业管理有限公司 Position fingerprint positioning method based on Wifi
CN112365633A (en) * 2020-09-14 2021-02-12 深圳Tcl新技术有限公司 Control method, device and system of household appliance and computer readable storage medium
CN112230611A (en) * 2020-09-22 2021-01-15 珠海格力电器股份有限公司 Control method and device of intelligent household equipment, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193413A (en) * 2023-04-27 2023-05-30 江西斐耳科技有限公司 Bluetooth connection method, system, storage medium and device
CN116193413B (en) * 2023-04-27 2023-08-15 江西斐耳科技有限公司 Bluetooth connection method, system, storage medium and device

Similar Documents

Publication Publication Date Title
CN105700389B (en) Intelligent home natural language control method
CN107101326B (en) Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal
EP3637243B1 (en) Customized interface based on vocal input
US11019149B2 (en) Hub apparatus and method for providing service thereof
CN106842968B (en) Control method, device and system
WO2016058246A1 (en) Smart home gateway and smart home system
US11929844B2 (en) Customized interface based on vocal input
CN111025925A (en) Intelligent home furnishing system based on cloud computing
WO2016077598A1 (en) Data processing systems and methods for smart hub devices
CN104039040A (en) Control method and device for intelligent lamp
WO2016192458A1 (en) User terminal, home central controller and smart home control method and system
Katuk et al. Implementation and recent progress in cloud-based smart home automation systems
CN110794693A (en) Device configuration method and device, electronic device and storage medium
CN103747369A (en) Intelligent household control method and apparatus, and intelligent household system
CN108427301A (en) Control method, system and the control device of smart home device
CN113568320A (en) Device control method and device, electronic device and computer-readable storage medium
CN114265344B (en) Method, system and equipment for batch control based on creation of virtual equipment group
US20180331846A1 (en) Activity based automation
KR20190050485A (en) The UI(user interface) management server and UI management server control method
CN203930459U (en) A kind of can acoustic control and the intelligent domestic system of Long-distance Control
CN106020153A (en) Remote home control system based on WIFI and infrared technology and method for realizing the same
CN112034725A (en) Remote home control method based on Internet of things
CN114035438B (en) Multifunctional intelligent gateway system of Internet of things
CN115457958A (en) Voice control method based on BLE discovery and intelligent home system
CN114967485A (en) Device control method, device, electronic device and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211029

RJ01 Rejection of invention patent application after publication