Intelligent equipment control system and method based on mobile phone volume keyTechnical Field
The invention belongs to the field of intelligent household appliance control, and particularly relates to an intelligent device control system and method based on a mobile phone volume key.
Background
The current mobile phone controls other intelligent devices to send instructions through button clicking operation of an application program in a screen, and in the mode, because the mobile phone screen is flat and lacks real touch feeling, users need to focus on the mobile phone screen, and compared with a traditional remote controller, the operation is not simple and convenient enough, and the operation efficiency is low.
Disclosure of Invention
In order to overcome the technical defects that the operation plane of a mobile phone for controlling other equipment lacks touch feeling and the operation efficiency is low in the prior art, the invention provides a method for improving the operation efficiency and enhancing the operation touch feeling by setting the incidence relation between keys on the mobile phone and other intelligent equipment control instructions.
The invention provides an intelligent device control system based on a mobile phone volume key, which comprises a setting module and an instruction generating module, wherein the setting module is used for setting the incidence relation between the mobile phone volume key and the preset control information of intelligent devices; and the instruction generating module is used for inquiring the control instruction of the controlled intelligent device corresponding to the triggering condition of the volume key of the monitoring mobile phone according to the association relation and sending the inquired control instruction to the controlled intelligent device.
Further, the instruction generation module also comprises
And the judging unit is used for judging whether the inquired control instruction is connected with the controlled intelligent equipment or not, if so, the control instruction is sent, and otherwise, the user is prompted.
Further, the preset control information of the intelligent device includes an intelligent device identifier and a control instruction set thereof.
Further, the setting module further comprises
And the combination unit is used for setting the association relationship between the combination of the mobile phone volume key and other mobile phone keys and the preset intelligent equipment control information.
Further, the trigger condition includes a key press frequency.
The invention also provides an intelligent device control method based on the mobile phone volume key, which comprises the following steps:
setting an incidence relation between a mobile phone volume key and preset control information of the intelligent equipment;
and inquiring a control instruction of the controlled intelligent device corresponding to the triggering condition of the monitoring mobile phone volume key according to the association relation, and sending the inquired control instruction to the controlled intelligent device.
Further, setting the association relationship between the mobile phone volume key and the preset control information of the intelligent device comprises
And setting the control instruction of different intelligent devices as the trigger condition of the control instruction of other intelligent devices.
Further, setting the association relationship between the mobile phone volume key and the preset control information of the intelligent device further comprises
And setting the association relation between the combination of the mobile phone volume key and other mobile phone keys and the preset intelligent equipment control information.
Further, before sending the queried control command to the controlled intelligent device, the method also comprises
And judging whether the inquired control instruction is connected with the controlled intelligent equipment or not, if so, sending the control instruction, and otherwise, prompting the user.
Further, the preset control information of the intelligent device includes an intelligent device identifier and a control instruction set thereof.
In conclusion, the invention solves the technical problems of insufficient touch feeling and low operation efficiency of the existing operation interface by setting the incidence relation between the mobile phone keys and the control instruction of the intelligent equipment, so that the user can control the intelligent equipment without looking at the operation interface.
Drawings
Fig. 1 is a schematic structural diagram of an intelligent device control system based on a mobile phone volume key according to the present invention;
FIG. 2 is a schematic structural diagram of a smart device control system setting module based on a mobile phone volume key according to the present invention;
FIG. 3 is a schematic structural diagram of an instruction generating module of the smart device control system based on the mobile phone volume key according to the present invention;
FIG. 4 is a schematic flow chart illustrating a method for controlling a smart device based on a volume key of a mobile phone according to the present invention;
fig. 5 is a schematic flowchart of an embodiment of a method for controlling an intelligent device based on a volume key of a mobile phone according to the present invention;
fig. 6 is a schematic view of a process flow of the method for controlling the smart device based on the volume key of the mobile phone according to the present invention.
Detailed Description
The present invention will be described in further detail below with reference to specific embodiments and with reference to the attached drawings.
In order to solve the technical defect that the operation interfaces of other devices operated by the mobile phone are not prominent and lack of touch feeling in the prior art, the invention provides a system for establishing an association relation between the keys of the mobile phone and the control instructions of the controlled intelligent device to realize control.
As shown in fig. 1, the smart device control system based on the volume key of the mobile phone includes a setting module 10 and an instruction generating module 20. Wherein,
the setting module 10 is configured to set an association relationship between a mobile phone volume key and preset control information of the smart device.
In the prior art, the mobile phone controls other devices through operation buttons displayed on an operation interface of the mobile phone, which requires eyes of a user to concentrate on the operation interface, and the operation interface on a screen of the mobile phone lacks touch feeling. Therefore, the invention provides a mode for realizing the control of the intelligent equipment by using the volume key of the mobile phone.
In the specific implementation process, the intelligent device can be selected from intelligent devices with communication functions such as bluetooth and the like, for example, intelligent devices with wireless communication functions such as an intelligent television, an intelligent air conditioner, an intelligent earphone and an intelligent bracelet.
The preset control information of the intelligent device comprises an intelligent device identifier and a control instruction set thereof.
The control instruction set of each smart device includes at least 1 control instruction. And the trigger information of the mobile phone volume key establishes a corresponding control instruction through the association relation. It should be noted that, in the implementation process, the volume key of the mobile phone can selectively control one smart device and also can selectively control a plurality of smart devices. When the mobile phone volume key controls one intelligent device, the user establishes an association relationship between the mobile phone volume key and a control instruction of the intelligent device, for example, the association relationship between the mobile phone volume "+" and the control instruction of turning off the intelligent television is only required.
Further, as shown in fig. 2, the setting module further includes
Further, the setting module further comprises
The combination unit 1002 is configured to set an association relationship between a combination of a mobile phone volume key and other mobile phone keys and preset smart device control information.
The user may select a control command to set the combination of the handset volume key and other handset keys, for example, to combine the volume "+" with the confirmation key.
The user can set the purpose of controlling the intelligent device by the combination of the volume key and other keys, and the mode increases the control mode of the keys of the mobile phone.
Still further, the setting module may optionally further include
The cascade setting unit 1001 is configured to set a trigger condition for setting a control instruction of a different smart device as a control instruction of another smart device.
With the increase of the number of home intelligent devices, a user needs to have a purpose of controlling a plurality of intelligent devices by one key, so that in the specific implementation process, a mobile phone volume key can selectively control the plurality of intelligent devices, the user can selectively set a control instruction of one intelligent device as a trigger condition of control instructions of other intelligent devices through a cascade setting unit, and after the control instruction of one intelligent device is triggered, the control instructions of other intelligent devices are triggered to execute operation. For example, the mobile phone volume key is used for controlling the smart television and the smart lamp, the user presses the key to turn off the smart television, and the smart lamp is turned off after the television is turned off. In the specific implementation process, the time delay of triggering control instructions of other intelligent devices by control instructions of different intelligent devices can be set optionally. For example, the sound volume "-" is associated with a control instruction for turning off the smart television, and then the control instruction for turning off the smart television is set as a trigger condition for turning off the control instruction for controlling the smart lamp, wherein the time delay is 10 minutes.
And the instruction generating module 20 is configured to query, according to the association relationship, a control instruction of the controlled intelligent device corresponding to the trigger condition of the monitoring handset volume key, and send the queried control instruction to the controlled intelligent device.
In the specific implementation process, the setting of the mobile phone volume key and the intelligent device control instruction can be carried out according to the following modes:
and monitoring a control instruction corresponding to the trigger information of the volume key of the mobile phone in real time, wherein the control instruction controls an intelligent device. For example, if a mobile phone volume key is used to control the on or off of the bluetooth headset, pressing the mobile phone volume key "+" triggers a control instruction to control the on of the bluetooth headset; or pressing the mobile phone volume key '-' triggers a control instruction for controlling the Bluetooth headset to be closed. And after the volume key of the mobile phone is pressed, inquiring a corresponding control instruction according to the association relation.
Further, as shown in fig. 3, the instruction generation module further includes
And the judging unit 2001 is configured to judge whether the queried control instruction is connected with the controlled intelligent device, if so, send the control instruction, and otherwise, prompt the user.
Only if the mobile phone is connected with the controlled intelligent equipment, the inquired control instruction can be sent to the corresponding intelligent equipment. The mobile phone is in communication connection with the intelligent equipment and sends the control instruction to the intelligent equipment. In a specific implementation process, the intelligent device optionally comprises at least one of the communication modules with communication functions, such as a bluetooth module and a WIFI module.
In a specific implementation process, the judging unit optionally prompts a user in a voice, vibration or text mode, so that the user can obtain a result without viewing a control interface.
As shown in fig. 4, the present invention further provides a method for controlling an intelligent device based on a volume key of a mobile phone. The method comprises the following steps:
and S1, setting the association relationship between the mobile phone volume key and the preset control information of the intelligent equipment.
The control instruction set of each smart device includes at least 1 control instruction. And the trigger information of the mobile phone volume key establishes a corresponding control instruction through the association relation. It should be noted that, in the implementation process, the volume key of the mobile phone can selectively control one smart device and also can selectively control a plurality of smart devices. When the mobile phone volume key controls one intelligent device, the user establishes an association relationship between the mobile phone volume key and a control instruction of the intelligent device, for example, the association relationship between the mobile phone volume "+" and the control instruction of turning off the intelligent television is only required.
The preset control information of the intelligent device comprises an intelligent device identifier and a control instruction set thereof.
S1 also includes
And setting the control instruction of different intelligent devices as the trigger condition of the control instruction of other intelligent devices.
With the increase of the number of home intelligent devices, a user needs to have a purpose of controlling a plurality of intelligent devices by one key, so that in the specific implementation process, a mobile phone volume key can selectively control the plurality of intelligent devices, the user can selectively set a control instruction of one intelligent device as a trigger condition of control instructions of other intelligent devices through a cascade setting unit, and after the control instruction of one intelligent device is triggered, the control instructions of other intelligent devices are triggered to execute operation. For example, the mobile phone volume key is used for controlling the smart television and the smart lamp, the user presses the key to turn off the smart television, and the smart lamp is turned off after the television is turned off. In the specific implementation process, the time delay of triggering control instructions of other intelligent devices by control instructions of different intelligent devices can be set optionally. For example, the sound volume "-" is associated with a control instruction for turning off the smart television, and then the control instruction for turning off the smart television is set as a trigger condition for turning off the control instruction for controlling the smart lamp, wherein the time delay is 10 minutes.
S1 further optionally includes
And setting the association relation between the combination of the mobile phone volume key and other mobile phone keys and the preset intelligent equipment control information.
The user can select a control instruction for setting the combination of the mobile phone volume key and other mobile phone keys, for example, the volume "+" is combined with the confirmation key, and the channel switching "+" control instruction of the smart television is associated with the combination key.
In the specific implementation process, the association relation between the mobile phone volume key and other mobile phone key combination settings and the intelligent device control instruction can be selected.
And S2, inquiring the control instruction of the monitored trigger information of the mobile phone volume key corresponding to the controlled intelligent equipment according to the association relation, and sending the inquired control instruction to the controlled intelligent equipment.
S2 also includes
And S21, judging whether the inquired control instruction is connected with the controlled intelligent device, if so, sending the control instruction, and otherwise, prompting the user.
As shown in fig. 5, in a specific implementation process, a user first sets an association relationship of a mobile phone volume key, where the association relationship is an association relationship between a mobile phone shortcut key and control information of an intelligent device. The user can realize the control of the intelligent equipment by pressing the volume key of the mobile phone. Secondly, in order to realize multi-angle control of a user, the invention also provides a mode of controlling the intelligent equipment by the combination key, the user can selectively set the combination of the mobile phone volume key and other mobile phone keys, and the association relation is established between the combination and the control information of other intelligent equipment; finally, the user can also optionally set the control instruction of the intelligent device as the trigger condition of the control instruction of other intelligent devices, thereby realizing the purpose that the user controls at least one intelligent device after pressing the mobile phone volume key, and simultaneously, the user can also optionally set the time delay for triggering the control instruction of other intelligent devices by the intelligent device.
The invention is described below by taking an example that a user presses a mobile phone volume key to control other intelligent devices. As shown in fig. 6, after the user presses the volume key of the mobile phone to query the corresponding control instruction, the user determines whether to communicate with the controlled intelligent device, if so, the controlled intelligent device sends the control instruction, otherwise, the user is prompted.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.