CN106549835B - Method and device for processing state of intelligent device - Google Patents
Method and device for processing state of intelligent device Download PDFInfo
- Publication number
- CN106549835B CN106549835B CN201610871871.XA CN201610871871A CN106549835B CN 106549835 B CN106549835 B CN 106549835B CN 201610871871 A CN201610871871 A CN 201610871871A CN 106549835 B CN106549835 B CN 106549835B
- Authority
- CN
- China
- Prior art keywords
- state change
- prompt information
- intelligent
- state
- triggering
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2823—Reporting information sensed by appliance or service execution status of appliance services in a home automation network
- H04L12/2825—Reporting to a device located outside the home and the home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The disclosure relates to a method and a device for processing states of intelligent equipment, and belongs to the field of communication. The method comprises the following steps: when detecting that the intelligent equipment receives a state change instruction or the state of the intelligent equipment is changed, generating prompt information; and sending the prompt information to a mobile terminal, wherein the prompt information is used for prompting by the mobile terminal according to the prompt information. In the embodiment of the disclosure, when it is detected that the intelligent device receives a state change instruction or the state of the intelligent device is changed, prompt information is generated; the mobile terminal prompts according to the prompt information; meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the state of the intelligent equipment after the state change of the intelligent equipment, so that the state change condition of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
Description
Technical Field
The present disclosure relates to the field of communications, and in particular, to a method and an apparatus for processing a state of an intelligent device.
Background
In the field of smart home, smart devices mainly refer to home appliances with computing and processing capabilities in a house, such as a refrigerator, an air conditioner, an illuminating lamp and the like which can be controlled wirelessly. The intelligent equipment, the control center and the control terminal form an intelligent home system together.
In actual use, the state of the smart device changes, for example, the smart device enters an on state from an off state or enters an off state from an on state. For another example, assuming that the intelligent device is an air conditioner, the state of the air conditioner may be changed from the current normal operation state to the mute operation state during the operation process.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for processing a state of an intelligent device.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for processing a state of a smart device, the method including:
when detecting that the intelligent device receives a state change instruction or the state of the intelligent device is changed, generating prompt information, wherein the prompt information comprises at least one of a trigger mode for triggering the state change of the intelligent device, position information of the intelligent device, the changed state of the intelligent device and the device type of the intelligent device, and the state change instruction is used for triggering the intelligent device to change the state;
and sending the prompt information to a mobile terminal, wherein the prompt information is used for prompting by the mobile terminal according to the prompt information.
Optionally, the method further comprises:
acquiring the state change instruction for triggering the state change of the intelligent equipment, wherein the state change instruction carries a trigger source type for sending the state change instruction;
and acquiring the trigger mode for triggering the state change of the intelligent equipment from the corresponding relation between the trigger source type and the trigger mode according to the trigger source type.
Optionally, the method further comprises:
when detecting that the intelligent equipment receives a state change instruction or the state of the intelligent equipment is changed, acquiring a wireless signal of each access point of at least three access points;
and determining the position information of the intelligent equipment according to the position of each wireless access point and the wireless signals.
Optionally, the method further comprises:
and sending the prompt information to a control center for controlling the intelligent equipment, wherein the prompt information is used for prompting by the control center according to the prompt information.
Optionally, the method further comprises:
and when the intelligent equipment has a voice function, playing the prompt message.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for processing a state of a smart device, the apparatus including:
the intelligent device comprises a generating module, a state changing module and a state changing module, wherein the generating module is used for generating prompt information when detecting that the intelligent device receives a state changing instruction or the state of the intelligent device is changed, the prompt information comprises at least one of a triggering mode for triggering the state change of the intelligent device, position information of the intelligent device, the state of the intelligent device after being changed and the device type of the intelligent device, and the state changing instruction is used for triggering the intelligent device to change the state;
and the first sending module is used for sending the prompt information to the mobile terminal, and the prompt information is used for prompting by the mobile terminal according to the prompt information.
Optionally, the apparatus further comprises:
a first obtaining module, configured to obtain the state change instruction that triggers a state change of the smart device, where the state change instruction carries a trigger source type for sending the state change instruction;
and the second acquisition module is used for acquiring the trigger mode for triggering the state change of the intelligent equipment from the corresponding relation between the trigger source type and the trigger mode according to the trigger source type.
Optionally, the apparatus further comprises:
a third obtaining module, configured to obtain a wireless signal of each of at least three access points when it is detected that the intelligent device receives a state change instruction or a state change of the intelligent device is received;
and the determining module is used for determining the position information of the intelligent equipment according to the position of each wireless access point and the wireless signals.
Optionally, the apparatus further comprises:
and the second sending module is used for sending the prompt information to a control center for controlling the intelligent equipment, and the prompt information is used for prompting by the control center according to the prompt information.
Optionally, the apparatus further comprises:
and the playing module is used for playing the prompt message when the intelligent equipment has a voice function.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for processing a state of a smart device, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when detecting that the intelligent device receives a state change instruction or the state of the intelligent device is changed, generating prompt information, wherein the prompt information comprises at least one of a trigger mode for triggering the state change of the intelligent device, position information of the intelligent device, the changed state of the intelligent device and the device type of the intelligent device, and the state change instruction is used for triggering the intelligent device to change the state;
and sending the prompt information to a mobile terminal, wherein the prompt information is used for prompting by the mobile terminal according to the prompt information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when detecting that the intelligent equipment receives a state change instruction or the state of the intelligent equipment is changed, generating prompt information; and sending the prompt information to the mobile terminal, and prompting by the mobile terminal according to the prompt information. That is, when the state of the smart device changes, the mobile terminal may prompt the change of the state of the smart device; meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the state of the intelligent equipment after the state change of the intelligent equipment, so that the state change condition of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
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 invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram of an intelligent home system provided in an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for processing a state of a smart device according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of another method for processing states of a smart device according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of another method for processing states of a smart device according to an embodiment of the present disclosure;
fig. 5A is a block diagram of an apparatus for processing a state of a smart device according to an embodiment of the present disclosure;
fig. 5B is a block diagram of another apparatus for processing states of a smart device according to an embodiment of the present disclosure;
fig. 5C is a block diagram of another apparatus for processing states of a smart device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of another apparatus for processing a state of a smart device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Before explaining the embodiments of the present disclosure in detail, an application scenario of the embodiments of the present disclosure will be described. In the intelligent home system, when a user needs to change the state of certain intelligent equipment, the state of the intelligent equipment can be directly changed through manual control; the control terminal can also send a state change instruction to the control center, the control center sends the state change instruction to the intelligent equipment when receiving the state change instruction, and the intelligent equipment makes corresponding state change according to the state change instruction.
In the related art, when the state of the smart device changes, the smart home system does not make any prompt for the state change of the smart device, and when the wrong state changes, the user cannot quickly find the wrong state change, which may cause a series of safety problems. Therefore, the embodiment of the present disclosure provides a method for processing a state of an intelligent device, where when it is detected that the intelligent device receives a state change instruction or a state change of the intelligent device is received, a prompt message is generated; and sending the prompt information to the mobile terminal, and prompting by the mobile terminal according to the prompt information. That is, when the state of the smart device changes, the mobile terminal may prompt the change of the state of the smart device; meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the state of the intelligent equipment after the state change of the intelligent equipment, so that the state change condition of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
Fig. 1 is a block diagram of an intelligent home system 100 according to an embodiment of the present disclosure. As shown in fig. 1, the smart home system 100 includes: intelligent device 101, control center 102 and control terminal 103. The intelligent device 101 is a household electrical appliance with microprocessor capability in a house, such as a refrigerator, an air conditioner, an illuminating lamp and the like which can be controlled wirelessly; the control center 102 communicates with the intelligent device 101 and the control terminal 103 through the internet; the control terminal 103 includes a mobile phone, a tablet, a computer, a remote server, and the like.
Fig. 2 is a flowchart of a method for processing a state of a smart device according to an embodiment of the present disclosure, and as shown in fig. 2, the method for processing a state of a smart device is used in a smart device and includes the following steps.
In step 201, when it is detected that the intelligent device receives a state change instruction or a state change of the intelligent device, generating a prompt message, where the prompt message includes at least one of a trigger manner for triggering the state change of the intelligent device, location information of the intelligent device, a state of the intelligent device after the change, and a device type of the intelligent device, and the state change instruction is used for triggering the intelligent device to change the state.
In step 202, a prompt message is sent to the mobile terminal, and the prompt message is used for prompting by the mobile terminal according to the prompt message.
In the embodiment of the disclosure, when it is detected that the intelligent device receives a state change instruction or the state of the intelligent device is changed, prompt information is generated; and sending the prompt information to the mobile terminal, and prompting by the mobile terminal according to the prompt information. That is, when the state of the smart device changes, the mobile terminal may prompt the change of the state of the smart device; meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the state of the intelligent equipment after the state change of the intelligent equipment, so that the state change condition of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
Optionally, the method further comprises:
acquiring a state change instruction for triggering state change of the intelligent equipment, wherein the state change instruction carries a trigger source type for sending the state change instruction;
and acquiring a trigger mode for triggering the state change of the intelligent equipment from the corresponding relation between the trigger source type and the trigger mode according to the trigger source type.
Optionally, the method further comprises:
when detecting that the intelligent equipment receives a state change instruction or the state of the intelligent equipment is changed, acquiring a wireless signal of each access point of at least three access points;
and determining the position information of the intelligent equipment according to the position of each wireless access point and the wireless signals.
Optionally, the method further comprises:
and sending prompt information to a control center for controlling the intelligent equipment, wherein the prompt information is used for prompting by the control center according to the prompt information.
Optionally, the method further comprises:
when the intelligent equipment has the voice function, the prompt message is played
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 3 is a flowchart of another method for processing a state of a smart device according to an embodiment of the present disclosure, and as shown in fig. 3, the method for processing a state of a smart device is used in a smart device and includes the following steps.
In step 301, a state change instruction for triggering a state change of a smart device is received.
In the intelligent home system, when a user needs to change the state of certain intelligent equipment, the intelligent equipment can be triggered to change the state through triggering modes such as manual triggering, mobile terminal triggering or remote server triggering.
For manual triggering, manual triggering is a mode of directly controlling the intelligent device to change the state through manual. A user can directly use a button on the intelligent device to trigger a state change instruction to the intelligent device; and when the intelligent equipment receives a state change instruction of manual control, the state change is carried out. For example, a refrigerator is an intelligent device, and the refrigerator comprises buttons for turning on, turning off, muting modes and the like; suppose a user submits a state change instruction to the smart device using a silent mode button; after receiving the state change instruction, the refrigerator sets its own working mode to a mute mode, that is, the refrigerator changes its state. Optionally, the state change instruction further carries a trigger source type, where the trigger source type is the smart device.
For mobile terminal triggering, the mobile terminal triggering is a mode of controlling the intelligent device to change the state through the mobile terminal. A control application for controlling the intelligent equipment is installed in the mobile terminal, a control interface of the control application comprises at least one control option for changing the state of the intelligent equipment, and a user can click the control option; then the control terminal sends a state change instruction corresponding to the control option to the intelligent equipment; when the intelligent device receives the state change instruction, the state change is carried out. For example, a control application for controlling a refrigerator is installed in the mobile terminal, and a control interface of the control application includes control options such as open, close, mute mode and the like; assuming that a user clicks a mute mode, the control terminal sends a state change instruction corresponding to the mute mode to the intelligent device; after receiving the state change instruction of the control terminal, the refrigerator sets the working mode of the refrigerator to be a mute mode, namely, the refrigerator changes the state. Optionally, the state change instruction may also carry a trigger source type, where the trigger source type may be the type of the mobile terminal, and the type of the mobile terminal may be a mobile phone, a tablet computer, or the like.
For remote server triggering, remote server triggering refers to a manner in which the intelligent device is controlled by the remote server to change state. The user can register a user account in the remote server in advance and correspondingly store the corresponding relation between the user account of the user account and the device identification of each intelligent device in the family. When a user needs to change the state of the intelligent equipment, the user logs in a user account registered in a remote server by using equipment such as a mobile terminal or a computer and the like according to the user account; after logging in, the equipment displays a webpage sent by a remote server, wherein the webpage comprises at least one control option of each intelligent equipment corresponding to the user account; a user needs to control a certain intelligent device and only needs to click a control option corresponding to the intelligent device; then the remote server sends a state change instruction corresponding to the clicked control option to a control center in the user family; and the control center forwards the state change instruction to the intelligent equipment, and when the intelligent equipment receives the state change instruction, the state change is carried out. Optionally, the state change instruction may also carry a trigger source type, and the trigger source type may be a remote server.
Therefore, before the user triggers the intelligent device to change the state through triggering modes such as manual triggering, mobile terminal triggering or remote server triggering, the intelligent device receives a state change instruction, and the state change instruction is used for indicating the intelligent device to make a corresponding state change.
In step 302, a triggering manner for triggering the state change of the smart device is obtained according to the state change instruction.
The state change instruction carries a trigger source type, and a trigger mode is acquired according to the trigger source type. Trigger source refers to the source from which the state change instruction is sent. For the manual triggering mode, the source for sending the state change instruction is the intelligent device; for the mobile terminal triggering mode, the source for sending the state change instruction is the mobile terminal; for the remote server triggered mode, the source that sends the state change instruction is the remote server. Therefore, the corresponding relationship between the trigger source type and the trigger mode, which stores each trigger mode and the trigger source type corresponding to each trigger mode, may be stored in advance, and the corresponding relationship may be as shown in table 1.
TABLE 1 correspondence between trigger source type and trigger mode
Triggering mode | Trigger source type |
Manual trigger | Intelligent device |
Mobile terminal triggering | Mobile phone |
Mobile terminal triggering | Tablet personal computer |
Remote server triggering | Remote server |
Therefore, the manner of acquiring the trigger for triggering the state change of the smart device may be: and extracting a trigger source type from the state change instruction, and acquiring a trigger mode for triggering the state change of the intelligent equipment from the corresponding relation between the trigger mode and the trigger source type shown in the table 1 according to the trigger source type.
For example, a control application for controlling a refrigerator of an intelligent device is installed on a mobile phone, when a user clicks an "open" control option in a control interface of the control application, the mobile phone sends a state change instruction for opening the refrigerator to the refrigerator, the refrigerator receives the state change instruction for opening the refrigerator, the state change instruction for opening the refrigerator carries a trigger source type for sending the state change instruction, and the trigger source type is the mobile phone; in the correspondence between the trigger source type and the trigger mode pre-stored in the smart device as shown in table 1, when the trigger source type is a mobile phone, the trigger mode is mobile terminal trigger, and thus the trigger mode for triggering state change of the smart device can be obtained as mobile terminal trigger.
In step 303, a wireless signal of each of at least three access points is obtained, and the location information of the smart device is determined according to the location of each wireless access point and the wireless signal.
Specifically, wireless signals capable of covering the intelligent device are detected, and wireless signals of at least three access points are obtained; acquiring a wireless network identifier corresponding to each access point according to the acquired wireless signal of each access point in the at least three access points; acquiring the position of each access point from the relationship between the prestored wireless network identification and the position of the access point according to the wireless network identification corresponding to each access point; and determining the position information of the intelligent equipment according to the position of each access point and the wireless signals.
The determining the location information of the smart device according to the location of each access point and the wireless signal may be: the method comprises the steps of obtaining the signal strength of the wireless signal of each access point, calculating the distance from the intelligent equipment to each access point according to the signal strength of the wireless signal of each access point, and determining the position information of the intelligent equipment according to the position of each access point and the distance from the intelligent equipment to each access point.
For example, when the smart device acquires three wireless signals, the wireless network identifiers for acquiring the three wireless signals are A, B and C, respectively, and then the position of each access point is M, N and Q, respectively, from the relationship between the pre-stored wireless network identifiers and the positions of the access points; and determines distances between the smart device to the access point of each of the three wireless signals A, B and C as R1, R2 and R3, respectively, according to the signal strengths of the three detected wireless signals A, B and C, and then may determine location information of the smart device according to the locations M, N and Q of the access points of the three wireless signals and the distances R1, R2 and R3 of the smart device to the three wireless access points.
Particularly, the location information of the smart device may be absolute location information of the smart device, such as longitude and latitude information, which is not significant for the user, so that which room in the smart home system the smart device is located in, such as a "restaurant," "a" living room, "and a" bedroom, "may be obtained according to the absolute location information of the smart device and the location area information of each room in the smart home system. For example, when absolute position information of a refrigerator is located within a position area range of a restaurant, the position information of the refrigerator is acquired as "restaurant".
In step 304, prompt information is generated, wherein the prompt information comprises at least one of a trigger mode for triggering the state change of the intelligent device, position information of the intelligent device and a device type of the intelligent device.
When a state change instruction is received, the smart device may generate a prompt message for prompting an impending state change of the smart device. In order to accurately and clearly prompt the intelligent device for the impending state change, the prompt information may include at least one of a trigger manner for triggering the intelligent device state change, location information of the intelligent device, and a device type of the intelligent device.
For example, when the smart device refrigerator receives an "open" instruction sent by the mobile phone terminal through the application program, the refrigerator may generate a prompt message "mobile terminal trigger, refrigerator", or "mobile terminal trigger, refrigerator located in a restaurant", or the like.
In step 305, the presentation information is presented.
After the intelligent device generates the prompt information, the prompt information can be prompted in the following three ways.
In the first mode, the intelligent device sends the prompt information to the mobile terminal, and the mobile terminal prompts according to the prompt information.
In the first mode, after generating the prompt message, the smart device sends the prompt message to the mobile terminal, where the mobile terminal may be a mobile phone, a tablet, a smart watch, or the like, and when receiving the prompt message, the mobile terminal may prompt according to the prompt message.
The prompting by the mobile terminal according to the prompt message may be: and when the mobile terminal receives the prompt message, displaying the prompt message or playing the prompt message. Because the prompt message includes at least one of a trigger mode for triggering state change of the intelligent device, position information of the intelligent device and a device type of the intelligent device, the mobile terminal can prompt a user that the state of the intelligent device is about to change through the prompt message, and the prompt message can be text message or voice message.
In addition, the mobile terminal can remind the user to check the prompt information in a ringing or vibrating mode so as to achieve the purpose of prompting the state of the intelligent device.
The state of the intelligent equipment is prompted through the mobile terminal in the first mode, and when a user is not near the equipment, the state change condition of the equipment can be checked through messages displayed on the mobile terminal or played prompt information, and the state change of the equipment can be known in time.
In the second mode, the intelligent equipment sends the prompt information to the control center, and the control center prompts according to the prompt information.
In the second mode, the smart device may send the prompt message to the control center, where the control center may be a router or the like with a voice function, and when the control center receives the prompt message, the voice plays the prompt message.
When the user is near the control center, the prompt information is prompted in a second mode, and the user can directly master the state change of the intelligent device without looking up the message displayed on the mobile terminal.
And in a third mode, when the intelligent equipment has a voice function or a display screen, the prompt message is played or displayed on the display screen.
In a third mode, when the intelligent device has a voice function, the prompt message can be directly played after being generated, and excessive operation is not needed.
Optionally, when the smart device has a display screen, after the prompt message is generated, the prompt message is directly displayed through the display screen.
In the embodiment of the disclosure, when it is detected that the intelligent device receives a state change instruction, prompt information is generated; and then prompting the prompt information through the mobile terminal, the control center or the intelligent equipment. Meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the equipment type of the intelligent equipment, so that the state change conditions of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
Fig. 4 is a flowchart of another method for processing a state of a smart device according to an embodiment of the present disclosure, and as shown in fig. 4, the method for processing a state of a smart device is used in a smart device and includes the following steps.
In step 401, the state of the smart device is detected.
In the embodiment of the disclosure, the state of the intelligent device can be detected in real time, when the state of the intelligent device changes, the prompt information is generated, and the prompt is performed according to the state change of the intelligent device. Wherein prompting for a state change of the smart device may be implemented through steps 402-406.
In the intelligent home system, when a user needs to change the state of certain intelligent equipment, the intelligent equipment can be triggered to change the state through triggering modes such as manual triggering, mobile terminal triggering or remote server triggering. Specifically, the detailed process of triggering the intelligent device to change the state by a triggering manner such as manual triggering, mobile terminal triggering or remote server triggering is described in step 301 in the above embodiment, and will not be described in detail here.
Therefore, the process of the state change of the smart device may be: when the intelligent equipment is triggered to change the state through triggering modes such as manual triggering, mobile terminal triggering or remote server triggering, the intelligent equipment receives a state change instruction; when the intelligent device receives the state change instruction, the state of the intelligent device changes correspondingly. For example, when a user clicks an open option of a remote controller of a refrigerator, the refrigerator receives an "open" state change instruction from the remote controller, and then the state of the refrigerator is changed from "off" to "on"; alternatively, when the user triggers an "open" state change instruction through a refrigerator application on a mobile terminal, such as a mobile phone, the refrigerator will also receive an "open" state change instruction from the application of the mobile phone, and then the state of the refrigerator is changed from "closed" to "open".
Specifically, the state of the intelligent device is detected by detecting the disconnection of a circuit in the intelligent device. For example, when the air conditioner changes from an on state to an off state, the main circuit is disconnected; when the air conditioner enters a heating mode from a cooling mode, a cooling circuit module in the air conditioner is disconnected, and a heating module circuit is closed, so that the state change condition of the intelligent equipment can be detected by detecting the circuit disconnection condition of each functional module of the intelligent equipment, namely the state of the intelligent equipment.
In step 402, when the state of the smart device changes, a state change instruction for triggering the state change of the smart device is obtained.
Regardless of the triggering mode by which the smart device is triggered to change state, as described in step 401, before the state of the smart device changes, the smart device receives a state change instruction for triggering the state change of the smart device, where the state change instruction is used to instruct the smart device to make a corresponding state change.
Therefore, before the state of the intelligent device is changed, that is, when a state change instruction is received, the state change instruction triggering the state change of the intelligent device can be acquired.
It should be noted that the state change instruction may be triggered by a user through a preset operation, where the preset operation may be a click operation, a slide operation, a voice operation, or the like.
In step 403, a triggering manner for triggering the state change of the smart device is obtained according to the state change instruction.
Step 403 is the same as step 302, and thus, embodiments of the present disclosure are not described in detail herein.
In step 404, a wireless signal of each of at least three access points is obtained, and the location information of the smart device is determined according to the location of each wireless access point and the wireless signal.
Step 404 is the same as step 303, and thus, embodiments of the present disclosure are not described in detail herein.
In step 405, a prompt message is generated, where the prompt message includes at least one of a trigger manner for triggering a change of a state of the smart device, location information of the smart device, a changed state of the smart device, and a device type of the smart device.
In the embodiment of the present disclosure, when detecting that the state of the smart device changes, the smart device may generate prompt information, where the prompt information is used to prompt the state of the smart device. In order to accurately and clearly prompt the state of the intelligent device, the prompt information may include at least one of a trigger manner for triggering a state change of the intelligent device, location information of the intelligent device, a state of the intelligent device after the change, and a device type of the intelligent device.
For example, when the intelligent device refrigerator receives an "open" state change instruction sent by the mobile phone terminal through the application program, the refrigerator may generate a prompt message "refrigerator open", or generate a prompt message "mobile terminal trigger, refrigerator located in a restaurant, open", or the like.
In step 406, the prompting message is prompted.
Step 406 is the same as step 305 in the above embodiments, and embodiments of the present disclosure are not described in detail herein.
It should be noted that the prompt information in this step may include the state of the smart device after the change, in addition to at least one of the triggering manner for triggering the change of the state of the smart device, the location information of the smart device, and the device type of the smart device. Therefore, the user can be reminded that the state of the intelligent equipment is changed by reminding the user of the prompt information.
In the embodiment of the disclosure, when the state change of the intelligent device is detected, prompt information is generated; and then prompting the prompt information through the mobile terminal, the control center or the intelligent equipment. Meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the state of the intelligent equipment after the state change of the intelligent equipment, so that the state change condition of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
Fig. 5A is a block diagram of an apparatus 500 for processing a state of a smart device according to an embodiment of the present disclosure. Referring to fig. 5A, the apparatus includes a generating module 501 and a first transmitting module 502.
A generating module 501, configured to generate, when it is detected that the intelligent device receives a state change instruction or a state change of the intelligent device, prompt information, where the prompt information includes at least one of a trigger mode for triggering the state change of the intelligent device, location information of the intelligent device, a state of the intelligent device after the change of the intelligent device, and a device type of the intelligent device, and the state change instruction is used to trigger the intelligent device to change the state;
the first sending module 502 is configured to send a prompt message to the mobile terminal, where the prompt message is used for the mobile terminal to prompt according to the prompt message.
Optionally, referring to fig. 5B, the apparatus 500 further includes a first obtaining module 503 and a second obtaining module 504:
a first obtaining module 503, configured to obtain a state change instruction for triggering state change of the smart device, where the state change instruction carries a trigger source type for sending the state change instruction;
a second obtaining module 504, configured to obtain, according to the trigger source type, a trigger mode for triggering a state change of the intelligent device from a corresponding relationship between the trigger source type and the trigger mode.
Optionally, referring to fig. 5C, the apparatus 500 further includes a third obtaining module 505 and a determining module 506:
a third obtaining module 505, configured to obtain a wireless signal of each of at least three access points when it is detected that the smart device receives a state change instruction or a state change of the smart device;
a determining module 506, configured to determine location information of the smart device according to the location of each wireless access point and the wireless signal.
Optionally, the apparatus 500 further comprises:
and the second sending module is used for sending prompt information to a control center for controlling the intelligent equipment, and the prompt information is used for prompting by the control center according to the prompt information.
Optionally, the apparatus 500 further comprises:
and the playing module is used for playing the prompt message when the intelligent equipment has the voice function.
In the embodiment of the disclosure, when it is detected that the intelligent device receives a state change instruction or the state of the intelligent device is changed, prompt information is generated; and then prompting the prompt information through the mobile terminal, the control center or the intelligent equipment. Meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the state of the intelligent equipment after the state change of the intelligent equipment, so that the state change condition of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
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.
Fig. 6 is a block diagram of another apparatus 600 for processing a state of a smart device according to an embodiment of the present disclosure. For example, the apparatus 600 may be a smart device with microprocessor capability, such as a smart refrigerator, a smart air conditioner, and a smart desk lamp, among others.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 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 multimedia component 608 includes a screen that provides an output interface between the device 600 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 608 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 600 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 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 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 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 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 component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 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 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 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 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 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 the disclosed embodiments, the apparatus 600 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 methods.
In an embodiment of the present disclosure, there is also provided a non-transitory computer readable storage medium, such as the memory 604, comprising instructions executable by the processor 620 of the apparatus 600 to perform the above-described method. 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 smart device, enable the smart device to perform a method of processing a state of the smart device, the method comprising:
when detecting that the intelligent device receives a state change instruction or the state of the intelligent device is changed, generating prompt information, wherein the prompt information comprises at least one of a trigger mode for triggering the state change of the intelligent device, position information of the intelligent device, the changed state of the intelligent device and the device type of the intelligent device, and the state change instruction is used for triggering the intelligent device to change the state;
and sending the prompt information to the mobile terminal, wherein the prompt information is used for prompting by the mobile terminal according to the prompt information.
In the embodiment of the disclosure, when it is detected that the intelligent device receives a state change instruction or the state of the intelligent device is changed, prompt information is generated; and then prompting the prompt information through the mobile terminal, the control center or the intelligent equipment. Meanwhile, the prompt message comprises at least one of a trigger mode for triggering the state change of the intelligent equipment, the position information of the intelligent equipment and the state of the intelligent equipment after the state change of the intelligent equipment, so that the state change condition of the intelligent equipment at different positions in the intelligent home system of the user can be reasonably reminded.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention 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 invention is limited only by the appended claims.
Claims (6)
1. A method for processing the state of an intelligent device is applied to the intelligent device, and the method comprises the following steps:
receiving a state change instruction for triggering state change of the intelligent equipment, wherein the state change instruction carries a trigger source type for sending the state change instruction;
according to the trigger source type, acquiring the trigger mode for triggering the state change of the intelligent equipment from the corresponding relation between the trigger source type and the trigger mode, and determining the position information of the intelligent equipment, wherein the trigger mode comprises at least one of the following modes: manual triggering, mobile terminal triggering and remote server triggering;
generating prompt information, wherein the prompt information generated when the intelligent device is detected to receive a state change instruction is used for prompting the impending state change of the intelligent device, the prompt information comprises a trigger mode for triggering the state change of the intelligent device, and the prompt information further comprises at least one of position information of the intelligent device, the changed state of the intelligent device and the device type of the intelligent device;
sending the prompt information to a mobile terminal, wherein the prompt information is used for displaying the prompt information or playing the prompt information by the mobile terminal;
the method further comprises the following steps:
when a user is near a control center for controlling the intelligent equipment, sending the prompt information to the control center, wherein the prompt information is used for the control center to play the prompt information in a voice mode;
the method further comprises the following steps:
and when the intelligent equipment has a voice function or a display screen, playing the prompt message or displaying the prompt message on the display screen.
2. The method of claim 1, further comprising:
when detecting that the intelligent equipment receives a state change instruction or the state of the intelligent equipment is changed, acquiring a wireless signal of each access point of at least three access points;
and determining the position information of the intelligent equipment according to the position of each wireless access point and the wireless signals.
3. An apparatus for processing a state of a smart device, applied to the smart device, the apparatus comprising:
the intelligent device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a state change instruction for triggering state change of the intelligent device, and the state change instruction carries a trigger source type for sending the state change instruction;
a second obtaining module, configured to obtain, according to the trigger source type, a trigger manner for triggering a state change of the smart device from a correspondence between the trigger source type and the trigger manner, where the trigger manner includes at least one of the following: manual triggering, mobile terminal triggering and remote server triggering;
the determining module is used for determining the position information of the intelligent equipment;
the generation module is used for generating prompt information, the prompt information generated when the intelligent device is detected to receive a state change instruction is used for prompting the state change of the intelligent device, the prompt information comprises a trigger mode for triggering the state change of the intelligent device, and the prompt information further comprises at least one of position information of the intelligent device, the state of the intelligent device after the change and the device type of the intelligent device;
the first sending module is used for sending the prompt information to the mobile terminal, and the prompt information is used for displaying the prompt information or playing the prompt information;
the device further comprises:
the second sending module is used for sending the prompt information to a control center when a user is near the control center for controlling the intelligent equipment, wherein the prompt information is used for the control center to play the prompt information in a voice mode;
the apparatus is further configured to:
and when the intelligent equipment has a voice function or a display screen, playing the prompt message or displaying the prompt message on the display screen.
4. The apparatus of claim 3, further comprising:
a third obtaining module, configured to obtain a wireless signal of each of at least three access points when it is detected that the intelligent device receives a state change instruction or a state change of the intelligent device is received;
and the determining module is used for determining the position information of the intelligent equipment according to the position of each wireless access point and the wireless signals.
5. An apparatus for processing a state of a smart device, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a state change instruction for triggering state change of the intelligent equipment, wherein the state change instruction carries a trigger source type for sending the state change instruction;
according to the trigger source type, acquiring the trigger mode for triggering the state change of the intelligent equipment from the corresponding relation between the trigger source type and the trigger mode, and determining the position information of the intelligent equipment, wherein the trigger mode comprises at least one of the following modes: manual triggering, mobile terminal triggering and remote server triggering;
generating prompt information, wherein the prompt information generated when the intelligent device is detected to receive a state change instruction is used for prompting the impending state change of the intelligent device, the prompt information comprises a trigger mode for triggering the state change of the intelligent device, and the prompt information further comprises at least one of position information of the intelligent device, the changed state of the intelligent device and the device type of the intelligent device;
the intelligent equipment sends the prompt information to the mobile terminal, and the prompt information is used for displaying the prompt information or playing the prompt information by the mobile terminal;
the processor is further configured to:
when a user is near a control center for controlling the intelligent equipment, sending the prompt information to the control center, wherein the prompt information is used for the control center to play the prompt information in a voice mode;
the processor is further configured to:
and when the intelligent equipment has a voice function or a display screen, playing the prompt message or displaying the prompt message on the display screen.
6. A computer readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of the method of claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610871871.XA CN106549835B (en) | 2016-09-30 | 2016-09-30 | Method and device for processing state of intelligent device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610871871.XA CN106549835B (en) | 2016-09-30 | 2016-09-30 | Method and device for processing state of intelligent device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106549835A CN106549835A (en) | 2017-03-29 |
CN106549835B true CN106549835B (en) | 2020-06-19 |
Family
ID=58368534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610871871.XA Active CN106549835B (en) | 2016-09-30 | 2016-09-30 | Method and device for processing state of intelligent device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106549835B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412908B (en) * | 2018-10-19 | 2020-12-18 | 珠海格力电器股份有限公司 | Method and equipment for voice display of controllable equipment |
CN110753100B (en) * | 2019-10-14 | 2021-09-21 | 支付宝(杭州)信息技术有限公司 | Method and device for generating prompt message and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103053176A (en) * | 2011-06-27 | 2013-04-17 | 松下电器产业株式会社 | Information notification device, information notification system, information notification method, and program |
CN105068046A (en) * | 2015-08-26 | 2015-11-18 | 中国联合网络通信集团有限公司 | Positioning method of intelligent equipment, and gateway |
CN105225434A (en) * | 2015-08-25 | 2016-01-06 | 小米科技有限责任公司 | Based reminding method and device |
CN105471682A (en) * | 2014-06-25 | 2016-04-06 | 小米科技有限责任公司 | Household electrical appliance state information notification method and household electrical appliance state information notification device |
CN105610608A (en) * | 2015-12-18 | 2016-05-25 | 小米科技有限责任公司 | Method and device for working state prompt of intelligent socket |
CN105897520A (en) * | 2015-11-11 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Intelligent household control method, intelligent household device and wearable device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060149395A1 (en) * | 2004-12-30 | 2006-07-06 | Carrier Corporation | Routine and urgent remote notifications from multiple home comfort systems |
CN104950716B (en) * | 2015-06-12 | 2017-11-14 | 广东欧珀移动通信有限公司 | A kind of apparatus control method and device |
-
2016
- 2016-09-30 CN CN201610871871.XA patent/CN106549835B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103053176A (en) * | 2011-06-27 | 2013-04-17 | 松下电器产业株式会社 | Information notification device, information notification system, information notification method, and program |
CN105471682A (en) * | 2014-06-25 | 2016-04-06 | 小米科技有限责任公司 | Household electrical appliance state information notification method and household electrical appliance state information notification device |
CN105225434A (en) * | 2015-08-25 | 2016-01-06 | 小米科技有限责任公司 | Based reminding method and device |
CN105068046A (en) * | 2015-08-26 | 2015-11-18 | 中国联合网络通信集团有限公司 | Positioning method of intelligent equipment, and gateway |
CN105897520A (en) * | 2015-11-11 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Intelligent household control method, intelligent household device and wearable device |
CN105610608A (en) * | 2015-12-18 | 2016-05-25 | 小米科技有限责任公司 | Method and device for working state prompt of intelligent socket |
Also Published As
Publication number | Publication date |
---|---|
CN106549835A (en) | 2017-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10175671B2 (en) | Method and apparatus for controlling intelligent device | |
CN104407592B (en) | A kind of method and device adjusting smart home device operating status | |
CN105094321B (en) | The control method and device of smart machine | |
CN106385351B (en) | Control method and device of intelligent household equipment | |
CN107204883B (en) | Network fault processing method and device | |
CN104902059A (en) | Call reminding method and device | |
CN104484795B (en) | Information cuing method and device | |
EP3076745B1 (en) | Methods and apparatuses for controlling wireless access point | |
CN106357721B (en) | Timing method and device | |
CN106371329B (en) | Intelligent appliance correlating method and device | |
CN108810866B (en) | Method and device for connecting intelligent equipment and storage medium | |
US20170171706A1 (en) | Device displaying method, apparatus, and storage medium | |
CN112073273B (en) | Device state control method, device state control apparatus, and storage medium | |
CN109525966B (en) | Intelligent device query method and device and storage medium | |
CN105553688A (en) | Equipment working state setting method, device and system | |
CN106406175B (en) | Door opening reminding method and device | |
CN106507282B (en) | Wireless connection control method and device | |
US10111026B2 (en) | Detecting method and apparatus, and storage medium | |
CN105847155B (en) | Method and device for transmitting notification message | |
EP3015949A1 (en) | Method and device for displaying information | |
CN104159283A (en) | Method and device for controlling message transmission | |
CN109040651B (en) | Video communication method and device | |
CN106292316B (en) | Working mode switching method and device | |
US20200067920A1 (en) | Method for outputting networking authentication information, networking method, apparatus and storage medium | |
CN106549835B (en) | Method and device for processing state of intelligent device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |