Summary of the invention
The technical problem that the present invention solves is to provide the method for a kind of household network wireless netting and communication.Can so that the wireless device of different manufacturers according to the mutual communication of unified standard.
For this reason, the technical scheme of technical solution problem of the present invention is: the method for a kind of household network wireless netting and communication is provided, and described home network comprises a plurality of nodes; Comprise step:
1) Centroid is set up and is started new network;
2) child node is added in the new network of this Centroid startup;
3) carry out communication between the node;
Wherein, described step 1) comprises:
11) described Centroid carries out energy detection scan, by each channel energy situation of sweep record;
12) described Centroid carries out active scan to each channel, checks each channel network active situation, exists network condition to carry out record to each channel;
13), select the working channel of new network according to the result of scanning channel;
14) described Centroid is this new network selecting network identifier, produces the short address;
15) described Centroid starts this new network, sends beacon.
Preferably, described step 2) comprising:
21) user imports the child node identifier, and child node is registered on the Centroid;
22) child node is monitored on channel, searches movable network;
23) when child node finds network, child node will rest on this channel and send register requirement to Centroid;
24) Centroid receives and verifies described register requirement; If by checking, Centroid sends to child node and allows to add networking command;
25) child node adds network after receiving and adding networking command, and sends the adding network information to Centroid;
26) Centroid receives child node and replys, and this node is registered the member of network.
Preferably, described step 26) in, if Centroid receives correct response failure or receives response timeout, child node is returned step 22) so that repeat to begin to enter next channel; Still can not obtain registration if child node scans all channels, will enter the next round circulation.
Preferably, also comprise and from network, delete child node:
41) Centroid sends delete command to the child node that will delete;
42) child node receives order and verification is carried out in order;
43) if verification is passed through, child node will be deleted oneself from network, remove all built-in variables by internal reset and prepare for adding another network;
44) Centroid will be deleted in this child node corresponding apparatus slave unit tabulation and the network;
Wherein, Centroid deletion child node can require the deletion of child node to confirm, can not require that also the deletion of child node is confirmed.
Preferably, also comprise and from network, delete child node:
51) child node sends the removal request order to Centroid, wishes deleted from network;
52) this removal request order of Centroid verification;
53) if verification is passed through, Centroid is deleted this child node from network.
54) child node will own be deleted from network, removes all built-in variables by internal reset and prepares for adding another network;
Wherein, child node oneself deletion can require the deletion of Centroid to confirm, can not require that also the deletion of Centroid is confirmed.
Preferably, the selection of working channel and foundation comprise in the home network:
61) in scanning process, Centroid scans each channel in the home network one by one;
62) on each channel, the receiving terminal of Centroid is measured the performance number of received signal;
63), report that this channel is in running order if the measured value that Centroid receives is higher than the threshold value of permission;
64), report that this channel is in idle state if the measured value that receives is lower than preset threshold;
65) been scanned, Centroid select an idle channel as the initialization channel;
Preferably, the selection of working channel and foundation also comprise in the home network:
71) transceiver or Centroid send to other transceiver with the information of selective channel;
72) Centroid transmitting channel select command and require transceiver to be operated in selected channel;
73) when the channel proper communication, if the performance number of received signal is less, Centroid sends order can for other receiver and require to change current channel.
Preferably, the communication of described step 3) comprises that the data slave unit is transferred to Centroid: equipment is at first monitored networked beacons; After finding beacon, equipment and Centroid beacon signal are synchronous; When channel idle, the equipment transmit data frames is to Centroid; Centroid is launched optional acknowledgement frame and is shown and successfully receive data; Transfer of data is finished.
Preferably, the communication of described step 3) comprises that data are transferred to equipment from Centroid: the network of initiation beacon, when the center node sent data to equipment, beacon showed that data wait for; The monitoring networked beacons of equipment periodic; When detecting information, just waits for equipment, with regard to the order of launch requirements data at Centroid; Centroid emission acknowledgement frame shows and successfully receives data demand; The data of waiting for are sent out by channel; Equipment emission acknowledgement frame shows and successfully receives data; Transmission course is finished.
Preferably, the communication of described step 3) comprises that data are transferred to equipment from Centroid: equipment also sends the data demand order to Centroid even without receiving beacon frame; Successfully receive data demand and have data waiting for that the data of wait are sent to equipment by channel if Centroid emission acknowledgement frame or data wait command show; Equipment emission acknowledgement frame shows and successfully receives data; Transmission course is finished; Do not wait for that Centroid sends the Frame of 0 byte to equipment if there are data.
Preferably, the communication of described step 3) comprises that the data slave unit is transferred to equipment:
When an equipment during to another equipment requirements data, equipment is to the order of the equipment launch requirements data of expectation; The equipment emission acknowledgement frame of expectation is represented the reception of data demand success; If data wait for, the equipment of expectation will transmit data frames; If there are not data waiting for that source device is launched the Frame of 0 length load, showing does not have data to wait for.Require the equipment of data to launch the successful reception that acknowledgement frame is represented Frame; Transmission course finishes;
When an equipment during to another equipment transmission data, equipment waits for by data and prepares to connect, and the order of waiting for to desired destination equipment emission data; Target device emission acknowledgement frame is represented the successful reception of data waiting signal; When source device receives the acknowledgement frame of target device, source device sends Frame to target device; Target device emission acknowledgement frame is represented the successful reception of data.
Preferably, comprise physical layer header field and physical layer load territory in the physical layer frame conventional data cell data bag; The physical layer header field guarantees the synchronous and lock bit stream of receiving equipment; Physical layer load territory comprises variable-length medium access key-course conventional data frame; The physical layer header field comprises training sequence territory and frame boundary territory two parts.
Preferably, in home network, the channel working method is based on following three aspects: use and hang up channel estimating guesswork environment; Use the CSMA/CA algorithm to estimate the state of each channel data transmission; Based on channel quality estimation program, the transceiver in the wireless sub network is selected desirable working channel.
Preferably, medium access key-course frame comprises: medium access key-course header field comprises frame control, sequence number and address information; Medium access key-course load territory, sequence length is variable, and different medium access key-course frame types contain different information; Medium access key-course tail territory comprises Frame Check Sequence; Wherein, if security-enabled set in the frame control domain, the load territory is subjected to the protection of security component.
Preferably, medium access key-course frame is divided into beacon frame, acknowledgement frame, command frame and Frame;
Wherein, the medium access key-course header field of command frame format comprises frame control, home network target identification and address, home network source sign and address; If the security-enabled in the frame control domain is set to 0, order load territory also comprises the instruction of medium access key-course; If the security-enabled in the frame control domain is set to 1, according to the security component of selecting, equipment is handled order load territory, with the instruction of decision medium access key-course;
Has corresponding frame type value in the frame control domain of Frame, suitably other territory in the setting data frame format; If the security-enabled in the frame control domain is set to 0, the data load territory should comprise the byte sequence that passes to the upper strata; If the security-enabled in the frame control domain is set to 1, according to the security component of selecting, equipment is handled data load territory, passes to the byte sequence on upper strata with decision.
Preferably, network layer obtains application layer data bag unit and produces network layer data bag unit; Network layer adopts the branch frame technique that data are divided into a plurality of packet unit and passes to the medium access key-course; Network layer is responsible for setting up its employed route between source node and destination node; Network layer definition routing address structure makes the node on the local home network can set up communication.
Preferably, when two intermodules carried out the data interchange in the home network, the sending module network layer was called network layer data and is sent primitive; When sending, the network layer of transmitting terminal requires order, medium access key-course/physical layer to produce to be sure of information and return to network layer; When receiving terminal obtains data, the medium access key-course/physical layer of receiving terminal is reported indication to its network layer.
Preferably, network layer is reported to application layer: wireless channel connects the quality indication; Network topology connects; Quality information.
Preferably, communication and being formatted between application layer and the network layer of application layer frame are carried out; User or equipment can send the be connected running of module of order control, comprising: the running of startups/closing module, module operation channel, request module are set scan all running channels and also can work in an available channel.
Preferably, equipment comprises with the home network mode of linking to each other: equipment is directly applied for and home-network linkups; The equipment that the gateway registration affirmation is connected; If gateway discovery has equipment not to be registered, gateway sends inquiry and removes to inquire about unregistered equipment; The equipment and the network information are at gateway, and the exchange between movements control center and the equipment comprises: application download equipment file, the facility information of the module report that the gateway inquiry is connected with equipment; The upload device file, equipment is given the gateway passes facility information; Application download equipment registration table, movements control center requires gateway that link information is provided; The upload device registration table, gateway sends link information to movements control center; Equipment comprises from the home network disconnect mode: environment inquiry and home network disconnect; Gateway inquiry unit and home network disconnect.
With respect to prior art, the invention has the beneficial effects as follows: provide unified flow process owing to the present invention is directed to the networking and the means of communication of family wireless control network, make the wireless device of different manufacturers can interconnect and communication, be applicable to the structure and the management of family wireless network.And can introduce new products ﹠ services to the family consumer with reasonable prices with than low-complexity.
The present invention be advantageous in that: reduce the user the control of household equipment network, the redundancy of operator scheme.
Embodiment
See also Fig. 1, family wireless control network comprises home automation control network gateway 110, mobile control terminal 120 and a plurality of wireless communication module 130.
Home automation control network gateway 110 is centers of family wireless control network.Be used to serve as the information and the control centre of family wireless control network; And as interface or the message switching center between family wireless control network and the external information network (as: Ethernet, telephone system or the like, figure does not show), and uniting a little between home information network and the family wireless control network.
Mobile control terminal 120 is a special use and simple display and control terminal in WHCN.The user can obtain the platform of various services by mobile control terminal 120; Mobile control terminal 120 can with the 110 mutual communications of home automation control network gateway, realize the centralized control of all home automation control network equipment 140; In case of emergency, mobile control terminal 120 can with the direct communication of each node.
Mobile control terminal 120 can receive the data of the network equipment 140 and state and give each equipment transmitting control commands by subnet gateway 110.
Wireless communication module 130 is communication cores of home automation control network equipment, and communication module is the wireless communication interface unit of each home automation control network equipment and wireless network.
In family's controlled in wireless subnet, wireless communication module 130 is elementary cells.In family's control subnet gateway 110 and mobile control terminal 120, wireless communication module is the partial function module.In general, the wireless communication module in the subnet gateway 110 is called wireless telecommunications Centroid module, the effect of performance telegon.
Seeing also Fig. 2 and Fig. 3, is the topology diagram of family wireless control network.
For satisfying requirement of actual application, WHCN has multiple topology: for example, and star topology (Fig. 2 reference) or equity topology (Fig. 3 reference).In network topology, node must have unique address.Node can be divided into global function node 221 again and simplify functional node 222.
Consult Fig. 2, when adopting star topology, have a Centroid 210 and plurality of sub node 220 in the network, direct and Centroid 210 connections of miscellaneous equipment, communication is based upon between Centroid 210 and the equipment.WHCN Centroid 210 also is master controller.Typical case's application of equipment is start node or the terminal node as network communication, by the communication between the Centroid realization equipment.
The concrete application of WHCN Centroid 210 is can be initially, the communication in termination or the route network.WHCN Centroid 210 is major control centers of WHCN.
After the global function transceiver starts for the first time, just set up the network of oneself, become WHCN Centroid 210, all star-networks all are independent of other star-network of working.In the radio communication scope,, just can set up a new network by the WHCN sign of selecting not used by other network.In case the WHCN sign is chosen, the WHCN Centroid allows other equipment to add network.
As previously mentioned, Centroid 210 is central points of star topology network.Generally speaking, the wireless module of subnet gateway is a Centroid.
In wireless network, Centroid 210 is followed home automation control network communication protocol, can carry out exchanges data by wireless mode with home automation control network equipment.Centroid generally is the dedicated node that enough memory spaces are arranged.
Centroid 210 obtains inquiry/control command of user by subnet gateway.Centroid 210 transmission is about these inquiries and the control command of WHCN and be sent to the node of expection, and the node of described expection is connected with controlled device.
Centroid 210 also receives information from controlled device, and judges the correctness and the validity of the data that receive, as correctly, and then controlled order and valid data information.Centroid 210 can determine to give other radio nodes that are connected with controlled device to the Control Network report information or the information of hopping.
In star-network, Centroid 210 provide necessary network function as: connect with separate, regularly, routed path etc.
Wireless communication module is the core of family wireless control subnet equipment.Wireless transceiver is called child node 220, is placed on each equipment; Subnet gateway and Centroid are realized by wireless transceiver.
From function aspects, Centroid 210 is Full Featured wireless transceivers, and the child node 220 on the home appliance is to simplify the wireless transceiver of function.Wireless communication is exactly the communication between these wireless devices.
Child node 220 is communication interface units of each home automation control network equipment.The communication module of control household electrical appliances receives instruction, data and out of Memory, and transmits.Data as reception are correct, and then controlled order and valid data information are transmitted it again.These instructions may be from subnet gateway, Centroid or other communication modules.
This equipment is carried out corresponding action according to these data messages, after this action is finished, returns to the corresponding feedback information of WHCN, and feedback information has been indicated the up till now current state or the response message of equipment.
Certainly, child node 220 is also transmitted the request signal/feedback information of connection device to WHCN.
Consult Fig. 3, when adopting the equity topology, different with star topology is: in network, do not have center, principal and subordinate between the equipment, perhaps the differentiation of grade.Network condition, functions of the equipments and permission are only depended in communication between the equipment.If any other node is in certain node radio scope, these two nodes can begin communication.The equity layout can produce more complicated latticed form, for example, and mesh topology etc.The equity topology can be ad hoc, self-organizing and recovering certainly, also supports the multi-hop route of realization information from an equipment to another equipment that jump.Certainly, certain/a little nodes also can be used as and connect the Centroid of simplifying functional node.
Seeing also Fig. 4, is the flow chart that the WHCN network is set up and started in the method for the present invention.
Step S411, Centroid will attempt to set up a new network under the situation of current not networking.
Step S412, Centroid carries out energy detection scan, checks each channel energy situation, searches the passage interference that may exist.Centroid is by each channel energy situation of sweep record.
Step S413, Centroid carries out active scan to each channel, checks each channel network active situation, exists network condition to carry out record to each channel.
Step S414, according to the result of scanning channel, a selected channel the cleanest is as the working channel of new network.
Step S415, if find a suitable channel, Centroid will be network identifier of this network selecting yet to be built, this identifier must find solely do not have two with one in the network at all channels.
Step S416, in case the WHCN network identifier is selected, Centroid will produce a short address, this short address also is unique in being about to this network of setting up.
Step S417 finishes above-mentioned steps, and Centroid will start this network.Centroid begins to send beacon, and child node can join this network.
Seeing also Fig. 5, is the flow chart that child node is added network in the method for the present invention.
Suppose that child node is not registered to any network or child node is deleted in network.
Step S511, user import child node identifier (ID number), and child node is registered on the Centroid, and Centroid allows facility registration (registration can be undertaken by the modes of moving on PDA, INTERNET network or the Centroid such as application program).
Step S512, child node is monitored on each channel, and whether search has movable network for its registration.
Step S513, when child node finds a network, child node will rest on this passage and send register requirement to Centroid.
Step S514, Centroid receives a register requirement when sending register requirement, and Centroid is verified this register requirement, if by checking, Centroid allows child node to add network, will send to child node and allow to add networking command.If by checking, then Centroid sends the registration failure order or does not do any replying, child node receive registration failure order or wait acknowledge overtime after, enter next channel.
Step S515, child node receives the adding networking command, and self is added network, and sends the adding network information to Centroid.
Step S516, Centroid receives child node and replys, and this node is registered a member of network.
Step S517, Centroid point out this equipment successfully to be registered to network.
If Centroid receives correct response failure or receives response timeout, child node is returned step S512, so that repeat to begin to enter next channel.
If a sub-node scan all channels still can not obtain registration, will enter next round circulation.
Seeing also Fig. 6, is the flow chart that Centroid is initiated a child node of deletion from network in the method for the present invention.
Suppose that a child node has been registered to a network.
Step S611, Centroid send a delete command to the child node that will delete.
Step S612, child node receives order and verification is carried out in order.
Step S613, if verification is passed through, child node will be deleted oneself from network, remove all built-in variables by internal reset and prepare for adding another network.
Step S614, Centroid will be deleted in this equipment slave unit tabulation and the network.
Centroid deletion child node can require the deletion of child node to confirm, can not require that also the deletion of child node is confirmed.
Seeing also Fig. 7, is the flow chart that child node is initiated a child node of deletion from network in the method for the present invention.
Suppose that a child node has been registered to a network.
Step S711, child node sends a removal request order to Centroid, wishes deleted from network.
Step S712, this order of Centroid verification.
Step S713, if verification is passed through, Centroid is deleted this node from network.
Step S714, child node will ownly be deleted from network and be removed all built-in variables by internal reset is to add another network to prepare.
Child node oneself deletion can require the deletion of Centroid to confirm, can not require that also the deletion of Centroid is confirmed.
Seeing also Fig. 8, is the flow chart that working channel is selected and set up in the method for the present invention.
Step S811 in WHCN, during wireless transceiver work, at first moves scanning imaging system.
Step S812, in scanning process, Centroid scans each channel among the WHCN one by one.
Step S813, on each channel, the receiving terminal of Centroid is measured the performance number of received signal (for example ED and RSSI).
Step S814 if ED that Centroid receives or RSSI are higher than the threshold value that CCA allows, reports that this channel is in " work " state.
Step S815 if ED that receives or RSSI are lower than preset threshold, reports that this channel is in " leaving unused " state.
Step S816, scanning imaging system has moved, and Centroid can select the channel of " leaving unused " as the initialization channel.
Step S817, transceiver or Centroid can send to the information of selective channel other transceiver.
Step S818, Centroid transmitting channel select command and require transceiver to be operated in selected channel.
Step S819, when a channel proper communication, if the ED of received signal is very little, Centroid sends order can for other receiver and require to change current channel.
See also Fig. 9, introduce wireless family control subnetwork communicating protocol architecture below.
The basic network architecture of wireless family control subnet comprises: physical layer (PHY layer) 910, medium access key-course (MAC layer) 920, network layer 930 and application layer 940, and these four layers all in wireless module; At the top of application layer 940, the equipment subgrade 950 that has equipment and wireless module to own together.
Need to prove that equipment subgrade 950 is directly relevant with manufacturer with equipment (as household electrical appliance, inductor etc.).Its function is different with the interface in application.At this, this layer is not elaborated.
Application layer (Application Layer) 940 is responsible for handling specific application particulars, interface that realization equipment is connected with WHCN and information exchange.By application layer, the miscellaneous equipment in WHCN only need understand that virtual network object is described and the specific implementation details that needn't understand this equipment just can realize control/status poll.
WHCN uses network layer communication middleware to realize unified network communication.(NetworkLayer, NWK) complexity of 930 hiding bottom medium of communications provides the communication of device-to-device to network layer for application layer 940.Its work of doing comprises:
Data management, the data of application program being given it send following media communication interface layer (MAC/PHY) to.
The transmission Service Management provides the network path service and the network information, and control information transmission/status poll carries out in this layer and the network information is sent to expection equipment jointly.
Because the different code element coded systems that media adopted, data communication speed, CSMA/CA implementation, hardware connection mode or the like are had nothing in common with each other.(the medium access key-course, MAC) 920 determine different media communication interfaces according to different requirements with network to the MAC layer exactly.In MAC layer 920, realize the data link layer segment, comprise underlying device driver and network interface hardware.
Physical layer (Physical Level, PHY) 910 bottoms that are in network communication protocol.In radio communication, physical layer is responsible for the startup of radio frequency transmission/receiving terminal.The physical data service helps the transmission of physical protocol data unit (PDUs) to cross physical radio channel.The main outflow of physical layer is the movable of wireless transceiver and discharges that energy is surveyed, quality of connection explanation, channel selection, clear channel assessment and cross the physical media transmission and receive.
Introduce the standard of each layer when networking and communication below respectively.
The PHY layer is mainly finished following function: start and close wireless transceiver; Energy measuring when prepass; Channel is removed and is estimated to satisfy the requirement of CSMA/CA mode; Channel frequency is selected; Time-sharing format is carried out data transmission and reception.
An equipment can be operated on one or several frequency bands.On different frequency bands, modulation/spread spectrum mode can be different fully.On 430-435Mhz and 787-797MHz frequency band, adopt FSK to modulate and spread spectrum at present.May adopt DSSS modulator approach QPSK and OQPSK modulation system afterwards.In the future can select the 2405MHz frequency band.
In order to satisfy the development of WHCN, on each frequency band, all distribute a plurality of working channels.Specifically be allocated as follows:
On the 430MHz frequency band, each working channel bandwidth is 1MHz, represents 1#, 2#, 3# and the 4# channel of WHCN:
F
C=431+1 * (k-1) (MHz) wherein, k=1,2,3,4
On the 787MHz frequency band, each working channel bandwidth is 1MHz, represents 5#, 6#, 7#, 8#, 9#, 10#, 11#, 12#, 13# and the 14# channel of WHCN:
F
C=788+1 * (k-5) (MHz) wherein, k=5,6,7,8,9,10,11,12,13,14
On the 2405MHz frequency band, each working channel bandwidth is 2MHz, represents 15#, 16#, 17#, 18#, 19# and the 20# channel of WHCN:
F
C=2405+2 * (k-10) (MHz) wherein, k=15,16,17,18,19,20
The form of physical layer frame conventional data unit can be: comprise physical layer header field and physical layer load territory in each PPDU (PHY Layer ProtocolData Unit is called for short PPDU) packet.The physical layer header field guarantees the synchronous and lock bit stream of receiving equipment; Physical layer load territory comprises variable-length MAC layer conventional data frame.
The physical layer header field comprises training sequence territory and frame boundary territory two parts.The physical layer header field guarantees that transmitting terminal and receiving terminal are synchronous, make receive clock and send the beginning clock synchronous, and the beginning that receives of definite frame.Receiving terminal uses the training sequence territory to guarantee that chip and symbol and an input information are synchronous.
Physical layer load territory comprises MAC data and other information.Usually, the user of Wireless Transmitter can allow to revise the MAC layer according to different application.
When the user can not define the frame length in physical layer load territory, in mac domain, directly define this length.
Physical layer load length of field variable (physical layer header field preseting length), and comprise the data of physical layer data bag.Physical layer load territory comprises mac layer frame.
Physical layer load length of field frame length length of field is 8 bits, the byte number in expression physical layer load territory.
In WHCN, support multichannel communication, wireless module can require or select to be operated in different radio-frequency channels.Generally speaking, in WHCN, the working channel among the Centroid decision WHCN; In one group of transceiver, the subcenter node determines the working channel of this group transceiver.
In certain working channel of WHCN, Centroid does not detect the signal of transmission; Perhaps, on certain working channel, the detectable signal value is lower than the sensitivity of receiving terminal, then claims described channel for hanging up channel.If on certain channel, Centroid detects the threshold value that transmission signals is higher than permission, just claims this channel not hang up.
Hanging up channel estimating (Clear channel assessment is called for short CCA) allows threshold value to be defined as: allow 10dB, be higher than the sensitivity of receiving terminal.
In WHCN, the channel working method is based on following three aspects: use and hang up channel estimating guesswork environment; Use the CSMA/CA algorithm to estimate the state of each channel data transmission; Based on channel quality estimation program, the transceiver in the wireless sub network is selected desirable working channel.
Working channel select and the flow process set up specifically:
In WHCN, during wireless transceiver work, at first move scanning imaging system.
In scanning process, Centroid scans each channel among the WHCN one by one.
On each channel, the receiving terminal of Centroid is measured the performance number of received signal (for example ED and RSSI).
If ED that Centroid receives or RSSI are higher than the threshold value that CCA allows, physical layer can report that this channel is in " work " state.
If ED that receives or RSSI are lower than preset threshold, physical layer reports that this channel is in " leaving unused " state.
Scanning imaging system has moved, and Centroid can select the channel of " leaving unused " as the initialization channel.
Transceiver or Centroid can send to the information of selective channel other transceiver.
Centroid transmitting channel select command and require transceiver to be operated in selected channel.
When a channel proper communication, if the ED of received signal is very little, Centroid sends order can for other receiver and require to change current channel.
The MAC layer of wireless transceiver is handled all visits to physical radio-frequency channel among the WHCN, and finishes following function: managing physical layer and provide data and the interface of order; Layer Network Based and application layer order, the basic function of execution WHCN; The support equipment safe mode; Adopt the CSMA/CA mode to determine working channel.
Each mac frame comprises following essential part: the MAC header field comprises frame control, sequence number and address information.The MAC territory of loading, sequence length is variable, and different mac frame types contain different information.MAC tail territory comprises Frame Check Sequence.
Mac frame is the arrangement in a sequence territory.The declaration order of all frames is its orders that are launched from physical layer, from left to right, launches least significant bit earlier.In each territory, to k-1 (rightmost, highest significant position), total length is the k bit to the bit label from 0 (Far Left, least significant bit).For the territory of length greater than a byte, physical layer emission earlier comprises the byte of minimum label, and emission comprises the byte of high grade then.
MAC load territory comprises dissimilar content frame information, and length of field is variable.If security-enabled puts 1 in the frame control domain, the MAC load is subjected to the protection of security component.
MAC tail territory is that Frame Check Sequence (FCS) length is 16 bits, is one 16 bit ITU-T cyclic redundancy check (CRC).
FCS calculates and uses 16 order polynomials: G
16(x)=x
16+ x
12+ x
5+ 1
Method is as follows:
Suppose multinomial M (x)=b
0x
K-1+ b
1x
K-2+ ... .+b
K-2X+b
K-1The representative want calculation check and sequence
(mould 2 modes) get multinomial residue R (x)=r
0x
15+ r
1x
14+ ...+r
14X+r
15
FCS gets the coefficient of residue.
Mainly containing four kinds of frame formats at present at the MAC layer, is respectively beacon frame, acknowledgement frame, command frame and Frame.
The beacon frame information bag is the important and special packets of information that Centroid sends.
Following information is sent to beacon message packet: beacon message is set up a time scale for the work of all wireless modules, and each beacon signal can be pointed out the zero-time of next beacon message; Beacon message is from gateway communication network information (comprising connection, channel and more information); Beacon message packet can be issued each module with the route information from the acquisition of gateway.
Acknowledgement frame is from each module among the WHCN, and acknowledgement frame is divided into broadcast-type acknowledgement frame information and pre-setting acknowledgement frame information.
Broadcast-type acknowledgement frame information broadcast response message is given equipment all among the WHCN and is wished that all nodes hear response message.
Pre-setting acknowledgement frame information is meant when receiving terminal is received specific information from an information source, and based on requiring, receiving terminal returns a response to transmitting terminal.
The MAC header field of MAC command frame format comprises frame control, WHCN target identification and address, WHCN source sign and address.If the security-enabled in the frame control domain is set to 0, order load territory should comprise the MAC instruction.If the security-enabled in the frame control domain is set to 1, according to the security component of selecting, equipment is handled order load territory, with decision MAC instruction.
If output MAC command frame is had safety requirements, should the byte in this territory be handled according to security component.
In the frame control domain, frame type value 100 shows it is a Frame.Other territory in the suitable as requested setting data frame format.
If the security-enabled in the frame control domain is set to 0, the data load territory should comprise the byte sequence that passes to the upper strata.If the security-enabled in the frame control domain is set to 1, according to the security component of selecting, equipment is handled data load territory, passes to the byte sequence on upper strata with decision.
The load territory of Frame comprises that upper strata (network layer) requires the byte sequence of MAC layer emission.If output data frame is had safety requirements, should the byte sequence in this territory be handled according to the security component of one of corresponding destination address.
Data-transmission mode can be divided into three kinds of data transmission among the WHCN: equipment emission data, and transfer of data is given the Centroid among the WHCN; Equipment receiving data, Centroid emission data; The transmission of data between two peer devices.
In star topology, use preceding two kinds of transmission meanss, because data are only in Centroid and exchanged between equipment.In reciprocity topology, two equipment also can swap data in the network, therefore uses three kinds of transmission meanss.
See also Figure 10, introduce the mechanism that the data slave unit is transferred to Centroid below:
WHCN is the network that a kind of beacon enables, the transmission of this network support beacon.
In the network that a beacon enables, equipment is at first monitored networked beacons.After finding beacon, equipment and Centroid beacon signal are synchronous.(use CSMA/CA to avoid channel block) when channel idle, the equipment transmit data frames is to Centroid.Optional acknowledgement frame of Centroid emission shows and successfully receives data.Transfer of data is finished.
See also Figure 11, introduce data are transferred to equipment from Centroid mechanism below:
In the network of an initiation beacon, when the center node sent data to equipment (transceiver), in network, beacon showed that data wait for.The monitoring networked beacons of equipment periodic.Just wait for when equipment detects information, just radiate a MAC order (data demand) that requires data at Centroid.Acknowledgement frame of Centroid emission shows and successfully receives data demand.The data of waiting for are sent out by channel.Acknowledgement frame of equipment emission shows and successfully receives data.Transmission course is finished.Rely on replying of receiving, information deletion from the outstanding message row.
In order to satisfy specific (special) requirements, even without receiving beacon frame, radio node also sends the data demand order to Centroid.
Successfully receive data demand and have data waiting for that the data of wait are sent to node by channel if acknowledgement frame of Centroid emission or data wait command show.Acknowledgement frame of equipment emission shows and successfully receives data.Transmission course is finished.Rely on replying of receiving, in Centroid, information deletion from the outstanding message row.
Do not wait for that Centroid sends the Frame of 0 byte to node if there are data.
See also Figure 12 and Figure 13, be presented in the mechanism that data slave unit in the peer-to-peer network is transferred to equipment below:
In peer-to-peer network or star-network, equipment can with other device talk in its radio frequency coverage.In order effectively to finish this class communication, equipment needs to receive continuously or equipment room needs synchronized with each other.
Consult Figure 12, when an equipment during to another equipment requirements data, equipment is to the order of the equipment launch requirements data of expectation.The equipment emission acknowledgement frame of expectation is represented the reception of data demand success.If data wait for that the equipment of expectation will transmit data frames.If there are not data waiting for that source device is launched the Frame of 0 length load, showing does not have data to wait for.Require the equipment of data to launch the successful reception that acknowledgement frame is represented Frame.Transmission course finishes.
Consult Figure 13, when an equipment during to another equipment transmission data, equipment can allow data wait for and prepare to connect, and the MAC order of waiting for to desired destination equipment emission data (data wait).Acknowledgement frame of target device emission is represented the successful reception of data waiting signal.When source device receives the acknowledgement frame of target device, source device sends Frame to target device.Target device emission acknowledgement frame is represented the successful reception of data.
When network layer required special frames information to input and output that safety function is provided, the MAC layer was responsible for supporting following safe mode: non-security mode and safe mode.
Non-security mode is the MAC default mode, and the MAC safety function is not provided.The equipment that is operated in non-security mode can not have any safe handling to incoming frame information.
Safe mode is MAC provides cryptoguard to the input and output frame information a mechanism.When equipment work in safe mode, can algorithm safe in utilization.Security algorithm comprises a series of safe handlings to mac layer frame information.For example, security algorithm can adopt DES or aes algorithm.
Network layer is between application layer and MAC layer.Different communication mediums require independently network layer.The most important work of network layer is to set up network function and network Route Selection path is set.
Be the standard of example explanation network layer below with the Star topology.In Star topology, network is by the control of the signalling arrangement of Centroid, and the WHCN Centroid is responsible for starting and service equipment in network, and every other equipment, and as end-equipment, Centroid direct and WHCN is got in touch.
The network layer major function can be divided into network layer data service and network layer management service.
The data, services of network layer comprises:
(1) generation of packet unit and separately.Network layer obtain application layer data bag unit (PacketData Unit, PDU) and produce network layer PDU.Employing is by being divided into data the branch frame technique that a plurality of PDU pass to the MAC layer.
(2) concrete topological route.The network service support sends PDU to suitable equipment, as next step of the end position of communication or communication link.Network layer is responsible for setting up their employed routes between source node and destination node. and network layer can define the routing address structure of oneself, makes the node on the local WHCN network can set up communication.
The management service of network layer comprises:
Network layer obtains order and indicates the MAC layer to finish following work from application apparatus:
(1) start WHCN: Centroid is set up a WHCN or is linked the WHCN of existence;
(2) discovery and definite new equipment, and set up contact and Exchange Service;
(3) connect and disconnect: link WHCN or break from WHCN;
(4) addressing technique: a WHCN Centroid is given the ability of the devices allocation address that joins network;
(5) receive control: the ability when the Equipment Control receiver is movable;
(6) dynamic channel is selected: current channel is selected a better channel because interference has problem;
(7) the body topology is kept: the topology of keeping network layer.
Network layer realizes all network services by a series of network primitives.Receive order and data from application layer when network layer, network layer is provided with the parameter of these primitives.The MAC/PHY layer is carried out these primitives.
See also Figure 14, introduce the transfer process of two intermodular datas among the WHCN below.
Carry out data between two modules and exchange, the sending module network layer is called network layer data and is sent primitive.Require order when the network layer of transmitting terminal sends this, the MAC/PHY layer produces one and be sure of information and return to network layer.When receiving terminal obtains data, the PHY/MAC of receiving terminal reports an indication to its network layer.
See also Figure 15, for improving the accuracy of radio communication, in the network layer of transmitter, be divided into small data packets from the big packet of application layer, this small data packets is fit to the MAC layer.
Divide the length principle of frame to be: the length of each subframe is all less than NWK layer frame length.Except that last subframe, the equal in length of all the other subframes.Except that last subframe, the length of all the other subframes must be even byte number.
When minute frame, create the subframe sequence number and distribute to each subframe, can be applicable in the MAC load.
A counter is set in transmitting terminal NWK layer, and this counter has a maximum, and expression sends the maximum duration that packet allowed.This counter begins counting from sending the 0th subframe, if counter is accumulated to maximum, this packet does not also send and finishes, and transmitting terminal NWK layer is just abandoned and belonged to the subframe that this packet does not also have transmission.
The transmission of each subframe is independently, so just allows the repeating transmission of a subframe.
Some subframes of a packet do not take place under the congested situation at passage, send as subframe row (burst).
See also Figure 16, in the network layer of receiving terminal, the subframe that receives is reassembled into complete packet by sequence number, and this process is called the subframe combination.
The receiving terminal network layer relies on frame type, source address, destination address, sequence of subframes number some subframes that belong to same packet to be made up.
For each packet that is receiving a counter is set in receiving terminal NWK layer, this counter has a maximum, and expression receives the maximum duration that packet allowed.This counter begins counting from the 0th subframe that receives current data packet, if counter is accumulated to maximum, this packet does not also receive, and receiving terminal NWK layer is just abandoned all subframes that received that belong to this packet.If under the situation that counter has overflowed, receive the subframe that belongs to this packet again, the receive direction transmit leg sends the ACK frame, and abandons the subframe of receiving.
Recipient NWK layer is abandoned the repetition subframe of receiving.Corresponding abandoned repetition subframe recipient NWK layer sends the ACK frame to transmit leg equally.
Service quality and routing program, MAC function and channel select to have relation.Network layer should be reported following information and be given application layer.
Wireless channel connects the quality indication.Connection quality indication measurement (link quality indication is called for short LQI) is one and has received packets of information quality or strength characteristics.Use the detection of receiving terminal energy, signal-to-noise ratio (SNR) estimation or unite the measurement that two kinds of methods are finished the connection quality.
Network topology connects.When starting network, the network layer of Centroid is reported all addresss of node in the network.Can be defined by the connection table.When starting network, each node device (transceiver) is reported the address of Centroid in the star-network, and the address of interdependent node equipment in peer-to-peer network or the mesh network.Two kinds of information is all from the MAC layer of node.
Other quality information, network layer can require the MAC layer that service quality is provided, and after MAC layer quality of reception service (network service) request, give a feedback and indication.
Access channel and scan channel are based on the star topology network.
Before network is set up, or network center's node installs before the channel, and all radio nodes in network can or arbitraryly operate on being mounted to by user configured node channel at the channel of a shortcoming.
The flow process of one group node access channel comprises:
After the startup, Centroid scans the working channel of all channels and decision star topology.
Centroid sends channel information.
Transceiver (node) obtains channel information from Centroid.
In star topology, transceiver will be operated in given working channel.
MAC leader in mac frame, if Centroid will change the working channel of this star topology, will put channel status is 1, simultaneously, provides next channel of operation number.
If node device judges that channel status is 1, change working channel into current channel domain specified channel.
On if node is not and Centroid is connected, understand the channel of operation of the present WHCN network of passive scanning.If can not get channel of operation, can turn back to default channel.
Scan channel is a part basic in the start-up routine.The scanning primitive can carry out channel initialization to a series of given channels.Equipment uses the energy on the scan channel measured channel, and seeks Centroid, perhaps in the scanning device scope, seeks the beacon frame of Centroid emission.In the energy detection scanning process, the MAC layer should not handled any frame that receives from the service of PHY layer data.Network layer can provide the scanning requirement, and after the PHY layer executed scan task, the MAC layer can send a confirmation to network layer.Following two kinds of scanning runnings are arranged: the positive scanning running of WHCN Centroid.Purpose is to find out the channel of available and low interference for whole WHCN networks.The drive sweep operation running of WHCN node.Purpose is to follow the tracks of the running channel of WHCN and getting in touch of recovery and WHCN again.
Be presented in network layer below and realize starting the WHCN flow process:
After finishing scan channel and having selected a suitable WHCN sign, Centroid or gateway can start a WHCN.Gateway or Centroid are provided with a WHCN address.
By using network startup, gateway or Centroid are ordered to start a WHCN.After receiving the network startup primitive, it is working channel and WHCN sign that the MAC layer is provided with current channel.After finishing these, the MAC layer can be reported network startup and confirm that primitive response and work are the WHCN Centroid.Network startup is reported the result.
Gateway or Centroid use network startup to require primitive to begin to launch beacon.After receiving this primitive, the MAC layer can be provided with the WHCN sign and use this value in the WHCN source of beacon frame identification field.The source address field of beacon frame should comprise the information of WHCN address.
In WHCN, Centroid or gateway emission beacon frame are represented the existence of oneself.Require primitive by network startup, finish the initialization of beacon frame emission.After receiving this primitive, by the address that WHCN identifies and equipment connects that equipment connects, the MAC emission beacon of Centroid or gateway.
The beacon frame transmissions data are every interval beacon frame cycle to send cycle one beacon frame without exception.All radio nodes decide different Centroids by listen for beacons frame in the space, and the radio node decision with which Centroid is connected then.
Simultaneously, the next one of central node equipment is more high-rise requires to allow an equipment to connect for certain fixed time period.Therefore, the NWK layer being set connect to allow sign to be provided with among certain fixed time period in the network at its Facility Accepted.
The process that equipment will be linked a central node equipment comprises:
For the connection process of optimization WHCN, equipment is the beacon of tracing center node at first.
Node among the WHCN by the network connecting request primitive, only connects with existing WHCN, rather than starts the WHCN of oneself.
At first, the network layer of transceiver requires to send the network connecting request primitive and sends primitive to MAC layer and PHY.
In a single day Centroid receives network connecting request information, and the network layer of Centroid can compare equipment UID with the UID tabulation of registration in advance.
If equipment UID is in list of devices, Centroid can report to the WHCN node address of distributing the application layer of Centroid.
Simultaneously, the Centroid network layer tells application node this node address.
Response message is returned to the transceiver of connecting device, connects transceiver in network layer, can produce the affirmation information of a coupled situation.
Program above having finished, device node just is connected to the Centroid among the WHCN.
Certainly, if the network layer of Centroid does not find equipment UID in list of devices, the network layer of Centroid will connect by refusal equipment.
Network layer realization equipment disconnects process:
Equipment that has connected or Centroid can send the disconnection requirement, require equipment to break from WHCN.Want the network layer of off device to produce a disconnection primitive, and in ON-and OFF-command, sent by the MAC of this transceiver and PHY layer.
The MAC layer is given response of network layer after carrying out network disconnection request.
In a single day Centroid receives this order, just collects to issue orders and to report to network layer.The network layer of Centroid is carried out and is disconnected and feedback response not.
Receive the data procedures of waiting for from Centroid:
In the WHCN of initiation beacon (star-network), whether the content of the frame that equipment receives by inspection can determine to have frame to wait for.If the device address is included in the beacon frame address sequence, the network layer of equipment can send one and reply and require the territory to be set to 1 data demand order to Centroid.
Also have another situation, the equipment requirements Centroid send information to equipment.
The network layer of equipment produces network registration request primitive.These primitives are derived from network layer.The data demand order is carried out and sent to the MAC/PHY layer to Centroid.
After the MAC/PHY layer of equipment executes network registration request primitive, can produce the network layer of confirmation to equipment.
After successfully receiving the data demand order, Centroid can send an acknowledgement frame and confirm to receive.If equipment has time enough to determine whether equipment has one to wait for frame and can send acknowledgement frame in MAC replys latent period, whether equipment can according to having a frame waiting for really, and the frame that acknowledgement frame is set is waited for the territory.Receive frame and wait for that the territory is set to 0 acknowledgement frame, equipment concludes that Centroid does not have data waiting for.
Receive after frame waits for that the territory is set to 1 acknowledgement frame, the device start receiving terminal is in the WHCN that beacon starts, receiving terminal is sought a largest frames response time symbol period at the most, in the WHCN that beacon is closed, several symbol periods of receiving terminal work receive corresponding Frame from the center nodal terminal.If the data that Centroid has requirement equipment to wait for, Centroid can send Frame to equipment.If the data that Centroid does not require equipment to wait for, Centroid can send and not require that acknowledgement frame and load length are that a Frame of 0 is to equipment, showing does not have data now, if the equipment that requires receives a Frame from Centroid really, equipment should send an acknowledgement frame and confirm to receive.If the frame of the Frame that receives from Centroid waits for that the territory is set to 1, equipment must be waited for more the more data from Centroid.In this case, equipment is by receiving data to new data demand order of Centroid emission.
Acknowledgement command is described below and replys the relation that requires the territory:
When sending data or MAC command frame, reply and require suitably value of territory.
Replying the frame that requires territory (acknowledgment request, be called for short AR) to be set to 0 emission can not replied.Source device is thought the frame information transmission success.
Receiving terminal will be replied those and be replied and require the territory to be set to 1 frame emission.If the receiving terminal of expectation correctly receives frame, receiving terminal produces and sends an acknowledgement frame, and this acknowledgement frame comprises the data sequence number identical with Frame of being replied or MAC command frame.
Retransmission mechanism is described below:
Transmission is replied and is required the territory to be set to 0 equipment to think to send and be successfully received, therefore can not carry out launching procedure again.
Send one and reply and require the territory to be set to 1 the Frame or the equipment of MAC command frame, wait for that maximum MAC reply to wait for that a symbol period receives the acknowledgement frame information of response.
If reply at MAC and to wait for and to receive an acknowledgement frame in the symbol period and acknowledgement frame comprises and the identical data sequence number of source emission, equipment is thought current transmission success and do not have further behavior.If reply at MAC and to wait for and not receive an acknowledgement frame in the symbol period and acknowledgement frame comprises and source emission data sequence number inequality, equipment is thought current bust this.Equipment is retransmit frames once more.Program can repeat a maximum retransmission time symbol period.
The register node reset procedure is described below:
Application-level request is reset node, and then, network layer and MAC layer return to initial condition.Network of Central Monitoring Room requires the primitive processing priority to be higher than the network startup requirement and net connection requires primitive, receive this primitive after, network layer and MAC layer are set to initial condition, remove all built-in variables and revert to self-defining value.After resetting radio node, network layer is reported to reset and is confirmed that primitive is to application layer.
Startup is described below and closes the transceiver process:
The receiving terminal of transceiver does not need always in running order, and equipment or network layer are controlled the startup of receiving terminal and closed.How the primitive define equipment starts and closes receiving terminal in the given time.
The reception activity comprises startup, checks and forbids.Under normal circumstances operate by the explanation receiver.Check explanation receiver is only accepted the beacon signal running.Forbid illustrating the running of closing receiver.
The operating time of receiving terminal provides the duration of these reception activities of execution, but unit byte/transmission time or MS.
After the MAC/PHY layer was realized these primitives, MAC course network layer sent the state of confirmation report receiving terminal.
Application layer (Application Layer) is positioned at the top of whole WHCN system, also is unified interface layer between WHCN and the concrete equipment.
Application layer is mainly finished following function:
(1) application layer sends the Equipment Control order to wireless module.
(2) operating conditions of application layer monitoring wireless module.
(3) whole facility informations and order command are collected and formatd to application layer.
(4) application layer is given transmitting apparatus request of WHCN network layer and state by device command.
(5) application layer is from the network layer collection network information (state, data, order) of module.Application layer can be done a simple process.
See also Figure 17, the exchange flow process of the information that illustrates between application layer and network layer.Define two kinds of information between the two, inquiry/order and ACK herein.
Communication and being formatted between application layer and the network layer of application layer frame are carried out.
User or equipment can send the running that the module that is connected is controlled in order.Comprise: startup/closing module running, module operation channel, request module are set scan all running channels and can in an available channel, work.
Startup/closing module.Equipment sends the start-up operation order to link block.This order wakes module up and enters into mode of operation from sleep pattern.Equipment sends the shut-down operation order for the module that connects.This order makes module be back to sleep pattern from mode of operation.No matter this module receives is starting command or ceases and desist order, and all can provide an ACK fast to equipment, even it is just in fill order.
The setting operation channel.Setting sends inquiry to link block.The query request module is worked in the channel that provides.When the frequency band channel that requires module was opened or can not be opened channel, network layer was beamed back ACK to application layer.
Scan operation group and setting operation channel.Equipment sends request to link block, requires module to scan all operation channel, and determines a useful channel address.
All devices comprises gateway and other equipment, and the demand of inquiry of oneself or gateway (or other equipment) adds WHCN, and in the network layer part, detailed network function is discussed and defined.Introduce the respective activity between network layer and the application layer below.
The mode that links to each other comprises equipment with WHCN: equipment directly application is connected with WHCN, the equipment that the gateway registration affirmation is connected; If gateway discovery has some equipment not to be registered, gateway can send inquiry and remove to inquire about unregistered equipment.
The equipment and the network information are at gateway, and the exchange between movements control center and the equipment comprises: application download equipment file, the facility information of the module report that the gateway inquiry is connected with equipment; The upload device file, equipment is given the gateway passes facility information; Application download equipment registration table, movements control center requires gateway that link information is provided; The upload device registration table, gateway sends link information to movements control center.
Equipment comprises from the WHCN disconnect mode: environment inquiry and WHCN disconnect; Gateway inquiry unit and WHCN disconnect.
The process that realization equipment is connected with WHCN is as follows:
The slave unit application layer is sent equipment application for registration inquiry:
The equipment application layer produces this command format, and form is converted into the network layer primitive, is carried out the primitive of network layer by MAC and PHY layer.This module of the gateway registration of WHCN is connected with equipment, by equipment application for registration form, and equipment, module is finished the connection program.After connection was finished, a WHCN address is registered and obtained to wireless module in WHCN.
After gateway registration was confirmed, equipment obtained gateway report and the node address in WHCN.Then, the network layer of slave unit requires an ACK to application layer.If connection failure, ACK also requires the report failure.
Gateway application layer inquiry gateway registration is confirmed.After gateway is received the information frame of equipment application for registration.The equipment UID of equipment UID and deposit is compared, when confirming that application apparatus belongs to this WHCN, send the gateway registration affirmation can for the application layer of gateway.
The network layer of gateway can be given the WHCN address of equipment that is connected and send and be confirmed order.
After the equipment that connects receives that this is confirmed, can postback an ACK to gateway, then, the network layer of gateway sends an ACK can for the application layer of gateway.
Interrogate gateway in the application layer of gateway and inquire about unregistered equipment:
When gateway finds some before by the device id of gateway registration, when not being connected with present WHCN, application layer will send gateway and inquire about unregistered equipment and remove to seek this equipment to network layer.
When the module of gateway is connected with target device, can report successful connection information to gateway.If after the not success, certain hour at interval, can report connection failure information to gateway.
The equipment and the network information are at gateway, and movements control center and exchanged between equipment process are as follows:
Application download equipment information: gateway or or other environment inquiry target devices and require reporting facility information.Gateway sends one from application layer and inquires network layer.Network layer obtains application queries from source device or gateway.The operation of network layer execution all-network is gone and is expected the EM equipment module communication that is connected then.Target program (from the module that connects) will be in data or ack signal reverting equipment information.When source device module obtained or can not get its necessaries information at a fixed time, network layer will provide ACK to application layer and reply.Reporting facility information in ACK.
Upload device information: equipment transmitting apparatus information is to target device or gateway.Upload device information is to say that equipment or gateway directly send information to gateway or target device.The packet length that sends is determined by network layer.The network layer of source device obtains upload device information, and MAC/PHY directly sends this information to object module (equipment).The ack signal of succeeing from target device when the network layer of source device, or when not receiving ack signal at a fixed time, the network layer of source module can provide the application layer of an ACK to it.
Application download equipment registration table: order/inquiry is from the movements control center to the gateway and interrogate network connection information.This is a special inquiry between movements control center and gateway.The module network layer can be handled this UAI in movements control center, and the MAC/PHY layer can send this inquiry to gateway module.When the network layer of movements control center when gateway obtains the request network connection information, or in the set time, confiscate then, the network layer DUO of movements control center can provide an ACK who has the network information in application layer.
Upload device table registration table: refer to that gateway sends network connection information to movements control center.The ack signal of succeeing from movements control center when the network layer of gateway, when perhaps not obtaining ack signal at a fixed time, the network layer of gateway can provide an ACK to application layer.
Realize that by following process equipment and WHCN disconnect:
Have to and the network disconnection when equipment, when perhaps gateway expected that with any reason equipment and current WHCN disconnect, the application layer of equipment can send an inquiry to gateway, and perhaps gateway will provide an order from its application layer.
The equipment that is meant is nullified in the equipment application and WHCN disconnects.In principle, when the ACK. that does not need gateway from the inquiry of source device received inquiry from source device MAC/PHY when the module of gateway, gateway disconnected equipment and WHCN.
Gateway application cancellation equipment refers to that the gateway expectation disconnects equipment and WHCN network.From this inquiry, may not need from the ACK of object module or device network layer.
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.