CN101163073A - Networking method of intelligent domestic system, data transmission method and intelligent domestic system - Google Patents

Networking method of intelligent domestic system, data transmission method and intelligent domestic system Download PDF

Info

Publication number
CN101163073A
CN101163073A CNA2007101773558A CN200710177355A CN101163073A CN 101163073 A CN101163073 A CN 101163073A CN A2007101773558 A CNA2007101773558 A CN A2007101773558A CN 200710177355 A CN200710177355 A CN 200710177355A CN 101163073 A CN101163073 A CN 101163073A
Authority
CN
China
Prior art keywords
gateway
wireless module
address
termination unit
line termination
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.)
Pending
Application number
CNA2007101773558A
Other languages
Chinese (zh)
Inventor
江江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PROBA TECHNOLOGIES (BEIJING) Co Ltd
Original Assignee
PROBA TECHNOLOGIES (BEIJING) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PROBA TECHNOLOGIES (BEIJING) Co Ltd filed Critical PROBA TECHNOLOGIES (BEIJING) Co Ltd
Priority to CNA2007101773558A priority Critical patent/CN101163073A/en
Publication of CN101163073A publication Critical patent/CN101163073A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a networking method and a data transmission method of an intelligent household system and the intelligent household system. The intelligent household comprises an exchanging server, a gateway, wireless terminal equipment and / or cable terminal equipment. The cable terminal equipment is directly connected with the port of the gateway. The networking method comprises that: a wireless module connected with the port of the gateway is arranged; the wireless module and the cable terminal equipment are unified to address. A binding is established between the wireless module and the cable terminal equipment. The data packet which is received by the gateway and is distributed to the wireless terminal equipment bond with the wireless module by the exchanging server is transmitted to the wireless terminal equipment by the wireless module. And the date packet which is sent to the exchanging server by the wireless terminal equipment bond with the wireless module is distributed to the gateway which is connected with the wireless module. The invention provides the equal status to the cable and wireless equipment, so the networking structure of the intelligent household system is simplified and the information transmitting between terminals with different communication agreements can be realized.

Description

The network-building method of intelligent domestic system, data transmission method and intelligent domestic system
Technical field
The present invention relates to build the intelligent domestic system of building, particularly relate to a kind of network-building method, data transmission method and intelligent domestic system of intelligent domestic system.
Background technology
Intelligent domestic system is to utilize technology such as advanced computer, network service, automatic control, and the various application subsystems relevant with family life are organically combined, and by integrated management, makes family life more comfortable, safe, effective and energy-conservation.And at this wherein, how setting up a reliable communication network is the prerequisite that guarantees that whole intelligent domestic system can effectively move.
Initial intelligent domestic system adopts the network mode of wire cable to connect more, each terminal equipment is concentrated by cable and is connected to corresponding gateway, be connected to swap server by gateway again, though the network of realizing connects very stable for Equipment Control like this, and the response speed of terminal equipment is also very fast, but the changeability of network configuration and flexibility are all relatively poor in this method, increase or delete a terminal equipment and all may need to change electric wire or the control line that has laid, thereby such intelligent domestic system is too dependent on initial designs, if there is incomplete place in initial designs, it is additional that perhaps subsequent process need carry out terminal equipment, and cost will be quite big.
Radio network technique is one of Information Technology Development important symbol in recent years, bluetooth wherein (Bluetooth) technology, (802.11 Institute of Electrical and Electronics Engineers IEEE IEEE is in the Wireless LAN standard of bulletin in 1997) technology, Zigbee (the wireless protocols that passed through in 2003, being the wireless data sending network platform that can form by 65000 wireless data transmission modules at most) technology etc. reaches its maturity, it is loaded down with trivial details to utilize wireless access technology to remedy in wired access wiring, change shortcomings such as cable wiring manufacture cycle length and poor expandability, can obviously improve the flexibility and the convenience of intelligent domestic system networking, thereby be the development inexorable trend of intelligent domestic system the networking structure that wireless access technology is introduced intelligent domestic system.
Yet after in intelligent domestic system, proposing the wired and wireless networking mode that combines, the line termination unit that how to guarantee wired access and the wireless terminal device of wireless access can stablize equally insert and how to guarantee accurate, the high efficiency of transmission of data in the above-mentioned networking all be need solution problem.
Summary of the invention
The network-building method, data transmission method and the intelligent domestic system that the purpose of this invention is to provide a kind of intelligent domestic system, solve prior art and can not fully utilize wired access and wireless access, all relatively poor technical problem of accuracy of networking convenience, extensibility and the transfer of data of system.
To achieve these goals, the invention provides a kind of network-building method of intelligent domestic system, this intelligent domestic system comprises: swap server, gateway, wireless terminal device and/or line termination unit, described line termination unit directly is connected with gateway port, wherein, described network-building method also comprises: the wireless module that is connected with described gateway port is set, described wireless module and described line termination unit unified addressing, described wireless module and wireless terminal device are set up binding; By described wireless module transmit that gateway receives, be issued to packet with the wireless terminal device of this wireless module binding to described wireless terminal device by swap server; And transmit with the wireless terminal device of this wireless module binding and be sent to the packet of swap server to the gateway that links to each other with this wireless module.
To achieve these goals, the present invention also provides the method for transfer of data in a kind of intelligent domestic system, wherein, in the described intelligent domestic system wireless module is set, line termination unit in described wireless module and the described system all with described system in gateway directly be connected and unified addressing and address binding; Described wireless module also with system in wireless terminal device carry out address binding, described method comprises:
A. described wireless terminal device sends request data package to the wireless module with its binding;
B. described wireless module is forwarded to gateway with its binding with the request data package that receives;
C. described line termination unit sends request data package to the gateway with its binding;
D. described gateway will receive the Frame that request data package is encapsulated as the predetermined protocol form, and be sent to the swap server in the described system;
E. described swap server upgrades the destination address that request data package comprised in the Frame that receives according to the strategy that presets, and carries out Frame according to the destination address that upgrades and transmit.
Above-mentioned method, wherein, in the described steps d, described gateway is when receiving request data package, judge when the gateway address that is comprised in the described request source data packet address is its local address, will receive the Frame that the described request packet encapsulation is the predetermined protocol form.
Above-mentioned method, wherein, among the described step e, carry out the Frame forwarding according to the destination address that upgrades and further comprise: described swap server will comprise the Frame that upgrades the destination address packet and be sent to the pairing gateway of this destination address; After described gateway receives above-mentioned Frame, described Frame is sealed off dress, and this request data package is forwarded to wireless module or line termination unit with its binding according to the destination address in the request data package; Described wireless module is forwarded to the wireless terminal device corresponding with destination address with the request data package that receives.
Above-mentioned method, wherein, among the described step e, the strategy that presets is meant existing fixing corresponding relation between wireless terminal device/line termination unit that sends request data package and the wireless terminal device/line termination unit that receives request data package.
Above-mentioned method, wherein, it is to set up when newly being connected at described wireless module/line termination unit and gateway that described described wireless module/line termination unit and gateway are bound, described binding comprises further:
Steps A 1, described wireless module/line termination unit powers on, and sends " obtaining address command " to the gateway that links to each other;
Step B1, after described gateway received described order, to described wireless module/line termination unit echo reply message, described response message comprised the IP address, described wireless module/line termination unit corresponding port number of described gateway;
Step C1 adds that with the IP address of described gateway described wireless module/line termination unit connects the address of the port numbering of gateway as wireless module/line termination unit;
At this moment, the address with described wireless module adds the address of the address number of the wireless terminal device that presets in the wireless module as described wireless terminal device.
Above-mentioned method, wherein, described predetermined protocol is an ICP/IP protocol, described wireless module is module, bluetooth module that meets the Zigbee agreement or the module that meets 802.11 standards.
To achieve these goals, the present invention also provides a kind of intelligent domestic system, comprise: swap server, gateway, terminal equipment, wherein, this system also comprises wireless module, described terminal equipment comprises wireless terminal device and/or line termination unit, the line termination unit in described wireless module and the described system all with described system in gateway directly be connected and unified addressing and address binding; Described wireless module also with system in wireless terminal device carry out address binding, wherein: described wireless terminal device, the wireless module that is used for Xiang Yuqi binding sends request data package, and carries out corresponding operating according to the request data package that receives; Described line termination unit, the gateway that is used for the Xiang Yuqi binding sends request data package, and carries out corresponding operating according to the request data package that receives; Described gateway is used for being encapsulated as the Frame of predetermined protocol form with receiving request data package, and is sent to described swap server; Also be used for the Frame that receives is sealed off dress, request data package wherein be sent to the line termination unit or the wireless module of destination address correspondence; Described wireless module, be used for when receiving the request data package of wireless terminal device transmission, forward it to the gateway with its binding, when receiving the request data package that gateway issues, forward it to corresponding wireless terminal device according to the destination address in the packet; Described swap server is used for when receiving Frame, according to the strategy that presets the destination address that request data package comprised in the Frame is upgraded, and will carry out Frame according to the destination address that upgrades and be forwarded to corresponding gateway.
Above-mentioned system, wherein, the strategy that presets is meant existing fixing corresponding relation between wireless terminal device/line termination unit that sends request data package and the wireless terminal device/line termination unit that receives request data package.
Above-mentioned system, wherein, described wireless module is module, bluetooth module that meets the Zigbee agreement or the module that meets 802.11 standards.
Technique effect of the present invention is:
Intelligent domestic system proposed by the invention and network-building method in, line termination unit and wireless terminal device have the status of equality, for gateway, do not distinguish the type of connecting terminal equipment, simplified the networking structure of intelligent domestic system thus, and be easy to the expansion of the system that realizes, and improved the flexibility of system thus.In the data transmission procedure of intelligent domestic system proposed by the invention, gateway is not resolved the data that receive, it only carries out data forwarding, can realize adopting the message transmission between the terminal of different communication protocol thus, improves the efficiency of transmission of system.Therefore, the present invention can make full use of the characteristics of wired access and wireless access, makes networking convenience, the extensibility of intelligent domestic system strong, and the transfer of data precise and high efficiency.
Description of drawings
Fig. 1 is the networking structure schematic diagram of the intelligent domestic system of the embodiment of the invention;
Fig. 2 is the flow chart of the specific implementation process of data transmission method in the intelligent domestic system of the embodiment of the invention;
Fig. 3 is the schematic diagram of the packet format of the request data package that terminal equipment sends to affiliated gateway in the embodiment of the invention;
Fig. 4 is the packet format schematic diagram of response packet in the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the accompanying drawings and the specific embodiments.
The present invention proposes network-building method in a kind of intelligent domestic system, and this method can make full use of the characteristics of wired access and wireless access, makes networking convenience, the extensibility of intelligent domestic system strong, and the transfer of data precise and high efficiency.Described intelligent domestic system comprises: swap server, gateway, wireless terminal device and/or line termination unit, and described line termination unit directly is connected with gateway port, and described network-building method comprises:
The wireless module that is connected with described gateway port is set, described wireless module and described line termination unit unified addressing, described wireless module and wireless terminal device are set up binding;
By described wireless module transmit that gateway receives, be issued to packet with the wireless terminal device of this wireless module binding to described wireless terminal device by swap server; And the wireless terminal device of forwarding and the binding of this wireless module is sent to the packet of swap server to coupled gateway.
In the above-mentioned networking, wireless module can be module, bluetooth module that meets the Zigbee agreement or the module that meets 802.11 standards etc.
In order to describe better, in following embodiment, the mode of wireless access is an example with the ZigBee technology, and main ZigBee module is set in system, and all need carry out being provided with the ZigBee module that is used for radio communication in the wireless terminal device of wireless access.
ZigBee be a kind of emerging closely, low complex degree, low-power consumption, low data rate, radio network technique cheaply.It operates mainly in 2.4G ISM (Industrial ScientificMedical) frequency range that need not register, and transmission range is at 10-75m, and typical distance is 30m.ZigBee is busy spare time and the frequency of transfer of data, reduction frame overhead and the power management mechanism of carrying out strictness by reducing transceiver mainly.It has following technical advantage:
(1) low in energy consumption: because the transmission rate of Zigbee is low, has only the transmitting power of 10KB/s, and adopted park mode to 250KB/s, low in energy consumption;
(2) cost is low: the cost of Zigbee module and has the possibility that continues to decline to a great extent at present about 6 dollars, and the Zigbee agreement is exempted from patent fee;
(3) network capacity is big, networking flexibility: a Zigbee network can hold maximum 254 slave units and a main equipment, can have 100 Zigbee networks simultaneously in the zone;
(4) time delay is short: communication delay and all very short from the time delay of resting state activation, and equipment search time delay representative value is 30ms, it is 15ms that dormancy activates the time delay representative value; Vehicular equipment channel access delay is 15ms;
(5) safety: Zigbee provides data integrity inspection and authentication functions, adopts the AES-128 cryptographic algorithm;
(6) reliable: taked collision-avoidance mechanism, simultaneously for to need the communication service of fixed-bandwidth to reserve special time slot, competition and conflict when having avoided sending data; The MAC layer has adopted the data transmission mechanism of full confirmation, and the packet of each transmission all must be waited for the other side's affirmation information.
In view of characteristics such as communication distance between the terminal equipment of the advantage of above-mentioned Zigbee technology and intelligent domestic system and the gateway are short, selecting the Zigbee technology in the wireless communication section of intelligent domestic system networking structure for use is to satisfy the wireless network reliability requirement with lower cost.
Introduce the network configuration of intelligent domestic system proposed by the invention and the method for this data transmission in network with the Zigbee technology as wireless access technology among the following embodiment, but in other embodiments, also can utilize other wireless access technologys such as Bluetooth technology, 802.11 technology, and realize similarly according to method proposed by the invention.
Be illustrated in figure 1 as the networking structure schematic diagram of intelligent domestic system, this intelligent domestic system comprises: swap server 30, some gateway 21 is to 2n, several main Zigbee modules 211 to 2n1 that are connected with the gateway fixed port (following is that example describes with main Zigebee module of each gateway connection) and some terminal equipments, wherein:
Swap server is the core control and the routing device of Control Network in the whole intelligent domestic system, realizes various information processings and route in the intelligent domestic system; Descending and a plurality of gateways of this swap server are connected, and up and whole intelligent home system based affiliated building Control Network or master control network etc. are connected, and realize communication between the two;
Gateway, it is the hinge that carries out transfer of data between swap server and each terminal equipment, several gateways have been formed the access level equipment of intelligent domestic system, it is encapsulated as Frame with the packet that the terminal equipment that receives sends according to the predetermined protocol form, and this Frame sent to swap server, and after the Frame decapsulation with the swap server forwarding, obtain packet wherein, and this packet is sent to corresponding line termination unit or main Zigbee module;
Main Zigbee module links to each other with the fixed port of affiliated gateway, is used for communicating with wireless terminal device, and this main Zigbee module's address is (the IP address of gateway+its port numbers at this gateway);
Terminal equipment, belong to the subordinate of whole intelligent domestic system, can form by transducer, controller or actuator etc., terminal equipment can include line terminal equipment and wireless terminal device, wherein, line termination unit with its under gateway really the fixed end mouth directly link to each other, wireless terminal device is provided with the Zigbee module that communicates with main Zigbee module; In this system, the address of line termination unit is (the IP address of affiliated gateway+its port numbers at gateway+0), wherein, the 0th, for the consistent stationary digital that is provided with that increases, also can be random number with the wireless terminal device address size; The address of wireless terminal device is (the main Zigbee module of the IP address of gateway under the main Zigbee module that communicates with+communicate with the port numbers of affiliated gateway+it is corresponding to default ID number of this main Zigbee module).
From above-mentioned network configuration as can be seen, and for gateway, in fact the main Zigbee module that gateway connected is to be equal to a line termination unit in networking structure, above-mentioned main Zigbee module and line termination unit carry out unified addressing for gateway, do not distinguish at network side.
In the intelligent domestic system of above-mentioned wired and wireless common networking, when line termination unit and main Zigbee module power on, at first know the IP address and the port numbers of its affiliated gateway, so that determine its local address, be specially:
Steps A, when line termination unit or main Zigbee module powered on, it sent " obtaining address command " to the gateway that links to each other;
Step B after above-mentioned gateway receives mentioned order, sends the response message that comprises its IP address and port numbers to line termination unit or main Zigbee module.
Thus, line termination unit and main Zigbee module and gateway are realized address binding.
In addition, wireless terminal device also carries out address binding with main Zigbee, and this binding can be to preset ID number mode, and then can determine the wireless terminal device address in conjunction with the address of main Zigbee module.
Do an explanation for the line termination unit address in the said system: above-mentioned line termination unit address also can only be made of (IP address+this line termination unit of gateway is in the port numbers of affiliated gateway under this line termination unit).
As shown in Figure 2, when certain line termination unit, for example line termination unit 11 sends command request as the command request terminal, then carries out following step:
Step 201, line termination unit 11 sends a request data package to affiliated gateway, and as shown in Figure 3, this request data package is to encapsulate according to following predetermined form, comprising:
Bag sign, expression are the beginnings of a new bag;
Length is represented the length of whole request data package from the bag type to all bytes of check digit;
Wrap type, represent the kind of this bag, utilize predetermined value to identify this bag and be request data package, for example: can insert 0x55 in the relevant position;
Destination address, the IP address of swap server under this line termination unit 11; Wherein, the swap server address is for setting in advance;
Source address, this initiates the local address of the line termination unit of command request, promptly, (IP address+this line termination unit of gateway is in port numbers+0 of affiliated gateway under this line termination unit 11), for example: 192.168.0.1.4.0, wherein: 192.168.0.1 is the IP address of gateway, 4 is the port numbers of this terminal equipment at this gateway, 0 of end is a fixed bit numerical value that increases for consistent with the figure place of carrying out the wireless terminal device address, can not be provided with for this polishing position yet, only constitute the local address of line terminal equipment by (IP address+this line termination unit of gateway is in the port numbers of affiliated gateway under this line termination unit 11);
Data segment, the command request of being initiated corresponding to line termination unit 11;
Step 202, gateway judge whether the gateway address that source address comprised in this request data package is identical with the local address of this gateway after receiving the request data package of line termination unit 11 transmissions, if, execution in step 203; If not, then do not carry out this time forwarding;
Step 203, gateway is encapsulated as Frame with the request data package that receives once more according to the predetermined protocol form, the swap server of the destination address correspondence that is forwarded in the request data package then to be comprised, this moment, predetermined protocol format can be ICP/IP protocol or extended formatting according to actual conditions;
Step 204 when swap server receives Frame, is sealed off dress to it, obtains request data package wherein; And whether the IP address of judging expression destination address in this request data package is consistent with its local ip address, if not, then the request data package that receives do not handled, if, execution in step 205;
Step 205, swap server sends response packet by corresponding gateway to the terminal equipment of source address correspondence, is specially:
(1) according to as shown in Figure 4 predetermined format encapsulation response packet, comprise in the response packet:
Bag sign, expression are the beginnings of a new bag;
Length is represented the length of whole response packet from the bag type to all bytes of check digit;
Wrap type, represent the kind of this bag, utilize the predetermined value that is different from identification data packet to identify this bag and be response packet, for example: can insert 0xff in the relevant position;
Destination address, the local address of the terminal equipment of initiation request;
Source address, the IP address of this swap server;
Check digit: be used to send the legitimacy verification of response packet.
Wherein: the bag sign, length, the bag type, destination address, source address constitutes the packet header of this response packet;
(2) according to predetermined protocol format response packet is packaged into the reply data frame again and sends to corresponding gateway;
(3) after gateway receives the reply data frame, seal off dress, obtain response packet; Judge whether the gateway address that destination address comprised in this response packet is identical with the local address of this gateway, if, then this response packet is forwarded to the terminal equipment that initiation is asked, if not, this response packet is not handled;
Step 206, swap server is according to the source address of initiating the terminal equipment of request in the packet, determine the address of the purpose terminal equipment that this request data package need be transmitted according to the strategy that sets in advance and store, this address information is the local address of purpose terminal equipment, and with the destination address in this address modification request data package; Simultaneously also with the source address in the local address modification request data package of swap server;
In this step, the strategy of predetermined set and storage is meant the fixing corresponding relation that exists between the terminal equipment of its terminal equipment of initiating request and this request of execution, this corresponding relation be exist between the terminal equipment according to the terminal equipment that sends solicited message in the intelligent domestic system and this request of execution relative simply and the corresponding relation of fixing determined;
The request data package that step 207, swap server will be revised destination address is encapsulated as Frame according to the predetermined protocol form, sends to the pairing gateway of purpose terminal equipment;
Step 208, gateway is sealed off dress to the Frame that receives, and obtains request data package wherein, and according to the destination address in the request data package this packet is transmitted; Specifically, gateway is transmitted corresponding request data package according to the port numbers in the destination address, distinguishing terminal equipment does not have line access mode or wireless access way in repeating process, just, terminal equipment is when the line termination unit of line access mode connection is arranged, its port directly links to each other with line termination unit, and this line termination unit is directly operated accordingly according to the order in the packet that receives; And during the terminal equipment wireless terminal device that to be wireless access way connect, its port directly links to each other with main Zigbee module, main Zigbee module is according to last represented wireless terminal device address of destination address in the packet that receives, and (promptly this terminal equipment is corresponding to default ID number of the main Zigbee module of being communicated by letter) carried out packet and be forwarded to the purpose terminal equipment;
Step 209, purpose terminal equipment are carried out corresponding operating according to the order that data segment referred in the packet that receives after receiving packet; And send response packet by the pairing swap server of corresponding gateway source address in this request data package; Be specially:
(1) be sent to corresponding gateway according to as shown in Figure 4 predetermined format encapsulation response packet, and with this response packet, comprise in the response packet:
Bag sign, expression are the beginnings of a new bag;
Length is represented the length of whole response packet from the bag type to all bytes of check digit;
Wrap type, represent the kind of this bag, utilize the predetermined value that is different from identification data packet to identify this bag and be response packet, for example: can insert 0xff in the relevant position;
Destination address, the IP address of the swap server of transmission packet;
Source address, the local address of this destination device;
Check digit: be used to send the legitimacy verification of packet.
(2) after gateway receives the response packet of purpose terminal equipment transmission, judge whether the gateway address that source address comprised in this response packet is identical with the local address of this gateway, if, the packet that receives is encapsulated as Frame once more according to the predetermined protocol form, the swap server of the destination address correspondence that is forwarded in the response packet then to be comprised, carry out respective handling by swap server, this moment, predetermined protocol format can be ICP/IP protocol or extended formatting according to actual conditions; If not, then do not carry out this time forwarding;
For this step explanation a bit, if the purpose terminal equipment is the line termination unit that wired mode inserts, it can directly send to gateway with response packet; And if the purpose terminal equipment wireless terminal device that to be wireless mode insert, it sends to the main Zigbee module that is connected with gateway earlier with response packet, is forwarded to gateway under it again by main Zigbee module.
In other embodiment, also can realize transfer of data between transfer of data, wireless terminal device and the wireless terminal device between line termination unit and the line termination unit and the transfer of data between the wireless terminal device similarly with reference to said method, what only need any is described is herein: in data transmission procedure, be directly to carry out transfer of data between line termination unit and the gateway; Realize by main Zigbee module and carry out transfer of data between wireless terminal device and the gateway, that is: terminal data bags such as main Zigbee module packet that the wireless terminal device that receives is sent or response packet are forwarded to gateway, when receiving terminal data bag such as packet that gateway issues or response packet, be forwarded to corresponding wireless terminal device according to wherein included destination address.
In addition, in other embodiments, the mentioned main Zigbee module of the foregoing description can substitute with bluetooth module, the wireless modules such as module that meet 802.11 standards, and implementation is similar.
Pass through above-mentioned steps, realized the transmission of data in the whole intelligent domestic system, as seen in whole data transmission procedure, has status coequally for line termination unit and wireless terminal device, also distinguishing terminal device type not when gateway carries out data forwarding, simplified the networking structure of intelligent domestic system thus, and because gateway is not resolved the data that receive, it only carries out data forwarding, can realize adopting the message transmission between the terminal of different communication protocol thus, improve the efficiency of transmission of system.In said method, according to circumstances send response packet between terminal equipment and the swap server and be for one-to-many or many-to-one situation between the terminal equipment that solves the request of initiation and the purpose terminal equipment.
Need to said method remark additionally following some:
(1) in order to satisfy the reliability requirement of control, any network entity (comprising swap server, gateway, line termination unit/wireless terminal device etc.) sends data to miscellaneous equipment, the network entity that all can require to receive packet provides response packet, and response packet can be interim response packet or significant packet.Surpass the response packet that set point number (three times) is not received the network entity transmission that receives packet if send the network entity of request, break down by the network entity that receives packet and handle.When network entity receives the check errors of data, abandon the packet that receives, do not send any information;
(2) in above-mentioned data transmission procedure, in order to guarantee the accuracy of transfer of data, gateway only allows the source IP address packet consistent with own local IP to transmit, thereby, when the packet that initiatively sends when terminal equipment is not replied, should to current line termination unit, main Zigbee module and under it current IP address of gateway bind again, cause the not smooth of corresponding data communication in the system after being modified with the IP address that prevents gateway;
(3) terminal equipment can also send survival information every setting-up time gateway under acquiescence, after gateway receives survival information, replys to the terminal equipment transmission survival of correspondence; All do not receive survival and reply after terminal equipment sends continuously two or more survival information, then the current IP address of terminal equipment, main Zigbee module and its affiliated gateway is bound again; Keep terminal equipment unimpeded with this, guarantee the effective and high efficiency of transmission of data in the system with communicating by letter of gateway;
(4) in other embodiments, all right a plurality of swap server cascades, utilize said method also can be implemented in transfer of data between the terminal equipment that belongs under the different swap servers similarly, at this moment, the annexation between the swap server can adopt Ethernet mode or other connected modes of the prior art.
As from the foregoing, utilize intelligent domestic system proposed by the invention and network-building method in line termination unit and wireless terminal device status with equality, for gateway, do not distinguish the type of connecting terminal equipment, simplified the networking structure of intelligent domestic system thus, and be easy to the expansion of the system that realizes, improved the flexibility of system thus.In the data transmission procedure of intelligent domestic system proposed by the invention, gateway is not resolved the data that receive, it only carries out data forwarding, can realize adopting the message transmission between the terminal of different communication protocol thus, improves the efficiency of transmission of system.Therefore, the present invention can make full use of the characteristics of wired access and wireless access, makes networking convenience, the extensibility of intelligent domestic system strong, and the transfer of data precise and high efficiency.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. the network-building method of an intelligent domestic system, this intelligent domestic system comprises: swap server, gateway, wireless terminal device and/or line termination unit, described line termination unit directly is connected with gateway port, it is characterized in that, described network-building method also comprises:
The wireless module that is connected with described gateway port is set, described wireless module and described line termination unit unified addressing, described wireless module and wireless terminal device are set up binding;
By described wireless module transmit that gateway receives, be issued to packet with the wireless terminal device of this wireless module binding to described wireless terminal device by swap server; And transmit with the wireless terminal device of this wireless module binding and be sent to the packet of swap server to the gateway that links to each other with this wireless module.
2. the method for transfer of data in the intelligent domestic system, it is characterized in that, in the described intelligent domestic system wireless module is set, the line termination unit in described wireless module and the described system all with described system in gateway directly be connected and unified addressing and address binding; Described wireless module also with system in wireless terminal device carry out address binding, described method comprises:
A. described wireless terminal device sends request data package to the wireless module with its binding;
B. described wireless module is forwarded to gateway with its binding with the request data package that receives;
C. described line termination unit sends request data package to the gateway with its binding;
D. described gateway will receive the Frame that request data package is encapsulated as the predetermined protocol form, and be sent to the swap server in the described system;
E. described swap server upgrades the destination address that request data package comprised in the Frame that receives according to the strategy that presets, and carries out Frame according to the destination address that upgrades and transmit.
3. method as claimed in claim 2, it is characterized in that, in the described steps d, described gateway is when receiving request data package, judge when the gateway address that is comprised in the described request source data packet address is its local address, will receive the Frame that the described request packet encapsulation is the predetermined protocol form.
4. method as claimed in claim 2 is characterized in that, among the described step e, carries out the Frame forwarding according to the destination address that upgrades and further comprises:
Described swap server will comprise the Frame that upgrades the destination address packet and be sent to the pairing gateway of this destination address;
After described gateway receives above-mentioned Frame, described Frame is sealed off dress, and this request data package is forwarded to wireless module or line termination unit with its binding according to the destination address in the request data package;
Described wireless module is forwarded to the wireless terminal device corresponding with destination address with the request data package that receives.
5. as claim 2 or 4 described methods, it is characterized in that, among the described step e, the strategy that presets is meant existing fixing corresponding relation between wireless terminal device/line termination unit that sends request data package and the wireless terminal device/line termination unit that receives request data package.
6. method as claimed in claim 2 is characterized in that, it is to set up when newly being connected at described wireless module/line termination unit and gateway that described described wireless module/line termination unit and gateway are bound, and described binding comprises further:
Steps A 1, described wireless module/line termination unit powers on, and sends " obtaining address command " to the gateway that links to each other;
Step B1, after described gateway received described order, to described wireless module/line termination unit echo reply message, described response message comprised the IP address, described wireless module/line termination unit corresponding port number of described gateway;
Step C1 adds that with the IP address of described gateway described wireless module/line termination unit connects the address of the port numbering of gateway as wireless module/line termination unit;
At this moment, the address with described wireless module adds the address of the address number of the wireless terminal device that presets in the wireless module as described wireless terminal device.
7. method as claimed in claim 2 is characterized in that, described predetermined protocol is an ICP/IP protocol, and described wireless module is module, bluetooth module that meets the Zigbee agreement or the module that meets 802.11 standards.
8. intelligent domestic system, comprise: swap server, gateway, terminal equipment, it is characterized in that, this system also comprises wireless module, described terminal equipment comprises wireless terminal device and/or line termination unit, line termination unit in described wireless module and the described system all with described system in gateway directly be connected and unified addressing and address binding; Described wireless module also with system in wireless terminal device carry out address binding, wherein:
Described wireless terminal device, the wireless module that is used for the Xiang Yuqi binding sends request data package, and carries out corresponding operating according to the request data package that receives;
Described line termination unit, the gateway that is used for the Xiang Yuqi binding sends request data package, and carries out corresponding operating according to the request data package that receives;
Described gateway is used for being encapsulated as the Frame of predetermined protocol form with receiving request data package, and is sent to described swap server; Also be used for the Frame that receives is sealed off dress, request data package wherein be sent to the line termination unit or the wireless module of destination address correspondence;
Described wireless module, be used for when receiving the request data package of wireless terminal device transmission, forward it to the gateway with its binding, when receiving the request data package that gateway issues, forward it to corresponding wireless terminal device according to the destination address in the packet;
Described swap server is used for when receiving Frame, according to the strategy that presets the destination address that request data package comprised in the Frame is upgraded, and will carry out Frame according to the destination address that upgrades and be forwarded to corresponding gateway.
9. the system as claimed in claim 1, it is characterized in that the strategy that presets is meant existing fixing corresponding relation between wireless terminal device/line termination unit that sends request data package and the wireless terminal device/line termination unit that receives request data package.
10. the system as claimed in claim 1 is characterized in that, described wireless module is module, bluetooth module that meets the Zigbee agreement or the module that meets 802.11 standards.
CNA2007101773558A 2007-11-14 2007-11-14 Networking method of intelligent domestic system, data transmission method and intelligent domestic system Pending CN101163073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101773558A CN101163073A (en) 2007-11-14 2007-11-14 Networking method of intelligent domestic system, data transmission method and intelligent domestic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101773558A CN101163073A (en) 2007-11-14 2007-11-14 Networking method of intelligent domestic system, data transmission method and intelligent domestic system

Publications (1)

Publication Number Publication Date
CN101163073A true CN101163073A (en) 2008-04-16

Family

ID=39297908

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101773558A Pending CN101163073A (en) 2007-11-14 2007-11-14 Networking method of intelligent domestic system, data transmission method and intelligent domestic system

Country Status (1)

Country Link
CN (1) CN101163073A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951333A (en) * 2010-09-17 2011-01-19 中山大学 Digital home intelligent terminal control system
WO2011153737A1 (en) * 2010-06-09 2011-12-15 中兴通讯股份有限公司 Device, system and method for implementing smart home applications
CN102684954A (en) * 2011-04-27 2012-09-19 武汉中元通信股份有限公司 Comprehensive business processing communication platform based on gigabit Ethernet and network topological architectures thereof
WO2013097400A1 (en) * 2011-12-29 2013-07-04 华为技术有限公司 Method for binding network apparatus, and communication method, device and system
CN103200052A (en) * 2012-01-06 2013-07-10 厦门尚享电子科技有限公司 Wireless accessing building service device and self-networking method thereof
CN103713608A (en) * 2013-12-27 2014-04-09 广东康宝电器有限公司 Hierarchical network architecture of wireless Internet-of-Things home system and networking communication method thereof
CN104834242A (en) * 2008-08-12 2015-08-12 澳大利亚奇胜有限公司 System and method for displaying messages in a building automation system
CN106304119A (en) * 2016-08-22 2017-01-04 杭州寒舍科技有限公司 Wi Fi covering system based on wireless multihop self-organizing network and method
CN106604359A (en) * 2016-10-12 2017-04-26 惠州市德赛西威汽车电子股份有限公司 Networking method of mobile phone and plurality of vehicle-mounted WiFi, and WiFi equipment used for same
CN107786400A (en) * 2017-10-27 2018-03-09 重庆帅星科技有限公司 A kind of terminal access gateway control method
CN108200225A (en) * 2010-06-29 2018-06-22 华为技术有限公司 Dissymmetric network address encapsulates
CN108924155A (en) * 2018-07-25 2018-11-30 云丁智能科技(北京)有限公司 A kind of data processing equipment and method
CN109274748A (en) * 2018-09-30 2019-01-25 西安科技大学 Reliable data transmission method and the power equipment monitoring data transmission method for applying it
CN109413641A (en) * 2018-12-20 2019-03-01 广州河东科技有限公司 Network system, communication means, device, equipment and storage medium based on MESH
CN110034984A (en) * 2016-03-29 2019-07-19 华为技术有限公司 A kind of cut-in method, equipment and system
CN110191029A (en) * 2019-04-25 2019-08-30 深圳市国电科技通信有限公司 It is a kind of based on wired and wireless mixing alternative working mode method
CN110311981A (en) * 2019-07-05 2019-10-08 吉旗(成都)科技有限公司 Branch gateway communication method and device, terminal, communication device based on Transmission Control Protocol
CN110492899A (en) * 2018-05-09 2019-11-22 奇邑科技股份有限公司 Wireless communication system, communication means and carry-on R-T unit
CN114095534A (en) * 2021-11-11 2022-02-25 珠海格力电器股份有限公司 Data interaction method, device and system, wireless module and air conditioning unit

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834242A (en) * 2008-08-12 2015-08-12 澳大利亚奇胜有限公司 System and method for displaying messages in a building automation system
CN104834242B (en) * 2008-08-12 2018-07-24 澳大利亚奇胜有限公司 The system and method that information is shown in building automation system
WO2011153737A1 (en) * 2010-06-09 2011-12-15 中兴通讯股份有限公司 Device, system and method for implementing smart home applications
CN108200225A (en) * 2010-06-29 2018-06-22 华为技术有限公司 Dissymmetric network address encapsulates
CN108200225B (en) * 2010-06-29 2022-04-12 华为技术有限公司 Asymmetric network address encapsulation
CN101951333B (en) * 2010-09-17 2013-01-02 中山大学 Digital home intelligent terminal control system
CN101951333A (en) * 2010-09-17 2011-01-19 中山大学 Digital home intelligent terminal control system
CN102684954B (en) * 2011-04-27 2015-05-13 武汉中元通信股份有限公司 Comprehensive business processing communication platform based on gigabit Ethernet and network topological architectures thereof
CN102684954A (en) * 2011-04-27 2012-09-19 武汉中元通信股份有限公司 Comprehensive business processing communication platform based on gigabit Ethernet and network topological architectures thereof
WO2013097400A1 (en) * 2011-12-29 2013-07-04 华为技术有限公司 Method for binding network apparatus, and communication method, device and system
CN103200052A (en) * 2012-01-06 2013-07-10 厦门尚享电子科技有限公司 Wireless accessing building service device and self-networking method thereof
CN103200052B (en) * 2012-01-06 2017-02-15 厦门尚享电子科技有限公司 Wireless accessing building service device and self-networking method thereof
CN103713608A (en) * 2013-12-27 2014-04-09 广东康宝电器有限公司 Hierarchical network architecture of wireless Internet-of-Things home system and networking communication method thereof
CN103713608B (en) * 2013-12-27 2017-03-15 广东康宝电器股份有限公司 Wireless Internet of Things house system hierarchical network framework and its group-net communication method
US10911918B2 (en) 2016-03-29 2021-02-02 Huawei Technologies Co., Ltd. Access method, device, and system
CN110034984B (en) * 2016-03-29 2021-09-07 华为技术有限公司 Access method, device and system
CN110034984A (en) * 2016-03-29 2019-07-19 华为技术有限公司 A kind of cut-in method, equipment and system
CN106304119B (en) * 2016-08-22 2023-10-13 浙江水木物联技术有限公司 Wi-Fi coverage system and method based on wireless multi-hop self-organizing network
CN106304119A (en) * 2016-08-22 2017-01-04 杭州寒舍科技有限公司 Wi Fi covering system based on wireless multihop self-organizing network and method
CN106604359A (en) * 2016-10-12 2017-04-26 惠州市德赛西威汽车电子股份有限公司 Networking method of mobile phone and plurality of vehicle-mounted WiFi, and WiFi equipment used for same
CN107786400A (en) * 2017-10-27 2018-03-09 重庆帅星科技有限公司 A kind of terminal access gateway control method
CN107786400B (en) * 2017-10-27 2020-09-01 重庆帅星科技有限公司 Terminal access gateway control method
CN110492899A (en) * 2018-05-09 2019-11-22 奇邑科技股份有限公司 Wireless communication system, communication means and carry-on R-T unit
CN108924155A (en) * 2018-07-25 2018-11-30 云丁智能科技(北京)有限公司 A kind of data processing equipment and method
CN108924155B (en) * 2018-07-25 2021-03-02 云丁智能科技(北京)有限公司 Data processing device and method
CN109274748A (en) * 2018-09-30 2019-01-25 西安科技大学 Reliable data transmission method and the power equipment monitoring data transmission method for applying it
CN109413641B (en) * 2018-12-20 2021-06-01 广州河东科技有限公司 Network system, communication method, device, equipment and storage medium based on MESH
CN109413641A (en) * 2018-12-20 2019-03-01 广州河东科技有限公司 Network system, communication means, device, equipment and storage medium based on MESH
CN110191029B (en) * 2019-04-25 2022-01-07 深圳市国电科技通信有限公司 Wired and wireless based hybrid dual-mode networking method
CN110191029A (en) * 2019-04-25 2019-08-30 深圳市国电科技通信有限公司 It is a kind of based on wired and wireless mixing alternative working mode method
CN110311981A (en) * 2019-07-05 2019-10-08 吉旗(成都)科技有限公司 Branch gateway communication method and device, terminal, communication device based on Transmission Control Protocol
CN114095534A (en) * 2021-11-11 2022-02-25 珠海格力电器股份有限公司 Data interaction method, device and system, wireless module and air conditioning unit

Similar Documents

Publication Publication Date Title
CN101163073A (en) Networking method of intelligent domestic system, data transmission method and intelligent domestic system
CN101119180A (en) Data transmission method of intelligent domestic system
CN101764724A (en) Methods of network deployment and data transmission of building automation system (BAS)
EP1430656B1 (en) Network with several subnetworks
CN104994014B (en) Power line carrier IPv6 in intelligent grid communication and the communication means between wireless ZigBee
CN102857956B (en) Master-slave communication method and device
CN109302372A (en) A kind of communication means, equipment and storage medium
EP1775884B1 (en) Apparatus and method of remote physical layer auto-negotiation
CN101005418A (en) Communication method and device between ether network and radio sensor network
CN101741819A (en) Protocol conversion gateway
CN102611710A (en) Data interaction method and data interaction system for scheduling master station and transformer substation based on MMS (Multimedia Messaging Service)
US9014017B2 (en) Method and system for associating physical link partners using a layer two mechanism
CN107770812A (en) Method for mesh network package transmission
WO2018228883A1 (en) System and method for relaying single-hop traffic over wireless multi-hop networks
CN103023761B (en) The hybrid access method of gateway apparatus, intelligent internet of things system and the system
WO2011130965A1 (en) Wireless sensor network, mobile terminal and interconnection method and system thereof
CN108012305A (en) Smart machine matches somebody with somebody network method, system and smart machine
CN101729572A (en) Protocol conversion device between MODBUS industrial field bus and wireless ZIGBEE and method thereof
CN104506401A (en) Method for achieving Modbus protocol transmission based on ISA100.11a industrial sensor network
CN102255800B (en) Method for converting data format between IP (Internet Protocol) data packages on CAN (Control Area Network) bus and CAN messages
EP1113623B1 (en) Data transfer method using layer 2 signaling of protocol identifier, radio terminal and radio gateway device
CN101567821A (en) Embedded industry intelligent wireless network data transfer platform
CN103581228A (en) Method and system for device communication in Internet of Things
CN101753486B (en) Industrial automation field bus gateway equipment
CN101119345A (en) ARM7CPU core based GPRS-CAN gateway and communication method

Legal Events

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

Open date: 20080416