CN104952236A - Data transmission method, gateway, remote control, lamp and intelligent illuminating system - Google Patents

Data transmission method, gateway, remote control, lamp and intelligent illuminating system Download PDF

Info

Publication number
CN104952236A
CN104952236A CN201410119426.9A CN201410119426A CN104952236A CN 104952236 A CN104952236 A CN 104952236A CN 201410119426 A CN201410119426 A CN 201410119426A CN 104952236 A CN104952236 A CN 104952236A
Authority
CN
China
Prior art keywords
instruction
telepilot
gateway
light fixture
information
Prior art date
Application number
CN201410119426.9A
Other languages
Chinese (zh)
Inventor
何天兵
李东明
闵波
王桂圆
鲁一宏
陈倍
Original Assignee
四川新力光源股份有限公司
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 四川新力光源股份有限公司 filed Critical 四川新力光源股份有限公司
Priority to CN201410119426.9A priority Critical patent/CN104952236A/en
Publication of CN104952236A publication Critical patent/CN104952236A/en

Links

Abstract

The embodiment of the invention provides a data transmission method, a gateway, a remote control, a lamp and an intelligent illuminating system. The method comprises the following steps: receiving a first instruction containing information for the lamp to respond to a command of the remote control; establishing a first communication path between the first instruction and the remote control; and transmitting the first instruction to the remote control by virtue of the first communication path, wherein the first instruction is used for triggering the remote control to respond to the first instruction. By utilizing the data transmission method, gateway, remote control, lamp and intelligent illuminating system provided by the embodiment of the invention, the aim of feeding the information for the lamp to respond to the command transmitted by the remote control back to the remote control by virtue of the gateway can be achieved.

Description

Data transmission method, gateway, telepilot, light fixture and intelligent illuminating system
Technical field
The present invention relates to lighting control technique field, in particular, relate to data transmission method, gateway, telepilot, light fixture and intelligent illuminating system.
Background technology
Along with the develop rapidly of lighting engineering, the demand of people to illumination is not limited only to brightness, energy-conservation aspect, is more the intelligence degree of comfort level and the illuminator control light fixture.In order to meet people's craving for intelligent lighting, various intelligent lighting agreement and intelligent illuminating system arise at the historic moment.
Can send order by telepilot to light fixture in intelligent illuminating system, because the communication interface between telepilot with light fixture is not mated, so order is first sent to gateway by telepilot, order is sent to light fixture by gateway again.
Inventor finds in the process realizing the invention, and it is single-phase that the telepilot in intelligent illuminating system and the data between gateway are transmitted, and gateway cannot feed back the information of the order that light fixture response telepilot sends to telepilot.
Summary of the invention
In view of this, the invention provides a kind of data transmission method, gateway, telepilot, light fixture and intelligent illuminating system, cannot feed back to telepilot light fixture to carry out the information operated problem according to the order that telepilot sends to overcome gateway in prior art.
For achieving the above object, the invention provides following technical scheme:
A kind of data transmission method, is applied to the gateway in intelligent illuminating system, comprises:
Receive the first instruction of the information of the order comprising light fixture response telepilot;
Set up the first communication path between described telepilot;
By described first communication path, described first instruction is sent to described telepilot, described first instruction is for triggering the first instruction described in described remote controller response.
Wherein, the first communication path between described foundation and described telepilot comprises:
Send the instruction of setting up communication path to described telepilot, described instruction of setting up communication path comprises the cipher gateway information of described gateway;
When receiving the instruction of the described cipher gateway information of described telepilot feedback and the remote control cipher information match of described telepilot, form the first communication path between described telepilot.
Wherein, the first check code and command context is carried in described first instruction, described command context comprises the information of the order of light fixture response telepilot, before the described communication path set up between described gateway and described telepilot, also comprise described first instruction verification method, described first instruction verification method comprises:
Obtain described first check code;
Use the command context of described first instruction, calculate the second check code;
When described first check code and described second check code match, determine that the command context in described first instruction is valid data.
Wherein, described first instruction comprises the first gateway address, after described reception comprises the first instruction of the information of the order of light fixture response telepilot, before the communication path between described foundation and described telepilot, also comprises:
When the gateway address of described first gateway address and described gateway matches, perform the operation of the communication path between described foundation and described telepilot.
A kind of data transmission method, is applied to the telepilot in intelligent illuminating system, comprises:
By set up in advance and the first communication path between gateway, receive first instruction comprising the information of the order of light fixture response telepilot of described gateway feedback;
The status information of described light fixture is obtained from described first instruction;
Perform the operation corresponding with described status information.
Wherein, described first instruction comprises the instruction of order failure of light fixture response telepilot, and the status information of described light fixture is response failure information, and the described execution operation corresponding with described status information comprises:
Again send to described gateway and control the instruction that described light fixture carries out predetermined registration operation, described predetermined registration operation is corresponding with the order that described light fixture responds in the information of the order of telepilot.
Wherein, the order that described first instruction comprises light fixture response telepilot successfully indicates, the status information of described light fixture comprise that response success information open mode context information, the unlatching colouring information of light fixture and light fixture open in information of number one or more, the described execution operation corresponding with described status information comprises:
The display unit controlling described telepilot shows the status information of described light fixture.
Wherein, the first check code and command context is carried in described first instruction, described command context comprises the information of the order of light fixture response telepilot, described from described first instruction obtain the status information of described light fixture before, also comprise described first instruction verification method, described first instruction verification method comprises:
Obtain described first check code;
Use the command context of described first instruction, calculate the second check code;
When described first check code and described second check code match, determine that the command context in described first instruction is valid data.
A kind of data transmission method, is applied to the light fixture in intelligent illuminating system, comprises:
In response to the order that telepilot sends, generate the first instruction of the information of the order of light fixture response telepilot;
Set up the second communication passage between gateway;
By described second communication passage, described first instruction is sent to described gateway.
Be applied to the gateway in intelligent illuminating system, comprise:
Receiver module, for receiving the first instruction of the information of the order comprising light fixture response telepilot;
Set up channel module, for setting up the first communication path between described telepilot;
Sending module, for described first instruction being sent to described telepilot by described first communication path, described first instruction is for triggering the first instruction described in described remote controller response.
Wherein, described channel module of setting up comprises:
Transmitting element, for sending the instruction of setting up communication path to described telepilot, described instruction of setting up communication path comprises the cipher gateway information of described gateway;
Forming unit, during for receiving the instruction of the remote control cipher information match of described cipher gateway information and the described telepilot of described telepilot feedback, the first communication path between formation with described telepilot.
Wherein, the first check code and command context is carried in described first instruction, described command context comprises the information of order of light fixture response telepilot, described in the gateway be applied in intelligent illuminating system also comprise the first instruction demo plant, described first instruction demo plant comprises:
Acquisition module, for obtaining described first check code;
Computing module, for using the command context of described first instruction, calculates the second check code;
Determination module, for when described first check code and described second check code match, determines that the command context in described first instruction is valid data.
Wherein, described first instruction comprises the first gateway address, also comprises:
Trigger module, for when the gateway address of described first gateway address and described gateway matches, triggers and describedly sets up channel module.
Be applied to the telepilot in intelligent illuminating system, comprise:
Receiver module, for passing through that set up in advance and between gateway the first communication path, receives first instruction comprising the information of the order of light fixture response telepilot of described gateway feedback;
First acquisition module, for obtaining the status information of described light fixture from described first instruction;
Execution module, for performing the operation corresponding with described status information.
Wherein, described first instruction comprises the instruction of the order failure of light fixture response telepilot, the status information of described light fixture is response failure information, described execution module specifically for: control for again sending to described gateway the instruction that described light fixture carries out predetermined registration operation, described predetermined registration operation is corresponding with the order that described light fixture responds in the information of the order of telepilot.
Wherein, the order that described first instruction comprises light fixture response telepilot successfully indicates, the status information of described light fixture comprise response success information open mode context information, specifically for: the display unit controlling described telepilot shows the status information of described light fixture.
Wherein, the first check code and command context is carried in described first instruction, described command context comprises the information of order of light fixture response telepilot, described in the telepilot be applied in intelligent illuminating system also comprise the first instruction demo plant, described first instruction demo plant comprises:
Second acquisition module, English obtains described first check code;
Computing module, for using the command context of described first instruction, calculates the second check code;
Determination module, for when described first check code and described second check code match, determines that the command context in described first instruction is valid data.
Be applied to the light fixture in intelligent illuminating system, comprise:
Generation module, for the order sent in response to telepilot, generates the first instruction of the information of the order of light fixture response telepilot;
Set up channel module, for setting up the second communication passage between gateway;
Sending module, for being sent to described gateway by described second communication passage by described first instruction.
A kind of intelligent illuminating system, comprising:
Above-mentioned arbitrary described gateway;
Above-mentioned arbitrary described telepilot;
Light fixture described above.
Wherein, described gateway, described telepilot and described light fixture carry out information interaction based on SunforBus agreement.
Known via above-mentioned technical scheme, compared with prior art, embodiments provide a kind of data transmission method, the method can receive the first instruction of the information of the order comprising light fixture response telepilot, set up the first communication path between telepilot, by the first communication path, the first instruction is sent to telepilot, the first instruction indicates for triggering remote controller response first.Thus achieve the object of the information of the order that gateway sends to telepilot feedback light fixture response telepilot.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The schematic flow sheet of a kind of data transmission method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of data transmission method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of a kind of data transmission method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of gateway be applied in intelligent illuminating system that Fig. 4 provides for the embodiment of the present invention;
The structural representation of a kind of telepilot be applied in intelligent illuminating system that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of light fixture be applied in intelligent illuminating system that Fig. 6 provides for the embodiment of the present invention;
The structural representation of a kind of intelligent illuminating system that Fig. 7 provides for the embodiment of the present invention;
The structural representation of Frame for communicating in a kind of intelligent illuminating system that Fig. 8 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In Lighting control field, telepilot can be used in a lot of place, as Infrared remote controller.Be one-way data transfer between telepilot and light fixture, namely telepilot sends order to light fixture, after light fixture receives orders, and fill order.This remote-controller function is simple, and light fixture can not to telepilot feedback data, and telepilot can not read light fixture information, can not react light fixture state in real time.
Refer to accompanying drawing 1, be the schematic flow sheet of a kind of data transmission method that the embodiment of the present invention provides, the method is applied to the gateway in intelligent illuminating system, and the method comprises:
Step S101: the first instruction receiving the information of the order comprising light fixture response telepilot.
Step S102: set up the first communication path between telepilot.
Step S103: the first instruction is sent to telepilot by the first communication path.
First instruction indicates for triggering remote controller response first.
First instruction can comprise for triggering remote controller response first instruction: the current state of remote controller displays light fixture or when the unsuccessful execution corresponding operating of light fixture, again send corresponding order, or when light fixture successful execution corresponding operating, display successful information etc., the embodiment of the present invention is not construed as limiting the particular content how telepilot responds the first instruction.
Inventive embodiments provides a kind of data transmission method, the method can receive the first instruction of the information of the order comprising light fixture response telepilot, set up the first communication path between telepilot, by the first communication path, the first instruction is sent to telepilot, the first instruction indicates for triggering remote controller response first.Thus achieve the object of the information of the order that gateway sends to telepilot feedback light fixture response telepilot.
A kind of implementation the method embodiments providing the first communication path set up between telepilot in a kind of data transmission method comprises: send the instruction of setting up communication path to telepilot, the instruction of setting up communication path comprises the cipher gateway information of gateway.When receiving the instruction of the cipher gateway information of telepilot feedback and the remote control cipher information match of telepilot, form the first communication path between telepilot.
Gateway sends the instruction of setting up communication path to telepilot, after remote control to the instruction of setting up communication path, cipher gateway information is obtained from this instruction, again by this cipher gateway information and the remote control cipher information match that self stores, upon a match, feed back the instruction of the remote control cipher information match of gateway encrypted message and telepilot to gateway, after gateway receives the instruction of remote control cipher information match of cipher gateway information and telepilot, the first communication path just defines.
Embodiments provide the first instruction verification method in a kind of data transmission method, the method comprises: obtain the first check code.Use the command context of the first instruction, calculate the second check code.When the first check code and the second check code match, determine that the command context in the first instruction is valid data.
Carry the first check code and command context in first instruction, command context comprises the information of the order of light fixture response telepilot.
First check code is before command context is sent to gateway by light fixture, calculate according to command context, and by command context and the first check code composition first instruction, be sent to gateway, after gateway receives the first instruction, also can calculate the second check code according to command context, when the first check code and the second check code match, show that the first instruction is not damaged in transmitting procedure, so the command context in the first instruction is valid data.So this first instruction can be sent to telepilot.
Be understandable that, a telepilot can control multiple gateway, a gateway can control multiple light fixture, when the first instruction that remote control sends to gateway, the gateway address of this gateway can be obtained from the first instruction, then match with the first gateway address oneself stored, when the match is successful, can represent that this gateway is controlled by this telepilot, first instruction comprises the first gateway address, in a kind of data transmission method that the embodiment of the present invention provides after the first instruction of information receiving the order comprising light fixture response telepilot, before setting up the communication path between telepilot, also comprise: when the gateway address of the first gateway address and gateway matches, perform the operation of the communication path set up between telepilot.
Refer to Fig. 2, be the schematic flow sheet of a kind of data transmission method that the embodiment of the present invention provides, the method can be applied to the telepilot in intelligent illuminating system, and the method comprises:
Step S201: by set up in advance and the first communication path between gateway, receive first instruction comprising the information of the order of light fixture response telepilot of gateway feedback.
Gateway sends the instruction of setting up communication path to telepilot, after remote control to the instruction of setting up communication path, cipher gateway information is obtained from this instruction, again by this cipher gateway information and the remote control cipher information match that self stores, upon a match, feed back the instruction of the remote control cipher information match of gateway encrypted message and telepilot to gateway, after gateway receives the instruction of remote control cipher information match of cipher gateway information and telepilot, the first communication path just defines.
Step S202: the status information obtaining light fixture from the first instruction.
Step S203: perform the operation corresponding with status information.
First instruction can comprise the instruction of the order failure of light fixture response telepilot, now the status information of light fixture is response failure information, this execution operation corresponding with status information comprises: again send to gateway and control the instruction that light fixture carries out predetermined registration operation, predetermined registration operation is corresponding with the order that light fixture responds in the information of the order of telepilot.
The order that first instruction can comprise light fixture response telepilot successfully indicates, the status information of light fixture comprise that response success information open mode context information, the unlatching colouring information of light fixture and light fixture open in information of number one or more, this execution operation corresponding with status information comprises: the display unit controlling telepilot shows the status information of light fixture.
Be understandable that, first instruction may be damaged in transmitting procedure, now can verify the first instruction, before obtain the status information of light fixture from the first instruction, also comprise the first instruction verification method in a kind of data transmission method that the embodiment of the present invention provides, this first instruction verification method comprises: obtain the first check code; Use the command context of the first instruction, calculate the second check code; When the first check code and the second check code match, determine that the command context in the first instruction is valid data.
Carry the first check code and command context in first instruction, command context comprises the information of the order of light fixture response telepilot.
Use the command context of the first instruction, calculating the second check code, can be calculate the second check code by cyclic redundancy check method.First check code is identical with the account form of the second check code.
Refer to Fig. 3, be the schematic flow sheet of a kind of data transmission method that the embodiment of the present invention provides, the method is applied to the light fixture in intelligent illuminating system, and the method comprises:
Step S301: the order sent in response to telepilot, generates the first instruction of the information of the order of light fixture response telepilot.
Step S302: set up the second communication passage between gateway.
The second communication passage set up between gateway comprises: send the instruction of setting up communication path to gateway, the instruction of setting up communication path comprises the light fixture encrypted message of light fixture; When receiving the instruction of the light fixture encrypted message of gateway feedback and the cipher gateway information match of gateway, form the second communication passage between gateway.
Step S303: the first instruction is sent to gateway by second communication passage.
Describe method in detail in embodiment disclosed in the invention described above, the device of various ways can be adopted to realize for method of the present invention, therefore the invention also discloses a kind of device, provide specific embodiment below and be described in detail.
Refer to Fig. 4, be the structural representation of a kind of gateway be applied in intelligent illuminating system that the embodiment of the present invention provides, this gateway comprises: receiver module 401, set up channel module 402 and sending module 403, wherein:
Receiver module 401, for receiving the first instruction of the information of the order comprising light fixture response telepilot.
Set up channel module 402, for setting up the first communication path between described telepilot.
Set up channel module to comprise: transmitting element, for sending the instruction of setting up communication path to described telepilot, described instruction of setting up communication path comprises the cipher gateway information of described gateway; Forming unit, during for receiving the instruction of the remote control cipher information match of described cipher gateway information and the described telepilot of described telepilot feedback, the first communication path between formation with described telepilot.
Gateway sends the instruction of setting up communication path to telepilot, after remote control to the instruction of setting up communication path, cipher gateway information is obtained from this instruction, again by this cipher gateway information and the remote control cipher information match that self stores, upon a match, feed back the instruction of the remote control cipher information match of gateway encrypted message and telepilot to gateway, after gateway receives the instruction of remote control cipher information match of cipher gateway information and telepilot, the first communication path just defines.
Sending module 403, for being sent to described telepilot by described first communication path by described first instruction.
First instruction is for triggering the first instruction described in described remote controller response.
First instruction can comprise for triggering remote controller response first instruction: the current state of remote controller displays light fixture or when the unsuccessful execution corresponding operating of light fixture, again send corresponding order, or when light fixture successful execution corresponding operating, display successful information etc., the embodiment of the present invention is not construed as limiting the particular content how telepilot responds the first instruction.
Inventive embodiments provides a kind of gateway be applied in intelligent illuminating system, receiver module 401 can receive the first instruction of the information of the order comprising light fixture response telepilot, set up channel module 402 and can set up the first communication path between telepilot, first instruction is sent to telepilot by the first communication path by sending module 403, and the first instruction indicates for triggering remote controller response first.Thus achieve the object of the information of the order that gateway sends to telepilot feedback light fixture response telepilot.
A kind of gateway be applied in intelligent illuminating system that the embodiment of the present invention provides also comprises the first instruction demo plant, and this first instruction demo plant comprises: acquisition module, for obtaining described first check code; Computing module, for using the command context of described first instruction, calculates the second check code; Determination module, for when described first check code and described second check code match, determines that the command context in described first instruction is valid data.
Carry the first check code and command context in described first instruction, described command context comprises the information of the order of light fixture response telepilot.
First check code is before command context is sent to gateway by light fixture, calculate according to command context, and by command context and the first check code composition first instruction, be sent to gateway, after gateway receives the first instruction, also can calculate the second check code according to command context, when the first check code and the second check code match, show that the first instruction is not damaged in transmitting procedure, so the command context in the first instruction is valid data.So this first instruction can be sent to telepilot.
Be understandable that, a telepilot can control multiple gateway, a gateway can control multiple light fixture, when the first instruction that remote control sends to gateway, the gateway address of this gateway can be obtained from the first instruction, then match with the first gateway address oneself stored, when the match is successful, can represent that this gateway is controlled by this telepilot, first instruction comprises the first gateway address, what the embodiment of the present invention provided the gateway be applied in intelligent illuminating system also comprises: trigger module, for when the gateway address of described first gateway address and described gateway matches, trigger and describedly set up channel module.
Described first instruction comprises light fixture address and the first gateway address, also comprises: trigger module, for when the gateway address of described first gateway address and described gateway matches, triggers and describedly sets up channel module.
Refer to Fig. 5, be the structural representation of a kind of telepilot be applied in intelligent illuminating system that the embodiment of the present invention provides, this telepilot comprises: receiver module 501, first acquisition module 502 and execution module 503, wherein:
Receiver module 501, for passing through that set up in advance and between gateway the first communication path, receives first instruction comprising the information of the order of light fixture response telepilot of described gateway feedback.
Gateway sends the instruction of setting up communication path to telepilot, after remote control to the instruction of setting up communication path, cipher gateway information is obtained from this instruction, again by this cipher gateway information and the remote control cipher information match that self stores, upon a match, feed back the instruction of the remote control cipher information match of gateway encrypted message and telepilot to gateway, after gateway receives the instruction of remote control cipher information match of cipher gateway information and telepilot, the first communication path just defines.
First acquisition module 502, for obtaining the status information of described light fixture from described first instruction.
Execution module 503, for performing the operation corresponding with described status information.
Described first instruction comprises the instruction of the order failure of light fixture response telepilot, the status information of described light fixture is response failure information, described execution module specifically for: control for again sending to described gateway the instruction that described light fixture carries out predetermined registration operation, described predetermined registration operation is corresponding with the order that described light fixture responds in the information of the order of telepilot.
The order that described first instruction comprises light fixture response telepilot successfully indicates, the status information of described light fixture comprise response success information open mode context information, specifically for: the display unit controlling described telepilot shows the status information of described light fixture.
Be understandable that, first instruction may be damaged in transmitting procedure, now can verify the first instruction, a kind of telepilot be applied in intelligent illuminating system that the embodiment of the present invention provides also comprises the first instruction demo plant, described first instruction demo plant comprises: the second acquisition module, and English obtains described first check code; Computing module, for using the command context of described first instruction, calculates the second check code; Determination module, for when described first check code and described second check code match, determines that the command context in described first instruction is valid data.
Refer to Fig. 6, be the structural representation of a kind of light fixture be applied in intelligent illuminating system that the embodiment of the present invention provides, this light fixture comprises: generation module 601, set up channel module 602 and sending module 603, wherein:
Generation module 601, for the order sent in response to telepilot, generates the first instruction of the information of the order of light fixture response telepilot.
Set up channel module 602, for setting up the second communication passage between gateway.
Set up channel module 602 to comprise: transmitting element, for sending the instruction of setting up communication path to gateway, the instruction of setting up communication path comprises the light fixture encrypted message of light fixture; Forming unit, during for receiving the instruction of the cipher gateway information match of light fixture encrypted message and the gateway of gateway feedback, the second communication passage between formation with gateway.
Sending module 603, for being sent to described gateway by described second communication passage by described first instruction.
The embodiment of the present invention additionally provides a kind of intelligent illuminating system, and this intelligent illuminating system comprises: the gateway described by above-mentioned arbitrary gateway embodiment, the telepilot that above-mentioned arbitrary remote control embodiment describes, the light fixture described by above-mentioned arbitrary light fixture embodiment.Gateway, telepilot and light fixture can carry out information interaction based on SunforBus agreement.
Can realize bidirectional data transfers alternately based on SunforBus between telepilot, gateway, light fixture, communication mode is simple and reliable, can flexible networking.In intelligent illuminating system, telepilot not only can with gateway communication, can also communicate with light fixture.Can include multiple telepilot in an intelligent illuminating system, multiple telepilot can control same or multiple gateway simultaneously.In communication process, adopt response mode to realize communication, prevent bus from disturbing, increase intelligent illuminating system reliability.
In order to those skilled in the art understand the intelligent illuminating system that the embodiment of the present invention provides more, lift an object lesson below and the mutual process based on SunforBus between telepilot, gateway, light fixture in intelligent illuminating system is introduced.
Referring to Fig. 7, is the structural representation of a kind of intelligent illuminating system that the embodiment of the present invention provides.
Telepilot 701 sends the instruction of setting up communication path to gateway 702, the instruction of setting up communication path comprises the remote control cipher information of telepilot.Gateway 702 receive telepilot send set up the instruction of communication path time, remote control cipher information is obtained from the instruction of setting up communication path, then with self cipher gateway information match, upon a match, the instruction of the remote control cipher information match of gateway encrypted message and telepilot is fed back to telepilot, after remote control to the instruction of the remote control cipher information match of this cipher gateway information and telepilot, the first communication port between gateway and telepilot just establishes.
Telepilot sends to gateway 702 by the first communication port by the first control command of light fixture 703, because telepilot can control one or more gateway, when telepilot controls multiple gateway, first control command can be sent to each gateway with the form of broadcast by telepilot 701, after gateway 702 receives the first control command, first can judge whether effectively (detailed process refers to above-described embodiment first command verification method for command context in the first control command, again do not repeating one by one), when active, gateway address information is obtained from the first control command, then match with the gateway address information of self, upon a match, illustrate that this first control command is exactly the order that gateway 702 issued by telepilot 701.
First gateway 702 sets up second communication path with light fixture 703, and by second communication path, the first control command is sent to light fixture 703, because gateway 702 can control one or more light fixture, when gateway 702 controls multiple light fixture, the light fixture address comprising light fixture 703 is needed in first control command, first control command can be sent to light fixture 703 by gateway 702 in a broadcast manner, after light fixture 703 receives the first control command, light fixture address is obtained from the first control command, when the light fixture addresses match that this light fixture address and light fixture 703 store self, illustrate that this first control command is for light fixture 703, now light fixture 703 performs corresponding operation according to the command context in the first control command.
After light fixture 703 responds the first control command, the first instruction of the information of the order of a light fixture response telepilot can be generated, the second communication path between gateway 702 set up by light fixture 703, this first instruction is sent to gateway 702 by second communication path, gateway 702 first can judge that whether the command context in the first instruction is effective, when active, gateway 702 judges whether the gateway address in the first instruction matches with the gateway address self stored, upon a match, illustrate that this first instruction should be forwarded to telepilot 701 by gateway 702, then gateway 702 sets up the first communication path with telepilot 701, this first instruction is sent to telepilot 701 by the first communication path, telepilot 701 performs corresponding operation after receiving this first instruction.
Telepilot 701 performs the data transmission method that the corresponding detailed process operated can participate in the telepilot be applied in intelligent illuminating system after receiving this first instruction, is not repeating one by one secondary.
Telepilot 701, communication data between gateway 702 and light fixture 703, the first instruction as escribed above, the first control command etc. can be the form of Frame, and the structure of this Frame can as shown in Figure 8,
Frame can comprise 6 fields, and these 6 fields are respectively gateway address field 801, data length field 802, order classification field 803, command context field 804, signcode field 805 and check code field 806, wherein:
Gateway address field 801: each gateway in intelligent illuminating system has a gateway address, gateway address can be broadcast address (broadcast address is effective to all gateways), also can be particular address, and the gateway only matched to gateway address is effective.Gateway address field 801 can storage gateway address.
Data length field 802: the length defining command context in command context field, facilitates data receiver (such as telepilot, gateway, light fixture) to make differentiation, the length of command context in recognition command content field.
Order classification field 803: remote control commands, gateway commands and/or light fixture order can be stored.Remote control commands operates telepilot, and gateway commands operates gateway, and after gateway receives the gateway commands of telepilot transmission, gateway performs corresponding order, no longer sends to light fixture and order.Light fixture order operates light fixture, and after gateway receives the light fixture order of telepilot transmission, gateway to light fixture, after light fixture receives orders, performs this transferring order to order accordingly.
Command context field 804: telepilot, gateway or light fixture need the command context performed.
Signcode field 805: in the communication of radio connection, any two need to need a set of signcode between the terminal of communication.After only having signcode to match, two need the terminal ability proper communication communicated, and signcode field 805 can storage gateway encrypted message, remote control cipher information or light fixture encrypted message.
Check code field 806: verify the command context in command context field, when check code does not mate, illustrates that the command context in command context field is that namely invalid data is damaged, can not correctly identify.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device or system class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (20)

1. a data transmission method, is applied to the gateway in intelligent illuminating system, it is characterized in that, comprising:
Receive the first instruction of the information of the order comprising light fixture response telepilot;
Set up the first communication path between described telepilot;
By described first communication path, described first instruction is sent to described telepilot, described first instruction is for triggering the first instruction described in described remote controller response.
2. data transmission method according to claim 1, it is characterized in that, the first communication path between described foundation and described telepilot comprises:
Send the instruction of setting up communication path to described telepilot, described instruction of setting up communication path comprises the cipher gateway information of described gateway;
When receiving the instruction of the described cipher gateway information of described telepilot feedback and the remote control cipher information match of described telepilot, form the first communication path between described telepilot.
3. data transmission method according to claim 1, it is characterized in that, the first check code and command context is carried in described first instruction, described command context comprises the information of the order of light fixture response telepilot, before the described communication path set up between described gateway and described telepilot, also comprise described first instruction verification method, described first instruction verification method comprises:
Obtain described first check code;
Use the command context of described first instruction, calculate the second check code;
When described first check code and described second check code match, determine that the command context in described first instruction is valid data.
4. data transmission method according to claim 1, it is characterized in that, described first instruction comprises the first gateway address, after described reception comprises the first instruction of the information of the order of light fixture response telepilot, before communication path between described foundation and described telepilot, also comprise:
When the gateway address of described first gateway address and described gateway matches, perform the operation of the communication path between described foundation and described telepilot.
5. a data transmission method, is applied to the telepilot in intelligent illuminating system, it is characterized in that, comprising:
By set up in advance and the first communication path between gateway, receive first instruction comprising the information of the order of light fixture response telepilot of described gateway feedback;
The status information of described light fixture is obtained from described first instruction;
Perform the operation corresponding with described status information.
6. data transmission method according to claim 5, it is characterized in that, described first instruction comprises the instruction of order failure of light fixture response telepilot, and the status information of described light fixture is response failure information, and the described execution operation corresponding with described status information comprises:
Again send to described gateway and control the instruction that described light fixture carries out predetermined registration operation, described predetermined registration operation is corresponding with the order that described light fixture responds in the information of the order of telepilot.
7. data transmission method according to claim 5, it is characterized in that, the order that described first instruction comprises light fixture response telepilot successfully indicates, the status information of described light fixture comprise that response success information open mode context information, the unlatching colouring information of light fixture and light fixture open in information of number one or more, the described execution operation corresponding with described status information comprises:
The display unit controlling described telepilot shows the status information of described light fixture.
8. data transmission method according to claim 5, it is characterized in that, the first check code and command context is carried in described first instruction, described command context comprises the information of the order of light fixture response telepilot, described from described first instruction obtain the status information of described light fixture before, also comprise described first instruction verification method, described first instruction verification method comprises:
Obtain described first check code;
Use the command context of described first instruction, calculate the second check code;
When described first check code and described second check code match, determine that the command context in described first instruction is valid data.
9. a data transmission method, is applied to the light fixture in intelligent illuminating system, it is characterized in that, comprising:
In response to the order that telepilot sends, generate the first instruction of the information of the order of light fixture response telepilot;
Set up the second communication passage between gateway;
By described second communication passage, described first instruction is sent to described gateway.
10. be applied to the gateway in intelligent illuminating system, it is characterized in that, comprising:
Receiver module, for receiving the first instruction of the information of the order comprising light fixture response telepilot;
Set up channel module, for setting up the first communication path between described telepilot;
Sending module, for described first instruction being sent to described telepilot by described first communication path, described first instruction is for triggering the first instruction described in described remote controller response.
11. are applied to the gateway in intelligent illuminating system according to claim 10, it is characterized in that, described channel module of setting up comprises:
Transmitting element, for sending the instruction of setting up communication path to described telepilot, described instruction of setting up communication path comprises the cipher gateway information of described gateway;
Forming unit, during for receiving the instruction of the remote control cipher information match of described cipher gateway information and the described telepilot of described telepilot feedback, the first communication path between formation with described telepilot.
12. are applied to the gateway in intelligent illuminating system according to claim 10, it is characterized in that, the first check code and command context is carried in described first instruction, described command context comprises the information of the order of light fixture response telepilot, the described gateway be applied in intelligent illuminating system also comprises the first instruction demo plant, and described first instruction demo plant comprises:
Acquisition module, for obtaining described first check code;
Computing module, for using the command context of described first instruction, calculates the second check code;
Determination module, for when described first check code and described second check code match, determines that the command context in described first instruction is valid data.
13. are applied to the gateway in intelligent illuminating system according to claim 10, it is characterized in that, described first instruction comprises the first gateway address, also comprises:
Trigger module, for when the gateway address of described first gateway address and described gateway matches, triggers and describedly sets up channel module.
14. 1 kinds are applied to the telepilot in intelligent illuminating system, it is characterized in that, comprising:
Receiver module, for passing through that set up in advance and between gateway the first communication path, receives first instruction comprising the information of the order of light fixture response telepilot of described gateway feedback;
First acquisition module, for obtaining the status information of described light fixture from described first instruction;
Execution module, for performing the operation corresponding with described status information.
15. according to the telepilot be applied to described in claim 14 in intelligent illuminating system, it is characterized in that, described first instruction comprises the instruction of the order failure of light fixture response telepilot, the status information of described light fixture is response failure information, described execution module specifically for: control for again sending to described gateway the instruction that described light fixture carries out predetermined registration operation, described predetermined registration operation is corresponding with the order that described light fixture responds in the information of the order of telepilot.
16. according to the telepilot be applied to described in claim 14 in intelligent illuminating system, it is characterized in that, the order that described first instruction comprises light fixture response telepilot successfully indicates, the status information of described light fixture comprise response success information open mode context information, specifically for: the display unit controlling described telepilot shows the status information of described light fixture.
17. according to the telepilot be applied to described in claim 14 in intelligent illuminating system, it is characterized in that, the first check code and command context is carried in described first instruction, described command context comprises the information of the order of light fixture response telepilot, the described telepilot be applied in intelligent illuminating system also comprises the first instruction demo plant, and described first instruction demo plant comprises:
Second acquisition module, for obtaining described first check code;
Computing module, for using the command context of described first instruction, calculates the second check code;
Determination module, for when described first check code and described second check code match, determines that the command context in described first instruction is valid data.
18. 1 kinds are applied to the light fixture in intelligent illuminating system, it is characterized in that, comprising:
Generation module, for the order sent in response to telepilot, generates the first instruction of the information of the order of light fixture response telepilot;
Set up channel module, for setting up the second communication passage between gateway;
Sending module, for being sent to described gateway by described second communication passage by described first instruction.
19. 1 kinds of intelligent illuminating systems, is characterized in that, comprising:
The arbitrary described gateway of claim 10 to 13;
The arbitrary described telepilot of claim 14 to 17;
And light fixture described in claim 18.
20., according to intelligent illuminating system described in claim 19, is characterized in that, described gateway, described telepilot and described light fixture carry out information interaction based on SunforBus agreement.
CN201410119426.9A 2014-03-27 2014-03-27 Data transmission method, gateway, remote control, lamp and intelligent illuminating system CN104952236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410119426.9A CN104952236A (en) 2014-03-27 2014-03-27 Data transmission method, gateway, remote control, lamp and intelligent illuminating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410119426.9A CN104952236A (en) 2014-03-27 2014-03-27 Data transmission method, gateway, remote control, lamp and intelligent illuminating system

Publications (1)

Publication Number Publication Date
CN104952236A true CN104952236A (en) 2015-09-30

Family

ID=54166856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410119426.9A CN104952236A (en) 2014-03-27 2014-03-27 Data transmission method, gateway, remote control, lamp and intelligent illuminating system

Country Status (1)

Country Link
CN (1) CN104952236A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512719A (en) * 2002-12-31 2004-07-14 联想(北京)有限公司 Interactive network remote control system and intelligent radio remote controller
CN101315727A (en) * 2007-05-30 2008-12-03 海尔集团公司 Universal remote controller
CN101651688A (en) * 2009-09-04 2010-02-17 青岛海信电器股份有限公司 Method and system for transmitting signals
CN101827327A (en) * 2010-03-22 2010-09-08 中兴通讯股份有限公司 USSD-based intelligent household appliance remote control method, device and system
US20100245113A1 (en) * 2009-03-25 2010-09-30 At&T Intellectual Property I, L.P. System and method for tracking a controller
CN102854834A (en) * 2012-08-31 2013-01-02 鸿富锦精密工业(深圳)有限公司 Intelligent switch with long-distance remote control function and long-distance remote control system
CN103476169A (en) * 2013-07-18 2013-12-25 浙江生辉照明有限公司 Indoor navigation control system and method based on LED lighting devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512719A (en) * 2002-12-31 2004-07-14 联想(北京)有限公司 Interactive network remote control system and intelligent radio remote controller
CN101315727A (en) * 2007-05-30 2008-12-03 海尔集团公司 Universal remote controller
US20100245113A1 (en) * 2009-03-25 2010-09-30 At&T Intellectual Property I, L.P. System and method for tracking a controller
CN101651688A (en) * 2009-09-04 2010-02-17 青岛海信电器股份有限公司 Method and system for transmitting signals
CN101827327A (en) * 2010-03-22 2010-09-08 中兴通讯股份有限公司 USSD-based intelligent household appliance remote control method, device and system
CN102854834A (en) * 2012-08-31 2013-01-02 鸿富锦精密工业(深圳)有限公司 Intelligent switch with long-distance remote control function and long-distance remote control system
CN103476169A (en) * 2013-07-18 2013-12-25 浙江生辉照明有限公司 Indoor navigation control system and method based on LED lighting devices

Similar Documents

Publication Publication Date Title
US9526153B2 (en) System and method for light socket adaptation
KR102107201B1 (en) Efficient communication for devices of a home network
Yassein et al. Smart homes automation using Z-wave protocol
US10178579B2 (en) Internet of things (IoT) system and method for selecting a secondary communication channel
Tang et al. Development of a prototype smart home intelligent lighting control architecture using sensors onboard a mobile computing system
US9438443B2 (en) Method and apparatus for registering remote network devices with a control device
US8019229B2 (en) Apparatus, system, method, and program for visible light communication
CN104412245B (en) For the apparatus and method using more than one communication pattern control electrical equipment
US20150089624A1 (en) Security management method and apparatus in a home network system
CA2520784C (en) Packet communication between a collecting unit and a plurality of control devices over the power supply line
CN103379154B (en) Household electric appliance control method, cloud system, home gateway General controller and domestic electric appliances controller
ES2271303T3 (en) FORCE LINE CONTROL SYSTEM.
JP2007502529A (en) System bridge and time clock for RF controlled lighting system
CN105009131A (en) Multi-tiered authentication methods for facilitating communications amongst smart home devices and cloud-based servers
US8755913B2 (en) Lighting control network
US9941748B2 (en) Optical communication and charging device and method of use
US8467911B2 (en) Energy management device and method
JP2004194273A (en) Home network system and method of adding/deleting home electrical appliance therein
US20080057872A1 (en) Method and device for binding in a building automation system
KR20120108737A (en) A method of controlling a lighting part in a lighting system
US9940830B2 (en) Wireless switch assembly, relay retransmission control system and memory card
CN103475703A (en) Intelligent home equipment control method based on ZigBee network
CN103310669B (en) A kind of data transmission method for interactive teaching and system
GB2512781A (en) Network configuration
CA2872048C (en) Power line light controller system and method, having protocol conversion

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150930

RJ01 Rejection of invention patent application after publication