A kind of controllable key switch system and its control, binding method
Technical field
The present invention relates to key switch field more particularly to a kind of controllable key switch system and its controls, binding side
Method.
Background technique
Key switch plays it all in every field as a kind of traditional control method, the convenience and stability of control
Important function.In conventional manner, the specific action usually through specific household electrical appliances is controlled by a fixed switch.But
With the continuous development of smart home field technology, the number of household electrical appliances is increasing also with the improvement of people's living standards,
And the functional diversity of household electrical appliances is but also the number of switch sharply increases.If solid by one according to the specific action of specific household electrical appliances
The mode that fixed switch is controlled, then will result in, number of switches is excessive, and whole home cabling is excessive, causes cost unrestrained
Take.Therefore, how to enable switch electric appliance between control planning free switching, improve the use scope of switch, become
Urgent problem to be solved at present.
Summary of the invention
In view of the above problems, the application describes a kind of controllable key switch system, comprising:
Several control modules, and each control module is fixedly connected at least one switch, it is described to receive
The action signal issued is switched, control with the action signal there is the electric appliance of binding relationship to generate respective action;And to described
Cloud storage module sending action signal;
Cloud storage module, is stored with the binding relationship, and the cloud storage module respectively with each control module
Connection executes command signal to receive the action signal and generate according to the action signal;And
The control module receives the execution command signal, and control has the binding relationship with the action signal
Electric appliance generates respective action;
It preferably, the binding relationship includes several binding datas, and include one by one in every binding data
Corresponding action signal information, the identification information of electric appliance and the action message of electric appliance.
Preferably, the cloud storage module includes:
First data storage cell, to store the binding relationship of the key switch system;
First query unit is connected with the control module and the cloud storage module respectively, receives the control mould
The action signal that block transmission comes, and the movement is searched from first data storage cell according to the action signal
The binding relationship of signal issues the first query result;
First processing units are connected with the query unit, execute order according to first query result generation is described
Signal.
Preferably, the control module includes:
Second data storage cell, to store all of the control module where second data storage cell
Binding relationship;
Second query unit is connected with second data storage cell and the switch respectively, described to receive
Action signal and the binding for searching the action signal in second data storage cell according to the action signal
Relationship issues the second query result;
The second processing unit controls the electric appliance according to second query result and/or the execution command signal and produces
Raw respective action.
Preferably, the key switch system further includes intelligent terminal module, it is connect with the cloud storage module, to be used for
The binding relationship is updated.
Preferably, the intelligent terminal module includes Terminal Control Element, the Terminal Control Element is to the cloud storage
Module issues binding and/or solution binding signal;
The cloud storage module further includes updating unit, is stored respectively with the Terminal Control Element, first data
Unit and second data storage cell are connected, counted to described first according to the binding and/or solution binding signal
It is updated according to the binding relationship stored in storage unit and second data storage cell.
Preferably, the cloud storage module further includes state storage unit, respectively with the first processing units and institute
It states the second processing unit to be connected, to store the working condition of the electric appliance, and passes through second query result and/or described
Command signal is executed to carry out real-time update to the working condition of the electric appliance and store.
Preferably, the intelligent terminal module includes display unit, the display unit and the state storage unit phase
Even, to show the working condition of the electric appliance.
The invention also provides a kind of control methods of controllable key switch system, comprising steps of
It presses switch and issues action signal;
The control module receives the action signal, judge the action signal with the presence or absence of binding relationship, control with
There is the action signal electric appliance of binding relationship to generate respective action and/or the action signal is transferred to cloud storage mould
Block;When the cloud storage module receives the action signal, control has the electricity of the binding relationship with the action signal
Device generates respective action.
Preferably, finding all of the action signal by inquiry after the control module receives the action signal
When the binding relationship is present in the control module, the control module, which is controlled in the action signal, has described tie up
The electric appliance for determining relationship generates respective action.
Preferably, finding the described of the action signal by inquiry after the control module receives the action signal
Binding relationship is present in the cloud storage module, and the action signal is transferred to the cloud storage module.
Preferably, finding all of the action signal by inquiry after the control module receives the action signal
The binding relationship exists simultaneously in the control module and the cloud storage module, control module control with it is described
There is action signal the electric appliance of the binding relationship to generate respective action, and the action signal is transferred to the cloud simultaneously and is deposited
Store up module.
Preferably, the cloud storage module receives the action signal and inquires all bindings of the action signal
Relationship, and issued to the control module with the binding relationship and execute command signal;The control module is according to
Executing command signal control and the action signal, there is the electric appliance of the binding relationship to generate respective action.
Preferably, also store the working condition of all electric appliances in the cloud storage module, the working condition is shown in real time
Show over the display.
The present invention also provides a kind of binding methods of controllable key switch system, when Terminal Control Element issues binding life
It enables, when updating unit receives the bind command and receives the action signal that switch issues, is searched from the first storage unit
The corresponding binding relationship of the bind command and the control module for being stored with the binding relationship are deleted described first and are deposited
The binding relationship in storage unit and the control module, and first storage unit and with the bind command
The new binding relationship is established in the corresponding control module.
Preferably, the updating unit receives the solution binding when the Terminal Control Element issues solution bind command
Order, the corresponding binding relationship of the solution bind command is searched from first storage unit and there are the bindings
The control module of relationship deletes the binding relationship in first storage unit and the control module.
Above-mentioned technical proposal has the following advantages that or the utility model has the advantages that by intelligent terminal module, can free switching it is different
Binding relationship between electric appliance movement and different switch motions, so using the key switch system, so that switch makes
Wider with range, user's operation is convenient, reduces the number of switch, has saved cost;The control method of key switch system, is opened
Pass is not only able to control electric appliance movement by control module connected to it, additionally it is possible to across control module realization control electric appliance movement
Effect, while a switch motion is no longer limited to the fixed movement of fixed electric appliance, but can control a variety of electric appliances simultaneously
Different movements, it is more convenient to reduce operating procedure;By the way that binding processing is bound or solved to binding relationship, mention
The high use scope of switch so that the key switch system and be no longer limited to existing binding relationship, when replacement or
When adding electric appliance, do not need additionally to increase switch, and client can be allowed in use according to personal interest to switch
Binding relationship be modified, improve usage comfort.
Detailed description of the invention
With reference to appended attached drawing, more fully to describe the embodiment of the present invention.However, appended attached drawing be merely to illustrate and
It illustrates, and is not meant to limit the scope of the invention.
Fig. 1 is a kind of structural schematic diagram one of controllable key switch system of the present invention;
Fig. 2 is a kind of structural schematic diagram two of controllable key switch system of the present invention;
Fig. 3 is a kind of structural schematic diagram three of controllable key switch system of the present invention.
Specific embodiment
In the following with reference to the drawings and specific embodiments to a kind of controllable key switch system of the present invention and its control, binding side
Method is described in detail.
Embodiment one
As shown in Figure 1, a kind of controllable key switch system, comprising:
Intelligent terminal module, user issue binding and/or solution binding letter to switching system by the intelligent terminal module
Number, to control the binding relationship in the key switch system;
Cloud storage module is connected with the intelligent terminal and multiple control modules, for all in storage switch system
Binding relationship, and the binding of intelligent terminal module sending and/or the control signal of solution binding signal and control module sending are received,
Realize the regulation to the switching system;
Multiple control modules, the control module is connected at least one switch and cloud storage module respectively, for detecting
The action signal of switch simultaneously controls the corresponding order of electric appliance execution, and can be to action signal described in cloud storage module forwards;
Multiple switch, each switch correspond to a fixed control module, to act to the control module sending
Signal.
As shown in Fig. 2, the cloud storage module includes:
First data storage cell, first data storage cell are used to store all bindings in the switching system
Relationship;
First query unit is connected with the control module and the cloud storage module respectively, receives the control mould
The action signal that block issues, and corresponding binding is searched from first data storage cell according to the action signal and is closed
System;
First processing units are connected with the query unit, receive the binding relationship that the query unit is found and generate
It is corresponding to execute command signal, corresponding control module receive the execution command signal to realize to the execution command signal
Electric appliance with binding relationship generates respective action;
Updating unit, respectively with the intelligent terminal module, first data storage cell and second data
Storage unit is connected, the binding/unbinding signal issued for receiving the intelligent terminal module, and according to the binding/solution
Signal is bound, the binding relationship in first data storage cell and corresponding second data storage cell is updated.This is tied up
Determine relationship and refers to that different action signals control different electric appliances and execute different movements;
State storage unit is connected with the first processing units, and the state-storage module stores all electric appliances
Working condition, receives the first processing units and described the second processing unit feedback comes the working condition and real-time update of electric appliance
Storage relationship.
Wherein, it is worth noting that, since in the present system, all binding relationships all refer to different switch motions i.e.
Relationship between action signal, different electric appliance and different electric appliance movements, then the respective action refers to, believes with movement
Electric appliance number with binding relationship generates, and there is the electric appliance of binding relationship to act.For example, when a certain switch presses production
The opening action of raw action signal and air-conditioning and air-conditioning has binding relationship, then switch presses generated movement
The respective action that signal control with the action signal there is the control of binding relationship to generate is to open air-conditioning.
As shown in figure 3, the control module includes:
Second data storage cell is connected with the updating unit, for storing all of its corresponding control module
Binding relationship, and the binding/unbinding signal that the updating unit issues can be received, update stored binding relationship;
Second query unit is connected with second data storage cell and the switch respectively, described for receiving
The action signal issued is switched, and is searched from second data storage cell and the action signal according to the action signal
Corresponding binding relationship issues query result if there is corresponding binding relationship in second data storage cell;If
It was found that corresponding binding relationship is stored in the first data storage cell in whole or in part, then action signal is transferred at first
Manage unit;
The second processing unit receives that the second query unit in the control module where it issues or the in cloud storage
The query result that one processing unit issues controls corresponding electric appliance and executes corresponding movement, and the movement is transferred to state and is deposited
Storage unit.
The intelligent terminal module includes Terminal Control Element and display unit:
The Terminal Control Element is connected with the updating unit, to issue binding and/or solution to the updating unit
Bind signal;
The display unit is connected with the state storage unit, and the state storage unit is by the work shape of the electric appliance
State is transferred to display unit, working condition of the display unit to show current all electric appliances in real time.
The binding relationship includes several binding datas, and includes one-to-one dynamic in every binding data
Make the action message of signal message, the identification information of electric appliance and electric appliance.Action signal, the action signal are generated when some is switched
Specific one or several electric appliances and the specific movement of statement, this action signal, specific electric appliance and electric appliance can be controlled
Specific action, be formed a binding data.Specifically, such as switch A is pressed once, can control lamp B opening, then
Action signal switch A presses primary, lamp B and lamp B and opens, these three information just constitute a binding data.
Specifically, regulatable key switch system includes at least one control module, and under each control module
At least it is fixedly connected with a switch.When work, some switch is pressed, it is made to generate some action signal.It is worth noting that right
It is switched in one, the movement pressed is different, then the action signal generated also can be different, specifically, presses the movement packet of switch
It includes and presses once and continuously pressed in specific time multiple etc..It is corresponding with the switch after switch generates action signal
The second query unit in control module receives the action signal, judges the action signal with the presence or absence of corresponding binding relationship.
When there are the binding relationship and the binding relationship is present in the second data storage cell in the control module, then described
Two processing units search the corresponding binding relationship in the second data storage cell, issue corresponding query result, and control is dynamic with this
Corresponding movement occurs for one or several electric appliances for making signal binding;When there are binding relationship, still the binding relationship is not deposited
The action signal is then sent to the first query unit, the first query unit is stored from the first data in the control module by storage
Inquire the action signal all binding relationships accordingly in unit, the first processing units are according to these binding relationships to correspondence
Control module issue it is corresponding execute command signal, control the dynamic of one or more electric appliance across control module to realize
Make;When there are binding relationship but when the binding relationship is present in incessantly in the control module, in the control module second at
Reason unit controls corresponding electric appliance and acts, and the action signal is transferred to cloud storage and carries out the other electricity of cross-module control
Device movement;At this point, cloud storage no longer issues corresponding order to the control module, i.e., the control module is only performed once order,
This mode prevents an action signal that control module is caused to carry out the problem of executing operation twice;It is closed if there is no binding
System, then with regard to not handling this action signal.
From the aforegoing it can be seen that a movement of a switch, can control at least one by corresponding control module
A electric appliance, can also control at least one electric appliance by other control modules, i.e. an action signal can be achieved at the same time pair
The control of multiple electric appliances.So a certain switch can be set in cloud storage and/or control module by Terminal Control Element
The corresponding scene of a certain movement can control a variety of electric appliances simultaneously and act that is, when executing the movement.For example, a when having
Scene is when going home, which corresponds to the various motion for opening the electric appliances such as lamp, air-conditioning, water heater, when by pressing switch one
Start the scene after lower, is acted accordingly then the generations such as lamp, air-conditioning and water heater can be controlled simultaneously.
In addition, by control corresponding electric appliance after processing corresponding movement, the movement packet of electric appliance here occur for action signal
Opening, closing and some linkage item are included, such as when room temperature is higher than some temperature, how much control air conditioner refrigerating spends;When room temperature is low
When some temperature, control air-conditioning heating to how many degree.For certain action signals, control electric appliance is executed for the first time and is generated
One movement, when executing for the second time, control electric appliance generates an opposite action.It is primary such as to press a certain switch key, electric light is opened, the
Secondary when pressing, electric light is closed.
In addition, new binding relationship can also be established by Terminal Control Element, or original binding relationship is released, shown
Show that unit can also show the working condition of all electric appliances in entire switching system.
The key switch system, by first processing units and the second processing unit, realizing switch can be across control
Module controls different electric appliances and executes different movements.Because a switch motion can control multiple electric appliances while act,
It is achieved that the control to scene.It, being capable of the movement of free switching difference electric appliance and different switches by intelligent terminal module
Binding relationship between movement.So using the key switch system, so that the use scope of switch is wider, user's operation side
Just, the number for reducing switch, has saved cost.
Embodiment two
According to a kind of controllable key switch system that above-described embodiment proposes, the present embodiment propose it is a kind of it is controllable by
The control method of key switch system.
A kind of control method of controllable key switch system, comprising steps of
It presses switch and issues action signal;
The control module being connected with the switch receives the action signal, judges the action signal with the presence or absence of corresponding binding
Relationship controls corresponding electric appliance generation movement or without any processing;
After cloud storage receives the action signal, act corresponding with the action signal occurs for a control at least electric appliance.
Specifically, after switch issues action signal, the second query unit in control module for being connected with the switch
It receives the action signal and searches whether exist in the second data storage cell there are the corresponding binding relationship of the action signal
Three kinds of situations below:
(1) there are the binding relationships in second data storage cell, issue inquiry knot to described the second processing unit
Fruit, described the second processing unit is controlled according to the query result has the electric appliance generation of binding relationship corresponding with the action signal
Movement;
(2) there are there is no this to tie up in corresponding binding relationship but second data storage cell for the action signal
Determine relationship, the action signal is transferred to the cloud storage by described the second processing unit;The first inquiry in the cloud storage
Unit receives the action signal, and the corresponding binding relationship of the action signal is searched in first data storage cell, and
Command signal is executed to issuing with control module corresponding to the binding relationship;The second processing unit in the control module connects
The execution command signal is received, electric appliance corresponding with the binding relationship is controlled and generates corresponding movement;
(3) binding relationship corresponding to the action signal is present in incessantly in second data storage cell, described
Second query unit sends the query result and the action signal that find from second data storage cell
To described the second processing unit, described the second processing unit, which receives the query result and controls corresponding electric appliance, generates corresponding move
Make, while the action signal is transferred to cloud storage;Wherein, described the second processing unit controls after receiving the query result
Other control modules in addition to the control module where second query unit control corresponding electric appliance movement, this mode
The problem of preventing an action signal that control module is caused to act twice.
The first query unit in the cloud storage receives the action signal, looks into first data storage cell
The corresponding binding relationship of the action signal is looked for, and executes command signal to issuing with control module corresponding to the binding relationship;
The second processing unit in the control module receives the execution command signal, controls electricity corresponding with the binding relationship
Device generates corresponding movement;
(4) action signal and be not present binding relationship, it is without any processing.
The control method of this key switch system, switch are not only able to control electric appliance by control module connected to it
Movement, additionally it is possible to the effect of across control module realization control electric appliance movement.A switch motion simultaneously is no longer limited to fixed electricity
The fixed movement of device, but the different movements of a variety of electric appliances can be controlled simultaneously, thus reduce operating procedure, it is more convenient.
Embodiment three
A kind of regulatable key switch system and its control method proposed according to above-described embodiment, the present embodiment propose
A kind of binding method of regulatable key switch system.
A kind of binding method of controllable key switch system, comprising steps of
When the Terminal Control Element issues solution bind command, the updating unit in the cloud storage receives the unbundlings
Determine signal, corresponding binding relationship is searched from first storage unit and there are the control module of the binding relationship, deletes
Except the corresponding binding relationship in the first storage unit and the control module in the second storage unit;Wherein, the binding life
Order refers to, establishes new the first binding relationship and/or the second binding relationship;The solution bind command refers to, deletes original the
One binding relationship and/or the second binding relationship;
When the Terminal Control Element issues bind command, the updating unit in the cloud storage receives the binding letter
Number and receive whithin a period of time bound switch issue corresponding actions signal, judge the binding signal with
Corresponding switch motion and electric appliance search the switch motion and electric appliance with the presence or absence of other from first storage unit
Binding relationship releases original binding relationship, and update in first storage unit and corresponding control module second
Storage unit;New binding relationship is established later and updates first storage unit and the corresponding control module of the switch
In the second storage unit;
When the Terminal Control Element issues bind command, the updating unit in the cloud storage receives the binding letter
Number but received within the specific time need bind switch issue corresponding action signal, then, judgement
Bind command failure, it is without any processing.
Binding processing is bound or solved to binding relationship by this method, the use scope of switch is improved, so that institute
State key switch system and existing binding relationship is no longer limited to, when replacing or when addition electric appliance, do not need additionally to increase
Increase pass;And client can be allowed to be modified in use according to binding relationship of the personal interest to switch, it improves
Usage comfort.
For a person skilled in the art, after reading above description, various changes and modifications undoubtedly be will be evident.
Therefore, appended claims should regard the whole variations and modifications for covering true intention and range of the invention as.It is weighing
The range and content of any and all equivalences, are all considered as still belonging to the intent and scope of the invention within the scope of sharp claim.