Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, making an object of the present invention is to provide a kind of plan of establishment of the keypress function of new controller
User is obtained when needing the keypress function to the controller of electronic equipment to be configured, can independently be defined by mobile terminal
The function of each key of controller, meets the individual demand of user, is conducive to the operating experience for promoting user.
It is another object of the present invention to propose a kind of electronic equipment.
To achieve the above object, according to the embodiment of the first aspect of the invention, a kind of key function of controller is proposed
The setting method of energy, for the controller for controlling electronic equipment, the electronic equipment and mobile terminal establish connection,
The setting method of the keypress function of the controller, comprising: what the electronic equipment received that the controller sends be triggered by
The information of key;The information of the key that is triggered is sent to the mobile terminal by the electronic equipment, for described mobile whole
Feature operation corresponding with the key that is triggered is arranged in end;The electronic equipment receive mobile terminal setting with it is described
The corresponding feature operation of the key that is triggered, and the information of the key that is triggered and the feature operation are associated storage.
The setting method of the keypress function of the controller of embodiment according to the present invention, electronic equipment by with mobile terminal
Connection is established, and when receiving the information for the key that is triggered of controller transmission, the information for the key that is triggered is sent to shifting
Corresponding feature operation is arranged for mobile terminal in dynamic terminal, and then by the information for the key that is triggered and feature operation associated storage,
So that user when needing the keypress function to the controller of electronic equipment to be configured, can be determined by mobile terminal come autonomous
The function of each key of adopted controller, meets the individual demand of user, is conducive to the operating experience for promoting user.
Wherein, mobile terminal can be smart phone, tablet computer, wearable device etc..
The setting method of the keypress function of controller according to the abovementioned embodiments of the present invention can also have following technology
Feature:
According to one embodiment of present invention, the key that is triggered that the controller is sent is received in the electronic equipment
Before information, further includes: the electronic equipment detects whether to receive the finger for being configured the keypress function of the controller
It enables, if so, stopping responding feature operation associated with the key that is triggered.
The setting method of the keypress function of the controller of embodiment according to the present invention, due in setting controller key
When function, need to be recognized the key information of controller by electronic equipment, and then key information is sent to mobile terminal, therefore
In order to avoid electronic equipment responds the operation associated of key that be triggered in the function of setting button, can receive to key
When the instruction that function is configured, stop responding feature operation associated with the key that is triggered.
According to one embodiment of present invention, it after completing to be configured the keypress function of the controller, also wraps
Include: the electronic equipment when receiving the information for the key that is triggered that the controller is sent, response with it is described be triggered by
The associated feature operation of key.
According to one embodiment of present invention, the electronic equipment includes air conditioner, in the electronic equipment by the quilt
The information of triggering key is while be sent to the mobile terminal, further includes: the electronic equipment is by the interior machine of the air conditioner
Parameter is sent to the mobile terminal, so that the mobile terminal is according to the interior machine parameter setting and the key pair that is triggered
The feature operation answered.
The setting method of the keypress function of the controller of embodiment according to the present invention, by by the interior machine parameter of air conditioner
It is sent to mobile terminal, allows users to flexibly set the corresponding feature operation of key according to the concrete condition of interior machine.Tool
Body, for example interior machine parameter includes interior machine quantity, when air conditioner has multiple interior machines, the keypress function of controller can be set
Be set to the control function that machine in corresponding is opened or closed or be set as adjust some/operating parameters of certain interior machines
Function;And when air conditioner has an interior machine, keypress function can be set to adjusting the function of the operating parameter of interior machine.
Embodiment according to a second aspect of the present invention, it is also proposed that a kind of setting device of the keypress function of controller, institute
Controller is stated for controlling electronic equipment, the electronic equipment and mobile terminal establish connection, and the controller is pressed
The setting device of key function, comprising: the first receiving unit, for receiving the information for the key that is triggered that the controller is sent;
Transmission unit, for the information of the key that is triggered to be sent to the mobile terminal, for the mobile terminal setting with
The corresponding feature operation of the key that is triggered;Second receiving unit, for receiving mobile terminal setting with the quilt
Trigger the corresponding feature operation of key;Storage unit, for carrying out the information of the key that is triggered and the feature operation
Associated storage.
The setting device of the keypress function of the controller of embodiment according to the present invention, electronic equipment by with mobile terminal
Connection is established, and when receiving the information for the key that is triggered of controller transmission, the information for the key that is triggered is sent to shifting
Corresponding feature operation is arranged for mobile terminal in dynamic terminal, and then by the information for the key that is triggered and feature operation associated storage,
So that user when needing the keypress function to the controller of electronic equipment to be configured, can be determined by mobile terminal come autonomous
The function of each key of adopted controller, meets the individual demand of user, is conducive to the operating experience for promoting user.
Wherein, mobile terminal can be smart phone, tablet computer, wearable device etc..
The setting device of the keypress function of controller according to the abovementioned embodiments of the present invention, can also have following technology
Feature:
According to one embodiment of present invention, further includes: detection unit, for receiving the control in the electronic equipment
Before the information for the key that is triggered that device is sent, detect whether to receive the finger for being configured the keypress function of the controller
It enables;First processing units are configured the keypress function of the controller for determining to receive in the detection unit
When instruction, stop responding feature operation associated with the key that is triggered.
The setting device of the keypress function of the controller of embodiment according to the present invention, due in setting controller key
When function, need to be recognized the key information of controller by electronic equipment, and then key information is sent to mobile terminal, therefore
In order to avoid electronic equipment responds the operation associated of key that be triggered in the function of setting button, can receive to key
When the instruction that function is configured, stop responding feature operation associated with the key that is triggered.
According to one embodiment of present invention, further includes: the second processing unit, for completing to press the controller
After key function is configured, if first receiving unit receives the information for the key that is triggered that the controller is sent,
Then respond feature operation associated with the key that is triggered.
According to one embodiment of present invention, the electronic equipment includes air conditioner, and the transmission unit is also used to: by institute
The interior machine parameter for stating air conditioner is sent to the mobile terminal, so that the mobile terminal is according to the interior machine parameter setting and institute
State the corresponding feature operation of the key that is triggered.
The setting device of the keypress function of the controller of embodiment according to the present invention, by by the interior machine parameter of air conditioner
It is sent to mobile terminal, allows users to flexibly set the corresponding feature operation of key according to the concrete condition of interior machine.Tool
Body, for example interior machine parameter includes interior machine quantity, when air conditioner has multiple interior machines, the keypress function of controller can be set
Be set to the control function that machine in corresponding is opened or closed or be set as adjust some/operating parameters of certain interior machines
Function;And when air conditioner has an interior machine, keypress function can be set to adjusting the function of the operating parameter of interior machine.
According to one embodiment of present invention, the controller includes passive and wireless switch;The electronic equipment with it is described
It includes: EnOcean module, Zigbee communication module, 433 communication modules that passive and wireless switch, which establishes the communication module of connection,;Institute
Stating electronic equipment and establishing the communication module of connection with the mobile terminal includes: Wi-Fi module, bluetooth communication, NFC communication
Module.
Embodiment according to a third aspect of the present invention, it is also proposed that a kind of electronic equipment, comprising: as any of the above-described is implemented
The setting device of the keypress function of controller described in example.Wherein, electronic equipment can be air conditioner, electric light, electric heater
Deng.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the schematic flow diagram of the setting method of the keypress function of the controller of embodiment according to the present invention.
Heretofore described controller for controlling electronic equipment, establish by the electronic equipment and mobile terminal
Connection.As shown in Figure 1, the setting method of the keypress function of the controller of embodiment according to the present invention, comprising: step 102, institute
State the information that electronic equipment receives the key that is triggered that the controller is sent;Step 104, the electronic equipment is touched described
The information of hair key is sent to the mobile terminal, so that function corresponding with the key that is triggered is arranged in the mobile terminal
Operation;Step 106, the electronic equipment receives function corresponding with the key that the is triggered behaviour of the mobile terminal setting
Make, and the information of the key that is triggered and the feature operation are associated storage.
Specifically, electronic equipment is by establishing connection with mobile terminal, and receive controller transmission be triggered by
When the information of key, the information for the key that is triggered is sent to mobile terminal, corresponding feature operation is set for mobile terminal, in turn
By the information for the key that is triggered and feature operation associated storage, so that user is needing the key function to the controller of electronic equipment
When can be carried out setting, the function of each key of controller can be independently defined by mobile terminal, meet of user
Property demand, be conducive to promoted user operating experience.
Wherein, mobile terminal can be smart phone, tablet computer, wearable device etc..
The setting method of the keypress function of controller according to the abovementioned embodiments of the present invention can also have following technology
Feature:
According to one embodiment of present invention, the key that is triggered that the controller is sent is received in the electronic equipment
Before information, further includes: the electronic equipment detects whether to receive the finger for being configured the keypress function of the controller
It enables, if so, stopping responding feature operation associated with the key that is triggered.
Due to needing to be recognized the key information of controller by electronic equipment when the function of controller key is arranged, into
And key information is sent to mobile terminal, therefore in order to avoid electronic equipment responded in the function of setting button be triggered by
Key it is operation associated, it is related to the key that is triggered can to stop response when receiving the instruction being configured to keypress function
The feature operation of connection.
According to one embodiment of present invention, it after completing to be configured the keypress function of the controller, also wraps
Include: the electronic equipment when receiving the information for the key that is triggered that the controller is sent, response with it is described be triggered by
The associated feature operation of key.
According to one embodiment of present invention, the electronic equipment includes air conditioner, in the electronic equipment by the quilt
The information of triggering key is while be sent to the mobile terminal, further includes: the electronic equipment is by the interior machine of the air conditioner
Parameter is sent to the mobile terminal, so that the mobile terminal is according to the interior machine parameter setting and the key pair that is triggered
The feature operation answered.
By the way that the interior machine parameter of air conditioner is sent to mobile terminal, the concrete condition spirit according to interior machine is allowed users to
The corresponding feature operation of ground living setting button.Specifically, for example interior machine parameter includes interior machine quantity, when air conditioner has in multiple
When machine, the keypress function of controller can be set to the control function opened or closed to corresponding interior machine or be set as
Adjust some/function of the operating parameters of certain interior machines;And when air conditioner has an interior machine, keypress function can be arranged
For the function of the operating parameter of machine in adjusting.
Fig. 2 shows the schematic block diagrams of the setting device of the keypress function of the controller of embodiment according to the present invention.
Heretofore described controller for controlling electronic equipment, establish by the electronic equipment and mobile terminal
Connection.As shown in Fig. 2, the setting device 200 of the keypress function of the controller of embodiment according to the present invention, comprising: first connects
Unit 202 is received, for receiving the information for the key that is triggered that the controller is sent;Transmission unit 204, for being touched described
The information of hair key is sent to the mobile terminal, so that function corresponding with the key that is triggered is arranged in the mobile terminal
Operation;Second receiving unit 206, for receiving function corresponding with the key that the is triggered behaviour of the mobile terminal setting
Make;Storage unit 208, for the information of the key that is triggered and the feature operation to be associated storage.
Specifically, electronic equipment is by establishing connection with mobile terminal, and receive controller transmission be triggered by
When the information of key, the information for the key that is triggered is sent to mobile terminal, corresponding feature operation is set for mobile terminal, in turn
By the information for the key that is triggered and feature operation associated storage, so that user is needing the key function to the controller of electronic equipment
When can be carried out setting, the function of each key of controller can be independently defined by mobile terminal, meet of user
Property demand, be conducive to promoted user operating experience.
Wherein, mobile terminal can be smart phone, tablet computer, wearable device etc..
The setting device 200 of the keypress function of controller according to the abovementioned embodiments of the present invention, can also have following
Technical characteristic:
According to one embodiment of present invention, further includes: detection unit 210, described in being received in the electronic equipment
Before the information for the key that is triggered that controller is sent, detects whether to receive the keypress function of the controller is configured
Instruction;First processing units 212, for determining the keypress function received to the controller in the detection unit 210
When the instruction being configured, stop responding feature operation associated with the key that is triggered.
Due to needing to be recognized the key information of controller by electronic equipment when the function of controller key is arranged, into
And key information is sent to mobile terminal, therefore in order to avoid electronic equipment responded in the function of setting button be triggered by
Key it is operation associated, it is related to the key that is triggered can to stop response when receiving the instruction being configured to keypress function
The feature operation of connection.
According to one embodiment of present invention, further includes: the second processing unit 214, for completing to the controller
Keypress function be configured after, if first receiving unit 202 receives the key that is triggered that the controller is sent
Information, then respond associated with the key that is triggered feature operation.
According to one embodiment of present invention, the electronic equipment includes air conditioner, and the transmission unit 204 is also used to:
The interior machine parameter of the air conditioner is sent to the mobile terminal, so that the mobile terminal is according to the interior machine parameter setting
Feature operation corresponding with the key that is triggered.
By the way that the interior machine parameter of air conditioner is sent to mobile terminal, the concrete condition spirit according to interior machine is allowed users to
The corresponding feature operation of ground living setting button.Specifically, for example interior machine parameter includes interior machine quantity, when air conditioner has in multiple
When machine, the keypress function of controller can be set to the control function opened or closed to corresponding interior machine or be set as
Adjust some/function of the operating parameters of certain interior machines;And when air conditioner has an interior machine, keypress function can be arranged
For the function of the operating parameter of machine in adjusting.
According to one embodiment of present invention, the controller includes passive and wireless switch;The electronic equipment with it is described
It includes: EnOcean module, Zigbee communication module, 433 communication modules that passive and wireless switch, which establishes the communication module of connection,;Institute
Stating electronic equipment and establishing the communication module of connection with the mobile terminal includes: Wi-Fi module, bluetooth communication, NFC communication
Module.
The invention also provides a kind of electronic equipment, comprising: the setting dress of the keypress function of controller as shown in Figure 2
Set 200.Wherein, electronic equipment can be air conditioner, electric light, electric heater etc..
It is below passive and wireless switch using electronic equipment as air conditioner (specially Actuator Of The Air Conditioner), controller, mobile whole
End is the technical solution that the present invention will be described in detail for mobile phone.
As shown in Figure 3A, when having an air-conditioning internal machine, user can be successively by pressing on passive and wireless switch 304
Key, then the information of each key is sent to cell phone application 306 by Actuator Of The Air Conditioner 302, and then user can be in cell phone application
The function of each key is set on 306, such as there are three keys for the tool of passive and wireless switch 304, then can be set on key 1
Shutdown, key 2 are set as pattern switching (such as by be for 1 time to freeze, continuously by being twice to heat), key 3 is set as windscreen and cuts
It changes.After the setup, Actuator Of The Air Conditioner 302 will save and be arranged, and then can be realized by passive and wireless switch 304 to sky
The control of machine in adjusting.
As shown in Figure 3B, when with multiple air-conditioning internal machines (being illustrated for two in figure), user can be successively
By the key on passive and wireless switch 304, then the information of each key is sent to cell phone application 306 by Actuator Of The Air Conditioner 302,
And then the function of each key can be arranged in user in cell phone application 306, such as there are three press the tool of passive and wireless switch 304
Key then can set key 1 to whole switching on and shutting down, key 2 is set as 308 switching on and shutting down of air-conditioning internal machine, key 3 is set as air-conditioning
Interior 310 switching on and shutting down of machine.After the setup, Actuator Of The Air Conditioner 302 will save and be arranged, and then can be switched by passive and wireless
304 realize the control to air-conditioning internal machine 308 and air-conditioning internal machine 310.
Fig. 4 shows the schematic diagram of internal structure of the Actuator Of The Air Conditioner 302 of embodiment according to the present invention.
As shown in figure 4, the Actuator Of The Air Conditioner 302 of embodiment according to the present invention, comprising:
EnOcean receiving module, Zigbee communication module or the 433 communication moulds communicated with passive and wireless switch 304
Block;
The Wi-Fi module or BLE (bluetooth low energy consumption) module communicated with cell phone application 306;
With the air-conditioning communication module of air-conditioning internal machine communication;And central processing unit, memory module and power module.
Specific process flow is as follows:
Cell phone application 306 is attached by Wi-Fi module or BLE module with Actuator Of The Air Conditioner 302, and acquisition is connected
The parameter information of air-conditioning internal machine;
Cell phone application 306 identifies the key of passive and wireless switch, and specifically, user can successively press or only by therein
It is one or more;
By cell phone application interface, key and airconditioning control are bound;
Binding information is stored in the memory module of Actuator Of The Air Conditioner 302.
Above scheme of the invention, can be by using easy for installation passive for the user for using air-conditioning more
Wireless switching, which is realized, controls the user-defined press key of multiple air-conditionings.
In addition, for other electronic equipments, can also through the foregoing embodiment in technical solution come to corresponding control
The keypress function of device is configured.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, and the invention proposes a kind of pressing for new controller
The plan of establishment of key function, so that user is when needing the keypress function to the controller of electronic equipment to be configured, Neng Goutong
The function that mobile terminal independently defines each key of controller is crossed, the individual demand of user is met, is conducive to be promoted
The operating experience of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.