CN104283978B - A kind of apparatus control method, system and converter and third party control system - Google Patents
A kind of apparatus control method, system and converter and third party control system Download PDFInfo
- Publication number
- CN104283978B CN104283978B CN201310286704.5A CN201310286704A CN104283978B CN 104283978 B CN104283978 B CN 104283978B CN 201310286704 A CN201310286704 A CN 201310286704A CN 104283978 B CN104283978 B CN 104283978B
- Authority
- CN
- China
- Prior art keywords
- controlled device
- control system
- logical address
- address
- control
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/681—Types of network addresses using addresses for wireless personal area networks or wireless sensor networks, e.g. Zigbee addresses
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Selective Calling Equipment (AREA)
Abstract
The embodiment of the invention discloses apparatus control method, system and converter and third party control systems, are applied to field of communication technology.In the apparatus control method of the present embodiment, converter can be according to the logical address for the controlled device that the first control command that third party control system is sent includes, and in preset apparatus control system the actual address and logical address of function device correspondence, search the actual address of controlled device;And the actual address of the controlled device according to lookup, the first control command is sent to controlled device, to indicate that controlled device executes the first control command.The a certain controlled device of third party control system control is determined using logical address in the present embodiment, and logical address includes the mark of type information and controlled device in type belonging to controlled device, form is relatively more unified, the actual address for just not having to function device complexity in third party control system processing equipment control system, to alleviate the workload of third party control system.
Description
Technical field
The present invention relates to fields of communication technology, more particularly to apparatus control method, system and converter and third party's control
System.
Background technology
ZigBee wireless technologys are a kind of wireless network protocol technologies of low speed short-distance transmission, in more and more products
In middle extensive use, especially apparatus control system, it can pass through ZigBee's by controller or third party control system
The communication technology controls the ZigBee equipment accessed in the apparatus control system.
Wherein if using third party control system come ZigBee equipment in control device control system when, need to pass through
ZigBee converters connect the communication between third party control system and ZigBee equipment.In order to accurately control in system
ZigBee equipment, third party control system it needs to be determined that ZigBee equipment address, but due in apparatus control system
ZigBee equipment can divide different groups and scene etc. so that the address of ZigBee equipment is also more complicated, such third party's control
System processed will handle the address of more complicated ZigBee-network so that workload is larger.
Invention content
The embodiment of the present invention provides apparatus control method, system and converter and third party control system, alleviates third
The workload of square control system.
The embodiment of the present invention provides a kind of apparatus control method, including:
The first control command that third party control system is sent is received, first control command includes controlled device
Logical address, the logical address include type information belonging to the controlled device and the controlled device in the type
Mark;
In the logical address for the controlled device for including according to first control command and preset apparatus control system
The actual address of function device and the correspondence of logical address search the corresponding actual address of the controlled device;
According to the actual address of the controlled device of the lookup, first control command is sent to described be controlled and is set
It is standby, to indicate that the controlled device executes first control command.
The embodiment of the present invention also provides a kind of apparatus control method, including:
The logical address of controlled device is obtained, the logical address includes the type information and institute belonging to the controlled device
Mark of the controlled device in the type is stated, the controlled device is the function device in apparatus control system;
The first control command is sent to the converter in the apparatus control system, first control command includes quilt
The logical address for controlling equipment, so that the converter is according to the corresponding actual address of logical address of the controlled device, by institute
It states the first control command and is sent to the controlled device execution.
The embodiment of the present invention provides a kind of converter, including:
First order receiving unit, the first control command for receiving third party control system transmission, first control
System order includes the logical address of controlled device, and the logical address includes the type information and institute belonging to the controlled device
State mark of the controlled device in the type;
Actual address searching unit, the first control command for being received according to the first order receiving unit include
Controlled device logical address and preset apparatus control system in the actual address of function device and the correspondence of logical address
Relationship searches the corresponding actual address of the controlled device;
First order retransmission unit, the controlled device for being searched according to the actual address searching unit is practically
First control command is sent to the controlled device by location, is ordered with indicating that the controlled device executes first control
It enables.
The embodiment of the present invention also provides a kind of third party control system, including:
Logical address acquiring unit, the logical address for obtaining controlled device, the logical address include described controlled
The mark of type information and the controlled device in the type belonging to equipment, the controlled device is apparatus control system
In function device;
First command sending unit, for sending the first control command to the converter in the apparatus control system, institute
The logical address that the first control command includes the controlled device that the logical address acquiring unit obtains is stated, so as to the conversion
First control command is sent to described be controlled and set by device according to the corresponding actual address of logical address of the controlled device
It is standby to execute.
The embodiment of the present invention provides a kind of apparatus control system, including converter, function device and third party control system,
Wherein:
The converter, including:
First order receiving unit, the first control command for receiving third party control system transmission, first control
System order includes the logical address of controlled device, and the logical address includes the type information and institute belonging to the controlled device
State mark of the controlled device in the type;
Actual address searching unit, the first control command for being received according to the first order receiving unit include
Controlled device logical address and preset apparatus control system in the actual address of function device and the correspondence of logical address
Relationship searches the corresponding actual address of the controlled device;
First order retransmission unit, the controlled device for being searched according to the actual address searching unit is practically
First control command is sent to the controlled device by location, is ordered with indicating that the controlled device executes first control
It enables;
The third party control system, including:
Logical address acquiring unit, the logical address for obtaining controlled device, the logical address include described controlled
The mark of type information and the controlled device in the type belonging to equipment, the controlled device is apparatus control system
In function device;
First command sending unit, for sending the first control command to the converter in the apparatus control system, institute
The logical address that the first control command includes the controlled device that the logical address acquiring unit obtains is stated, so as to the conversion
First control command is sent to described be controlled and set by device according to the corresponding actual address of logical address of the controlled device
It is standby to execute.
In the apparatus control method of the present embodiment, converter can be according to the first control command of third party control system transmission
The actual address and logical address of function device in the logical address for the controlled device for including and preset apparatus control system
Correspondence, search the actual address of controlled device;And the actual address of the controlled device according to lookup, the first control is ordered
Order is sent to controlled device, to indicate that controlled device executes the first control command.In the present embodiment using logical address come really
Determine a certain controlled device of third party control system control, and logical address including belonging to controlled device type information and by
Mark of the equipment in type is controlled, form is relatively more unified, does not just have to function in third party control system processing equipment control system
The actual address of equipment complexity, to alleviate the workload of third party control system.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art
With obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of logical construction schematic diagram of apparatus control system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart for apparatus control method that the embodiment of the present invention one provides;
Fig. 3 is the flow chart for another apparatus control method that the embodiment of the present invention one provides;
Fig. 4 is the flow chart for another apparatus control method that the embodiment of the present invention one provides;
Fig. 5 is the flow chart for another apparatus control method that the embodiment of the present invention one provides;
Fig. 6 is a kind of flow chart of apparatus control method provided by Embodiment 2 of the present invention;
Fig. 7 is the flow chart of another apparatus control method provided by Embodiment 2 of the present invention;
Fig. 8 is the flow chart of another apparatus control method provided by Embodiment 2 of the present invention;
Fig. 9 a are the structures of the control of remote control control third party control system open function equipment in the embodiment of the present invention
Schematic diagram;
Fig. 9 b are the structural schematic diagrams of third party control system control function equipment in the embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of the converter provided in the embodiment of the present invention;
Figure 11 is the structural schematic diagram of another converter provided in the embodiment of the present invention;
Figure 12 is the structural schematic diagram of another converter provided in the embodiment of the present invention;
Figure 13 is a kind of structural schematic diagram of the third party control system provided in the embodiment of the present invention;
Figure 14 is the structural schematic diagram of another third party control system provided in the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention one
A kind of apparatus control method is provided, the equipment control system of short-distance wireless communication as shown in Figure 1 is mainly used for
Include within the system control device and multiple function devices, which can be by short in the such as ZigBee systems of system
Range wireless communication technologies control function equipment executes a certain function.Further, in order to enable third party control system can be controlled
The function device in the apparatus control system is made, can also include converter, such as ZigBee conversions in apparatus control system
Device etc., to connect the equipment in apparatus control system(Including function device and control device)Between third party control system
Communication.Wherein the converter one end can pass through USB interface, serial line interface such as RS-232 interface or Ethernet interface connection the
Tripartite's control system, the other end can connect the equipment in apparatus control system by short-range wireless radio interface.
It should be noted that can also include management equipment in above equipment control system, which can manage
Function device executes the information such as the scene of function, grouping and the mode that executes function.
Converter in apparatus control system can carry out equipment control, flow chart such as Fig. 2 institutes as follows
Show, including:
Step 101, the first control command that third party control system is sent is received, includes controlled in the first control command
The logical address of equipment, logical address include the mark of type information and controlled device in type belonging to controlled device.This
In controlled device refer to executing function device of a certain function, such as electric light, air-conditioning and electric fan etc. in apparatus control system to set
It is standby;Type information belonging to controlled device refers to controlled device type affiliated during controlled, such as in controlled mistake
Cheng Zhong, night-light, bedside lamp and hall ceiling light etc. belong to light this are a kind of, and this is a kind of at " light " for wherein each function device
Mark in type is all different, can just uniquely determine a function device in this way.
First control command is used to refer to show that controlled device executes a certain function, for example the night-light in pilot light is beaten
It opens, the address of controlled device determines a controlled device using the logical address of Unified Form in the present embodiment.
Step 102, the logical address for the controlled device for including according to the first control command and preset equipment control system
The correspondence of the actual address and logical address of function device in system searches the corresponding actual address of controlled device.
It is appreciated that the actual address of preset function device and the correspondence of logical address can be by upper in converter
The management equipment stated is prior(I.e. before converter executes above-mentioned steps 101)It is preset in the converter, can specifically pass through
Following step A and B is next preset, and flow chart is as shown in figure 3, include:
A:Converter by be added apparatus control system in function device actual address and function device belonging to type
Information is sent to management equipment.
It may include management equipment in above equipment control system, communicated to connect between the management equipment and converter, and
Converter is configured, specifically, after converter is added to apparatus control system, management equipment can control converter and sweep
Retouch the information of the function device in the apparatus control system, such as the type information etc. belonging to actual address and function device, and
The information of scanning is sent to management equipment.
B:Converter receives the actual address of function device that management equipment returns and the correspondence of logical address and storage
It deposits, management equipment can will belong to same type of function device in controlled process and be identified respectively, and by each function
Mark in the actual address of equipment, type information and type binds correspondence and returns to converter.
In the present embodiment, the first control command can be included by converter when searching the actual address of controlled device
The logical address of controlled device matched with preset correspondence, if a certain logical address is patrolled with this in correspondence
Addresses match is collected, then the controlled device that the corresponding actual address of logical address is as found in the correspondence is practically
Location.
Step 103, according to the actual address of the controlled device of lookup, the first control command is sent to controlled device, with
Indicate that controlled device executes the first control command.Specifically, the controlled device that the first control command can be included by converter
Logical address is converted to the actual address found in step 102, and transformed first control command is passed through actual address
It is sent to controlled device, such controlled device just executes a certain function by executing the first control command.
In the apparatus control method of the present embodiment, converter can be according to the first control command of third party control system transmission
The actual address and logical address of function device in the logical address for the controlled device for including and preset apparatus control system
Correspondence, search the actual address of controlled device;And the actual address of the controlled device according to lookup, the first control is ordered
Order is sent to controlled device, to indicate that controlled device executes the first control command.In the present embodiment using logical address come really
Determine a certain controlled device of third party control system control, and logical address including belonging to controlled device type information and by
Mark of the equipment in type is controlled, form is relatively more unified, does not just have to function in third party control system processing equipment control system
The actual address of equipment complexity, to alleviate the workload of third party control system.
It should be noted that described in above-mentioned steps 101 to 103 being controlled by converter by third party control system
The method of function device, and in the particular embodiment, the equipment in apparatus control system(It is set including control device and function
It is standby)Information can also be sent to third party control system by converter, specifically, converter is in addition to that can execute above-mentioned steps
Except 101 to 103, corresponding step can also be executed under following scene:
(1)Refering to what is shown in Fig. 4, when the control device in apparatus control system sends information to third party control system, turn
Following steps 104 to 106 can also be performed in parallel operation:
Step 104, the second control command that the control device in converter receiving device control system is sent, second control
System order includes the actual address of controlled device, since control device is reality by function device in apparatus control system
Border address controls corresponding function device, then it includes controlled device to be in the second control command that control device is sent
Actual address.
Step 105, the actual address and preset equipment for the controlled device that converter includes according to the second control command
The correspondence of the actual address and logical address of function device in control system searches the corresponding logical address of controlled device.
Step 106, it since third party control system is to determine some controlled device by logical address, then needs
The actual address of controlled device in second control command is converted to the logical address searched in step 105 by converter, and will
Transformed second control command is sent to third party control system, so that third party control system opens the control to controlled device
System.
It should be noted that above-mentioned steps 101 to 103, between step 104 to 106 there is no absolute ordinal relation,
It is one of which concrete implementation mode shown in Fig. 4, i.e. control device is first opened by converter and controlled by third party
System control function equipment, then by third party control system by converter come control function equipment.
(2)Refering to what is shown in Fig. 5, when the function device in apparatus control system sends information to third party control system, turn
Following steps 107 to 109 can also be performed in parallel operation:
Step 107, the state report information that the function device in converter receiving device control system is sent, in state report
The actual address that information includes controlled device is accused, it is the state letter that function device executes a certain function which, which offers information,
Breath, such as the information such as brightness, time or temperature of emitting light.
Step 108, the actual address and preset equipment for the controlled device that converter includes according to state report information
The correspondence of the actual address and logical address of function device in control system searches the corresponding logical address of controlled device.
Step 109, the actual address of the controlled device in state report information is converted to lookup logically by converter
Location, and transformed state report information is sent to third party control system, so that third party control system is according to lookup
Logical address identification state report information sends out endpoint, and can send elsewhere out endpoint it is practical execute a certain function when state,
The issuing side point is controlled accordingly.
It should be noted that above-mentioned steps 101 to 103, between step 107 to 109 there is no absolute ordinal relation,
It is one of which concrete implementation mode shown in Fig. 5, i.e. third party control system passes through Changer Device control system
In function device(I.e. above-mentioned controlled device)A certain function is executed, and the function device is controlled to third party by converter and is
System returns to state report information.
The embodiment of the present invention two
A kind of apparatus control method is provided, the control to the function device in system as shown in Figure 1 is mainly can be applied to
Method processed, the method for the present embodiment are the methods performed by third-party control devices, and flow chart is as shown in fig. 6, include:
Step 201, obtain the logical address of controlled device, the logical address include type information belonging to controlled device and
Mark of the controlled device in the type, controlled device is the function device in apparatus control system here.
Third party control system can obtain the function device being added in apparatus control system to transcoder request(On i.e.
State controlled device)Logical address.
Step 202, the first control command is sent to the converter in apparatus control system, and the first control command includes quilt
The logical address for controlling equipment orders the first control so that converter is according to the corresponding actual address of logical address of controlled device
Order is sent to controlled device execution, and the method that conversion implement body executes is as described in above-described embodiment one, herein without repeating.
In the apparatus control method of the present embodiment, third party control system needs the function in control device control system to set
When standby, it is only necessary to handle the logical address of the function device, and the first control command including logical address is passed through converter
It is sent to the controlled function device.Determine that a certain be controlled of third party control system control sets using logical address in this way
It is standby, and logical address includes the mark of type information and controlled device in type belonging to controlled device, form compares system
As soon as without the actual address of function device complexity in third party control system processing equipment control system, to alleviate the
The workload of tripartite's control system.
It should be noted that described in above-mentioned steps 201 to 202 being controlled by converter by third party control system
The method of function device, and in the particular embodiment, the equipment in apparatus control system(It is set including control device and function
It is standby)Information can also be sent to third party control system by converter, specifically, third party control system is in addition to that can execute
Except above-mentioned steps 201 to 202, corresponding step can also be executed under following scene:
(1)Refering to what is shown in Fig. 7, when the control device in apparatus control system sends information to third party control system, the
Following steps 203 to 204 can also be performed in tripartite's control system:
Step 203, the second control command of the control device in the apparatus control system of receiving converter forwarding, second
Control command includes the logical address of controlled device, and wherein converter forwards method such as above-described embodiment of the second control command
Described in one, herein without repeating.
Step 204, the control for the corresponding controlled device of logical address for including to the second control command is opened.
It should be noted that above-mentioned steps 201 to 202, between step 203 to 204 there is no absolute ordinal relation,
Only one of which concrete implementation mode, i.e. control device shown in fig. 7 are first opened by converter and are controlled by third party
System control function equipment, then by third party control system by converter come control function equipment.
(2)Refering to what is shown in Fig. 8, when the function device in apparatus control system sends information to third party control system, turn
Following steps 205 to 206 can also be performed in parallel operation:
Step 205, the state report information of the function device in the apparatus control system of receiving converter forwarding, in state
Report information includes the logical address of controlled device, wherein the method for converter forwarding state report information such as above-described embodiment
Described in one, herein without repeating.
Step 206, the function device for sending out state report information is determined according to logical address, and according to state report information
Control function equipment, for example if the temperature of some lamp is too high, third party control system can control the luminous quantity of the lamp
Reduce etc..
It should be noted that above-mentioned steps 201 to 202, between step 205 to 206 there is no absolute ordinal relation,
Only one of which concrete implementation mode, i.e. third party control system shown in fig. 8 pass through Changer Device control system
In function device(I.e. above-mentioned controlled device)A certain function is executed, and the function device is controlled to third party by converter and is
System returns to state report information.
The apparatus control method described in the embodiment of the present invention is illustrated with a specific embodiment below, in the present embodiment
Apparatus control system is ZigBee-network system, and function device therein is the equipment that a certain function is executed in ZigBee equipment,
Control device can be ZigBee remote controlers, specifically:
1, management equipment is configured function device, remote controler and ZigBee converters that ZigBee-network is added,
In, management equipment may include Visualized User Interface, which can provide user's figure of input and display
Interface(Abbreviation user interface), specifically:
(1)Management equipment can control the scanning of ZigBee converters, create and be added ZigBee-network, there is ZigBee converters
Preserve the network information.
(2)User can scan ZigBee-network with the user interface that operational administrative equipment is shown to trigger ZigBee converters
In each function device, and after the actual address of these function devices and affiliated type information are summarized, be reported to
Management equipment.
(3)Management equipment creates virtual controlling endpoint and scene etc., wherein the virtual controlling endpoint created can be by class
The identical multiple function devices of type may include multiple during a secondary control in scene as a virtual controlling endpoint
The status information of function device.For example, the virtual controlling endpoint " light " created can be as shown in table 1 below, the wherein virtual control
All function devices in endpoint processed(Such as night-light etc.)" light " this type is belonged to, and number can be used as in class in class
Mark can uniquely determine a function device by " light "+" number in class " in this way.
Table 1
Function device title | Number in class | Function device title | Number in class |
Night-light | 1 | Hall ceiling light | 2 |
Left bedside lamp | 3 | Right bedside lamp | 4 |
Bathroom light | 5 | Desk lamp | 6 |
Entrance corridors ceiling light | 7 |
The scene 1 that management equipment creates can be as shown in table 2 below, wherein in a secondary control, only left bedside lamp is in
Opening state, other light are all closed, and management equipment can also create other scenes.
Table 2
Light title | Setting state | Light title | Number in class |
1- night-lights | It closes | The halls 2- ceiling light | It closes |
The left bedside lamps of 3- | It opens | The right bedside lamps of 4- | It closes |
5- bathroom lights | It closes | 6- desk lamps | It closes |
7- entrance corridors ceiling lights | It closes |
It should be noted that management equipment can also configure the remote controler of energy direct control function equipment(That is control device)
The information of upper each button, including the information etc. of scene that the mark of each button and each button can control, and by these
Configuration information is written in remote controler, and it is each to control each function device realization that such user can be operated the button of remote controler
Scene.
(4)The logical address of management equipment setting function device and the correspondence of actual address are simultaneously written to ZigBee turns
In parallel operation, specifically logical address includes the type information belonging to function device and the mark in type, wherein function device
The type information can be each virtual controlling endpoint that management equipment creates(Such as above-mentioned light)Information, or
The information of one scene, such as a button of above-mentioned remote controler can control the function device under a scene, i.e. a button
Mark may act as type information;Mark in type can be number of the function device in scene or virtual
Control the number in endpoint.
2, after management equipment sets ZigBee converters, function device and remote controler, you can by third, that side controls system
System is connected on ZigBee converters, by third party control system control function equipment.
(1)With reference to shown in figure 9a, user presses the button of ZigBee remote controlers, then the ZigBee remote controlers will send packet
The second control command of group address 0x2B15 is included, wherein group address is the actual address of function device, it is desirable that third party controls
System opens the control to the function device of the actual address;
ZigBee converters find item corresponding with group address after receiving the second control command in correspondence
It is corresponding logically thus to obtain the actual address that the second control command includes for mesh, i.e. " 0.2b15.0.1.10.0.7 "
Location " 10.0.7 ", for indicating the 7th virtual input channel;
After actual address in second control command is converted to logical address by ZigBee converters, by transformed second
Control command is sent to third party control system, and such third party control system may turn on to the 7th virtual input channel
Control.
(2)With reference to shown in figure 9b, the triggering of user's operation third party control system sends the first control command, including work(
Can equipment logical address, i.e., belonging to mark " 05 " in type " street lamp "+type, it is desirable that the 5th street lamp is opened;
ZigBee converters are found corresponding with logical address after receiving the first control command in correspondence
Entry, i.e. " 1.0.5.1.1.FEAD.0A " can thus obtain the corresponding reality of logical address that the first control command includes
Address " FEAD.0A ", for indicating that the short address of the ZigBee-network endpoint where the 5th street lamp is " 0xFEAD ", endpoint number is
“0x0A”;
After logical address in first control command is converted to actual address by ZigBee converters, by transformed first
Control command is sent to the 5th street lamp, and state will be changed into open state by such 5th street lamp.
The embodiment of the present invention also provides a kind of converter, can be according to above-mentioned implementation between each unit in the converter
Method described in example one carries out equipment control, and structural schematic diagram is as shown in Figure 10, including:
First order receiving unit 10, the first control command for receiving third party control system transmission, described first
Control command includes the logical address of controlled device, the logical address include type information belonging to the controlled device and
Mark of the controlled device in the type.
Actual address searching unit 11, in the first control command for being received according to the first order receiving unit 10
Including the logical address of controlled device and the actual address of function device in preset apparatus control system and logical address
Correspondence searches the corresponding actual address of the controlled device.
First order retransmission unit 12, the reality of the controlled device for being searched according to the actual address searching unit 11
First control command is sent to the controlled device by address, to indicate that the controlled device executes first control
Order.
In the converter of the present embodiment, the meeting of actual address searching unit 11 is controlled according to first that third party control system be sent
It makes the actual address of function device in the logical address for ordering the controlled device for including and preset apparatus control system and patrols
The correspondence for collecting address, searches the actual address of controlled device;And by the first order retransmission unit 12 according to the controlled of lookup
First control command is sent to controlled device by the actual address of equipment, to indicate that controlled device executes the first control command.This
Sample determines a certain controlled device of third party control system control using logical address, and logical address includes controlled device
Mark of the affiliated type information and controlled device in type, form is relatively more unified, does not just have to third party control system and handles
The actual address of function device complexity in apparatus control system, to alleviate the workload of third party control system.
With reference to shown in figure 11, in a specific embodiment, converter is in addition to may include structure as shown in Figure 10
Outside, it can also include the second order receiving unit 13, the first logical address searching unit 14, the second order retransmission unit 15, report
Information receiving unit 16, the second logical address searching unit 17 and report information retransmission unit 18 are accused, wherein:
Second order receiving unit 13, the second control life sent for the control device in receiving device control system
It enables, second control command includes the actual address of controlled device.
First logical address searching unit 14, the second control for being received according to the second order receiving unit 13 are ordered
It the actual address of function device and is patrolled in the actual address for the controlled device that order includes and the preset apparatus control system
The correspondence for collecting address, searches the corresponding logical address of the controlled device.
Second order retransmission unit 15, for being converted to the actual address of the controlled device in second control command
The logical address that the first logical address searching unit 14 is searched, and transformed second control command is sent to institute
Third party control system is stated, so that the third party control system opens the control to the controlled device.
Report information receiving unit 16, the state report letter sent for the function device in receiving device control system
Breath, the state report information includes the actual address of controlled device.
Second logical address searching unit 17, the state report for being received according to the report information receiving unit 16 are believed
It the actual address of function device and is patrolled in the actual address for the controlled device that breath includes and the preset apparatus control system
The correspondence for collecting address, searches the corresponding logical address of the controlled device.
Report information retransmission unit 18, for being converted to the actual address of the controlled device in the state report information
The logical address that the second logical address searching unit 17 is searched, and the transformed state report information is sent to institute
Third party control system is stated, so that the third party control system identifies the state report according to the logical address of the lookup
Information sends out endpoint.
In the present embodiment, when pass through the second order receiving unit 13, the first logical address searching unit 14 and second order
After the second of control device order is transmitted to third party control system by retransmission unit 15, third party control system can be opened pair
The control of exact function device, and the first control command is sent to converter;Then received in the converter by the first order
First control command, is sent to controlled function by unit 10, actual address searching unit 11 and the first order retransmission unit 12
Equipment executes first control command, and in this process, controlled function device can be returned to third party control system
State report information;Then believed by report information receiving unit 16, the second logical address searching unit 17 and report in converter
Cease retransmission unit 18, you can the state report information of controlled device is returned into third party control system.
With reference to shown in figure 12, in another specific embodiment, converter is in addition to may include knot as shown in Figure 10
Outside structure, can also include information reporting unit 19 and correspondence receiving unit 20, wherein:
Information reporting unit 19, actual address for the function device in the apparatus control system will to be added and described
Type information belonging to function device is sent to management equipment;
Correspondence storage element 20, actual address for receiving the function device that the management equipment returns and
The correspondence of logical address and storage.
In the present embodiment, the information reporting unit 19 in converter can scan after obtaining the relevant information of function device,
It is reported to management equipment, so as to the information that management equipment is reported according to information reporting unit 19, obtains the reality of each function device
The correspondence of border address and logical address is simultaneously sent to converter, then the correspondence storage element 20 in converter receives
It is stored after correspondence, such actual address searching unit 11 will be stored up when searching actual address according to correspondence
The correspondence that memory cell 20 stores is searched.
The embodiment of the present invention also provides a kind of third party control system, between each unit in the third party control system
Equipment control can be carried out according to the method described in above-described embodiment two, structural schematic diagram is as shown in figure 13, including:
Logical address acquiring unit 30, the logical address for obtaining controlled device, the logical address include the quilt
Mark of the type information and the controlled device belonging to equipment in the type is controlled, the controlled device is equipment control system
Function device in system;
First command sending unit 31, for sending the first control command to the converter in the apparatus control system,
First control command includes the logical address for the controlled device that the logical address acquiring unit 30 obtains, so as to described
First control command is sent to the quilt by converter according to the corresponding actual address of logical address of the controlled device
Equipment is controlled to execute.
When the third party control system of the present embodiment needs the function device in control device control system, logical address obtains
It takes unit 30 to obtain the logical address of the function device, and is controlled first including logical address by the first command sending unit 31
System order is sent to the controlled function device by converter.Third party control system control is determined using logical address in this way
The a certain controlled device of system, and logical address includes the mark of type information and controlled device in type belonging to controlled device
To know, form is relatively more unified, does not just have to the actual address of function device complexity in third party control system processing equipment control system,
To alleviate the workload of third party control system.
With reference to shown in figure 14, in a specific embodiment, third party control system is in addition to may include such as Figure 13 institutes
Can also include the second order receiving unit 32, unlatching control unit 33, report information receiving unit 34 and control outside the structure shown
Unit 35 processed, wherein:
Second order receiving unit 32, the control in the apparatus control system for receiving the converter forwarding are set
The second standby control command, second control command include the logical address of controlled device described in the converter.
Control unit 33 is opened, is wrapped for opening in the second control command received to the second order receiving unit 22
The control of the corresponding controlled device of logical address included.
Report information receiving unit 34, the function in the apparatus control system for receiving the converter forwarding are set
Standby state report information, the state report information include the logical address of controlled device described in the converter.
Control unit 35, in the state report information for being received according to the report information receiving unit 34 logically
Location determines the function device for sending out the state report information, and controls the function device according to the state report information.
In the third party control system of the present embodiment, by the second order receiving unit 32 and open control unit 33 can be with
By the control of control device in converter accepting device control system, the control to some function device is opened;Then wherein
Logical address acquiring unit 30 and the first command sending unit 31 the first control command will be sent by converter to controlled
Function device execute;And during controlled device executes the first control command, third-party control devices can pass through report
Information receiving unit 34 and control unit 35 are accused, the execution state of controlled device is grasped and is controlled accordingly.
The embodiment of the present invention also provides a kind of apparatus control system, and structural schematic diagram can be with as shown in Figure 1, include function
Equipment, converter and third party control system, the wherein structure of converter and any converter described in above-described embodiment
Structure is similar, and the structure class of any third party control system described in structural domain above-described embodiment of third party control system
Seemingly, herein without repeating.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include:Read-only memory(ROM), random access memory(RAM), disk or CD etc..
Be provided for the embodiments of the invention above apparatus control method, system and converter and third party control system into
It has gone and has been discussed in detail, principle and implementation of the present invention are described for specific case used herein, the above implementation
The explanation of example is merely used to help understand the method and its core concept of the present invention;Meanwhile for the general technology people of this field
Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation
Book content should not be construed as limiting the invention.
Claims (11)
1. a kind of apparatus control method, which is characterized in that including:
The first control command that third party control system is sent is received, first control command includes the logic of controlled device
Address, the logical address include the mark of type information and the controlled device in the type belonging to the controlled device
Know;
Function in the logical address for the controlled device for including according to first control command and preset apparatus control system
The actual address of equipment and the correspondence of logical address search the corresponding actual address of the controlled device;
According to the actual address of the controlled device of the lookup, first control command is sent to the controlled device, with
Indicate that the controlled device executes first control command;
The method further includes following steps:
The second control command that control device in receiving device control system is sent, second control command include controlled
The actual address of equipment;
In the actual address for the controlled device for including according to second control command and the preset apparatus control system
The actual address of function device and the correspondence of logical address search the corresponding logical address of the controlled device;
The actual address of controlled device in second control command is converted to the logical address of the lookup, and will be described
Transformed second control command is sent to the third party control system, so that the third party control system is opened to described
The control of controlled device.
2. the method as described in claim 1, which is characterized in that the method further includes following steps:
The state report information that function device in receiving device control system is sent, the state report information include controlled
The actual address of equipment;
In the actual address for the controlled device for including according to the state report information and the preset apparatus control system
The actual address of function device and the correspondence of logical address search the corresponding logical address of the controlled device;
The actual address of controlled device in the state report information is converted to the logical address of the lookup, and will be described
Transformed state report information is sent to the third party control system, so that the third party control system is looked into according to
What the logical address looked for identified the state report information sends out endpoint.
3. such as claim 1 to 2 any one of them method, which is characterized in that described to receive what third party control system was sent
Further include following steps before first control command:
By be added the function device in the apparatus control system actual address and the function device belonging to type information
It is sent to management equipment;
Receive the actual address of the function device and the correspondence of logical address that the management equipment returns and storage.
4. a kind of apparatus control method, which is characterized in that including:
The logical address of controlled device is obtained, the logical address includes the type information and the quilt belonging to the controlled device
Mark of the equipment in the type is controlled, the controlled device is the function device in apparatus control system;
The first control command is sent to the converter in the apparatus control system, first control command includes controlled sets
Standby logical address, so that the converter is according to the corresponding actual address of logical address of the controlled device, by described
One control command is sent to the controlled device and executes:
Receive the second control command of the control device in the apparatus control system of the converter forwarding, second control
System order includes the logical address of the controlled device;
Open the control for the corresponding controlled device of logical address for including to second control command.
5. method as claimed in claim 4, which is characterized in that the method further includes following steps:
Receive the state report information of the function device in the apparatus control system of the converter forwarding, the state report
Accuse the logical address that information includes the controlled device;
The function device for sending out the state report information is determined according to the logical address, and according to the state report information
Control the function device.
6. a kind of converter, which is characterized in that including:
First order receiving unit, the first control command for receiving third party control system transmission, the first control life
Order includes the logical address of controlled device, and the logical address includes the type information and the quilt belonging to the controlled device
Control mark of the equipment in the type;
Actual address searching unit, the quilt that the first control command for being received according to the first order receiving unit includes
The actual address of function device and the corresponding of logical address are closed in the logical address of control equipment and preset apparatus control system
System, searches the corresponding actual address of the controlled device;
First order retransmission unit, the actual address of the controlled device for being searched according to the actual address searching unit will
First control command is sent to the controlled device, to indicate that the controlled device executes first control command;
Second order receiving unit, it is described for the second control command that the control device in receiving device control system is sent
Second control command includes the actual address of controlled device;
First logical address searching unit, the second control command for being received according to the second order receiving unit include
The actual address of controlled device and the actual address of function device in the preset apparatus control system and logical address
Correspondence searches the corresponding logical address of the controlled device;
Second order retransmission unit, for the actual address of the controlled device in second control command to be converted to described
The logical address that one logical address searching unit is searched, and transformed second control command is sent to the third party
Control system, so that the third party control system opens the control to the controlled device.
7. converter as claimed in claim 6, which is characterized in that further include:
Report information receiving unit, it is described for the state report information that the function device in receiving device control system is sent
State report information includes the actual address of controlled device;
Second logical address searching unit, the state report information for being received according to the report information receiving unit include
The actual address of controlled device and the actual address of function device in the preset apparatus control system and logical address
Correspondence searches the corresponding logical address of the controlled device;
Report information retransmission unit, for the actual address of the controlled device in the state report information to be converted to described
The logical address that two logical address searching units are searched, and the transformed state report information is sent to the third party
Control system, so that the third party control system identifies according to the logical address of the lookup hair of the state report information
Go out endpoint.
8. converter as claimed in claims 6 or 7, which is characterized in that further include:
Information reporting unit, for setting the actual address for the function device being added in the apparatus control system and the function
Standby affiliated type information is sent to management equipment;
Correspondence storage element, actual address for receiving the function device that the management equipment returns and logically
The correspondence of location and storage.
9. a kind of third party control system, which is characterized in that including:
Logical address acquiring unit, the logical address for obtaining controlled device, the logical address include the controlled device
Mark of the affiliated type information and the controlled device in the type, the controlled device is in apparatus control system
Function device;
First command sending unit, for sending the first control command to the converter in the apparatus control system, described the
One control command includes the logical address for the controlled device that the logical address acquiring unit obtains, so as to the converter root
According to the corresponding actual address of the logical address of the controlled device, first control command is sent to the controlled device and is held
Row:
Second order receiving unit, the of the control device in the apparatus control system for receiving converter forwarding
Two control commands, second control command include the logical address of the controlled device;
Open control unit, the control for opening the corresponding controlled device of logical address for including to second control command
System.
10. third party control system as claimed in claim 9, which is characterized in that further include:
Report information receiving unit, the shape of the function device in the apparatus control system for receiving the converter forwarding
State report information, the state report information include the logical address of the controlled device;
Control unit, for determining the function device for sending out the state report information according to the logical address, and according to institute
It states state report information and controls the function device.
11. a kind of apparatus control system, which is characterized in that including converter, function device and third party control system, wherein:
The converter is such as claim 6 to 8 any one of them converter;
The third party control system is such as claim 9 to 10 any one of them third party control system.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310286704.5A CN104283978B (en) | 2013-07-09 | 2013-07-09 | A kind of apparatus control method, system and converter and third party control system |
PCT/CN2014/081831 WO2015003616A1 (en) | 2013-07-09 | 2014-07-08 | Device control method, system, and converter and third-party control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310286704.5A CN104283978B (en) | 2013-07-09 | 2013-07-09 | A kind of apparatus control method, system and converter and third party control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104283978A CN104283978A (en) | 2015-01-14 |
CN104283978B true CN104283978B (en) | 2018-08-03 |
Family
ID=52258449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310286704.5A Active CN104283978B (en) | 2013-07-09 | 2013-07-09 | A kind of apparatus control method, system and converter and third party control system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104283978B (en) |
WO (1) | WO2015003616A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453073A (en) * | 2016-09-30 | 2017-02-22 | 北京小米移动软件有限公司 | Information transmission method and apparatus |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105066339B (en) * | 2015-07-28 | 2018-04-03 | 广东美的暖通设备有限公司 | control method and device for air conditioner |
CN107515594A (en) * | 2016-06-17 | 2017-12-26 | 上海澜腾智能科技有限公司 | Household appliance controlling system and its control method |
CN107358540B (en) * | 2017-05-24 | 2021-11-05 | 国网北京市电力公司 | Signal processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1349340A2 (en) * | 2002-03-15 | 2003-10-01 | Lg Electronics Inc. | Method for controlling a home appliance networking system |
CN101908989A (en) * | 2010-08-16 | 2010-12-08 | 海尔集团公司 | Control method for intelligent appliance |
CN201749342U (en) * | 2009-10-26 | 2011-02-16 | 华为终端有限公司 | Control device and control system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848126A (en) * | 2010-04-30 | 2010-09-29 | 中山大学 | Interactive method for controlling intelligent home equipment and home network system |
CN102404897A (en) * | 2010-09-10 | 2012-04-04 | 上海三思电子工程有限公司 | Intelligent control device of light-emitting diode (LED) street lamps with querying and identifying functions and intelligent control method |
CN102612214A (en) * | 2012-02-24 | 2012-07-25 | 杭州意博高科电器有限公司 | Light control system based on android smart cell phone |
CN202979002U (en) * | 2012-08-31 | 2013-06-05 | 鸿富锦精密工业(深圳)有限公司 | Intelligent household network system and intelligent gateway thereof |
CN103475703A (en) * | 2013-09-06 | 2013-12-25 | 四川九洲电器集团有限责任公司 | Intelligent home equipment control method based on ZigBee network |
-
2013
- 2013-07-09 CN CN201310286704.5A patent/CN104283978B/en active Active
-
2014
- 2014-07-08 WO PCT/CN2014/081831 patent/WO2015003616A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1349340A2 (en) * | 2002-03-15 | 2003-10-01 | Lg Electronics Inc. | Method for controlling a home appliance networking system |
CN201749342U (en) * | 2009-10-26 | 2011-02-16 | 华为终端有限公司 | Control device and control system |
CN101908989A (en) * | 2010-08-16 | 2010-12-08 | 海尔集团公司 | Control method for intelligent appliance |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453073A (en) * | 2016-09-30 | 2017-02-22 | 北京小米移动软件有限公司 | Information transmission method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2015003616A1 (en) | 2015-01-15 |
CN104283978A (en) | 2015-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104283978B (en) | A kind of apparatus control method, system and converter and third party control system | |
US9560728B2 (en) | Networked lighting management | |
CN104089371B (en) | Multi-online air-conditioning system | |
CN105068438B (en) | Larger office building intelligent electrical appliance control system and method | |
CN104656607B (en) | One kind is based on stage multimachine without line coordination system | |
CN109348463A (en) | Bluetooth Mesh network and its network-building method and electrical equipment | |
CN103987173B (en) | Indoor illumination control system and indoor intelligent control system | |
CN109041367A (en) | Intelligent lighting control system, method, medium, terminal, Intelligent lamp and intelligent gateway | |
CN105005203B (en) | Intelligent home control system based on control panel and method | |
US9961512B2 (en) | Method for operating and commissioning devices in a ZigBee network | |
CN107592372A (en) | A kind of intelligent wireless lighting control system | |
CN109168214A (en) | LED lamp control method and system, LED control gateway | |
CN106338922B (en) | The generation method and device of intelligent scene mode | |
CN105960829A (en) | Zigbee light link network commissioning | |
CN106094550A (en) | Intelligent home device control system and method | |
CN106302173B (en) | The method for controlling equipment and its topology learning | |
CN106255048A (en) | WIFI MESH network alignment system | |
CN109936490A (en) | Virtual home network share method and system based on VXLAN and OpenFlow | |
CN105353738B (en) | The control method and system of household electrical appliance | |
CN103905221A (en) | General topological link accurate discovery method | |
CN205378307U (en) | Teaching building intelligent lighting control system based on zigBee | |
CN109195199A (en) | A kind of management method and device of AP | |
CN103987179B (en) | Lamp group localization method in intelligent light control system | |
CN207743977U (en) | A kind of energy saving intelligent domestic system based on cloud computing platform | |
CN106603257A (en) | Method for determining association relationship between station and switch port |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |