CN104950716B - A kind of apparatus control method and device - Google Patents
A kind of apparatus control method and device Download PDFInfo
- Publication number
- CN104950716B CN104950716B CN201510323681.XA CN201510323681A CN104950716B CN 104950716 B CN104950716 B CN 104950716B CN 201510323681 A CN201510323681 A CN 201510323681A CN 104950716 B CN104950716 B CN 104950716B
- Authority
- CN
- China
- Prior art keywords
- target
- working mode
- users
- user
- target area
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000005516 engineering process Methods 0.000 claims description 83
- 238000012790 confirmation Methods 0.000 claims description 4
- 239000002699 waste material Substances 0.000 abstract description 7
- 238000005286 illumination Methods 0.000 description 22
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 238000001816 cooling Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the invention discloses a kind of apparatus control method and device, wherein, this method includes:Judge to whether there is user corresponding to target device in the range of target area;If user be present, the first number of users in the range of the target area is obtained, first number of users is the number for the user that there is currently in the range of the target area;According to first number of users, control the target device that mode of operation is adjusted into default target operational mode corresponding with first number of users.Implement the embodiment of the present invention, can intelligently, automatically regulate the mode of operation of home appliance, be actively engaged in without user so that reduce equipment power dissipation, and reduce energy waste.
Description
Technical Field
The invention relates to the technical field of automatic control, in particular to a device control method and device.
Background
With the development of household appliance technology and the improvement of living standard of people, intelligent household appliances with various functions have been deeply inserted into thousands of households, are widely used, and bring great convenience to the life of people.
However, in practical applications, when setting the operation mode of the home appliance, the user is often required to manually complete the setting. For example, when the light is controlled to be turned on or off, or the working temperature of the air conditioner is set, the user needs to manually adjust the control key of the household appliance to adjust the light on or off or the temperature of the air conditioner. That is to say, the setting of the working mode of the household electrical appliance requires the active participation of the user at present, and the intelligent and automatic adjustment of the working mode of the household electrical appliance cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a device control method and a device, which can intelligently and automatically adjust the working mode of household electrical appliances.
The embodiment of the invention discloses a device control method, which comprises the following steps:
judging whether a user exists in a target area range corresponding to the target equipment or not;
if the users exist, acquiring the number of first users in the target area range, wherein the number of the first users is the number of the users currently existing in the target area range;
and controlling the target equipment to adjust the working mode to a preset target working mode corresponding to the first user number according to the first user number.
Optionally, the controlling, according to the first number of users, the target device to adjust the working mode to a preset target working mode corresponding to the first number of users includes:
inquiring the corresponding relation between the pre-stored user number and the working mode of the target equipment by taking the first user number as a basis so as to determine the target working mode corresponding to the first user number;
and controlling the target equipment to adjust the working mode to the target working mode.
Optionally, the controlling the target device to adjust the working mode to the target working mode includes:
judging whether the current working mode of the target equipment is the same as the target working mode or not;
and if the current working mode is different from the target working mode, controlling the target equipment to adjust the working mode to the target working mode.
Optionally, the method further includes:
and if no user exists in the target area range corresponding to the target equipment, controlling to close the target equipment.
Optionally, the acquiring the first number of users in the target area range includes:
and acquiring the first number of users in the target area range based on a preset positioning technology, wherein the preset positioning technology comprises any one or more of a radio frequency identification technology, a Bluetooth technology, a Zigbee ZigBee technology, an infrared positioning technology, an ultrasonic positioning technology and a wireless fidelity Wi-Fi technology.
Optionally, the obtaining the first number of users in the target area range based on a preset positioning technology includes:
and acquiring the number of the mobile terminals in the target area range based on a preset positioning technology, and taking the number of the mobile terminals as the first number of users in the target area range.
Correspondingly, the embodiment of the invention also discloses a device control device, which comprises:
the judging module is used for judging whether a user exists in a target area range corresponding to the target equipment or not;
an obtaining module, configured to obtain a first number of users in the target area range when the determination result of the determining module indicates that there is a user, where the first number of users is a number of users currently existing in the target area range;
and the control module is used for controlling the target equipment to adjust the working mode to a preset target working mode corresponding to the first user number according to the first user number acquired by the acquisition module.
Optionally, the control module includes:
the query unit is used for querying the corresponding relation between the pre-stored user number and the working mode of the target equipment according to the first user number so as to determine the target working mode corresponding to the first user number;
and the mode adjusting unit is used for controlling the target equipment to adjust the working mode to the target working mode.
Optionally, the mode adjusting unit is specifically configured to:
judging whether the current working mode of the target equipment is the same as the target working mode or not; and if the current working mode is different from the target working mode, controlling the target equipment to adjust the working mode to the target working mode.
Optionally, the control module is further configured to control to close the target device when no user exists in the target area range corresponding to the target device.
Optionally, the obtaining module is specifically configured to:
and acquiring the first number of users in the target area range based on a preset positioning technology, wherein the preset positioning technology comprises any one or more of a radio frequency identification technology, a Bluetooth technology, a Zigbee ZigBee technology, an infrared positioning technology, an ultrasonic positioning technology and a wireless fidelity Wi-Fi technology.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention detects whether the target area corresponding to the target equipment has the users, correspondingly adjusts the working mode of the target equipment according to the number of the current users in the target area when the users exist, namely, the working mode of the target equipment is adjusted to the working mode corresponding to the number of the current users, and the intelligent and automatic adjustment of the working mode of the household appliance equipment is realized by combining the number of the current users with the working mode of the household appliance equipment without active participation of the users, so that the power consumption of the equipment is reduced, and the energy waste is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an apparatus control method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another apparatus control method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus control device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another apparatus control device provided in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The embodiment of the invention discloses a device control method and a device, which can intelligently and automatically adjust the working mode of household appliances without active participation of a user. The details are described below.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an apparatus control method according to an embodiment of the present invention; specifically, as shown in fig. 1, the device control method may include the steps of:
s101: and judging whether a user exists in the target area range corresponding to the target equipment.
S102: and if the users exist, acquiring the number of the first users in the target area range, wherein the number of the first users is the number of the users currently existing in the target area range.
It should be noted that the method of the embodiment of the present invention may be specifically applied to the target device; or the present invention is applied to a control device that is independently set, and the control device controls and adjusts the operating mode of the target device. The target device may be any pre-configured household electrical appliance device, and the target area corresponding to the target device is the control area of the household electrical appliance device. For example, if the target device is an illumination lamp, the target area is an area corresponding to an illumination range of the illumination lamp, for example, a room where the illumination lamp is located is taken as the target area; if the target device is an air conditioner, the target area is an area corresponding to a cooling area of the air conditioner, for example, a room where the air conditioner is located is taken as the target area.
Specifically, the number of users currently existing in the target area range, that is, the first number of users, may be obtained according to a preset positioning technology. Optionally, the preset positioning technology may be a radio frequency identification technology, a bluetooth technology, a ZigBee technology, an infrared positioning technology, an ultrasonic positioning technology, a Wireless Fidelity (Wi-Fi) technology, or the like, and the embodiment of the present invention is not limited.
S103: and controlling the target equipment to adjust the working mode to a preset target working mode corresponding to the first user number according to the first user number.
In a specific embodiment, after obtaining a current user number, i.e., a first user number, of a target area corresponding to a target device, a working mode of the target device may be set according to the first user number, that is, the working mode of the target device is adjusted to a working mode corresponding to the current user number, i.e., a target working mode.
Furthermore, if no user exists in the target area range corresponding to the target device, the target device can be controlled to be closed, so that the power consumption of the device is reduced, and the electric quantity is saved.
Further optionally, the number of second users in the target area range corresponding to the target device may also be obtained according to a preset time interval; judging whether the second user number is the same as the first user number; and if the number of the second users is different from the preset number of the first users, controlling the target equipment to adjust the working mode to a preset working mode corresponding to the second user number. Specifically, the number of users in the target area range, that is, the second number of users, may be re-detected at preset time intervals, for example, every 20 minutes, and the second number of users is compared with the first number of users, and if the second number of users is the same as the first number of users, it is indicated that the number of users in the target area range does not change, and the current working mode is kept unchanged without changing the working mode; if the two are different, it indicates that the number of users in the target area range changes, i.e. the operating mode of the target device needs to be readjusted according to the second number of users. Or, the working mode of the target device can be re-determined according to the number of the second users, and whether mode switching is performed or not is judged according to whether the re-determined working mode is the same as the current working mode of the target device, that is, when the re-determined working mode is the same as the current working mode of the target device, the current working mode is kept unchanged; otherwise, switching to the re-determined working mode. The method for determining the operating mode of the target device according to the second number of users is the same as the method for determining the operating mode of the target device according to the first number of users, and is not described herein again.
Specifically, the automatic adjustment of the operating mode of the target device may be performed when it is detected that the target device is in an on state, and may not be performed any more if the target device is in an off state.
In the embodiment of the invention, whether a user exists in a target area corresponding to the target equipment is detected, and the working mode of the target equipment is correspondingly adjusted according to the number of current users in the target area when the user exists, namely, the working mode of the target equipment is adjusted to be the working mode corresponding to the number of the current users, and the intelligent and automatic adjustment of the working mode of the household appliance is realized by combining the number of the current users with the working mode of the household appliance without active participation of the user, so that the power consumption of the equipment is reduced, and the energy waste is reduced.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another apparatus control method according to an embodiment of the present invention; specifically, as shown in fig. 2, the device control method according to the embodiment of the present invention may include the following steps:
s201: judging whether a user exists in a target area range corresponding to the target equipment, if so, executing the step S202; otherwise, step S205 is executed.
S202: and acquiring the number of first users in the target area range based on a preset positioning technology, wherein the number of the first users is the number of users currently existing in the target area range.
It should be noted that the preset positioning technology in the embodiment of the present invention may include any one or more of a radio frequency identification technology, a bluetooth technology, a ZigBee technology, an infrared positioning technology, an ultrasonic positioning technology, and a Wi-Fi technology, and the embodiment of the present invention is not limited.
In a specific embodiment, the obtaining the first number of users in the target area range based on a preset positioning technology may specifically be: and acquiring the number of the mobile terminals in the target area range based on a preset positioning technology, and taking the number of the mobile terminals as the first number of users in the target area range.
Further, when the first number of users in the target area range corresponding to the target device is obtained, the number of mobile terminals in the target area range may be specifically used as the first number of users. The mobile terminal may be a mobile phone or a smart band. Specifically, the mobile terminal, such as a mobile phone, may report the current location, and the target device or the control device may count the number of mobile phones within the target area according to the location information reported by the mobile phone, and determine the counted number of mobile phones as the current number of users, i.e., the first number of users, within the target area.
S203: and inquiring the corresponding relation between the pre-stored user number and the working mode of the target equipment according to the first user number so as to determine the target working mode corresponding to the first user number.
S204: and controlling the target equipment to adjust the working mode to the target working mode.
In a specific embodiment, after obtaining the current number of users, i.e., the first number of users, of the target area corresponding to the target device, the operating mode of the target device may be set, that is, the operating mode of the target device is adjusted to the operating mode corresponding to the current number of users, i.e., the target operating mode. Specifically, the target working mode corresponding to the first user number may be determined by querying a correspondence between a pre-stored number of users and a working mode of the target device, for example, the target working mode corresponding to the target device and the first user number is found from a pre-configured mode configuration list including the target device, a number of users in a target area range, and a correspondence between working modes, and the working mode of the target device is switched to the target working mode, so that the working mode of the target device can be automatically adjusted according to the current number of users in the area corresponding to the target device.
Further optionally, the controlling the target device to adjust the working mode to the target working mode may specifically be: judging whether the current working mode of the target equipment is the same as the target working mode or not; and if the current working mode is different from the target working mode, controlling the target equipment to adjust the working mode to the target working mode. Specifically, if the determined target working mode is the same as the current working mode of the target device, that is, the number of users in the target area range is not changed, the current working mode is kept inconvenient, and the target working mode does not need to be switched again; otherwise, if the determined target working mode is different from the current working mode of the target equipment, that is, the number of users in the target area range is changed, the target equipment can be controlled to switch the current working mode to the target working mode.
S205: and controlling to close the target equipment.
Further, if it is detected that no user exists in the target area range corresponding to the target device, the target device can be controlled to be turned off, so that the power consumption of the device can be reduced, and the electric quantity is saved.
Further optionally, after detecting that no user exists in the target area range and before controlling to close the target device, a prompt message may be sent to an associated mobile terminal, such as a mobile phone, to prompt the user whether the target device needs to be closed. If receiving a closing confirmation instruction returned by the user aiming at the prompt message, closing the target equipment; if a confirmation opening instruction returned by the user for the prompt message is received, the target device is kept in an opening state, and at the moment, the working mode of the target device can be adjusted to a default working mode (the default working mode can be configured by a system in advance or set by the user in a self-defining way); or, if no control instruction returned by the user for the prompt message is received within a preset time range, for example, within 5 minutes, the target device may be directly controlled to be turned off (or the operating mode of the target device may be adjusted to the default operating mode).
Optionally, a function switch may be preset, and the automatic adjustment of the operating mode of the target device is triggered by turning on the function switch. For example, the function switch may be set in advance in the associated mobile terminal, and the user may remotely turn on the target device by turning on the function switch, and may also set the operating mode of the target device to the default operating mode, for example, set the temperature of the air conditioner to 25 degrees, so as to cool the room in advance, thereby improving the user experience. Furthermore, when the working mode of the target device does not need to be automatically adjusted, the automatic adjusting function can be turned off by turning off the function switch.
For example, if the target device is an air conditioner, the target area corresponding to the target device is an area corresponding to a cooling area of the air conditioner, for example, a room in which the air conditioner is installed is taken as the target area. If the number of users in the target area range is 1-10, the air conditioner can be controlled to set the temperature to 25 ℃, namely the air conditioner is controlled to adjust the working mode to the working mode corresponding to the 25 degrees, namely the target working mode; if the number of users in the target area range is 10-20, the air conditioner can be controlled to set the temperature to 20 ℃, namely the air conditioner is controlled to adjust the working mode to the working mode corresponding to 20 degrees, namely the target working mode; if the number of users in the target area range is more than 20, the air conditioner can be controlled to set the temperature to 16 degrees, namely, the air conditioner is controlled to adjust the working mode to the working mode corresponding to the 16 degrees, namely, the target working mode; if the number of users in the target area range is 0, namely no user exists, the air conditioner can be controlled to be turned off, so that energy is saved, and the power consumption of the air conditioner is reduced. The corresponding relationship between the number of users in the target area range and the set temperature of the air conditioner can be configured in advance by the system or set by the user in a user-defined manner, and the embodiment of the invention is not limited. For another example, if the target device is an illumination lamp, and a target area corresponding to the target device is an illumination range of the illumination lamp, for example, a room where the illumination lamp is installed is determined as the target area, the number of users in the target area range is greater than 0, that is, when there is a user, the illumination lamp is controlled to be turned on; and controlling to turn off the illuminating lamp when the number of users in the target area range is 0, namely, when no user exists.
In the embodiment of the invention, the current user number in the target area range corresponding to the target equipment can be obtained through a preset positioning technology, the corresponding relation between the pre-stored user number and the working mode of the target equipment is inquired according to the current user number in the target area, so that the target working mode corresponding to the current user number is determined, the working mode of the target equipment is adjusted to be the target working mode, and the intelligent and automatic adjustment of the working mode of the household appliance is realized by combining the current user number and the working mode of the household appliance without active participation of a user, the power consumption of the equipment is reduced, and the energy waste is reduced.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus control device according to an embodiment of the present invention; specifically, the device control apparatus according to the embodiment of the present invention includes a determining module 11, an obtaining module 12, and a control module 13. Wherein,
the judging module 11 is configured to judge whether a user exists in a target area range corresponding to the target device.
It should be noted that the apparatus according to the embodiment of the present invention may be specifically disposed in the target device, or may be independently disposed in a central control device, so as to control and adjust the operating mode of the target device. The target device may be any one of the pre-configured home appliances, and the target area corresponding to the target device is the control area of the home appliance. For example, if the target device is an illumination lamp, the target area is an area corresponding to an illumination range of the illumination lamp, for example, a room where the illumination lamp is located is taken as the target area; if the target device is an air conditioner, the target area is an area corresponding to a cooling area of the air conditioner, for example, a room where the air conditioner is located is taken as the target area.
Specifically, the number of users currently existing in the target area range, that is, the first number of users, may be obtained according to a preset positioning technology. Optionally, the preset positioning technology may be a radio frequency identification technology, a bluetooth technology, a ZigBee technology, an infrared positioning technology, an ultrasonic positioning technology, a Wireless Fidelity (Wi-Fi) technology, or the like, and the embodiment of the present invention is not limited.
The obtaining module 12 is configured to obtain the first number of users in the target area range when the determination result of the determining module 11 is that there is a user, where the first number of users is the number of users currently existing in the target area range.
The control module 13 is configured to control the target device to adjust a working mode to a preset target working mode corresponding to the first number of users according to the first number of users acquired by the acquisition module 12.
In a specific embodiment, after the obtaining module 12 obtains the current number of users, i.e. the first number of users, of the target area corresponding to the target device, the control module 13 may set the working mode of the target device according to the first number of users, that is, adjust the working mode of the target device to the working mode corresponding to the current number of users, i.e. the target working mode.
As a further alternative, in embodiments of the present invention,
the control module 13 is further configured to control to close the target device when no user exists in the target area range corresponding to the target device.
Further optionally, the obtaining module 12 is further configured to obtain a second number of users in a target area range corresponding to the target device according to a preset time interval, and determine whether the second number of users is the same as the first number of users;
the control module 13 is further configured to control the target device to adjust a working mode to a preset working mode corresponding to the second number of users when the second number of users is different from the first number of users.
Specifically, the obtaining module 12 may detect the number of users in the target area again, that is, the second number of users, at preset time intervals, for example, every 20 minutes, and compare the second number of users with the first number of users, if the second number of users is the same as the first number of users, it indicates that the number of users in the target area does not change, and the current working mode is kept unchanged without changing the working mode through the control module 13; if the two are different, it indicates that the number of users in the target area range changes, that is, the control module 13 needs to readjust the operating mode of the target device according to the second number of users. The method for determining the operating mode of the target device according to the second number of users is the same as the method for determining the operating mode of the target device according to the first number of users, and is not described herein again.
In the embodiment of the invention, whether a user exists in a target area corresponding to the target equipment is detected, and the working mode of the target equipment is correspondingly adjusted according to the number of current users in the target area when the user exists, namely, the working mode of the target equipment is adjusted to be the working mode corresponding to the number of the current users, and the intelligent and automatic adjustment of the working mode of the household appliance is realized by combining the number of the current users with the working mode of the household appliance without active participation of the user, so that the power consumption of the equipment is reduced, and the energy waste is reduced.
Further, referring to fig. 4, fig. 4 is a schematic structural diagram of another device control apparatus according to an embodiment of the present invention, and the apparatus according to the embodiment of the present invention may include a determining module 11, an obtaining module 12, and a control module 13 of the device control apparatus according to the embodiment of fig. 3. Further, in the embodiment of the present invention, the control module 13 may specifically include:
the query unit 131 is configured to query a correspondence between a pre-stored number of users and a working mode of the target device based on the first number of users to determine a target working mode corresponding to the first number of users;
a mode adjusting unit 132, configured to control the target device to adjust an operation mode to the target operation mode.
In a specific embodiment, after the obtaining module 12 obtains the current number of users, i.e., the first number of users, of the target area corresponding to the target device, the control module 13 may set the working mode of the target device, i.e., adjust the working mode of the target device to the working mode corresponding to the current number of users, i.e., the target working mode. Specifically, the querying unit 131 may query a correspondence between the number of pre-stored users and the working mode of the target device to determine the target working mode corresponding to the first number of users, for example, find the target working mode corresponding to the target device and the first number of users from a pre-configured mode configuration list including the correspondence between the target device, the number of users in the target area range, and the working mode, and switch the working mode of the target device to the target working mode through the mode adjusting unit 132, so that the mode adjusting unit 132 may automatically adjust the working mode of the target device according to the current number of users in the area corresponding to the target device.
Optionally, in an embodiment of the present invention, the mode adjusting unit 132 may be specifically configured to:
judging whether the current working mode of the target equipment is the same as the target working mode or not; and if the current working mode is different from the target working mode, controlling the target equipment to adjust the working mode to the target working mode.
Specifically, if the target operating mode determined by the querying unit 131 is the same as the current operating mode of the target device, that is, it indicates that the number of users in the target area range is not changed, the current operating mode is kept inconvenient, and the mode adjusting unit 132 does not switch the operating mode; otherwise, if the target operating mode determined by the querying unit 131 is different from the current operating mode of the target device, that is, the number of users in the target area range is changed, the mode adjusting unit 132 may control the target device to switch the current operating mode to the target operating mode.
Further, in the embodiment of the present invention, the obtaining module 12 may specifically be configured to:
and acquiring the first number of users in the target area range based on a preset positioning technology.
It should be noted that the preset positioning technology in the embodiment of the present invention may include any one or more of a radio frequency identification technology, a bluetooth technology, a ZigBee technology, an infrared positioning technology, an ultrasonic positioning technology, and a Wi-Fi technology, and the embodiment of the present invention is not limited.
Optionally, the obtaining module 12 obtains the first number of users in the target area range based on a preset positioning technology, which may specifically be: and acquiring the number of the mobile terminals in the target area range based on a preset positioning technology, and taking the number of the mobile terminals as the first number of users in the target area range.
In a specific embodiment, when the obtaining module 12 obtains the first number of users in the target area range corresponding to the target device, the number of mobile terminals in the target area range may be used as the first number of users. The mobile terminal may be a mobile phone or a smart band. Specifically, the mobile terminal, such as a mobile phone, may report the current location, and the obtaining module 12 may count the number of mobile phones in the target area according to the location information reported by the mobile phone, and determine the counted collected number as the current number of users in the target area, that is, the first number of users.
For example, if the target device is an air conditioner, the target area corresponding to the target device is an area corresponding to a cooling area of the air conditioner, for example, a room in which the air conditioner is installed is taken as the target area. If the number of users in the target area range is 1-10 detected by the obtaining module 12, the control module 13 may control the air conditioner to set the temperature to 25 degrees, that is, the air conditioner is controlled to adjust the working mode to the working mode corresponding to the 25 degrees, that is, the target working mode; if the number of users in the target area range detected by the obtaining module 12 is 10-20, the control module 13 may control the air conditioner to set the temperature to 20 degrees, that is, control the air conditioner to adjust the working mode to the working mode corresponding to the 20 degrees, that is, the target working mode; if the number of users in the target area range detected by the obtaining module 12 is more than 20, the control module 13 may control the air conditioner to set the temperature to 16 degrees, that is, control the air conditioner to adjust the working mode to the working mode corresponding to the 16 degrees, that is, the target working mode; if the acquiring module 12 detects that the number of users in the target area range is 0, that is, if there is no user, the control module 13 may control to turn off the air conditioner, so as to save energy and reduce power consumption of the air conditioner. The corresponding relationship between the number of users in the target area range and the set temperature of the air conditioner can be configured in advance by the system or set by the user in a user-defined manner, and the embodiment of the invention is not limited. For another example, if the target device is an illumination lamp, and a target area corresponding to the target device is an illumination range of the illumination lamp, for example, a room where the illumination lamp is installed is determined as the target area, the control module 13 may control to turn on the illumination lamp when the number of users in the target area range is greater than 0, that is, when there is a user; and controlling to turn off the illuminating lamp when the number of users in the target area range is 0, namely, when no user exists.
In the embodiment of the invention, the current user number in the target area range corresponding to the target equipment can be obtained through a preset positioning technology, the corresponding relation between the pre-stored user number and the working mode of the target equipment is inquired according to the current user number in the target area, so that the target working mode corresponding to the current user number is determined, the working mode of the target equipment is adjusted to be the target working mode, and the intelligent and automatic adjustment of the working mode of the household appliance is realized by combining the current user number and the working mode of the household appliance without active participation of a user, the power consumption of the equipment is reduced, and the energy waste is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, configured to execute the device control method. As shown in fig. 5, the terminal device according to the embodiment of the present invention may include: at least one processor 100, at least one input device 200, at least one output device 300, memory 500, etc. Wherein the components are communicatively coupled via one or more buses 400. Those skilled in the art will appreciate that the configuration of the terminal device shown in fig. 5 is not intended to limit the embodiments of the present invention, and may be a bus structure, a star structure, a combination of more or less components than those shown, or a different arrangement of components. Wherein:
the processor 100 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing programs and/or modules stored in the memory 500 and calling data stored in the memory 500. The processor 100 may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 100 may include only a Central Processing Unit (CPU), or may be a combination of a CPU, a Digital Signal Processor (DSP), a Graphics Processing Unit (GPU), and various control chips. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
The input device 200 may include a standard touch screen, keyboard, camera, etc., and may also include a wired interface, wireless interface, etc.
The output device 300 may include a display screen, a speaker, etc., and may also include a wired interface, a wireless interface, etc.
The memory 500 may be used to store software programs and modules, and the processor 100, the input device 200 and the output device 300 execute various functional applications of the terminal device and implement data processing by calling the software programs and modules stored in the memory 500. The memory 500 mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like; the data storage area may store data created according to the use of the terminal device, and the like. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, a Windows operating system, or the like.
Specifically, the processor 100 calls an application program stored in the memory 500 for executing the following steps:
judging whether a user exists in a target area range corresponding to the target equipment or not;
if the users exist, acquiring the number of first users in the target area range, wherein the number of the first users is the number of the users currently existing in the target area range;
and controlling the target equipment to adjust the working mode to a preset target working mode corresponding to the first user number according to the first user number.
It should be noted that the terminal device in the embodiment of the present invention may be the target device or an independently arranged central control device, and the embodiment of the present invention is not limited. The target device may be any one of the pre-configured home appliances, and the target area corresponding to the target device is the control area of the home appliance. For example, if the target device is an illumination lamp, the target area is an illumination range of the illumination lamp, for example, a room where the illumination lamp is located is taken as the target area; if the target device is an air conditioner, the target area is an area corresponding to a cooling area of the air conditioner, for example, a room where the air conditioner is located is taken as the target area.
Optionally, the processor 100 invokes an application program stored in the memory 500 to execute the first user number, and controls the target device to adjust the working mode to a preset target working mode corresponding to the first user number, specifically executing the following steps:
inquiring the corresponding relation between the pre-stored user number and the working mode of the target equipment by taking the first user number as a basis so as to determine the target working mode corresponding to the first user number;
and controlling the target equipment to adjust the working mode to the target working mode.
Optionally, the processor 100 invokes an application program stored in the memory 500 to control the target device to adjust the working mode to the target working mode, specifically executing the following steps:
judging whether the current working mode of the target equipment is the same as the target working mode or not;
and if the current working mode is different from the target working mode, controlling the target equipment to adjust the working mode to the target working mode.
Optionally, the processor 100 calls the application program stored in the memory 500 to execute, and is further configured to perform the following steps:
and if no user exists in the target area range corresponding to the target equipment, controlling to close the target equipment.
Optionally, the processor 100 invokes an application program stored in the memory 500 to execute the acquiring of the first number of users in the target area range, specifically executing the following steps:
and acquiring the first number of users in the target area range based on a preset positioning technology, wherein the preset positioning technology comprises any one or more of a radio frequency identification technology, a Bluetooth technology, a Zigbee ZigBee technology, an infrared positioning technology, an ultrasonic positioning technology and a wireless fidelity Wi-Fi technology.
Optionally, the processor 100 invokes an application program stored in the memory 500 to execute the preset-based positioning technology, and obtains the first number of users in the target area, specifically executing the following steps:
and acquiring the number of the mobile terminals in the target area range based on a preset positioning technology, and taking the number of the mobile terminals as the first number of users in the target area range.
In the embodiment of the invention, whether a user exists in a target area corresponding to the target equipment is detected, and the working mode of the target equipment is correspondingly adjusted according to the number of current users in the target area when the user exists, namely, the working mode of the target equipment is adjusted to be the working mode corresponding to the number of the current users, and the intelligent and automatic adjustment of the working mode of the household appliance is realized by combining the number of the current users with the working mode of the household appliance without active participation of the user, so that the power consumption of the equipment is reduced, and the energy waste is reduced.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present invention, 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 units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. 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 invention 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 integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. An apparatus control method characterized by comprising:
responding to the starting operation of a function switch arranged in a mobile phone or an intelligent bracelet associated with the target equipment, and triggering the automatic adjustment of the working mode of the target equipment;
judging whether a user exists in a target area range corresponding to the target equipment or not;
if no user exists in the target area range corresponding to the target equipment, sending a prompt message to the associated mobile terminal to remind the user whether the target equipment needs to be closed, and if a closing confirmation instruction returned by the user aiming at the prompt message is received, controlling to close the target equipment;
if the users exist, acquiring the first number of users in the target area range, wherein the acquiring comprises the following steps: acquiring the number of mobile terminals in the target area range based on a preset positioning technology, and taking the number of the mobile terminals as the first number of users in the target area range; the first user number is the number of users currently existing in the target area range;
controlling the target equipment to adjust the working mode to a preset target working mode corresponding to the first user number according to the first user number;
acquiring a second user number in a target area range corresponding to the target equipment according to a preset time interval;
judging whether the second user number is the same as the first user number;
and if the number of the second users is different from the preset number of the first users, controlling the target equipment to adjust the working mode to a preset working mode corresponding to the second user number.
2. The method according to claim 1, wherein the controlling the target device to adjust the operation mode to a preset target operation mode corresponding to the first number of users according to the first number of users comprises:
inquiring the corresponding relation between the pre-stored user number and the working mode of the target equipment by taking the first user number as a basis so as to determine the target working mode corresponding to the first user number;
and controlling the target equipment to adjust the working mode to the target working mode.
3. The method of claim 2, wherein the controlling the target device to adjust the operating mode to the target operating mode comprises:
judging whether the current working mode of the target equipment is the same as the target working mode or not;
and if the current working mode is different from the target working mode, controlling the target equipment to adjust the working mode to the target working mode.
4. The method of claim 1, wherein the predetermined location technology comprises any one or more of radio frequency identification technology, bluetooth technology, ZigBee technology, infrared location technology, ultrasonic location technology, and Wi-Fi technology.
5. An apparatus control device, characterized by comprising:
the judging module is used for judging whether a user exists in a target area range corresponding to the target equipment or not after a functional switch arranged on a mobile phone or an intelligent bracelet related to the target equipment is turned on to trigger automatic adjustment of a working mode of the target equipment;
the control module is used for sending a prompt message to the associated mobile terminal when no user exists in the target area range corresponding to the target equipment so as to remind the user whether the target equipment needs to be closed, and controlling the target equipment to be closed if a closing confirmation instruction returned by the user aiming at the prompt message is received;
an obtaining module, configured to obtain a first number of users in the target area range when a determination result of the determining module indicates that there is a user, where the obtaining module obtains the number of mobile terminals in the target area range based on a preset positioning technology, and takes the number of mobile terminals as the first number of users in the target area range; the first user number is the number of users currently existing in the target area range;
the control module is further configured to control the target device to adjust a working mode to a preset target working mode corresponding to the first number of users according to the first number of users acquired by the acquisition module;
the acquisition module is further configured to acquire a second number of users in a target area range corresponding to the target device according to a preset time interval, and determine whether the second number of users is the same as the first number of users; the control module is further configured to control the target device to adjust a working mode to a preset working mode corresponding to the second number of users when the second number of users is different from the first number of users.
6. The apparatus of claim 5, wherein the control module comprises:
the query unit is used for querying the corresponding relation between the pre-stored user number and the working mode of the target equipment according to the first user number so as to determine the target working mode corresponding to the first user number;
and the mode adjusting unit is used for controlling the target equipment to adjust the working mode to the target working mode.
7. The apparatus of claim 6, wherein the mode adjustment unit is specifically configured to:
judging whether the current working mode of the target equipment is the same as the target working mode or not; and if the current working mode is different from the target working mode, controlling the target equipment to adjust the working mode to the target working mode.
8. The apparatus of claim 6, wherein the predetermined location technology comprises any one or more of radio frequency identification technology, bluetooth technology, ZigBee technology, infrared location technology, ultrasonic location technology, and Wi-Fi technology.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710998686.1A CN107765592B (en) | 2015-06-12 | 2015-06-12 | Equipment control method and device and terminal equipment |
CN201510323681.XA CN104950716B (en) | 2015-06-12 | 2015-06-12 | A kind of apparatus control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510323681.XA CN104950716B (en) | 2015-06-12 | 2015-06-12 | A kind of apparatus control method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710998686.1A Division CN107765592B (en) | 2015-06-12 | 2015-06-12 | Equipment control method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104950716A CN104950716A (en) | 2015-09-30 |
CN104950716B true CN104950716B (en) | 2017-11-14 |
Family
ID=54165448
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510323681.XA Expired - Fee Related CN104950716B (en) | 2015-06-12 | 2015-06-12 | A kind of apparatus control method and device |
CN201710998686.1A Expired - Fee Related CN107765592B (en) | 2015-06-12 | 2015-06-12 | Equipment control method and device and terminal equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710998686.1A Expired - Fee Related CN107765592B (en) | 2015-06-12 | 2015-06-12 | Equipment control method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN104950716B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549835B (en) * | 2016-09-30 | 2020-06-19 | 北京小米移动软件有限公司 | Method and device for processing state of intelligent device |
CN107479418A (en) * | 2017-08-22 | 2017-12-15 | 珠海格力电器股份有限公司 | Control method and device of equipment unit, storage medium and equipment unit |
CN107678330A (en) * | 2017-09-18 | 2018-02-09 | 广东美的制冷设备有限公司 | Terminal control method, device and computer-readable recording medium |
CN110335385A (en) * | 2019-06-18 | 2019-10-15 | 广东汇泰龙科技股份有限公司 | A kind of method for realizing low power consumption and system of intelligent door lock |
CN111459037B (en) * | 2020-02-27 | 2021-09-14 | 珠海格力电器股份有限公司 | Intelligent household system control method and device, electronic equipment and readable storage medium |
CN111885447B (en) * | 2020-07-16 | 2022-07-22 | 歌尔科技有限公司 | Electronic device, control method thereof, control device thereof, and readable storage medium |
CN113357781A (en) * | 2021-06-02 | 2021-09-07 | 青岛海尔空调器有限总公司 | Air conditioner control method, air conditioner control device, air conditioner, medium, and program product |
CN113759747A (en) * | 2021-09-29 | 2021-12-07 | 珠海格力电器股份有限公司 | Electrical equipment control method and device and electrical equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104214863A (en) * | 2014-09-03 | 2014-12-17 | 美的集团股份有限公司 | Public air conditioner, public air conditioner system and control method of public air conditioner |
CN104320480A (en) * | 2014-11-03 | 2015-01-28 | 中国联合网络通信集团有限公司 | Control method for intelligent home equipment and cloud server |
CN104614998A (en) * | 2014-12-19 | 2015-05-13 | 小米科技有限责任公司 | Method and device for controlling household equipment |
CN104614997A (en) * | 2014-12-12 | 2015-05-13 | 联想(北京)有限公司 | Control method, control device and electronic equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582912B (en) * | 2008-05-16 | 2013-09-25 | 华为技术有限公司 | Method, system and equipment for information push based on Zigbee |
JP5035852B2 (en) * | 2008-07-11 | 2012-09-26 | シャープ株式会社 | Communication terminal, control method, and control program |
KR101208212B1 (en) * | 2010-12-16 | 2012-12-04 | 엘지전자 주식회사 | A network system and a control method the same |
KR20130052014A (en) * | 2011-01-31 | 2013-05-21 | 가부시키가이샤 엔.티.티.도코모 | Terminal quantity estimation device and terminal quantity estimation method |
CN103335387B (en) * | 2013-07-01 | 2016-07-13 | 深圳达实智能股份有限公司 | A kind of central air conditioner system and volume adjusting apparatus, method |
WO2015076609A1 (en) * | 2013-11-21 | 2015-05-28 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling home devices on group basis in a home network system |
CN103957230B (en) * | 2014-03-10 | 2018-09-04 | 珠海市君天电子科技有限公司 | A kind of client user's number determines method, server, client and system |
-
2015
- 2015-06-12 CN CN201510323681.XA patent/CN104950716B/en not_active Expired - Fee Related
- 2015-06-12 CN CN201710998686.1A patent/CN107765592B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104214863A (en) * | 2014-09-03 | 2014-12-17 | 美的集团股份有限公司 | Public air conditioner, public air conditioner system and control method of public air conditioner |
CN104320480A (en) * | 2014-11-03 | 2015-01-28 | 中国联合网络通信集团有限公司 | Control method for intelligent home equipment and cloud server |
CN104614997A (en) * | 2014-12-12 | 2015-05-13 | 联想(北京)有限公司 | Control method, control device and electronic equipment |
CN104614998A (en) * | 2014-12-19 | 2015-05-13 | 小米科技有限责任公司 | Method and device for controlling household equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107765592A (en) | 2018-03-06 |
CN107765592B (en) | 2020-05-26 |
CN104950716A (en) | 2015-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104950716B (en) | A kind of apparatus control method and device | |
US20210272566A1 (en) | Communication Method, Server, and Device | |
CN107146616B (en) | Equipment control method and related product | |
EP3174251B1 (en) | Method and apparatus for identifying type of electronic device on smart socket | |
JP2017529808A (en) | Control method for mobile terminal antenna and mobile terminal | |
CN105406889B (en) | A kind of determination method, device and mobile terminal of network formats | |
CN108040352B (en) | Method for processing business, device and mobile terminal under a kind of hybrid network standard | |
US10139885B2 (en) | Systems and methods for facilitating device control, device protection, and power savings | |
RU2627940C2 (en) | Method and device for controlling intelligent home power source | |
US20160270003A1 (en) | Method and Device for Controlling Transmitting Power, and Terminal | |
US20130307665A1 (en) | Control system for controlling accessories of mobile device | |
CN105745906B (en) | Message processing method, system and related equipment | |
CN105262652A (en) | Network configuration method for network household appliance | |
CN105847038B (en) | The remapping method and control system of a kind of wireless communication module, terminal device | |
CN103810034A (en) | Operating mode switching method | |
KR20210089867A (en) | Internet of things interlocking system of ir control device | |
CN204731623U (en) | A kind of intelligent control system | |
RU2688759C2 (en) | Method of power supply control, device for power splitter and power supply splitter | |
CN114430528B (en) | Sound data playing method and device, electronic equipment and storage medium | |
CN109150675A (en) | Interaction method and device for household appliances | |
CN104165436A (en) | Air conditioner operating parameter adjusting method and system | |
CN107291328B (en) | Interface display method and related product | |
US20140097945A1 (en) | Wireless Digital Signal-Controlled Switch System | |
CN112596426B (en) | Control and networking method and device of single-live-wire Bluetooth intelligent switch and electronic equipment | |
CN108931923B (en) | Device control method and apparatus, storage medium, and electronic apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171114 |
|
CF01 | Termination of patent right due to non-payment of annual fee |