CN105281994B - Working mode switching method and device - Google Patents
Working mode switching method and device Download PDFInfo
- Publication number
- CN105281994B CN105281994B CN201510724736.8A CN201510724736A CN105281994B CN 105281994 B CN105281994 B CN 105281994B CN 201510724736 A CN201510724736 A CN 201510724736A CN 105281994 B CN105281994 B CN 105281994B
- Authority
- CN
- China
- Prior art keywords
- equipment
- identifier
- working mode
- home
- message
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000004891 communication Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 15
- 230000003993 interaction Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 238000007791 dehumidification Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 238000005406 washing Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000005057 refrigeration Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The disclosure is directed to a kind of Working mode switching method and devices, belong to smart home field.The described method includes: receiving the message of the mobile device broadcast around in geographic area;The first device identification in the message is obtained, first device identification is used to indicate the mobile device;According to the binding relationship between the device identification and operating mode pre-established, the corresponding operating mode of first device identification is switched to.The disclosure is by pre-establishing the binding relationship between the device identification of mobile device and operating mode, when the mobile device is located in the surrounding geographic area of the home equipment, home equipment can receive the message of mobile device broadcast, it include the device identification in the message, then home equipment is automatically switched to the corresponding operating mode of the device identification according to the binding relationship, it is switched over manually without user, it is easy to operate, improve flexibility.
Description
Technical Field
The disclosure relates to the field of smart home, in particular to a working mode switching method and device.
Background
Along with the improvement of the demand of people on living environment, the working modes provided by the household equipment are more and more, and users can like to select different working modes.
For each type of home device, usually only one home device is provided for one family, and each member in the family shares the home device. Then, if the preferences of several members are different, when one member uses the home device and another member wants to use the home device, the home device needs to be manually adjusted to switch to the favorite operating mode.
For example, the smart air conditioner may provide a sleep mode, a cooling mode, a dehumidification mode, etc., after the member a adjusts the smart air conditioner to the sleep mode, if the member B wishes to adjust the air conditioner mode to the dehumidification mode, the member a needs to click the mode switching button provided by the smart air conditioner for many times until the smart air conditioner switches to the dehumidification mode.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides a method and an apparatus for switching an operating mode. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for switching an operating mode, the method including:
receiving messages broadcast by mobile devices in a surrounding geographic area;
acquiring a first device identifier in the message, wherein the first device identifier is used for indicating the mobile device;
and switching to the working mode corresponding to the first equipment identifier according to the binding relationship between the pre-established equipment identifier and the working mode.
In another embodiment, the receiving messages broadcast by mobile devices in a surrounding geographic area includes:
and receiving the message broadcasted by the mobile equipment through the Bluetooth communication function.
In another embodiment, the obtaining the first device identifier in the message includes:
detecting the signal strength of the message;
and when the signal intensity is greater than a preset threshold value, acquiring a first equipment identifier in the message.
In another embodiment, the method further comprises:
receiving a binding request sent by a server, wherein the binding request comprises a device identifier to be bound and a working mode;
and establishing a binding relationship between the equipment identification and the working mode.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for switching an operating mode, the method including:
and broadcasting a message, wherein the message comprises a local terminal equipment identifier, the home equipment receiving the message is used for acquiring the equipment identifier, and switching to a working mode corresponding to the equipment identifier according to a binding relationship between the equipment identifier and the working mode which is established in advance.
According to a third aspect of the embodiments of the present disclosure, there is provided a method for switching an operating mode, the method including:
acquiring a first device identifier, wherein the first device identifier is used for indicating a mobile device to be bound with home equipment;
acquiring a set working mode;
acquiring a second device identifier bound to a home terminal, wherein the second device identifier is used for indicating the home device;
sending a first binding request to a server, wherein the first binding request comprises the second equipment identifier, the first equipment identifier and the working mode, the server sends a second binding request to the household equipment according to the second equipment identifier, the second binding request comprises the first equipment identifier and the working mode, and the household equipment establishes a binding relationship between the first equipment identifier and the working mode.
In another embodiment, the obtaining the first device identifier includes:
acquiring a device identifier input by a user; or,
acquiring a device identifier of a local terminal; or,
and acquiring the bound equipment identifier of the home terminal.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a method for switching an operating mode, the method including:
receiving a first binding request sent by a mobile device, wherein the first binding request comprises a second device identifier, a first device identifier and a working mode, the second device identifier is used for indicating a home device, and the first device identifier is used for indicating the mobile device to be bound with the home device;
and sending a second binding request to the household equipment according to the second equipment identifier, wherein the second binding request comprises the first equipment identifier and the working mode, and the household equipment establishes a binding relationship between the first equipment identifier and the working mode.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus, the apparatus including:
the message receiving module is used for receiving messages broadcasted by the mobile equipment in the surrounding geographic area;
an obtaining module, configured to obtain a first device identifier in the message, where the first device identifier is used to indicate the mobile device;
and the switching module is used for switching to the working mode corresponding to the first equipment identifier according to the binding relationship between the pre-established equipment identifier and the working mode.
In another embodiment, the message receiving module is configured to receive a message broadcast by the mobile device through a bluetooth communication function.
In another embodiment, the obtaining module is further configured to detect a signal strength of the packet; and when the signal intensity is greater than a preset threshold value, acquiring a first equipment identifier in the message.
In another embodiment, the apparatus further comprises:
the request receiving module is used for receiving a binding request sent by a server, wherein the binding request comprises a device identifier to be bound and a working mode;
and the establishing module is used for establishing the binding relationship between the equipment identifier and the working mode.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus, the apparatus including:
the broadcasting module is used for broadcasting a message, the message comprises a local equipment identifier, the home equipment receiving the message is used for acquiring the equipment identifier, and the home equipment is switched to a working mode corresponding to the equipment identifier according to a binding relationship between the equipment identifier and the working mode which is established in advance.
According to a seventh aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus, the apparatus including:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a first device identifier, and the first device identifier is used for indicating a mobile device to be bound with the household device;
a second obtaining module for obtaining the set working mode,
a third obtaining module, configured to obtain a second device identifier bound to a home terminal, where the second device identifier is used to indicate the home device;
the sending module is used for sending a first binding request to a server, the first binding request comprises the second equipment identifier, the first equipment identifier and the working mode, the server sends a second binding request to the household equipment according to the second equipment identifier, the second binding request comprises the first equipment identifier and the working mode, and the household equipment establishes the binding relationship between the first equipment identifier and the working mode.
In another embodiment, the first obtaining module is further configured to obtain a device identifier input by a user; or, acquiring the equipment identifier of the local terminal; or acquiring the device identifier bound by the home terminal.
According to an eighth aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus, the apparatus including:
the mobile terminal comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a first binding request sent by mobile equipment, the first binding request comprises a second equipment identifier, a first equipment identifier and a working mode, the second equipment identifier is used for indicating household equipment, and the first equipment identifier is used for indicating the mobile equipment to be bound with the household equipment;
and the sending module is used for sending a second binding request to the household equipment according to the second equipment identifier, wherein the second binding request comprises the first equipment identifier and the working mode, and the household equipment establishes a binding relationship between the first equipment identifier and the working mode.
According to a ninth aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving messages broadcast by mobile devices in a surrounding geographic area;
acquiring a first device identifier in the message, wherein the first device identifier is used for indicating the mobile device;
and switching to the working mode corresponding to the first equipment identifier according to the binding relationship between the pre-established equipment identifier and the working mode.
According to a tenth aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
and broadcasting a message, wherein the message comprises a local terminal equipment identifier, the home equipment receiving the message is used for acquiring the equipment identifier, and switching to a working mode corresponding to the equipment identifier according to a binding relationship between the equipment identifier and the working mode which is established in advance.
According to an eleventh aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a first device identifier, wherein the first device identifier is used for indicating a mobile device to be bound with home equipment;
acquiring a set working mode;
acquiring a second device identifier bound to a home terminal, wherein the second device identifier is used for indicating the home device;
sending a first binding request to a server, wherein the first binding request comprises the second equipment identifier, the first equipment identifier and the working mode, the server sends a second binding request to the household equipment according to the second equipment identifier, the second binding request comprises the first equipment identifier and the working mode, and the household equipment establishes a binding relationship between the first equipment identifier and the working mode.
According to a twelfth aspect of the embodiments of the present disclosure, there is provided an operation mode switching apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a first binding request sent by a mobile device, wherein the first binding request comprises a second device identifier, a first device identifier and a working mode, the second device identifier is used for indicating a home device, and the first device identifier is used for indicating the mobile device to be bound with the home device;
and sending a second binding request to the household equipment according to the second equipment identifier, wherein the second binding request comprises the first equipment identifier and the working mode, and the household equipment establishes a binding relationship between the first equipment identifier and the working mode.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device provided by the embodiment, the binding relationship between the equipment identifier and the working mode of the mobile equipment is pre-established, when the mobile equipment is located in the surrounding geographical area of the home equipment, the home equipment can receive the message broadcasted by the mobile equipment, the message comprises the equipment identifier, and the home equipment is automatically switched to the working mode corresponding to the equipment identifier according to the binding relationship, so that the user does not need to manually switch, the operation is simple and convenient, and the flexibility is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a block diagram illustrating an interactive system in accordance with an exemplary embodiment;
FIG. 2A is a flow chart illustrating a method of operating mode switching according to an exemplary embodiment;
FIG. 2B is a flow chart illustrating a method of operating mode switching in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of operating mode switching in accordance with an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of operating mode switching in accordance with an exemplary embodiment;
FIG. 5 is a flow chart illustrating a method of operating mode switching in accordance with an exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of operating mode switching in accordance with an exemplary embodiment;
FIG. 7A is a block diagram illustrating an operating mode switching device in accordance with an exemplary embodiment;
FIG. 7B is a block diagram illustrating an operating mode switching device in accordance with an exemplary embodiment;
FIG. 7C is a block diagram illustrating an operating mode switching device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an operating mode switching apparatus in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating an operating mode switching apparatus in accordance with an exemplary embodiment;
fig. 10 is a block diagram illustrating an operation mode switching apparatus according to an exemplary embodiment;
fig. 11 is a block diagram illustrating an operation mode switching apparatus according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, the present disclosure is described in further detail below with reference to the embodiments and the accompanying drawings. The exemplary embodiments and descriptions of the present disclosure are provided herein for illustration of the present disclosure, but not for limitation of the present disclosure.
The embodiment of the disclosure provides a method and a device for switching operating modes, and the disclosure is described in detail below with reference to the accompanying drawings.
Fig. 1 is a block diagram of an interaction system according to an exemplary embodiment, where as shown in fig. 1, the interaction system includes a first mobile device, a server, and a home device, the first mobile device is connected to the server through a network, the home device is connected to the server through a network, and the first mobile device is bound to the home device.
The first mobile device is used for acquiring a first device identifier and a working mode, and acquiring a bound second device identifier, wherein the second device identifier is used for indicating the home device. The first device identifier is used for indicating a mobile device to be bound with the home device. The first mobile device is further configured to send a first binding request to the server, where the first binding request includes the second device identifier, the first device identifier, and the operating mode.
The server is used for sending a second binding request to the household equipment according to the second equipment identifier when receiving the first binding request, wherein the second binding request comprises the first equipment identifier and the working mode.
And the home equipment is used for establishing a binding relationship between the first equipment identifier and the working mode when receiving the second binding request.
In an application process, the first device identifier may be used to indicate the first mobile device, and the first mobile device is further used to broadcast a message, where the message includes the first device identifier. When the user carries the first mobile device and is located in the surrounding geographical area of the home device, the home device is further configured to receive the message, obtain the first device identifier in the message, and switch to the working mode corresponding to the first device identifier according to the established binding relationship.
In yet another embodiment, the interactive system may further include a second mobile device, the second mobile device being bound to the first mobile device. The first device identifier may also be used to indicate the second mobile device, that is, the first mobile device is used to obtain the first device identifier of the second mobile device, so that the home device establishes a binding relationship between the first device identifier and the working mode. The second mobile device is further configured to broadcast a message, where the message includes the first device identifier, and when the user carries the second mobile device and is located in a surrounding geographic area of the home device, the home device is further configured to receive the message, obtain the first device identifier in the message, and switch to a working mode corresponding to the first device identifier according to the established binding relationship.
Fig. 2A is a flowchart illustrating an operating mode switching method according to an exemplary embodiment, where as shown in fig. 2A, the operating mode switching method is used in a home device, and includes the following steps:
in step 201, messages broadcast by mobile devices in a surrounding geographic area are received.
In step 202, a first device identifier in the message is obtained, where the first device identifier is used to indicate the mobile device.
In step 203, the operating mode corresponding to the first device identifier is switched to according to the binding relationship between the pre-established device identifier and the operating mode.
According to the method provided by the embodiment, the binding relationship between the equipment identifier and the working mode of the mobile equipment is pre-established, when the mobile equipment is located in the surrounding geographical area of the home equipment, the home equipment can receive the message broadcasted by the mobile equipment, the message comprises the equipment identifier, the home equipment is automatically switched to the working mode corresponding to the equipment identifier according to the binding relationship, the user does not need to manually switch, the operation is simple and convenient, and the flexibility is improved.
In another embodiment, the receiving messages broadcast by mobile devices in a surrounding geographic area includes:
and receiving the message broadcasted by the mobile equipment through the Bluetooth communication function.
In another embodiment, the obtaining the first device identifier in the packet includes:
detecting the signal strength of the message;
and when the signal strength is greater than a preset threshold value, acquiring a first equipment identifier in the message.
In another embodiment, the method further comprises:
receiving a binding request sent by a server, wherein the binding request comprises a device identifier to be bound and a working mode;
and establishing a binding relationship between the equipment identification and the working mode.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2B is a flowchart illustrating an operating mode switching method according to an exemplary embodiment, where the operating mode switching method is used in a mobile device, as shown in fig. 2B, and includes the following steps:
211. and broadcasting a message, wherein the message comprises a local equipment identifier, the home equipment receiving the message is used for acquiring the equipment identifier, and switching to a working mode corresponding to the equipment identifier according to a binding relationship between the equipment identifier and the working mode which is established in advance.
According to the method provided by the embodiment, the binding relationship between the equipment identifier and the working mode of the mobile equipment is pre-established through the home equipment, the mobile equipment broadcasts the message, the message comprises the equipment identifier of the home terminal, when the mobile equipment is located in the surrounding geographic area of the home equipment, the home equipment can receive the message broadcasted by the mobile equipment, the working mode corresponding to the equipment identifier is automatically switched according to the binding relationship, manual switching by a user is not needed, the operation is simple and convenient, and the flexibility is improved.
Fig. 3 is a flowchart illustrating an operation mode switching method according to an exemplary embodiment, where the operation mode switching method is used in a mobile device, as shown in fig. 3, and includes the following steps:
in step 301, a first device identifier is obtained, where the first device identifier is used to indicate a mobile device to be bound with a home device.
In step 302, the set operating mode is obtained.
In step 303, a second device identifier bound to the home terminal is obtained, where the second device identifier is used to indicate the home device.
In step 304, a first binding request is sent to a server, where the first binding request includes the second device identifier, the first device identifier, and the working mode, the server sends a second binding request to the home device according to the second device identifier, where the second binding request includes the first device identifier and the working mode, and the home device establishes a binding relationship between the first device identifier and the working mode.
In the method provided by this embodiment, the first binding request is sent to the server, and the server sends the second binding request to the home equipment, so that the home equipment establishes a binding relationship between the first equipment identifier and the working mode, when the mobile equipment indicated by the first equipment identifier is located in the surrounding geographic area of the home equipment, the home equipment can receive a message broadcast by the mobile equipment, where the message includes the first equipment identifier, and then the home equipment automatically switches to the working mode corresponding to the first equipment identifier according to the binding relationship, without manual switching by a user, which is simple and convenient to operate and improves flexibility.
In another embodiment, the obtaining the first device identification includes:
acquiring a device identifier input by a user; or,
acquiring a device identifier of a local terminal; or,
and acquiring the bound equipment identifier of the local terminal.
Fig. 4 is a flowchart illustrating an operation mode switching method according to an exemplary embodiment, where, as shown in fig. 4, the operation mode switching method is used in a server, and includes the following steps:
in step 401, a first binding request sent by a mobile device is received, where the first binding request includes a second device identifier, a first device identifier, and a working mode, the second device identifier is used to indicate a home device, and the first device identifier is used to indicate a mobile device to be bound with the home device.
In step 402, according to the second device identifier, a second binding request is sent to the home device, where the second binding request includes the first device identifier and the working mode, and the home device establishes a binding relationship between the first device identifier and the working mode.
According to the method provided by the embodiment, when the first binding request sent by the mobile device is received, the second binding request is sent to the home equipment, so that the home equipment establishes the binding relationship between the first equipment identifier and the working mode, when the mobile device indicated by the first equipment identifier is located in the surrounding geographical area of the home equipment, the home equipment can receive the message broadcasted by the mobile device, the message comprises the first equipment identifier, the home equipment is automatically switched to the working mode corresponding to the first equipment identifier according to the binding relationship, manual switching by a user is not needed, the operation is simple and convenient, and the flexibility is improved.
Fig. 5 is a flowchart illustrating a method for switching an operating mode according to an exemplary embodiment, where as shown in fig. 5, an interaction subject of the present embodiment includes a mobile device, a server, and a home device, and includes the following steps:
in step 501, a mobile device obtains a first device identifier, a second device identifier, and an operating mode.
In this embodiment, the mobile device may be a mobile phone, a tablet computer, and the like, which is not limited in this embodiment.
In practical application, when a user is close to the home device, the user can be considered to use the home device, so that the home device can automatically switch to a favorite working mode of the user, the mobile device frequently carried by the user can be bound with the working mode of the home device in advance, and then when the user carries the mobile device to be close to the home device, the home device can automatically switch to the working mode corresponding to the mobile device.
In order to bind the mobile device with the working mode of the home device, the mobile device may first obtain the first device identifier, the second device identifier, and the working mode.
The second device identifier is used to indicate the home device, and may be a device number, a Media Access Control (MAC) address, and the like of the home device, which is not limited in this embodiment.
The first device identifier is used for indicating a mobile device to be bound with the working mode of the home device. In this embodiment, the first device identifier may be a device identifier of the local terminal of the mobile device, and the first device identifier may be a device number, a user account, a MAC address, and the like of the mobile device, which is not limited in this embodiment.
In practical application, the mobile device may be bound to a plurality of home devices, and obtain a device identifier of each bound home device and a plurality of working modes that each home device can provide. The household equipment can be an intelligent air conditioner, an intelligent refrigerator, an intelligent closestool, an intelligent television and the like, correspondingly, the working modes provided by the intelligent air conditioner comprise a sleep mode, a refrigeration mode, a dehumidification mode and the like, the working modes provided by the intelligent refrigerator comprise a degerming mode, a freezing mode, a cold storage mode and the like, the working modes provided by the household equipment of different types can be the same or different, and the embodiment does not limit the modes.
The mobile device can display the device identifications of the plurality of bound home devices, when a user wants to set a working mode on the home device, the device identification of the corresponding home device can be selected, and when the mobile device detects a selection operation of the user, the device identification corresponding to the selection operation is acquired as the second device identification.
And the mobile device can also display a plurality of working modes which can be provided by the home equipment corresponding to the second equipment identifier, a user can select one working mode according to the preference, and when the mobile device detects the selection operation of the user, the working mode corresponding to the selection operation is obtained.
The operation of selecting the device identifier of the home device may be an operation of clicking the device identifier, or an operation of pressing the device identifier for a long time, and the operation of selecting the working mode may be an operation of clicking the working mode, or an operation of pressing the working mode for a long time, which are not limited in this embodiment.
In addition, in this embodiment, only the mobile device obtains the device identifier of the home terminal, which is taken as the first device identifier, that is, the mobile device itself is bound to the working mode of the home device. In practical applications, the mobile device may further obtain a device identifier of another mobile device, and the device identifier is used as the first device identifier to bind the mobile device indicated by the device identifier and the working mode of the home device.
In step 502, the mobile device sends a first binding request to a server, the first binding request including the first device identification, the second device identification, and the operating mode.
In step 503, when receiving the first binding request, the server sends a second binding request to the home device according to the second device identifier, where the second binding request includes the first device identifier and the working mode.
In this embodiment, the mobile device is bound to the home device, and interaction may be performed through a server. Then, after the mobile device obtains the first device identifier, the second device identifier, and the working mode, a first binding request may be sent to a server, where the first binding request includes the first device identifier, the second device identifier, and the working mode. When the server receives the first binding request, the server may determine the home device according to the second device identifier, so as to send a second binding request to the home device, where the second binding request includes the first device identifier and the working mode.
In step 504, when the home device receives the second binding request, a binding relationship between the first device identifier and the working mode is established.
When the home device receives the second binding request, a binding relationship between the first device identifier and the working mode can be established, and the mobile device and the working mode are bound, so that the home device can automatically switch to the working mode bound by the mobile device when the subsequent mobile device approaches the home device.
In step 505, the mobile device broadcasts a message including the first device identifier.
In step 506, when the mobile device is located in the surrounding geographical area of the home device, the home device receives the message broadcasted by the mobile device, and obtains the first device identifier in the message.
In this embodiment, in order to facilitate switching of the working mode of the home device, the mobile device may broadcast a message, where the message includes a first device identifier of a home terminal, and when a user carries the mobile device and approaches the home device, the mobile device may be located in a surrounding geographical area of the home device, and at this time, the home device may receive the message, so as to obtain the first device identifier in the message.
For example, the mobile device and the home device may be configured with a bluetooth communication function, and the mobile device may broadcast a message through the bluetooth communication function, and when the mobile device is located in a surrounding geographic area of the home device, the home device may receive the message through the bluetooth communication function.
The message may be a beacons message or other types of messages, which is not limited in this embodiment. Moreover, the mobile device may broadcast the message in real time or periodically, and the broadcast period may be 1s, 5s, and the like, which is not limited in this embodiment.
In addition, in order to avoid misoperation caused when the user carries the mobile device far away from the home device, when the home device receives the message, the signal strength of the message can be detected, whether the signal strength is greater than a preset threshold value or not is judged, when the signal strength is determined to be greater than the preset threshold value, the mobile device is indicated to be close to the home device, the user possibly needs to use the home device, and then the home device acquires the first device identifier in the message. And when the signal strength is determined to be not greater than the preset threshold value, the mobile device is far away from the home device, and the user does not need to use the home device, so that the home device does not obtain the first device identifier in the message, and the message is ignored.
The Signal strength of the message may be RSSI (Received Signal strength indication) of the message or other parameters used for representing the Signal strength, which is not limited in this embodiment.
In step 507, the home device switches to the working mode corresponding to the first device identifier according to the binding relationship.
When the home device acquires the first device identifier in the message, it may be determined that the mobile device is located near the home device, and then the working mode corresponding to the first device identifier may be determined according to the established binding relationship between the device identifier and the working mode, and switched to the working mode corresponding to the first device identifier. The user of the mobile equipment can use the household equipment in the set working mode.
In addition, in order to avoid switching to the working mode set by another user while one user uses the home equipment, the home equipment can judge whether the home equipment is currently in the use state before switching, and if the home equipment is currently in the use state, the home equipment operates in the original working mode without switching to the working mode corresponding to the first equipment identifier. And if the mobile terminal is not in the use state, switching to the working mode corresponding to the first equipment identification.
For example, for an intelligent toilet, when the intelligent toilet receives a message, a pressure parameter value currently detected by a pressure sensor may be obtained, whether the pressure parameter value is greater than a preset pressure value is determined, and if it is determined that the pressure parameter value is greater than the preset pressure value, it indicates that the intelligent toilet is currently in a use state, switching is not performed. And if the pressure parameter value is not larger than the preset pressure value, the intelligent closestool is not in the use state currently, and the intelligent closestool is switched to the corresponding working mode according to the first equipment identification in the message.
In daily life, devices such as a mobile phone and a tablet personal computer of a user can be bound with home equipment such as a refrigerator and a washing machine at home, the user can use the devices such as the mobile phone and the tablet personal computer to bind with a working mode of the home equipment, and when the user carries the devices such as the mobile phone and the tablet personal computer and approaches the home equipment, the home equipment can be automatically switched to the working mode corresponding to the devices without manual switching of the user.
According to the method provided by the embodiment, by pre-establishing the binding relationship between the device identifier and the working mode, when the mobile device is located in the surrounding geographical area of the home device, the home device can receive the message broadcasted by the mobile device and automatically switch to the working mode corresponding to the mobile device according to the binding relationship, the user does not need to manually switch, the operation is simple and convenient, and the flexibility is improved. After the binding relationship is established according to the setting of the user, the preference of the user is fully considered, so that the accuracy of the working mode switched by the household equipment is higher, and the flexibility is stronger.
The first device identifier is used to indicate a mobile device to be bound with the working mode of the home device, and the above embodiment only takes the first device identifier as the device identifier of the home terminal of the mobile device, that is, the mobile device binds the device identifier of the home terminal and the working mode of the home device as an example for explanation. In practical application, the mobile device may further bind the device identifier of the other mobile device with the working mode of the home device, so that the home device can automatically switch the working mode when the user carries the other mobile device to be close to the home device, and the specific process is described in the following embodiments.
Fig. 6 is a flowchart illustrating an operating mode switching method according to an exemplary embodiment, where as shown in fig. 6, an interaction subject of this embodiment includes a first mobile device, a second mobile device, a server, and a home device, and includes the following steps:
in step 601, the first mobile device obtains a first device identifier of the second mobile device, a second device identifier of the home device, and a working mode.
In this embodiment, the first mobile device may be a mobile phone, a tablet computer, and the like, and the second mobile device may be a wearable device such as a smart band and smart glasses, or may be a mobile phone and a tablet computer different from the first mobile device.
The difference from the previous embodiment is that the first device identifier in this embodiment is used to indicate the second mobile device, and the first device identifier may be a device number, a MAC address, and the like of the second mobile device, which is not limited in this embodiment.
The first mobile device can be bound with a plurality of mobile devices, device identifiers of the mobile devices are displayed, when a user wants to set a working mode of the home device, the device identifiers of one or more mobile devices frequently used by the user can be selected from the device identifiers, and when the first mobile device detects the selection operation of the user on the device identifiers, the device identifier or identifiers corresponding to the selection operation is used as the first device identifier.
In addition, the first mobile device may further display an input field, and the user inputs the device identifier of the second mobile device in the input field, and the first mobile device may obtain the device identifier input by the user as the first device identifier.
The process of acquiring the second device identifier and the working mode of the home device by the first mobile device is similar to step 501, and is not described herein again.
In step 602, the first mobile device sends a first binding request to a server, the first binding request including the first device identification, the second device identification, and the operating mode.
In step 603, when receiving the first binding request, the server sends a second binding request to the home device according to the second device identifier, where the second binding request includes the first device identifier and the working mode.
In step 604, when the home device receives the second binding request, a binding relationship between the first device identifier and the working mode is established.
Steps 602-604 are similar to steps 502-504 described above and will not be described herein.
In step 605, the second mobile device broadcasts a message including the first device identifier.
In step 606, when the second mobile device is located in the surrounding geographical area of the home device, the home device receives the message broadcasted by the second mobile device, and obtains the first device identifier in the message.
In step 607, the home device switches to the working mode corresponding to the first device identifier according to the binding relationship.
In this embodiment, the second mobile device may broadcast a message in real time or periodically, where the message includes a first device identifier of the second mobile device, and when a user carries the second mobile device and approaches the home device, the home device may receive the message, obtain the first device identifier in the message, determine a working mode corresponding to the first device identifier according to the binding relationship, and switch to the working mode.
The specific process of steps 606-607 is similar to that of steps 506-507, and will not be described herein again.
In daily life, equipment such as user's cell-phone, panel computer can bind with wearable equipment such as bracelet, glasses to bind with household equipment such as refrigerator, washing machine at home, then the user can use equipment such as cell-phone, panel computer, binds wearable equipment with household equipment's mode, then when the user carries wearable equipment and is close to household equipment, household equipment can automatically switch to the mode that this wearable equipment corresponds, need not that the user is manual to switch.
According to the method provided by the embodiment, by pre-establishing the binding relationship between the device identifier and the working mode, when the mobile device is located in the surrounding geographical area of the home device, the home device can receive the message broadcasted by the mobile device and automatically switch to the working mode corresponding to the mobile device according to the binding relationship, the user does not need to manually switch, the operation is simple and convenient, and the flexibility is improved. After the binding relationship is established according to the setting of the user, the preference of the user is fully considered, so that the accuracy and the flexibility of the working mode switched by the household equipment are higher. And through the first mobile device, the binding relationship between the device identification and the working mode of the wearable device which is frequently carried by the user is set, the living habits of the user are fully considered, the switching failure caused by the fact that the user forgets to carry the first mobile device is avoided, and the switching success rate is improved.
Fig. 7A is a block diagram illustrating an operation mode switching apparatus according to an exemplary embodiment. Referring to fig. 7A, the apparatus includes a message receiving module 701, an obtaining module 702, and a switching module 703.
A message receiving module 701, configured to receive a message broadcast by a mobile device in a surrounding geographic area;
an obtaining module 702, configured to obtain a first device identifier in the packet, where the first device identifier is used to indicate the mobile device;
the switching module 703 is configured to switch to the working mode corresponding to the first device identifier according to a binding relationship between the pre-established device identifier and the working mode.
The device provided by this embodiment, through pre-establishing the binding relationship between the device identifier and the working mode of the mobile device, when the mobile device is located in the surrounding geographic area of the device, the device can receive the message broadcast by the mobile device, where the message includes the device identifier, and then the device automatically switches to the working mode corresponding to the device identifier according to the binding relationship, without requiring manual switching by a user, so that the operation is simple and convenient, and the flexibility is improved.
In another embodiment, the message receiving module 701 is configured to receive a message broadcast by the mobile device through a bluetooth communication function.
In another embodiment, the obtaining module 702 is further configured to detect the signal strength of the packet; and when the signal strength is greater than a preset threshold value, acquiring a first equipment identifier in the message.
Referring to fig. 7B, in another embodiment, the apparatus further comprises:
a request receiving module 704, configured to receive a binding request sent by a server, where the binding request includes a device identifier to be bound and a working mode;
the establishing module 705 is configured to establish a binding relationship between the device identifier and the operating mode.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 7C is a block diagram illustrating an operation mode switching apparatus according to an exemplary embodiment. Referring to fig. 7C, the apparatus includes a broadcasting module 721.
The broadcast module 721 is configured to broadcast a message, where the message includes a device identifier of a home terminal, and the home device that receives the message is configured to obtain the device identifier, and switch to a working mode corresponding to the device identifier according to a binding relationship between the device identifier and the working mode that is established in advance.
According to the device provided by the embodiment, the binding relationship between the equipment identifier and the working mode of the device is pre-established through the household equipment, the device broadcasts the message, the message comprises the equipment identifier of the home terminal, when the device is located in the surrounding geographical area of the household equipment, the household equipment can receive the message broadcasted by the device, the working mode corresponding to the equipment identifier is automatically switched according to the binding relationship, the manual switching by a user is not needed, the operation is simple and convenient, and the flexibility is improved.
Fig. 8 is a block diagram illustrating an operation mode switching apparatus according to an exemplary embodiment. Referring to fig. 8, the apparatus includes a first obtaining module 801, a second obtaining module 802, a third obtaining module 803, and a sending module 804.
A first obtaining module 801, configured to obtain a first device identifier, where the first device identifier is used to indicate a mobile device to be bound with a home device;
a second obtaining module 802, configured to obtain a set operating mode,
a third obtaining module 803, configured to obtain a second device identifier bound to the home terminal, where the second device identifier is used to indicate the home device;
a sending module 804, configured to send a first binding request to a server, where the first binding request includes the second device identifier, the first device identifier, and the working mode, and the server sends a second binding request to the home device according to the second device identifier, where the second binding request includes the first device identifier and the working mode, and the home device establishes a binding relationship between the first device identifier and the working mode.
According to the device provided by the embodiment, the first binding request is sent to the server, and the second binding request is sent to the home equipment by the server, so that the home equipment establishes the binding relationship between the first equipment identifier and the working mode.
In another embodiment, the first obtaining module 801 is further configured to obtain a device identifier input by a user; or, acquiring the equipment identifier of the local terminal; or acquiring the device identifier bound by the local terminal.
Fig. 9 is a block diagram illustrating an operation mode switching apparatus according to an exemplary embodiment. Referring to fig. 9, the apparatus includes a receiving module 901 and a transmitting module 902.
A receiving module 901, configured to receive a first binding request sent by a mobile device, where the first binding request includes a second device identifier, a first device identifier, and a working mode, the second device identifier is used to indicate a home device, and the first device identifier is used to indicate the mobile device to be bound with the home device;
a sending module 902, configured to send a second binding request to the home device according to the second device identifier, where the second binding request includes the first device identifier and the working mode, and the home device establishes a binding relationship between the first device identifier and the working mode.
The device provided by this embodiment sends the second binding request to the home equipment when receiving the first binding request sent by the mobile equipment, so that the home equipment establishes a binding relationship between the first equipment identifier and the working mode, and when the mobile equipment indicated by the first equipment identifier is located in the surrounding geographical area of the home equipment, the home equipment can receive a message broadcasted by the mobile equipment, where the message includes the first equipment identifier, and then the home equipment automatically switches to the working mode corresponding to the first equipment identifier according to the binding relationship, without manual switching by a user, so that the operation is simple and convenient, and the flexibility is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that: in the above embodiment, when the working mode is switched, the working mode switching device is exemplified by only dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structures of the home equipment, the mobile equipment, and the server are divided into different functional modules, so as to complete all or part of the functions described above. In addition, the working mode switching device and the working mode switching method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 10 is a block diagram illustrating an operating mode switching apparatus 1000 according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the apparatus 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of device 1000, the change in position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration/deceleration of device 1000, and the change in temperature of device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described operation mode switching method.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile device, enable the mobile device to perform a method of operating mode switching, the method comprising:
acquiring a first device identifier, wherein the first device identifier is used for indicating a mobile device to be bound with the household device;
acquiring a set working mode;
acquiring a second device identifier bound to the home terminal, wherein the second device identifier is used for indicating the home device;
sending a first binding request to a server, wherein the first binding request comprises the second equipment identifier, the first equipment identifier and the working mode, sending a second binding request to the home equipment by the server according to the second equipment identifier, wherein the second binding request comprises the first equipment identifier and the working mode, and establishing a binding relationship between the first equipment identifier and the working mode by the home equipment.
In another embodiment, the obtaining the first device identification includes:
acquiring a device identifier input by a user; or,
acquiring a device identifier of a local terminal; or,
and acquiring the bound equipment identifier of the local terminal.
Fig. 11 is a block diagram illustrating an operating mode switching apparatus 1100 according to an exemplary embodiment. For example, the apparatus 1100 may be provided as a server. Referring to fig. 11, the apparatus 1100 includes a processing component 1122 that further includes one or more processors and memory resources, represented by memory 1132, for storing instructions, such as application programs, executable by the processing component 1122. The application programs stored in memory 1132 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1122 is configured to execute instructions to perform the above-described operating mode switching method.
The apparatus 1100 may also include a power component 1126 configured to perform power management of the apparatus 1100, a wired or wireless network interface 1150 configured to connect the apparatus 1100 to a network, and an input/output (I/O) interface 1158. The device 1100 may operate based on an operating system stored in the memory 1132, such as Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (20)
1. A working mode switching method is applied to household equipment and is characterized by comprising the following steps:
receiving messages broadcast by mobile devices in a surrounding geographic area;
acquiring a first device identifier in the message, wherein the first device identifier is used for indicating the mobile device;
detecting whether the household equipment is in a use state;
and when the household equipment is detected not to be in the use state, switching to the working mode corresponding to the first equipment identifier according to the binding relationship between the equipment identifier and the working mode which is established in advance.
2. The method of claim 1, wherein receiving messages broadcast by mobile devices in a surrounding geographic area comprises:
and receiving the message broadcasted by the mobile equipment through the Bluetooth communication function.
3. The method according to claim 1 or 2, wherein the obtaining the first device identifier in the message comprises:
detecting the signal strength of the message;
and when the signal intensity is greater than a preset threshold value, acquiring a first equipment identifier in the message.
4. The method of claim 1, further comprising:
receiving a binding request sent by a server, wherein the binding request comprises a device identifier to be bound and a working mode;
and establishing a binding relationship between the equipment identification and the working mode.
5. An operating mode switching method applied to a mobile device, the method comprising:
the method comprises the steps of broadcasting a message, wherein the message comprises a local terminal equipment identifier, the home equipment receiving the message is used for acquiring the equipment identifier, and when the home equipment is detected not to be in a use state, switching to a working mode corresponding to the equipment identifier according to a binding relationship between the equipment identifier and the working mode which is established in advance.
6. An operating mode switching method applied to a mobile device, the method comprising:
acquiring a first device identifier, wherein the first device identifier is used for indicating a mobile device to be bound with home equipment;
acquiring a set working mode;
acquiring a second device identifier bound to a home terminal, wherein the second device identifier is used for indicating the home device;
sending a first binding request to a server, wherein the first binding request comprises the second equipment identifier, the first equipment identifier and the working mode, the server sends a second binding request to the home equipment according to the second equipment identifier, the second binding request comprises the first equipment identifier and the working mode, the home equipment establishes a binding relationship between the first equipment identifier and the working mode, receives a message broadcasted by the mobile equipment, acquires the first equipment identifier in the message, and switches to the working mode corresponding to the first equipment identifier according to the binding relationship when detecting that the home equipment is not in a use state.
7. The method of claim 6, wherein obtaining the first device identifier comprises:
acquiring a device identifier input by a user; or,
acquiring a device identifier of a local terminal; or,
and acquiring the bound equipment identifier of the home terminal.
8. A working mode switching method is applied to a server, and is characterized by comprising the following steps:
receiving a first binding request sent by a mobile device, wherein the first binding request comprises a second device identifier, a first device identifier and a working mode, the second device identifier is used for indicating a home device, and the first device identifier is used for indicating the mobile device to be bound with the home device;
and sending a second binding request to the home equipment according to the second equipment identifier, wherein the second binding request comprises the first equipment identifier and the working mode, the home equipment establishes a binding relationship between the first equipment identifier and the working mode, receives a message broadcasted by the mobile equipment, acquires the first equipment identifier in the message, and switches to the working mode corresponding to the first equipment identifier according to the binding relationship when detecting that the home equipment is not in a use state.
9. The utility model provides a mode switching device, is applied to house equipment which characterized in that, the device includes:
the message receiving module is used for receiving messages broadcasted by the mobile equipment in the surrounding geographic area;
an obtaining module, configured to obtain a first device identifier in the message, where the first device identifier is used to indicate the mobile device;
and the switching module is used for detecting whether the household equipment is in a use state or not, and switching to a working mode corresponding to the first equipment identifier according to a binding relationship between the equipment identifier and the working mode which is established in advance when the household equipment is detected not to be in the use state.
10. The apparatus of claim 9, wherein the message receiving module is configured to receive the message broadcasted by the mobile device through a bluetooth communication function.
11. The apparatus according to claim 9 or 10, wherein the obtaining module is further configured to detect a signal strength of the packet; and when the signal intensity is greater than a preset threshold value, acquiring a first equipment identifier in the message.
12. The apparatus of claim 9, further comprising:
the request receiving module is used for receiving a binding request sent by a server, wherein the binding request comprises a device identifier to be bound and a working mode;
and the establishing module is used for establishing the binding relationship between the equipment identifier and the working mode.
13. An operating mode switching device applied to a mobile device, the device comprising:
the broadcasting module is used for broadcasting a message, the message comprises a local terminal equipment identifier, the home equipment receiving the message is used for acquiring the equipment identifier, and when the home equipment is detected not to be in a use state, the broadcasting module is used for switching to a working mode corresponding to the equipment identifier according to a binding relation between the equipment identifier and the working mode which is established in advance.
14. An operating mode switching device applied to a mobile device, the device comprising:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a first device identifier, and the first device identifier is used for indicating a mobile device to be bound with the household device;
a second obtaining module for obtaining the set working mode,
a third obtaining module, configured to obtain a second device identifier bound to a home terminal, where the second device identifier is used to indicate the home device;
the sending module is used for sending a first binding request to a server, the first binding request comprises the second equipment identifier, the first equipment identifier and the working mode, the server sends a second binding request to the home equipment according to the second equipment identifier, the second binding request comprises the first equipment identifier and the working mode, the home equipment establishes a binding relationship between the first equipment identifier and the working mode, receives a message broadcasted by the mobile equipment, acquires the first equipment identifier in the message, and switches to the working mode corresponding to the first equipment identifier according to the binding relationship when detecting that the home equipment is not in a use state.
15. The apparatus of claim 14, wherein the first obtaining module is further configured to obtain a device identifier input by a user; or, acquiring the equipment identifier of the local terminal; or acquiring the device identifier bound by the home terminal.
16. An operating mode switching device applied to a server, the device comprising:
the mobile terminal comprises a receiving module, a sending module and a processing module, wherein the receiving module is used for receiving a first binding request sent by mobile equipment, the first binding request comprises a second equipment identifier, a first equipment identifier and a working mode, the second equipment identifier is used for indicating household equipment, and the first equipment identifier is used for indicating the mobile equipment to be bound with the household equipment;
and the sending module is used for sending a second binding request to the home equipment according to the second equipment identifier, wherein the second binding request comprises the first equipment identifier and the working mode, the home equipment establishes a binding relationship between the first equipment identifier and the working mode, receives a message broadcasted by the mobile equipment, acquires the first equipment identifier in the message, and switches to the working mode corresponding to the first equipment identifier according to the binding relationship when detecting that the home equipment is not in a use state.
17. The utility model provides a mode switching device, is applied to house equipment, its characterized in that includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving messages broadcast by mobile devices in a surrounding geographic area;
acquiring a first device identifier in the message, wherein the first device identifier is used for indicating the mobile device;
detecting whether the household equipment is in a use state;
and when the household equipment is detected not to be in the use state, switching to the working mode corresponding to the first equipment identifier according to the binding relationship between the equipment identifier and the working mode which is established in advance.
18. An operation mode switching device applied to a mobile device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
the method comprises the steps of broadcasting a message, wherein the message comprises a local terminal equipment identifier, the home equipment receiving the message is used for acquiring the equipment identifier, and when the home equipment is detected not to be in a use state, switching to a working mode corresponding to the equipment identifier according to a binding relationship between the equipment identifier and the working mode which is established in advance.
19. An operation mode switching device applied to a mobile device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a first device identifier, wherein the first device identifier is used for indicating a mobile device to be bound with home equipment;
acquiring a set working mode;
acquiring a second device identifier bound to a home terminal, wherein the second device identifier is used for indicating the home device;
sending a first binding request to a server, wherein the first binding request comprises the second equipment identifier, the first equipment identifier and the working mode, the server sends a second binding request to the home equipment according to the second equipment identifier, the second binding request comprises the first equipment identifier and the working mode, the home equipment establishes a binding relationship between the first equipment identifier and the working mode, receives a message broadcasted by the mobile equipment, acquires the first equipment identifier in the message, and switches to the working mode corresponding to the first equipment identifier according to the binding relationship when detecting that the home equipment is not in a use state.
20. An operation mode switching device applied to a server, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a first binding request sent by a mobile device, wherein the first binding request comprises a second device identifier, a first device identifier and a working mode, the second device identifier is used for indicating a home device, and the first device identifier is used for indicating the mobile device to be bound with the home device;
and sending a second binding request to the home equipment according to the second equipment identifier, wherein the second binding request comprises the first equipment identifier and the working mode, the home equipment establishes a binding relationship between the first equipment identifier and the working mode, receives a message broadcasted by the mobile equipment, acquires the first equipment identifier in the message, and switches to the working mode corresponding to the first equipment identifier according to the binding relationship when detecting that the home equipment is not in a use state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510724736.8A CN105281994B (en) | 2015-10-29 | 2015-10-29 | Working mode switching method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510724736.8A CN105281994B (en) | 2015-10-29 | 2015-10-29 | Working mode switching method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105281994A CN105281994A (en) | 2016-01-27 |
| CN105281994B true CN105281994B (en) | 2018-12-18 |
Family
ID=55150363
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510724736.8A Active CN105281994B (en) | 2015-10-29 | 2015-10-29 | Working mode switching method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105281994B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105759622A (en) * | 2016-02-26 | 2016-07-13 | 北京小米移动软件有限公司 | Device control method and apparatus |
| CN106466178B (en) * | 2016-07-05 | 2019-09-27 | 上海光电医用电子仪器有限公司 | A kind of monitoring mode switching method and system based on magnetic force automatic identification |
| WO2018014266A1 (en) * | 2016-07-20 | 2018-01-25 | 张志慧 | Palmprint-based secure control method for intelligent air conditioner |
| WO2018014264A1 (en) * | 2016-07-20 | 2018-01-25 | 张志慧 | Smart home system |
| WO2018014258A1 (en) * | 2016-07-20 | 2018-01-25 | 张志慧 | Cloud-based control method for smart air conditioner |
| CN106707782B (en) * | 2016-12-20 | 2020-09-11 | 北京小米移动软件有限公司 | Environmental parameter processing method, equipment binding method and device |
| CN108572554A (en) * | 2017-03-07 | 2018-09-25 | 中移(杭州)信息技术有限公司 | A smart home control system, method and related equipment |
| CN111464688B (en) * | 2019-01-22 | 2021-12-28 | 成都鼎桥通信技术有限公司 | Working mode switching method and device |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104166396A (en) * | 2014-08-27 | 2014-11-26 | 深圳创维-Rgb电子有限公司 | Intelligent home control method and system |
| CN104482656A (en) * | 2014-11-26 | 2015-04-01 | 东莞宇龙通信科技有限公司 | Smart water heater temperature adjustment method and device and water heater |
| CN104714414A (en) * | 2015-03-25 | 2015-06-17 | 小米科技有限责任公司 | Smart home equipment control method and device and electronic equipment |
| CN104748328A (en) * | 2015-03-31 | 2015-07-01 | 美的集团股份有限公司 | Control system and method for air conditioner |
| CN104898613A (en) * | 2015-04-27 | 2015-09-09 | 小米科技有限责任公司 | Control method and device for smart home equipment |
| CN104918109A (en) * | 2015-06-08 | 2015-09-16 | 小米科技有限责任公司 | Intelligent playing method and device |
| CN105187282A (en) * | 2015-08-13 | 2015-12-23 | 小米科技有限责任公司 | Method, device, system and equipment for controlling intelligent household equipment |
-
2015
- 2015-10-29 CN CN201510724736.8A patent/CN105281994B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104166396A (en) * | 2014-08-27 | 2014-11-26 | 深圳创维-Rgb电子有限公司 | Intelligent home control method and system |
| CN104482656A (en) * | 2014-11-26 | 2015-04-01 | 东莞宇龙通信科技有限公司 | Smart water heater temperature adjustment method and device and water heater |
| CN104714414A (en) * | 2015-03-25 | 2015-06-17 | 小米科技有限责任公司 | Smart home equipment control method and device and electronic equipment |
| CN104748328A (en) * | 2015-03-31 | 2015-07-01 | 美的集团股份有限公司 | Control system and method for air conditioner |
| CN104898613A (en) * | 2015-04-27 | 2015-09-09 | 小米科技有限责任公司 | Control method and device for smart home equipment |
| CN104918109A (en) * | 2015-06-08 | 2015-09-16 | 小米科技有限责任公司 | Intelligent playing method and device |
| CN105187282A (en) * | 2015-08-13 | 2015-12-23 | 小米科技有限责任公司 | Method, device, system and equipment for controlling intelligent household equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105281994A (en) | 2016-01-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105281994B (en) | Working mode switching method and device | |
| CN108520746B (en) | Method and device for controlling intelligent equipment through voice and storage medium | |
| CN108810861B (en) | Smart device connection method, device and storage medium | |
| US10613498B2 (en) | Method for controlling device by remote control device | |
| KR101736318B1 (en) | Method, apparatus, program, and recording medium for controlling smart device | |
| EP3136793B1 (en) | Method and apparatus for awakening electronic device | |
| EP3131258B1 (en) | Smart household equipment control methods and corresponding apparatus | |
| US10291713B2 (en) | Smart device control method and apparatus | |
| CN104407592B (en) | A kind of method and device adjusting smart home device operating status | |
| CN108123855B (en) | Terminal control method and device | |
| CN106549977B (en) | A method, device and system for establishing a binding relationship between an account and a device | |
| EP3023928A1 (en) | Method and device for setting task | |
| US20170048078A1 (en) | Method for controlling device and the device thereof | |
| CN105049416A (en) | Method and apparatus for accessing to wifi network | |
| CN105182766A (en) | Equipment control method and apparatus | |
| CN106789461A (en) | The method and device of intelligent home device connection | |
| CN105635207A (en) | Operating state detection method and device | |
| CN103997669A (en) | Equipment control method, equipment control device and equipment control system | |
| CN104852842A (en) | Information broadcasting method and information broadcasting device | |
| WO2020097845A1 (en) | Method and device for using network slice | |
| CN106371327A (en) | Control right sharing method and device | |
| WO2020097783A1 (en) | Resource configuration method and device | |
| CN108848484B (en) | Equipment sharing method, device and storage medium | |
| CN107864225A (en) | Information-pushing method, device and electronic equipment based on AR | |
| CN104965452A (en) | Intelligent socket on-off state display method, device, intelligent terminal and server |
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 |