CN106355852A - Equipment control method and device - Google Patents

Equipment control method and device Download PDF

Info

Publication number
CN106355852A
CN106355852A CN201610730453.9A CN201610730453A CN106355852A CN 106355852 A CN106355852 A CN 106355852A CN 201610730453 A CN201610730453 A CN 201610730453A CN 106355852 A CN106355852 A CN 106355852A
Authority
CN
China
Prior art keywords
movement locus
remote control
equipment
control instruction
relation table
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.)
Granted
Application number
CN201610730453.9A
Other languages
Chinese (zh)
Other versions
CN106355852B (en
Inventor
苏本昌
丁一
侯恩星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610730453.9A priority Critical patent/CN106355852B/en
Publication of CN106355852A publication Critical patent/CN106355852A/en
Application granted granted Critical
Publication of CN106355852B publication Critical patent/CN106355852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Abstract

The invention relates to an equipment control method and device. The equipment control method comprises the following steps: when the generation of a motion signal is detected, acquiring a first time when the last motion signal is generated; when the time difference between the first time and a current second time is less than a time difference threshold, acquiring a current first motion track of remote control equipment; combining the first motion track with an acquired motion track of the remote control equipment, so as to generate a second motion track; when determining that the complete second motion track is acquired, ending the acquiring of the motion track, and generating a first control instruction carrying the second motion track; and sending the first control instruction to gateway equipment by virtue of a ZigBee protocol, wherein the first control instruction is used for instructing the gateway equipment to control target equipment according to the second motion track. Therefore, according to the technical scheme, a user only needs to simply change the motion track of the remote control equipment, so as to realize the control of intelligent household equipment, so that the operation is relatively simple, and the blind control requirement of the user is met.

Description

Apparatus control method and device
Technical field
It relates to field of computer technology, more particularly, to a kind of apparatus control method and device.
Background technology
With the development of Intelligent hardware technology, the intelligent home device in domestic environment gets more and more, in correlation technique, When intelligent home device is controlled, can be by operation and the matching used remote control of this intelligent home device or intelligence Terminal (as smart mobile phone, panel computer etc.) is realized.However, being carried out to intelligent home device using remote control or intelligent terminal When being controlled, user needs to dig-in the operated key of remote control or the operation interface of intelligent terminal it is impossible to realize blind control.
Content of the invention
For overcoming problem present in correlation technique, the embodiment of the present disclosure provides a kind of apparatus control method and device, uses To meet the blind control demand for remote control equipment for the user.
According to the embodiment of the present disclosure in a first aspect, provide a kind of apparatus control method, be applied to remote control equipment, described distant Control equipment and gateway device are communicatively coupled by zigbee agreement, and methods described includes:
After generation motor message is detected, obtain the very first time producing last motor message;
When time difference between the described very first time and the second current time is less than time difference threshold value, obtain described distant Current first movement locus of control equipment;
Described first movement locus are merged generation the second movement locus with the movement locus of described remote control equipment acquisition;
To be determined terminate to obtain movement locus when having obtained the second complete movement locus, and generate and carry described second First control instruction of movement locus;
By described zigbee agreement, described first control instruction is sent to gateway device, wherein, described first control Instruct for indicating that gateway device is controlled to target device according to described second movement locus.
In one embodiment, methods described also includes:
When time difference between the described very first time and the second current time is more than time difference threshold value, restart to obtain Take current first movement locus of described remote control equipment, and merge generation second with the movement locus of described remote control equipment acquisition Movement locus.
In one embodiment, methods described also includes:
When being not detected by motor message in scheduled time length, determine and obtained the second complete movement locus.
In one embodiment, methods described also includes:
When generation acceleration signal is detected by 3-axis acceleration sensor, determine and generation motor message is detected.
In one embodiment, methods described also includes:
Record the described time producing motor message, and the described state producing motor message.
In one embodiment, methods described also includes:
When by 3-axis acceleration sensor detect generation acceleration signal and gyroscope be not detected by angle and become During change, determine that described first movement locus are planar movement;
When angle being detected by gyroscope changing, determine that described first movement locus are rotation.
According to the second aspect of the embodiment of the present disclosure, a kind of apparatus control method is provided, is applied to gateway device, described net Pass equipment and remote control equipment are communicatively coupled by zigbee agreement, and methods described includes:
Receive the first control instruction that remote control equipment is sent by described zigbee agreement, wherein, described first control refers to The second movement locus of described remote control equipment are carried in order;
According to target device corresponding preset relation table, determine corresponding second control instruction of described second movement locus, Wherein, comprise the corresponding relation between the second movement locus of remote control equipment and control instruction in described preset relation table;
Described target device is controlled to execute operation corresponding with described second control instruction.
In one embodiment, methods described also includes:
Receive relation table setting instruction, wherein, in described relation table setting instruction, carry the second motion of remote control equipment Corresponding relation between track and control instruction;
According to the corresponding relation carrying in the setting instruction of described relation table, update local described preset relation table.
In one embodiment, methods described also includes:
Receive relation table change directive, wherein, carry for described preset relation in described relation table change directive The information that the corresponding relation comprising in table is modified;
According to the information carrying in described relation table change directive, to the correspondence comprising in local described preset relation table Relation is modified.
In one embodiment, described receive the first control instruction of being sent by described zigbee agreement of remote control equipment it Before, also include:
Receiving device designated order, wherein, described equipment designated order is used for specifying needs device to be controlled;
Equipment specified by described equipment designated order is defined as target device.
According to the third aspect of the embodiment of the present disclosure, a kind of plant control unit is provided, is applied to remote control equipment, described distant Control equipment and gateway device are communicatively coupled by zigbee agreement, and described device includes:
First acquisition module, after being configured to detect generation motor message, obtains and produces the of last motor message One time;
Second acquisition module, is configured to when the very first time that described first acquisition module gets is with current second Between between time difference be less than time difference threshold value in the case of, obtain remote control equipment current first movement locus;
First generation module, is configured to the first movement locus of getting described second acquisition module and described remote control The movement locus of equipment acquisition merge generation the second movement locus;
Second generation module, is configured to be determined when having obtained the second complete movement locus, terminates to obtain motion rail Mark, and generate the first control instruction carrying the second movement locus that described first generation module generates;
Sending module, is configured to described zigbee agreement, the first control that described second generation module is generated Instruction is sent to gateway device, and wherein, described first control instruction is used for indicating gateway device according to described second movement locus Target device is controlled.
In one embodiment, described device also includes:
3rd acquisition module, is configured to when the very first time that described first acquisition module gets is with current second Between between time difference be more than time difference threshold value in the case of, restart to obtain the current first motion rail of described remote control equipment Mark, and generation the second movement locus are merged with the movement locus of described remote control equipment acquisition.
In one embodiment, described device also includes:
First determining module, in the case of being configured to be not detected by motor message in scheduled time length, determines Obtain the second complete movement locus.
In one embodiment, described device also includes:
Second determining module, is configured to the situation producing acceleration signal is being detected by 3-axis acceleration sensor Under, determine and generation motor message is detected.
In one embodiment, described device also includes:
Logging modle, is configured to record the described time producing motor message, and the described shape producing motor message State.
In one embodiment, described device also includes:
3rd determining module, is configured to generation acceleration signal and gyro is being detected by 3-axis acceleration sensor Instrument is not detected by the case that angle changes, determining that described first movement locus are planar movement;
4th determining module, is configured to detected by gyroscope in the case that angle changes, determines described First movement locus are rotation.
According to the fourth aspect of the embodiment of the present disclosure, a kind of plant control unit is provided, is applied to gateway device, described net Pass equipment and remote control equipment are communicatively coupled by zigbee agreement, and described device includes:
First receiver module, is configured to receive the first control instruction that remote control equipment is sent by zigbee agreement, its In, carry the second movement locus of described remote control equipment in described first control instruction;
5th determining module, is configured to, according to target device corresponding preset relation table, determine described second motion rail Corresponding second control instruction of mark, wherein, the second movement locus comprising remote control equipment in described preset relation table are referred to control Corresponding relation between order;
Control module, is configured to the second control controlling described target device execution to determine with described 5th determining module System instructs corresponding operation.
In one embodiment, described device also includes:
Second receiver module, is configured to receive relation table setting instruction, wherein, carries in described relation table setting instruction There is the corresponding relation between the second movement locus of remote control equipment and control instruction;
Update module, carry in being configured to be instructed according to the relation table setting that described second receiver module receives is right Should be related to, update local described preset relation table.
In one embodiment, described device also includes:
3rd receiver module, is configured to receive relation table change directive, wherein, carries in described relation table change directive There is the information for being modified to the corresponding relation comprising in described preset relation table;
Change module, is configured to the letter carry in the relation table change directive receiving according to described 3rd receiver module Breath, is modified to the corresponding relation comprising in local described preset relation table.
In one embodiment, described device also includes:
4th receiver module, is configured to receiving device designated order, and wherein, described equipment designated order is used for specifying to be needed Device to be controlled;
Equipment determining module, is configured to setting specified by the equipment designated order that receives described 4th receiver module Standby it is defined as target device.
According to the 5th aspect of the embodiment of the present disclosure, provide a kind of plant control unit, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
After generation motor message is detected, obtain the very first time producing last motor message;
When time difference between the described very first time and the second current time is less than time difference threshold value, obtain described distant Current first movement locus of control equipment;
Described first movement locus are merged generation the second movement locus with the movement locus of described remote control equipment acquisition;
To be determined terminate to obtain movement locus when having obtained the second complete movement locus, and generate and carry described second First control instruction of movement locus;
By described zigbee agreement, described first control instruction is sent to gateway device, wherein, described first control Instruct for indicating that gateway device is controlled to target device according to described second movement locus.
According to the 6th aspect of the embodiment of the present disclosure, provide a kind of plant control unit, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive the first control instruction that remote control equipment is sent by described zigbee agreement, wherein, described first control refers to The second movement locus of described remote control equipment are carried in order;
According to target device corresponding preset relation table, determine corresponding second control instruction of described second movement locus, Wherein, comprise the corresponding relation between the second movement locus of remote control equipment and control instruction in described preset relation table;
Described target device is controlled to execute operation corresponding with described second control instruction.
In the present embodiment, user only need to simply convert the movement locus of remote control equipment it is possible to realize to intelligent family Occupy the control of equipment, operation is fairly simple, meets the blind control demand of user.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the present invention Example, and be used for explaining the principle of the present invention together with description.
Fig. 1 a is a kind of flow chart of the apparatus control method according to an exemplary embodiment;
Fig. 1 b is the application scenario diagram that two the first movement locus according to an exemplary embodiment are synthesized;
Fig. 1 c is a kind of application scenario diagram of the method shown in Fig. 1 a according to an exemplary embodiment;
Fig. 1 d is another kind of application scenario diagram of the method shown in Fig. 1 a according to an exemplary embodiment;
Fig. 2 a is the flow chart of another kind of apparatus control method according to an exemplary embodiment;
Fig. 2 b is a kind of application scenario diagram of the method shown in Fig. 2 a according to an exemplary embodiment;
Fig. 3 is the flow chart of another kind of apparatus control method according to an exemplary embodiment;
Fig. 4 is a kind of signaling process figure of the apparatus control method according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of the plant control unit according to an exemplary embodiment;
Fig. 6 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Fig. 7 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Fig. 8 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Fig. 9 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Figure 10 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Figure 11 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Figure 12 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Figure 13 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Figure 14 is the block diagram of another kind of plant control unit according to an exemplary embodiment;
Figure 15 is a kind of block diagram for plant control unit according to an exemplary embodiment;
Figure 16 is the block diagram for plant control unit for the another kind according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
The term using in the disclosure is the purpose only merely for description specific embodiment, and is not intended to be limiting the disclosure. " a kind of ", " described " and " being somebody's turn to do " of singulative used in disclosure and the accompanying claims book is also intended to including most Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated any or all possible combination listing project.
It will be appreciated that though various information may be described using term first, second, third, etc. in the disclosure, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of disclosure scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
With the development of Intelligent hardware technology, the intelligent home device in domestic environment gets more and more, in correlation technique, When intelligent home device is controlled, can be by operation and the matching used remote control of this intelligent home device or intelligence Terminal such as smart mobile phone, panel computer etc. are realized.However, carrying out intelligent home device is entered using remote control or intelligent terminal When row controls, user needs to dig-in the operated key of remote control or the operation interface of intelligent terminal it is impossible to realize blind control.For understanding Certainly the problems referred to above, present disclose provides a kind of apparatus control method and device.
A kind of the apparatus control method first below disclosure being provided is introduced.
As shown in Figure 1a, Fig. 1 a is a kind of flow chart of the apparatus control method according to an exemplary embodiment, should For remote control equipment, this remote control equipment and gateway device are communicatively coupled by zigbee agreement, the method can include with Lower step:
In a step 101, after generation motor message is detected, obtain the very first time producing last motor message.
Remote control equipment in the present embodiment may include that magic square sensor, smart mobile phone, panel computer and mouse etc. are built-in There is the electronic equipment of 3-axis acceleration sensor and gyroscope.Remote control equipment in the present embodiment can be passed through with gateway device Zigbee agreement is communicatively coupled, to control the intelligent home device in domestic environment by gateway device.
Zigbee agreement is a kind of low-power consumption LAN protocol Ji Yu ieee802.15.4 standard (2.4ghz frequency range), is A kind of short distance, the wireless communication technology of low-power consumption, the advantage of zigbee agreement is ad hoc capability, can support 65000 Individual equipment network, additionally, for smart home, zigbee agreement still another advantage of the present invention be exactly its safety very Height, is difficult to be cracked.
3-axis acceleration sensor in the present embodiment can measure due to gravity produce acceleration it is also possible to measurement by The acceleration that pull strength produces.
Based on above-mentioned situation, in an embodiments possible, can be by the 3-axis acceleration sensor in remote control equipment To determine whether generation motor message is detected, accordingly, when detecting by the 3-axis acceleration sensor in remote control equipment When producing acceleration signal, determine and generation motor message is detected.
In a step 102, when the time difference between the very first time and the second current time is less than time difference threshold value, obtain Take current first movement locus of remote control equipment.
In the present embodiment, current product can be determined according to the time difference between the very first time and current second time Whether the motion corresponding to raw motor message is coherent motion with the last motion corresponding to motor message producing, when When time difference between the very first time and current second time is less than time difference threshold value, determine the motion moved twice as linking up, Now, current first movement locus of remote control equipment are obtained.
It should be noted that the time difference threshold value in the present embodiment can empirically be set it is also possible to according to reality Border demand is self-defined, and the present embodiment is not construed as limiting to this.
The first movement locus in the present embodiment may include that planar movement, rotation such as 90 degree upset, 180 degree overturn, Upthrow rotation etc..
In the present embodiment, when by 3-axis acceleration sensor detect generation acceleration signal and gyroscope do not detect To angle change when, determine that the first movement locus are planar movement, when angle being detected by gyroscope changing, Determine that the first movement locus are rotation.Further, specific angle change value can be detected by gyroscope, to determine distant The angle of control equipment upset.In the same manner it is also possible to principle is determined by above-mentioned track, determine the first fortune that remote control equipment has got Dynamic rail mark is planar movement or rotation.
In step 103, the first movement locus are merged generation second motion with the movement locus of remote control equipment acquisition Track.
In the present embodiment, the time producing motor message can be recorded, and the state of this generation motor message, so that Directly remote control can be extracted from the time of the generation movable information being recorded and state when needing to carry out track merging to set The movement locus of standby acquisition.
At step 104, to be determined when having obtained the second complete movement locus, terminate to obtain movement locus, and generate Carry the first control instruction of this second movement locus.
In the present embodiment, can determine whether to get the second complete movement locus by detecting motor message, In a feasible embodiment, when being not detected by motor message in scheduled time length, determine and obtained complete second Movement locus.
It should be noted that the predetermined time period in the present embodiment can empirically be set it is also possible to according to Actual demand is self-defined, and the present embodiment is not construed as limiting to this.
In step 105, by zigbee agreement, the first control instruction is sent to gateway device, wherein, this first control Instruction processed is used for indicating that gateway device is controlled to target device according to the second movement locus.
Gateway device in the present embodiment is used for coupling together the intelligent home device in domestic environment, and smart home sets For by this gateway device access network.Gateway device in the present embodiment is in addition to possessing basic gateway function, acceptable It is integrated with radio, night-light and alarm clock function.Target device in the present embodiment can be gateway device or access network Arbitrary intelligent home device of pass equipment.
When target device is for gateway device, gateway device is according to the second of the remote control equipment carrying in the first control instruction Movement locus, determine corresponding second control instruction of this second movement locus, according to this second control instruction to this gateway device Integrated function (such as radio) is controlled.
When target device is for the intelligent home device of accessing gateway equipment, gateway device is taken according in the first control instruction Second movement locus of the remote control equipment of band, determine corresponding second control instruction of this second movement locus, second is controlled and refers to Order is sent to and accesses a local intelligent home device, and, after receiving the second control instruction, execution should for this intelligent home device The corresponding operation of second control instruction.
For the ease of understanding to the movement locus of remote control equipment, in an exemplary application taking magic square sensor as a example In scene, as shown in Figure 1 b, the first movement locus that magic square sensor obtains are Plane Rotation, and the movement locus of acquisition are flat Face is moved, and planar movement being merged the second movement locus generating with Plane Rotation is first planar movement and then Plane Rotation.
For the ease of understanding to method shown in Fig. 1 a, in an exemplary application scene, as illustrated in figure 1 c, this application Scene includes: remote control equipment 110 and gateway device 120, and remote control equipment 110 and gateway device 120 pass through zigbee agreement and lead to Letter connects, and in this application scene, gateway device 120 is target device, and remote control equipment 110 is getting second fortune of this equipment After dynamic rail mark, generating record has the first control instruction of this second movement locus, and the first control instruction is sent to gateway device 120, gateway device 120, according to the second movement locus of the remote control equipment 110 carrying in the first control instruction, determines this second fortune Corresponding second control instruction of dynamic rail mark, afterwards control the machine execution to should the second control instruction operation.
In another exemplary application scenarios, as shown in Figure 1 d, this application scenarios includes: remote control equipment 130, gateway set Standby 140, intelligent bulbs 150 and intelligent radio 160, remote control equipment 130 is communicated to connect with gateway device 140, intelligent bulbs 150 With intelligent radio 160 accessing gateway equipment 140, in this application scene, it is possible to specify target device, for example, intelligence is specified to receive Sound machine 160 be target device, remote control equipment 130 after getting second movement locus of this equipment, generate record have this second First control instruction of movement locus, this first control instruction is sent to gateway device 140, and gateway device 140 is according to first Second movement locus of the remote control equipment 130 carrying in control instruction, determine that this second movement locus corresponding second control and refer to Order, this second control instruction is sent to this intelligent radio 160, after this intelligent radio 160 receives the second control instruction, Execute this corresponding operation of the second control instruction.
As seen from the above-described embodiment, in this embodiment, user only need to simply convert the movement locus of remote control equipment, just The control to intelligent home device can be realized, operation is fairly simple, meets the blind control demand of user.
In another kind of embodiment of the offer of the disclosure, this embodiment can on the basis of Fig. 1 a illustrated embodiment, Increase following steps:
When time difference between the very first time and the second current time is more than time difference threshold value, restart to obtain distant Current first movement locus of control equipment, and generation the second movement locus are merged with the movement locus of remote control equipment acquisition.
In the present embodiment, current product can be determined according to the time difference between the very first time and current second time Whether the motion corresponding to raw motor message is coherent motion with the last motion corresponding to motor message producing, when When time difference between the very first time and current second time is more than time difference threshold value, determine that moving twice is not coherent fortune Dynamic, now, obtain again current first movement locus of remote control equipment.
Corresponding to the apparatus control method being applied to remote control equipment shown in Fig. 1 a, the disclosure additionally provides and is applied to gateway The apparatus control method of equipment.
As shown in Figure 2 a, Fig. 2 a is the flow chart of another kind of apparatus control method according to an exemplary embodiment, It is applied to gateway device, this gateway device and remote control equipment are communicatively coupled by zigbee agreement, the method can include Following steps:
In step 201, receive the first control instruction that remote control equipment is sent by zigbee agreement, wherein, this first The second movement locus of this remote control equipment are carried in control instruction.
Remote control equipment in the present embodiment may include that magic square sensor, smart mobile phone, panel computer and mouse etc. are built-in There is the electronic equipment of 3-axis acceleration sensor and gyroscope.Gateway device in the present embodiment is used for the intelligence in domestic environment Can home equipment couple together, intelligent home device passes through this gateway device access network.Gateway device in the present embodiment can To be communicatively coupled by zigbee agreement with remote control equipment, to control the smart home in domestic environment by gateway device Equipment.
Zigbee agreement is a kind of low-power consumption LAN protocol Ji Yu ieee802.15.4 standard (2.4ghz frequency range), is A kind of short distance, the wireless communication technology of low-power consumption, the advantage of zigbee agreement is ad hoc capability, can support 65000 Individual equipment network, additionally, for smart home, zigbee agreement still another advantage of the present invention be exactly its safety very Height, is difficult to be cracked.
In step 202., according to target device corresponding preset relation table, determine corresponding second control of the second movement locus System instruction, wherein, comprises the corresponding relation between the second movement locus of remote control equipment and control instruction in this preset relation table.
The second control instruction in the present embodiment is used for control targe equipment and executes corresponding operation.
In the present embodiment, it is directed to same target device, the second different movement locus correspond to different control instructions, For example, when target device is intelligent radio, the second movement locus " plane translation " correspond to control instruction and " play/suspend and broadcast Put ", corresponding control instruction " switching to next radio station " of the second movement locus " turn over and turn 90 degrees " etc.;It is directed to different targets Equipment, the different control instruction of same second movement locus correspondence, for example, when target device is intelligent radio, the second fortune Dynamic rail mark " plane translation " corresponds to control instruction " play/suspend and play ", and when target device is for intelligent bulbs, the second motion Track " plane translation " corresponds to control instruction " opening/close bulb ".
In step 203, control targe equipment executes operation corresponding with the second control instruction.
In an exemplary application scene, as shown in Figure 2 b, this application scenarios includes: remote control equipment 210, gateway device 220th, target device 230, be stored with gateway device 220 preset relation table 240 corresponding with target device 230, this default pass Be in table 240 record have remote control equipment 210 movement locus and for control targe equipment 230 control instruction between corresponding Relation, remote control equipment 210 is communicated to connect by zigbee agreement with gateway device 220, target device 230 accessing gateway equipment 220.When user converts the movement locus of remote control equipment 210, remote control equipment 210 obtains corresponding second movement locus, generates Record the first control instruction of this second movement locus, and the first control instruction is sent to gateway device 220, gateway device 220 determine corresponding second control instruction of the second movement locus of remote control equipment 210 according to preset relation table 240, and second is controlled Instruction processed is sent to target device 230, and target device 230 executes the corresponding operation of the second control instruction, for example, work as remote control equipment When 210 the second movement locus are " Plane Rotation ", target device 230 reduces volume, when the second motion rail of remote control equipment 210 When mark is " upset 180 degree ", target device 230 is switched to a radio station.
As seen from the above-described embodiment, the gateway device in this embodiment can be true according to the second movement locus of remote control equipment Surely it is used for the control instruction of control targe equipment, and control this target device to execute the corresponding operation of this control instruction, thus real Existing user only need to simply convert the movement locus of remote control equipment it is possible to realize the control to intelligent home device, operation ratio Relatively simple, meet the blind control demand of user.
In another kind of embodiment that the disclosure provides, can be by the terminal unit such as smart mobile phone, panel computer to net Preset relation table in the equipment of pass is updated or changes, and specifically, user can input desired scene on the terminal device Control logic, terminal unit can be by rpc order, by the movement locus of this corresponding remote control equipment of scenery control logic and use Corresponding relation between the control instruction of control targe equipment is issued to gateway device, expects self-defined control to meet user The demand of relation, the control function of abundant remote control equipment, extend to more application scenarios.
Accordingly, in another kind of embodiment that the disclosure provides, this embodiment can be in the base of Fig. 2 a illustrated embodiment On plinth, increase following steps: receive relation table setting instruction, wherein, in the setting instruction of this relation table, carry remote control equipment Corresponding relation between second movement locus and control instruction;The corresponding relation carrying in being instructed according to the setting of this relation table, more Newly local preset relation table.
Accordingly, in another kind of embodiment that the disclosure provides, this embodiment can be in the base of Fig. 2 a illustrated embodiment On plinth, increase following steps: receive relation table change directive, wherein, carry for gateway in this relation table change directive The information that the corresponding relation comprising in preset relation table in equipment is modified;According to carry in this relation table change directive Information, is modified to the corresponding relation comprising in local preset relation table.
As shown in figure 3, Fig. 3 is the flow chart of another kind of apparatus control method according to an exemplary embodiment, when When gateway device accesses multiple intelligent home device, can set the goal equipment from multiple intelligent home device middle fingers, the now party Method may comprise steps of:
In step 300, receiving device designated order, wherein, this equipment designated order is used for specifying needs control to set Standby, the equipment specified by this equipment designated order is defined as target device.
In the present embodiment, when gateway device accesses multiple intelligent home device, user can pass through smart mobile phone, put down The terminal units such as plate computer specifying target device, specifically, the target device assigned operation of terminal unit receive user, according to This target device assigned operation generates equipment designated order, and is sent to gateway device by specified for this equipment;Gateway device Receive this equipment designated order, the equipment that this equipment designated order is specified is defined as target device, thus completing target device Determination.
In the present embodiment it is also possible to pass through said process, complete the switching of target device, detailed process repeats no more.
In step 301, receive the first control instruction that remote control equipment is sent by zigbee agreement, wherein, this first The second movement locus of this remote control equipment are carried in control instruction.
In step 302, according to target device corresponding preset relation table, determine corresponding second control of the second movement locus System instruction, wherein, comprises the corresponding relation between the second movement locus of remote control equipment and control instruction in this preset relation table.
In step 303, control targe equipment executes operation corresponding with the second control instruction.
Step 201 in step 301 in the present embodiment~step 303, with Fig. 2 a illustrated embodiment~step 203 class Seemingly, the present embodiment repeats no more to this, the content detail as per in Fig. 2 a illustrated embodiment.
As seen from the above-described embodiment, in this embodiment it is possible to target device is specified by user, when gateway device access is many During individual intelligent home device, different intelligent home devices can be controlled by specifying target device.
As shown in figure 4, Fig. 4 is a kind of signaling process figure of the apparatus control method according to an exemplary embodiment, This signaling process in figure includes: remote control equipment, gateway device and target device;Wherein, remote control equipment execution following steps: s410 ~s414, gateway device executes following steps: s420 and s421, and target device executes s430;
Remote control equipment is first carried out s410: after generation motor message is detected, obtains and produces the of last motor message One time;When execution s411: the time difference between the very first time and the second current time is less than time difference threshold value afterwards, obtain Take current first movement locus of remote control equipment;Execute s412 afterwards: by the fortune of the first movement locus and remote control equipment acquisition Dynamic rail mark merges generation the second movement locus;Execute s413 afterwards: to be determined when having obtained the second complete movement locus, terminate Obtain movement locus, and generate the first control instruction carrying the second movement locus;Finally execute s414: assist by zigbee View, the first control instruction is sent to gateway device.
Gateway device, after receiving the first control instruction, executes s420: according to target device corresponding preset relation table, Determine corresponding second control instruction of the second movement locus, execute s421 afterwards: the second control instruction is sent to target device;
Target device after receiving the second control instruction, execution step 430: execution the corresponding behaviour of the second control instruction Make.
In an exemplary application scene, such as remote control equipment is magic square sensor, and gateway device is intelligent gateway, target Equipment is intelligent radio, when the second movement locus of magic square sensor are planar movement, intelligent gateway control intelligence radio reception Broadcast station is put/is suspended in machine sowing, and when the second movement locus of magic square sensor are to turn over to turn 90 degrees, intelligent gateway control is intelligently received Sound machine switches to next radio station, and when the second movement locus of magic square sensor are upset 180 degree, intelligent gateway control is intelligently received Sound machine switches to a radio station.
Although it should be noted that describe the operation of method of disclosure in the accompanying drawings with particular order, this does not require that Or hint must execute these operations according to this particular order, or having to carry out all shown operation just enables the phase The result hoped.On the contrary, the step described in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit some Step, multiple steps is merged into a step execution, and/or a step is decomposed into execution of multiple steps.
Corresponding with the embodiment of the apparatus control method in remote control equipment for the aforementioned applications, the disclosure additionally provide be applied to distant The embodiment of the plant control unit of control equipment.
As shown in figure 5, Fig. 5 is a kind of block diagram of the plant control unit according to an exemplary embodiment, it is applied to Remote control equipment, this remote control equipment and gateway device are communicatively coupled by zigbee agreement, and this device may include that
First acquisition module 510, after being configured to generation motor message is detected, obtains and produces last motor message The very first time;
Second acquisition module 520, is configured to the very first time and current second getting in the first acquisition module 510 In the case that time difference between time is less than time difference threshold value, obtain current first movement locus of remote control equipment;
First generation module 530, the first movement locus being configured to get the second acquisition module 520 are set with remote control The movement locus of standby acquisition merge generation the second movement locus;
Second generation module 540, is configured to be determined when having obtained the second complete movement locus, terminates to obtain motion Track, and generate the first control instruction of the second movement locus carrying the first generation module 530 generation;
Sending module 550, is configured to zigbee agreement, and the first control that the second generation module 540 is generated refers to Order is sent to gateway device, and wherein, this first control instruction is used for indicating that gateway device sets to target according to the second movement locus Standby it is controlled.
As seen from the above-described embodiment, in this embodiment, user only need to simply convert the movement locus of remote control equipment, just The control to intelligent home device can be realized, operation is fairly simple, meets the blind control demand of user.
As shown in fig. 6, Fig. 6 is the block diagram of another kind of plant control unit according to an exemplary embodiment, this is real Applying example can be on the basis of embodiment illustrated in fig. 5, and this device can also include:
3rd acquisition module 560, is configured to the very first time and current second getting in the first acquisition module 510 In the case that time difference between time is more than time difference threshold value, restart to obtain the current first motion rail of remote control equipment Mark, and generation the second movement locus are merged with the movement locus of remote control equipment acquisition.
As shown in fig. 7, Fig. 7 is the block diagram of another kind of plant control unit according to an exemplary embodiment, this is real Applying example can be on the basis of Fig. 5 or embodiment illustrated in fig. 6, and this device can also include:
First determining module 570, in the case of being configured to be not detected by motor message in scheduled time length, determines The second complete movement locus are obtained.
As shown in figure 8, Fig. 8 is the block diagram of another kind of plant control unit according to an exemplary embodiment, this is real Applying example can be on the basis of embodiment illustrated in fig. 5, and this device can also include:
Second determining module 580, is configured to generation acceleration signal is being detected by 3-axis acceleration sensor In the case of, determine and generation motor message is detected.
As shown in figure 9, Fig. 9 is the block diagram of another kind of plant control unit according to an exemplary embodiment, this is real Applying example can be on the basis of Fig. 5 or embodiment illustrated in fig. 8, and this device can also include:
Logging modle 590, be configured to record the described time producing motor message, and the described motor message that produces State.
As shown in Figure 10, Figure 10 is the block diagram of another kind of plant control unit according to an exemplary embodiment, should Embodiment can be on the basis of any embodiment shown in Fig. 5 to Fig. 9, and this device can also include:
3rd determining module 610, be configured to by 3-axis acceleration sensor detect generation acceleration signal and Gyroscope is not detected by the case that angle changes, determining that the first movement locus are planar movement;
4th determining module 620, is configured to detected by gyroscope in the case that angle changes, determines One movement locus are rotation.
Corresponding with the embodiment of the apparatus control method in gateway device for the aforementioned applications, the disclosure additionally provides and is applied to net The embodiment of the plant control unit of pass equipment.
As shown in figure 11, Figure 11 is the block diagram of another kind of plant control unit according to an exemplary embodiment, should For gateway device, this gateway device and remote control equipment are communicatively coupled by zigbee agreement, and this device may include that
First receiver module 710, is configured to receive the first control instruction that remote control equipment is sent by zigbee agreement, Wherein, the second movement locus of remote control equipment are carried in this first control instruction;
5th determining module 720, is configured to, according to target device corresponding preset relation table, determine this second motion rail Corresponding second control instruction of mark, wherein, comprises the second movement locus and the control instruction of remote control equipment in this preset relation table Between corresponding relation;
Control module 730, is configured to the second control that the execution of control targe equipment is determined with the 5th determining module 720 Instruct corresponding operation.
As seen from the above-described embodiment, the gateway device in this embodiment can be true according to the second movement locus of remote control equipment Surely it is used for the control instruction of control targe equipment, and control this target device to execute the corresponding operation of this control instruction, thus real Existing user only need to simply convert the movement locus of remote control equipment it is possible to realize the control to intelligent home device, operation ratio Relatively simple, meet the blind control demand of user.
As shown in figure 12, Figure 12 is the block diagram of another kind of plant control unit according to an exemplary embodiment, should Embodiment can be on the basis of embodiment illustrated in fig. 11, and this device can also include:
Second receiver module 740, is configured to receive relation table setting instruction, wherein, takes in the setting instruction of this relation table Corresponding relation between the second movement locus with remote control equipment and control instruction;
Update module 750, carries in being configured to be instructed according to the relation table setting that the second receiver module 740 receives Corresponding relation, updates local preset relation table.
As shown in figure 13, Figure 13 is the block diagram of another kind of plant control unit according to an exemplary embodiment, should Embodiment can be on the basis of embodiment illustrated in fig. 11, and this device can also include:
3rd receiver module 760, is configured to receive relation table change directive, wherein, takes in this relation table change directive With the information for being modified to the corresponding relation comprising in preset relation table;
Change module 770, is configured to carry in the relation table change directive being received according to the 3rd receiver module 760 Information, is modified to the corresponding relation comprising in local preset relation table.
As shown in figure 14, Figure 14 is the block diagram of another kind of plant control unit according to an exemplary embodiment, should Embodiment can be on the basis of embodiment illustrated in fig. 11, and this device can also include:
4th receiver module 780, is configured to receiving device designated order, and wherein, this equipment designated order is used for specifying Need device to be controlled;
Equipment determining module 790, is configured to specified by the equipment designated order that receives the 4th receiver module 780 Equipment is defined as target device.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
For device embodiment, because it corresponds essentially to embodiment of the method, thus real referring to method in place of correlation The part applying example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrating can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to actual Need to select the purpose to realize disclosure scheme for some or all of module therein.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and to implement.
Accordingly, the disclosure additionally provides a kind of plant control unit, comprising: processor;Can hold for storing processor The memorizer of row instruction;Wherein, described processor is configured to: after generation motor message is detected, obtains and produces last fortune The very first time of dynamic signal;When time difference between the described very first time and the second current time is less than time difference threshold value, Obtain current first movement locus of described remote control equipment;Fortune by described first movement locus and the acquisition of described remote control equipment Dynamic rail mark merges generation the second movement locus;To be determined terminate to obtain movement locus when having obtained the second complete movement locus, And generate the first control instruction carrying described second movement locus;By described zigbee agreement, described first is controlled and refers to Order is sent to gateway device, and wherein, described first control instruction is used for indicating gateway device according to described second movement locus pair Target device is controlled.
Accordingly, the disclosure additionally provides a kind of plant control unit, comprising: processor;Can hold for storing processor The memorizer of row instruction;Wherein, described processor is configured to: receive that remote control equipment is sent by described zigbee agreement the One control instruction, wherein, carries the second movement locus of described remote control equipment in described first control instruction;Set according to target Standby corresponding preset relation table, determines corresponding second control instruction of described second movement locus, wherein, described preset relation table In comprise between the second movement locus of remote control equipment and control instruction corresponding relation;Control described target device execution and institute State the corresponding operation of the second control instruction.
Figure 15 is a kind of block diagram for plant control unit according to an exemplary embodiment.For example, device 1500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
With reference to Figure 15, device 1500 can include following one or more assemblies: process assembly 1502, memorizer 1504, Power supply module 1506, multimedia groupware 1508, audio-frequency assembly 1510, the interface 1512 of input/output (i/o), sensor cluster 1514, and communication component 1516.
The integrated operation of the usual control device 1500 of process assembly 1502, such as with display, call, data communication, Camera operation and record operate associated operation.Treatment element 1502 can include one or more processors 1520 to execute Instruction, to complete the apparatus control method providing in disclosed technique scheme, method includes: after generation motor message is detected, Obtain the very first time producing last motor message;Time difference between the described very first time and the second current time is little When time difference threshold value, obtain current first movement locus of described remote control equipment;Will be distant with described for described first movement locus The movement locus of control equipment acquisition merge generation the second movement locus;It is to be determined when having obtained the second complete movement locus, Terminate to obtain movement locus, and generate the first control instruction carrying described second movement locus;By described zigbee agreement, Described first control instruction is sent to gateway device, wherein, described first control instruction is used for indicating gateway device according to institute State the second movement locus target device is controlled.
Additionally, process assembly 1502 can include one or more modules, be easy to process assembly 1502 and other assemblies it Between interaction.For example, processing component 1502 can include multi-media module, to facilitate multimedia groupware 1508 and process assembly Interaction between 1502.
Memorizer 1504 is configured to store various types of data to support the operation in equipment 1500.These data Example include on device 1500 operation any application program or method instruction, contact data, telephone book data, Message, picture, video etc..Memorizer 1504 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable can Program read-only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1506 provides electric power for the various assemblies of device 1500.Electric power assembly 1506 can include power management System, one or more power supplys, and other generate, manage and distribute, with for device 1500, the assembly that electric power is associated.
Multimedia groupware 1508 includes the screen of one output interface of offer between described device 1500 and user.? In some embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch and passes Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or slip be dynamic The border made, but also the detection persistent period related to described touch or slide and pressure.In certain embodiments, many Media component 1508 includes a front-facing camera and/or post-positioned pick-up head.When equipment 1500 is in operator scheme, such as shoot mould When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each preposition shooting Head and post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1510 is configured to output and/or input audio signal.For example, audio-frequency assembly 1510 includes a wheat Gram wind (mic), when device 1500 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1504 or via communication Assembly 1516 sends.In certain embodiments, audio-frequency assembly 1510 also includes a speaker, for exports audio signal.
I/o interface 1512 is for providing interface, above-mentioned peripheral interface module between process assembly 1502 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and Locking press button.
Sensor cluster 1514 includes one or more sensors, for providing the state of various aspects to comment for device 1500 Estimate.For example, sensor cluster 1514 can detect/the closed mode of opening of equipment 1500, the relative localization of assembly, such as institute State the display that assembly is device 1500 and keypad, sensor cluster 1514 can be with detection means 1500 or device 1,500 1 The position change of individual assembly, user is presence or absence of with what device 1500 contacted, device 1500 orientation or acceleration/deceleration and dress Put 1500 temperature change.Sensor cluster 1514 can include proximity transducer, is configured to do not having any physics The presence of object nearby is detected during contact.Sensor cluster 1514 can also include optical sensor, such as cmos or ccd image sensing Device, for using in imaging applications.In certain embodiments, this sensor cluster 1514 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1516 is configured to facilitate the communication of wired or wireless way between device 1500 and other equipment.Dress Put 1500 and can access wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.Exemplary at one In embodiment, communication component 1516 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel Information.In one exemplary embodiment, described communication component 1516 also includes near-field communication (nfc) module, to promote short distance Communication.For example, RF identification (rfid) technology, Infrared Data Association (irda) technology, ultra broadband can be based in nfc module (uwb) technology, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1500 can be by one or more application specific integrated circuits (asic), numeral Signal processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 1504 instructing, above-mentioned instruction can be executed by the processor 1520 of device 1500 to complete said method.Example If, described non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, soft Disk and optical data storage devices etc..
Figure 16 is the block diagram for plant control unit for the another kind according to an exemplary embodiment.For example, device 1600 may be provided in a gateway device.With reference to Figure 16, device 1600 includes process assembly 1622, and it further includes one Or multiple processor, and the memory resource representated by memorizer 1632, can holding by processing component 1622 for storage The instruction of row, such as application program.The application program storing in memorizer 1632 can include one or more each The individual module corresponding to one group of instruction.Additionally, process assembly 1622 is configured to execute instruction, to execute disclosed technique scheme The apparatus control method providing, method includes: receive the first control instruction that remote control equipment is sent by described zigbee agreement, Wherein, the second movement locus of described remote control equipment are carried in described first control instruction;Corresponding pre- according to target device If relation table, determine corresponding second control instruction of described second movement locus, wherein, in described preset relation table, comprise remote control Corresponding relation between second movement locus of equipment and control instruction;Control described target device execution and described second control Instruct corresponding operation.
Device 1600 can also include the power management that a power supply module 1626 is configured to performs device 1600, one Wired or wireless network interface 1650 is configured to for device 1600 to be connected to network, and input and output (i/o) interface 1658.Device 1600 can operate based on the operating system being stored in memorizer 1632, such as windows servertm, mac Os xtm, unixtm, linuxtm, freebsdtm or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 1632 instructing, above-mentioned instruction can be executed by the process assembly 1622 of device 1600 to complete disclosed technique The said equipment control method that scheme provides.For example, described non-transitorycomputer readable storage medium can be rom, random Access memorizer (ram), cd-rom, tape, floppy disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (22)

1. it is characterised in that being applied to remote control equipment, described remote control equipment and gateway device pass through a kind of apparatus control method Zigbee agreement is communicatively coupled, and methods described includes:
After generation motor message is detected, obtain the very first time producing last motor message;
When time difference between the described very first time and the second current time is less than time difference threshold value, obtains described remote control and set Standby current first movement locus;
Described first movement locus are merged generation the second movement locus with the movement locus of described remote control equipment acquisition;
To be determined terminate to obtain movement locus when having obtained the second complete movement locus, and generate and carry described second motion First control instruction of track;
By described zigbee agreement, described first control instruction is sent to gateway device, wherein, described first control instruction For indicating that gateway device is controlled to target device according to described second movement locus.
2. method according to claim 1 is it is characterised in that methods described also includes:
When time difference between the described very first time and the second current time is more than time difference threshold value, restart to obtain institute State current first movement locus of remote control equipment, and merge generation second motion with the movement locus of described remote control equipment acquisition Track.
3. method according to claim 1 and 2 is it is characterised in that methods described also includes:
When being not detected by motor message in scheduled time length, determine and obtained the second complete movement locus.
4. method according to claim 1 is it is characterised in that methods described also includes:
When generation acceleration signal is detected by 3-axis acceleration sensor, determine and generation motor message is detected.
5. the method according to claim 1 or 4 is it is characterised in that methods described also includes:
Record the described time producing motor message, and the described state producing motor message.
6. according to described method arbitrary in claim 1 to 5 it is characterised in that methods described also includes:
When generation acceleration signal being detected by 3-axis acceleration sensor and gyroscope is not detected by angle and changes, Determine that described first movement locus are planar movement;
When angle being detected by gyroscope changing, determine that described first movement locus are rotation.
7. it is characterised in that being applied to gateway device, described gateway device and remote control equipment pass through a kind of apparatus control method Zigbee agreement is communicatively coupled, and methods described includes:
Receive the first control instruction that remote control equipment is sent by described zigbee agreement, wherein, in described first control instruction Carry the second movement locus of described remote control equipment;
According to target device corresponding preset relation table, determine corresponding second control instruction of described second movement locus, wherein, The corresponding relation between the second movement locus of remote control equipment and control instruction is comprised in described preset relation table;
Described target device is controlled to execute operation corresponding with described second control instruction.
8. method according to claim 7 is it is characterised in that methods described also includes:
Receive relation table setting instruction, wherein, in described relation table setting instruction, carry the second movement locus of remote control equipment Corresponding relation and control instruction between;
According to the corresponding relation carrying in the setting instruction of described relation table, update local described preset relation table.
9. method according to claim 7 is it is characterised in that methods described also includes:
Receive relation table change directive, wherein, carry in described preset relation table in described relation table change directive The information that the corresponding relation comprising is modified;
According to the information carrying in described relation table change directive, to the corresponding relation comprising in local described preset relation table It is modified.
10. method according to claim 7 is it is characterised in that assisted by described zigbee in described reception remote control equipment Before the first control instruction that view sends, also include:
Receiving device designated order, wherein, described equipment designated order is used for specifying needs device to be controlled;
Equipment specified by described equipment designated order is defined as target device.
It is characterised in that being applied to remote control equipment, described remote control equipment and gateway device pass through a kind of 11. plant control units Zigbee agreement is communicatively coupled, and described device includes:
First acquisition module, after being configured to generation motor message is detected, when obtaining produce last motor message first Between;
Second acquisition module, be configured to the very first time and the second current time that get in described first acquisition module it Between time difference be less than time difference threshold value in the case of, obtain remote control equipment current first movement locus;
First generation module, is configured to the first movement locus of getting described second acquisition module and described remote control equipment The movement locus of acquisition merge generation the second movement locus;
Second generation module, be configured to be determined terminate to obtain movement locus when having obtained the second complete movement locus, and Generate the first control instruction carrying the second movement locus that described first generation module generates;
Sending module, is configured to described zigbee agreement, the first control instruction that described second generation module is generated Be sent to gateway device, wherein, described first control instruction be used for indicating gateway device according to described second movement locus to mesh Marking device is controlled.
12. devices according to claim 11 are it is characterised in that described device also includes:
3rd acquisition module, be configured to the very first time and the second current time that get in described first acquisition module it Between time difference be more than time difference threshold value in the case of, restart to obtain current first movement locus of described remote control equipment, And generation the second movement locus are merged with the movement locus of described remote control equipment acquisition.
13. devices according to claim 11 or 12 are it is characterised in that described device also includes:
First determining module, in the case of being configured to be not detected by motor message in scheduled time length, determines and obtains The second complete movement locus.
14. devices according to claim 11 are it is characterised in that described device also includes:
Second determining module, is configured in the case of generation acceleration signal is detected by 3-axis acceleration sensor, Determine and generation motor message is detected.
15. devices according to claim 11 or 14 are it is characterised in that described device also includes:
Logging modle, is configured to record the described time producing motor message, and the described state producing motor message.
16. according to the arbitrary described device of claim 11 to 15 it is characterised in that described device also includes:
3rd determining module, be configured to by 3-axis acceleration sensor detect generation acceleration signal and gyroscope not Detect in the case that angle changes, determine that described first movement locus are planar movement;
4th determining module, is configured to detected by gyroscope in the case that angle changes, determines described first Movement locus are rotation.
It is characterised in that being applied to gateway device, described gateway device and remote control equipment pass through a kind of 17. plant control units Zigbee agreement is communicatively coupled, and described device includes:
First receiver module, is configured to receive the first control instruction that remote control equipment is sent, wherein, institute by zigbee agreement State the second movement locus carrying described remote control equipment in the first control instruction;
5th determining module, is configured to, according to target device corresponding preset relation table, determine described second movement locus pair The second control instruction answered, wherein, comprise in described preset relation table the second movement locus of remote control equipment and control instruction it Between corresponding relation;
Control module, is configured to control the second control that described target device execution is determined with described 5th determining module to refer to Make corresponding operation.
18. devices according to claim 17 are it is characterised in that described device also includes:
Second receiver module, is configured to receive relation table setting instruction, wherein, carries distant in described relation table setting instruction Corresponding relation between second movement locus of control equipment and control instruction;
Update module, the corresponding pass carrying in being configured to be instructed according to the relation table setting that described second receiver module receives System, updates local described preset relation table.
19. devices according to claim 17 are it is characterised in that described device also includes:
3rd receiver module, is configured to receive relation table change directive, wherein, carries use in described relation table change directive The information that the corresponding relation comprising in described preset relation table is modified;
Change module, is configured to the information carry in the relation table change directive receiving according to described 3rd receiver module, The corresponding relation comprising in local described preset relation table is modified.
20. devices according to claim 17 are it is characterised in that described device also includes:
4th receiver module, is configured to receiving device designated order, and wherein, described equipment designated order is used for specifying to be needed to control The equipment of system;
Equipment determining module, the equipment specified by equipment designated order being configured to receive described 4th receiver module is true It is set to target device.
A kind of 21. plant control units are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
After generation motor message is detected, obtain the very first time producing last motor message;
When time difference between the described very first time and the second current time is less than time difference threshold value, obtains described remote control and set Standby current first movement locus;
Described first movement locus are merged generation the second movement locus with the movement locus of described remote control equipment acquisition;
To be determined terminate to obtain movement locus when having obtained the second complete movement locus, and generate and carry described second motion First control instruction of track;
By described zigbee agreement, described first control instruction is sent to gateway device, wherein, described first control instruction For indicating that gateway device is controlled to target device according to described second movement locus.
A kind of 22. plant control units are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receive the first control instruction that remote control equipment is sent by described zigbee agreement, wherein, in described first control instruction Carry the second movement locus of described remote control equipment;
According to target device corresponding preset relation table, determine corresponding second control instruction of described second movement locus, wherein, The corresponding relation between the second movement locus of remote control equipment and control instruction is comprised in described preset relation table;
Described target device is controlled to execute operation corresponding with described second control instruction.
CN201610730453.9A 2016-08-25 2016-08-25 Equipment control method and device Active CN106355852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610730453.9A CN106355852B (en) 2016-08-25 2016-08-25 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610730453.9A CN106355852B (en) 2016-08-25 2016-08-25 Equipment control method and device

Publications (2)

Publication Number Publication Date
CN106355852A true CN106355852A (en) 2017-01-25
CN106355852B CN106355852B (en) 2020-01-07

Family

ID=57854608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610730453.9A Active CN106355852B (en) 2016-08-25 2016-08-25 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN106355852B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107998652A (en) * 2017-12-15 2018-05-08 北京小米移动软件有限公司 Intelligent magic cube interactive approach, Intelligent magic cube and storage medium
CN109731324A (en) * 2018-12-29 2019-05-10 深圳市掌网科技股份有限公司 A kind of game system based on augmented reality
CN111404787A (en) * 2019-01-03 2020-07-10 珠海格力电器股份有限公司 Electric appliance control method and device
CN111724578A (en) * 2019-03-21 2020-09-29 珠海格力电器股份有限公司 Remote control device and feedback method for remote control device
WO2020192103A1 (en) * 2019-03-25 2020-10-01 珠海格力电器股份有限公司 Control method and apparatus for controller, and storage medium and controller
CN112050088A (en) * 2019-06-05 2020-12-08 中国石油天然气股份有限公司 Pipeline detection method and device and computer storage medium
WO2021036130A1 (en) * 2019-08-30 2021-03-04 珠海格力电器股份有限公司 Smart magic cube controller
CN112567892A (en) * 2018-08-24 2021-03-26 昕诺飞控股有限公司 Transmitting sensor signals depending on device orientation
CN113038600A (en) * 2021-03-18 2021-06-25 三星电子(中国)研发中心 Method and system for performing interaction between electronic devices

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577044A (en) * 2008-05-09 2009-11-11 海信集团有限公司 Control device and control method thereof
CN101783064A (en) * 2009-01-20 2010-07-21 英华达(南京)科技有限公司 Remote controller reaching operating function based on movement locus and operation method thereof
CN201570011U (en) * 2010-01-13 2010-09-01 北京视博数字电视科技有限公司 Terminal control device and terminal
CN101877167A (en) * 2009-04-30 2010-11-03 骏升科技(扬州)有限公司 Motion controller
CN102024316A (en) * 2009-09-09 2011-04-20 罗富强 Wireless intelligent sensing method, device and system
CN102280020A (en) * 2010-06-11 2011-12-14 幻音科技(深圳)有限公司 Touch type remote controller
CN103179168A (en) * 2011-12-26 2013-06-26 鸿富锦精密工业(深圳)有限公司 Electronic device and method for sharing data through Bluetooth
CN103399705A (en) * 2013-07-19 2013-11-20 北京小米科技有限责任公司 Method, device and equipment for remotely controlling terminal equipment
CN103529762A (en) * 2013-02-22 2014-01-22 Tcl集团股份有限公司 Intelligent household control method and system based on sensor technology
CN103713736A (en) * 2013-10-16 2014-04-09 惠州紫旭科技有限公司 Device movement track based information recognition method
CN104504887A (en) * 2015-01-06 2015-04-08 连宁 Control method and system of wireless remote control
CN104699244A (en) * 2015-02-26 2015-06-10 小米科技有限责任公司 Controlling method and device for intelligent device
CN105208420A (en) * 2015-08-24 2015-12-30 小米科技有限责任公司 Television control method and device and electronic equipment
CN105388851A (en) * 2015-10-30 2016-03-09 黑龙江大学 Moving body visual control system and method, electromechanical moving body and mobile terminal
CN105389969A (en) * 2015-07-03 2016-03-09 张韶冬 Remote control device based on acceleration sensor

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577044A (en) * 2008-05-09 2009-11-11 海信集团有限公司 Control device and control method thereof
CN101783064A (en) * 2009-01-20 2010-07-21 英华达(南京)科技有限公司 Remote controller reaching operating function based on movement locus and operation method thereof
CN101877167A (en) * 2009-04-30 2010-11-03 骏升科技(扬州)有限公司 Motion controller
CN102024316A (en) * 2009-09-09 2011-04-20 罗富强 Wireless intelligent sensing method, device and system
CN201570011U (en) * 2010-01-13 2010-09-01 北京视博数字电视科技有限公司 Terminal control device and terminal
CN102280020A (en) * 2010-06-11 2011-12-14 幻音科技(深圳)有限公司 Touch type remote controller
CN103179168A (en) * 2011-12-26 2013-06-26 鸿富锦精密工业(深圳)有限公司 Electronic device and method for sharing data through Bluetooth
CN103529762A (en) * 2013-02-22 2014-01-22 Tcl集团股份有限公司 Intelligent household control method and system based on sensor technology
CN103399705A (en) * 2013-07-19 2013-11-20 北京小米科技有限责任公司 Method, device and equipment for remotely controlling terminal equipment
CN103713736A (en) * 2013-10-16 2014-04-09 惠州紫旭科技有限公司 Device movement track based information recognition method
CN104504887A (en) * 2015-01-06 2015-04-08 连宁 Control method and system of wireless remote control
CN104699244A (en) * 2015-02-26 2015-06-10 小米科技有限责任公司 Controlling method and device for intelligent device
CN105389969A (en) * 2015-07-03 2016-03-09 张韶冬 Remote control device based on acceleration sensor
CN105208420A (en) * 2015-08-24 2015-12-30 小米科技有限责任公司 Television control method and device and electronic equipment
CN105388851A (en) * 2015-10-30 2016-03-09 黑龙江大学 Moving body visual control system and method, electromechanical moving body and mobile terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107998652B (en) * 2017-12-15 2020-09-11 北京小米移动软件有限公司 Intelligent magic cube interaction method, intelligent magic cube and storage medium
CN107998652A (en) * 2017-12-15 2018-05-08 北京小米移动软件有限公司 Intelligent magic cube interactive approach, Intelligent magic cube and storage medium
CN112567892A (en) * 2018-08-24 2021-03-26 昕诺飞控股有限公司 Transmitting sensor signals depending on device orientation
CN109731324B (en) * 2018-12-29 2022-08-16 深圳市掌网科技股份有限公司 Game system based on augmented reality
CN109731324A (en) * 2018-12-29 2019-05-10 深圳市掌网科技股份有限公司 A kind of game system based on augmented reality
CN111404787A (en) * 2019-01-03 2020-07-10 珠海格力电器股份有限公司 Electric appliance control method and device
CN111724578A (en) * 2019-03-21 2020-09-29 珠海格力电器股份有限公司 Remote control device and feedback method for remote control device
WO2020192103A1 (en) * 2019-03-25 2020-10-01 珠海格力电器股份有限公司 Control method and apparatus for controller, and storage medium and controller
US11841157B2 (en) 2019-03-25 2023-12-12 Gree Electric Appliances, Inc. Of Zhuhai Control method and apparatus for controller, and storage medium and controller
CN112050088A (en) * 2019-06-05 2020-12-08 中国石油天然气股份有限公司 Pipeline detection method and device and computer storage medium
CN112050088B (en) * 2019-06-05 2023-10-31 中国石油天然气股份有限公司 Pipeline detection method and device and computer storage medium
WO2021036130A1 (en) * 2019-08-30 2021-03-04 珠海格力电器股份有限公司 Smart magic cube controller
CN113038600A (en) * 2021-03-18 2021-06-25 三星电子(中国)研发中心 Method and system for performing interaction between electronic devices

Also Published As

Publication number Publication date
CN106355852B (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN106355852A (en) Equipment control method and device
CN105160854B (en) Apparatus control method, device and terminal device
CN105204742B (en) Control method, device and the terminal of electronic equipment
CN104023434B (en) A kind of methods, devices and systems for opening intelligent lamp
CN104714414B (en) The control method and device of smart home device, electronic equipment
CN103926890B (en) Intelligent terminal control method and device
CN105068958B (en) Method for handover control and device
CN104917632B (en) The detection method and device for channel status of networking, electronic equipment
CN106094535B (en) Apparatus control method and device, electronic equipment
CN104333846B (en) Position reminding method and device
CN104639966A (en) Method and device for remote control
CN104464238B (en) Method of controlling operation thereof and device between mobile terminal
CN107787470B (en) Allocation activation functions of the equipments based on EM equipment module
CN104831790B (en) Control the method and device of intelligent water toilet pan work
CN106789461A (en) The method and device of intelligent home device connection
CN105549960B (en) Control the method and device of camera
CN106878558A (en) Dropproof based reminding method and device
US20150288764A1 (en) Method and apparatus for controlling smart terminal
CN106603350A (en) Information display method and apparatus
CN104317647B (en) Application function implementation method, device and terminal
CN107529699A (en) Control method of electronic device and device
CN109451866A (en) Information configuring methods and device, base station and user equipment
CN108108671A (en) Description of product information acquisition method and device
CN106993265A (en) Communication means, terminal, wearable device based on wearable device
CN105183309B (en) Method for handover control and device

Legal Events

Date Code Title Description
C06 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