CN106572075B - A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion - Google Patents

A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion Download PDF

Info

Publication number
CN106572075B
CN106572075B CN201610842523.XA CN201610842523A CN106572075B CN 106572075 B CN106572075 B CN 106572075B CN 201610842523 A CN201610842523 A CN 201610842523A CN 106572075 B CN106572075 B CN 106572075B
Authority
CN
China
Prior art keywords
network
zigbee
data packet
cellular
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610842523.XA
Other languages
Chinese (zh)
Other versions
CN106572075A (en
Inventor
窦丽华
陈惠娟
陈杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN201610842523.XA priority Critical patent/CN106572075B/en
Publication of CN106572075A publication Critical patent/CN106572075A/en
Application granted granted Critical
Publication of CN106572075B publication Critical patent/CN106572075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/323Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the physical layer [OSI layer 1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/325Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the network layer [OSI layer 3], e.g. X.25
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/042Public Land Mobile systems, e.g. cellular systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of virtual heterogeneous network fusion methods based on on-demand protocol conversion, for the communication of heterogeneous network that cellular network and ZigBee-network form, are improved as follows for cellular network and ZigBee-network:Analytical function is added in the physical layer of cellular network and ZigBee-network, MAC layer and network layer:The analytical function is used for parsing the heterogeneous network data packet received, to obtain the type of heterogeneous network data packet and heterogeneous network timing data packet device type;Addition handles the processing function of the heterogeneous network data packet in the physical layer of cellular network and ZigBee-network, MAC layer and network layer, and the type and timer-type of corresponding different heterogeneous network data packet have different processing functions;The wireless interface that bipartite network physical layer defines is constructed at cellular network node and ZigBee-network node, for detecting and receiving the heterogeneous network data packet;It is communicated between cellular network and ZigBee-network by heterogeneous network data packet using the data fusion flow of setting.

Description

A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion
Technical field
The invention belongs to wireless communication fields and field of data communication, and in particular to a kind of on-demand protocol conversion it is virtual different Network forming network fusion method.
Background technology
With the continuous development and progress of economic society, the communication technology is grown rapidly, the communication system to emerge in an endless stream System has provided the network environment of isomery to the user.Heterogeneous network exactly links together various different communication modes, realizes not With interconnecting between communication equipment.Meanwhile the diversification of customer service, the continuous growth of individual demand determine isomery Network communication becomes urgent problem to be solved.
Cellular mobile communication technology is the general term of existing mobile communication technology.Cellular mobile communication uses cellular radio group Net mode is connected by radio channel between terminal and mobile equipment, and then realizes that user aprowl can phase intercommunication Letter.The development in Internet of Things market so that ZigBee technology is extensive in automatic field, industrial control field and smart home field Using, and rely on the advantage of its strong stability, the high and low power consumption of confidentiality, low cost very high as a kind of cry in domestic market Technology.Under the tide of Internet of Things, individual ZigBee technology cannot meet the needs of people are for intelligent control.Due to The popularization and huge development space of mobile equipment start to occur on the market fusion ZigBee-network and cellular mobile network Intelligent domestic gateway controls ZigBee node and receives ZigBee-network data by cellular mobile communication equipment, but its Cost is quite high, and consumer is generally difficult to receive.Meanwhile seldom integrated ZigBee communication module in common mobile equipment. Therefore heterogeneous network converged technology becomes the key technology for solving multiple network and depositing interconnection.
There are some researchs about heterogeneous network converged gateway at present.Most of existing research uses intelligent chip Build heterogeneous network fusion method, two kinds of heterogeneous networks of wired or wireless connection, all communication datas first pass around routing Addressing is sent to heterogeneous network converged gateway, and gateway repacks the information received, is sent out with the demand of adaptation to end network Purpose network is sent to, then destination node is sent to by routing addressing by purpose network.Existing achievement in research is analyzed it is found that making It is advantageous in that with intelligent chip come the convergence platform carried between cellular network and ZigBee-network, intelligent chip is as one Independent individual can open the communication between heterogeneous network and two kinds of respective communication isolatings of network, the communication of heterogeneous network Situation does not influence the normal communication of each automatic network.It is contemplated that in heterogeneous network, if setting multiple Convergence gateways, passing The selection of communication path can be facilitated during defeated heterogeneous network data, reduce communication hop count, but be the increase in hardware cost;If it sets The Convergence gateway put is few, can increase communication path and call duration time, and communication matter is likely to result in the data for transmitting real-time Amount declines even packet loss and increases, and network congestion may be caused in the case where amount of communication data is big.
Invention content
In view of this, the present invention provides a kind of virtual heterogeneous network fusion method of on-demand protocol conversion, for honeycomb Communication between network and ZigBee-network ensure that the normal work of heterogeneous network on the basis of not increasing hardware costs.
In order to achieve the above object, the technical scheme is that:A kind of virtual heterogeneous network based on on-demand protocol conversion Network fusion method, the communication of heterogeneous network formed for cellular network and ZigBee-network, which is characterized in that for Cellular Networks Network and ZigBee-network are improved as follows:
Analytical function is added in the physical layer of cellular network and ZigBee-network, MAC layer and network layer:The parsing Function is used for parsing the heterogeneous network data packet received, to obtain the type of heterogeneous network data packet and heterogeneous network Timing data packet device type;
Addition handles the heterogeneous network in the physical layer of cellular network and ZigBee-network, MAC layer and network layer The processing function of data packet, the type and timer-type of corresponding different heterogeneous network data packet have different processing functions;
The wireless interface that bipartite network physical layer defines is constructed at cellular network node and ZigBee-network node, for examining Survey and receive the heterogeneous network data packet;
It is carried out between cellular network and ZigBee-network by heterogeneous network data packet using the data fusion flow of setting Communication;In the data fusion flow of the setting, when cellular network and ZigBee-network receive heterogeneous network data packet Parsed using the analytical function, and according to the type and timer-type for getting heterogeneous network data packet after, adjust It is handled with different processing functions;
The heterogeneous network data packet is cellular network data packet or ZigBee-network data packet;When ZigBee-network to Using ZigBee-network data packet during cellular network transmission data, bee is used when cellular network transmits data to ZigBee-network Nest network packet.
Further, ZigBee-network agreement is IEEE 802.15.4 agreements.
Further, the data fusion flow of setting includes the following steps:
Step (1) heterogeneous network initializes, and wherein cellular network and ZigBee-network respectively initialize flow according to itself It is initialized;And cellular network interior joint and ZigBee-network interior joint mutually by heterogeneous network packet-switching respectively Location information, the address information of node cellular autofluorescence in the future net mobile station in the ZigBee-network are converted to the ground of zigbee network Location information.
Step (2) cellular network and ZigBee-network communicate, including ZigBee-network to cellular network transmission data Flow and cellular network to ZigBee-network transmission data flow.
The flow of the ZigBee-network to cellular network transmission data is:The Cellular Networks mobile station is to ZigBee-network Self address information is broadcasted, storing its address information in the node route list in ZigBee-network goes forward side by side what row address was converted to The address format of ZigBee-network agreement, then ZigBee-network interior joint is according to the transformed address format of Cellular Networks mobile station Directly with the Cellular Networks mobile communications, and then realize and the communication of the cellular network.
The cellular network to ZigBee-network transmission data flow be:The Cellular Networks mobile station is to cellular network Connection management is applied in base station, and after connection management application success, base station is according to the ZigBee-network interior joint obtained when initializing Address information send out call request, after ZigBee-network node receives call request, cellular network base stations distribution business letter Data are transmitted and receive to the Cellular Networks mobile station of ZigBee-network node sum in road.
Further, the type of heterogeneous network data packet includes:
Cellular Networks scan channel data packet:The network layer of cellular network is sent to the data packet of its MAC layer, is set for passing through Determine channel scan timer scanSignalTimer, driving cellular network node performs scanning channel quality specific at the time of Instruction;
Cellular Networks data link layer controls data packet:The business data packet that the network layer of cellular network is sent, the business number It is transmitted in the Traffic Channel of cellular network according to packet;
Cellular Networks channel scan timer data packet:The channel scan timer event number of the MAC layer setting of cellular network According to packet, when channel scan timer event reaches, cellular network node calls downlink processing function creation downlink Measurement report, and it is sent to the network layer of cellular network;
Cellular Networks data link layer timer data packet:The timer that the MAC layer of cellular network and ZigBee-network is sent Event packet, the timer event data packet are used for timing and perform to send and receive business data packet, cellular network and The nodal test of ZigBee-network further judges determining for the timer event data packet to this timer event type of data packet When device type, then call different processing functions;
Cellular Networks data link layer measurement report data packet:The MAC layer that the MAC layer of cellular network is sent to its network layer is surveyed Amount is reported, the measurement report to cellular network downlink quality is included in the Cellular Networks data link layer measurement report data packet It accuses;
Cellular Networks network layer timer data packet:The timer related with business datum of the network layer setting of cellular network Event packet after cellular network node detects this F type type of data packet, judges the Cellular Networks network layer timer data packet Timer-type, then call different processing functions;
Cellular Networks network layer delay release data packet:The T3110 timer event data of the network layer setting of cellular network Packet, the T3110 timers are channel hangover timers, it is therefore an objective to extend the time that main signaling link disconnects;
Cellular Networks application layer call answering data packet:ZigBee-network node is receiving exhaling from cellular network node After crying request, the response data packet of correspondence call request that the network layer of ZigBee-network is sent out;
Cellular Networks log-on data packet:The notice equipment power opening state that the network layer of cellular network is sent out in initialization Data packet;
ZigBee network control data packets:The control instruction data packet that the MAC layer of ZigBee-network is sent, instruction include association Request, association response, disassociation notice, data transfer request, coordinator ID conflicts notice, acnode notice, beacon request, association Device is adjusted to redistribute, protect time slot mechanism request.
ZigBee network data packets:The business data packet that the MAC layer of ZigBee-network is sent, data type include broadcast and believe Breath, business datum.
ZigBee nets confirm data packet:When the node of cellular network receives the heterogeneous network number of the node of ZigBee-network After packet, if the control domain setting request of the heterogeneous network data packet confirms, then the node of cellular network returns to One ACK acknowledgement frame data packet of ZigBee node.
ZigBee net beacon request data packets:What the network coordinator of ZigBee-network was sent when establishing ZigBee-network Beacon request data packet.
Further, when the type of data packet that the node of the node of cellular network and ZigBee-network receives is data-link During the floor timer data packet of road, the timer-type of data packet is further judged, including:
The channel scan timer of the MAC layer setting of ZigBee-network, in initialization, is determined by setting the timer Phase carries out energy measuring to the channel of specified channel or acquiescence;
The downlink timeslots of the MAC layer setting of cellular network start timer;
The downlink timeslots stop timing device that the MAC layer of cellular network is sent;
The uplink time slot that the MAC layer of cellular network is sent starts timer;
The uplink time slot stop timing device that the MAC layer of cellular network is sent.
When the type of data packet received is Cellular Networks network layer timer data packet, further determining for data packet is judged When device type, including:
The processing channel request timer of Cellular Networks network layer setting, which is for timing channel request 's.
The T3110 timers of Cellular Networks network layer setting, the timer are for the release channel that is delayed.
Further, timer-type is different to call in the data packet obtained according to type of data packet or further Function is handled, including:
#1 type functions:The effect of the function is that cellular network node has more than energy in IEEE802.15.4 channels are detected After the signal of threshold value, the channel number of the channel is obtained.
#2 type functions:The effect of the function is that cellular network node receives ZigBee-network by the channel of ZigBee-network After signal, Error Control is carried out to the signal.
#3 type functions:The effect of the function is that cellular network node has more than energy in the channel for detecting ZigBee-network After the signal of threshold value, by the semaphore lock.
#4 type functions:The effect of the function is letter of the cellular network node in the channel for receiving complete ZigBee-network After number, which is unlocked.
#5 type functions:The effect of the function is that cellular network node carries out carrier sense to the channel of ZigBee-network, according to Carrier sense result changes the state of channel.
#6 type functions:The effect of the function is the timer of the channel of cellular network node processing timing scan ZigBee-network Event.
#7 type functions:The effect of the function is the control of the MAC layer from ZigBee-network that cellular network node processing receives Instruction.
#8 type functions:The effect of the function is the business datum from ZigBee-network that cellular network node processing receives.
#9 type functions:The effect of the function be cellular network node after the business data packet from ZigBee-network is received, It checks whether the data packet control domain sets request to confirm, if the data packet sets affirmation mechanism, then constructs and to return to ACK true Frame is recognized to source node.
#10 type functions:The effect of the function is that ZigBee node has more than energy cut-off in cellular network channel is detected After the signal of value, the channel number of the channel is obtained.
#11 type functions:The effect of the function is after ZigBee node receives cellular network signals by honeycomb network channel, Error Control is carried out to the signal.
#12 type functions:The effect of the function is that ZigBee node has more than energy cut-off in cellular network channel is detected After the signal of value, by the semaphore lock.
#13 type functions:The effect of the function is signal of the ZigBee node in complete cellular network channel is received Afterwards, which is unlocked.
#14 type functions:The effect of the function is that ZigBee node carries out carrier sense to cellular network channel, according to carrier wave Intercepted result changes the state of channel.
#15 type functions:The effect of the function is ZigBee node in the equipment of itself for receiving surrounding cells net node broadcasts It is stored after the status information of unlatching, facilitates transmission data information.
#16 type functions:The effect of the function is the cellular network channel scan timer event set in ZigBee node During generation, the quality testing report of downlink is sent to its network layer.
#17 type functions:The effect of the function is the ZigBee when cellular network node initiates data transmission to ZigBee node Node, which calls, to send business datum to cellular network node.
#18 type functions:The effect of the function is when ZigBee node receives the business data packet from cellular network node Afterwards, which is unsealed, obtains source data.
#19 type functions:The effect of the function be to when Cellular Networks network to ZigBee-network initiate data transmission when, After ZigBee-network layer analyzes the cellular network downlink quality detection packet that self MAC layer is sent, determine what is be suitble to Downlink.
#20 type functions:The effect of the function is the Cellular Networks when Cellular Networks network initiates data transmission to ZigBee-network Base station sends call request after the call request for receiving the mobile station for initiating data transmission, to purpose ZigBee node, ZigBee node receives and returns to call request response message to Cellular Networks source node after the call request, represents that the calling can be into Row.
#21 type functions:The effect of the function is disappeared when ZigBee node receives the distribution immediately gone to the station to meet somebody from Cellular Networks After breath, next step processing method is selected according to the cause information fields of assignment messages immediately:Send location update message or hair Send the information request channel of call request response message or sending application layer.
#22 type functions:The effect of the function is ZigBee node sends location update message to cellular network base stations, base station into Return position update receives message to the ZigBee node behind the position of work(update ZigBee node, and ZigBee node is receiving After this message, T3240 timers are set to wait for MM laminar flow journeys.
#23 type functions:The effect of the function is vacation after ZigBee node receives the call request message of cellular network base stations Such as the ZigBee node is in idle condition, then creates information request channel and be sent to cellular network base stations, by asking distribution Traffic Channel carrys out transmitting and receiving service data.
#24 type functions:The effect of the function is when the connection management that ZigBee node receives cellular network base stations transmission please After seeking message, select to send call request reception information according to call direction or calling reaches information.
#25 type functions:The effect of the function is when ZigBee node receives the channel release information of cellular network base stations transmission Afterwards, setting T3110 timers are come the release channel that is delayed, and cancel the channel request timer of setting.
#26 type functions:The effect of the function is when the channel request timer event generation of setting, creates channel request Information is simultaneously sent to cellular network base stations.
#27 type functions:When the effect of the function is that the T3110 timer events of setting occur, the process of channel will be used Terminate, and be delayed and discharge the channel.
Further, the flow of ZigBee-network to cellular network transmission data is specially:
First, ZigBee-network calls #22 type functions that the address information of oneself is sent to Cellular Networks base in initialization It stands, cellular network base stations call #1 type functions to detect ZigBee data, call #2 types, #3 types, #4 types, #5 type functions in succession later Data packet is successfully received own physical layer, and it is sent to self MAC layer and is handled;Cellular network MAC layer calls # 9 type functions confirm whether the data packet control domain sets request to confirm, if setting, send ACK and confirm that data packet returns ZigBee-network, last cellular network base station is in the position for being successfully updated ZigBee-network node.
After location updating, beacon request information is broadcast to other nodes in network by ZigBee network coordinator, including Cellular network node, cellular network node calls #1 type functions to detect ZigBee data, then calls #2 types, #3 types, #4 types, #5 in succession Data packet is successfully received own physical layer by type function, then #7 type functions is called to handle the beacon request data packet.
After ZigBee-network is successfully established, starts lasting transmission data packet and give Cellular Networks destination node;Similarly, honeycomb Net node calls #1 type functions to detect ZigBee data, then calls #2 types, #3 types, #4 types, #5 type functions in succession by data packet Own physical layer is successfully received, and it is sent to self MAC and is handled;Honeycomb network MAC layer calls the processing of #8 type functions Business datum from ZigBee-network, and #9 type functions are called to determine whether needing to return to ACK confirmation packets, finally call #6 Type function returns to corresponding data packet and gives ZigBee source nodes;
Further, the flow of cellular network to ZigBee-network transmission data is:
First, the status information opened when cellular network initializes to surrounding broadcast equipment of itself, ZigBee node call # 10 type functions detect honeycomb network data, call #11 types, #12 types, #13 types, #14 type functions that data packet is successful in succession later Own physical layer is received, and it is sent to self MAC layer and is handled, ZigBee network MAC layers call #15 type functions by shape State information stores;
When storing ZigBee-network initialization after the address information that exchanges, cellular network mobile station is to ZigBee mesh Node initiate call request, which is sent initially to cellular network base station, and cellular network base stations are receiving After solicited message, one Traffic Channel of the Cellular Networks mobile station is distributed to, in the Traffic Channel, Cellular Networks mobile station is to honeycomb Net base station application connection management;Meanwhile cellular network base station starts to send call request data packet to ZigBee destination nodes, ZigBee destination nodes call #10 type functions to detect cellular network data, call #11 types, #12 types, #13 types, # in succession later Data packet is successfully received own physical layer by 14 type functions, and it is sent to self MAC layer and is handled;ZigBee purposes The MAC layer of node calls #23 type functions to handle the call request information, and #26 type functions is called to create information request channel hair Give cellular network base station;Cellular network base station one idle channel of distribution gives the ZigBee destination nodes, on this channel, ZigBee node calls #21 type functions to send call request response to cellular network base stations, and cellular network base stations then call #20 types Call request response message is returned to Cellular Networks source node by function, and call path, which has erected, at this time comes.
Later, cellular network base stations send connection management and ask to ZigBee node, and ZigBee node calls #24 type functions to return Callback is called up to information, and later, cellular network node starts to transmit business datum in the Traffic Channel distributed, in this process In, ZigBee node calls #18 type functions to receive the business data packet of cellular network node, and it is corresponding to send to call #17 type functions Business datum to cellular network node.
In transmit process, also several extra works are carried out in timing:ZigBee-network calls the timing of #16 type functions Scan downlink, and after #19 type functions is called to analyze the downlink quality detection packet received, determine it is suitable under Line link;ZigBee calls the timing of #22 type functions to send location update message to cellular network base stations simultaneously.
After whole business datums are transferred, cellular network base stations are respectively to source Cellular Networks mobile station and the section of ZigBee mesh Point request release Traffic Channel, ZigBee destination nodes call #25 type functions to check the channel time delay release timer of setting, And cancel the channel request timer of setting, when channel release timer event occurs, which calls #27 The process of busy channel is terminated and discharges the channel by type function.
Advantageous effect:
Heterogeneous network converged technology is embedded into existing network by the present invention, constructs a virtual heterogeneous network converged net It closes, the ability for making each heterogeneous network node that there are transmitting-receiving heterogeneous network data, directly in sender and recipient's node Upper processing heterogeneous network data.
Description of the drawings
Fig. 1 is to initialize flow based on the heterogeneous network of cellular network and ZigBee-network.
Fig. 2 is the heterogeneous network data transmission flow that ZigBee-network is initiated.
Fig. 3 is the heterogeneous network data transmission flow that cellular network is initiated.
Fig. 4 is the simulating scenes based on QualNet analogue systems.
Fig. 5 is delay-range data statistical chart.
Fig. 6 is data packet reception rate-call duration time data statistics figure.
Specific embodiment
The present invention will now be described in detail with reference to the accompanying drawings and examples.
Heterogeneous network in embodiment 1, the present invention is made of cellular network and ZigBee-network, therefore the present invention's is virtual Heterogeneous network fusion method is for cellular communication protocol and 802.15.4 Protocol Designs.
The virtual heterogeneous network fusion method designed in the present invention includes data fusion flow, and data judge algorithm, data Handle four parts of wireless interface of function and purpose network.
(1) data fusion flow:It defines in the heterogeneous network based on cellular network and ZigBee-network, Cellular Networks section The flow to communicate between point and ZigBee node.
(2) data judge algorithm:In physical layer, MAC layer and the network of cellular network protocols and IEEE 802.15.4 agreements Addition is used for unsealing the isomeric data packet received, and obtain the type of data packet and data packet timer respectively in layer The algorithm of type.
(3) data processing function:In physical layer, MAC layer and the network of cellular network protocols and IEEE 802.15.4 agreements The function performance of addition processing heterogeneous network data, it is fixed to judge that algorithm obtains the type of data packet, data packet according to data in layer When device type and other information after, reacted using corresponding processing function.
The present invention is under the premise of cellular network and ZigBee-network own net communication process is retained, for heterogeneous network Between communicating requirement, devise heterogeneous network initialization flow and heterogeneous network data transmission flow (be divided into ZigBee-network to Cellular network transmission data and cellular network transmit two kinds of situations of data to ZigBee-network).
(1) heterogeneous network initializes:The flow of heterogeneous network initialization is in cellular network and ZigBee-network script It initializes in flow, in order to meet the addressing requirement of heterogeneous network node and increased initialization flow.In design heterogeneous network Before initialization flow, it is known that the communication process of cellular communication protocol is related to multiple equipment, complex, and The communication process of IEEE802.15.4 agreements only preserves the simplest optional machine of ACK acknowledgement frames in non-beacon enables pattern System, therefore to the effect that between cellular network node and ZigBee node of increased heterogeneous network initialization flow in the present invention Send and store mutually the data packet with Self address information.
(2) heterogeneous network data transmission:The data type that cellular network can transmit includes voice, video, picture, text Deng, what ZigBee-network usually transmitted is sensor measurement data and control information, consider heterogeneous network converged technology Application scenario after, determine to be used as the communication data of heterogeneous network using text data type.
ZigBee-network is to cellular network transmission data:The data transmission initiated by ZigBee-network is needed according to ZigBee The communication process of network operates.Since cellular network node does not add in ZigBee-network, when ZigBee node needs to send out When sending data to Cellular Networks mobile station, carried out data transmission herein using the method for direct communication, direct communication method does not need to Contact is established between node in advance, using node address as parameter, adjusts appropriate application interface to realize communication, therefore straight The key point for connecting letter is the acquisition of node address (64 bit address of IEEE or 16 conversion short addresses).In view of Cellular Networks Node is not added to ZigBee-network, it is therefore desirable to an extra work is done, after initialization terminates, and Cellular Networks mobile station The address information of oneself is broadcasted to ZigBee-network, so as to store its 64 bit address of IEEE in the routing table of ZigBee-network With 16 short addresses obtained by address translation feature.
Cellular network transmits data to ZigBee-network:The data transmission initiated by cellular network is needed according to cellular network The data transmission flow of agreement carries out, and the communication of cellular network node and ZigBee node is needed through cellular network base stations point The Traffic Channel matched is completed, therefore the key of the transfer process is exactly that ZigBee node can obtain recognizing for cellular network base stations Card.First, Cellular Networks mobile station needs to apply for connection management to base station, and after connection management application success, base station starts to call ZigBee destination nodes, since in heterogeneous network initialization procedure, base station has stored the equipment state of ZigBee equipment With the information such as hardware address, therefore cellular network base stations directly send call request to ZigBee node, when ZigBee node receives After call request, cellular network base stations just distribute Traffic Channel to ZigBee node and the Cellular Networks mobile station of initiation calling to pass Defeated and reception data.
The central idea for realizing the virtual heterogeneous network fusion method in the present invention is on-demand protocol conversion.Procotol is The rule of one group of management data exchange abided by jointly between two entities of communicating pair is difficult to what is communicated between heterogeneous network Critical issue is exactly the incompatible of procotol, therefore protocol conversion is to realize the key technology of heterogeneous network converged.Due to this The virtual gateway of invention design is realized based on QualNet analogue systems, therefore is also emulated in the design according to QualNet and be The layered structure of system carrys out hierarchical design, is named when writing power function according to function performance, increase programmed readability and Scalability.
In order to complete the heterogeneous network converged flow designed in the present invention, in cellular network protocols and Physical layer, MAC layer and the network layer of IEEE802.15.4 procotols are required for adding in corresponding protocol conversion function.Each layer Protocol conversion module judge two parts of algorithm and data processing function comprising data.Algorithm is judged by data to call number On-demand concept is realized according to the mode of processing function.
Data judge that algorithm is to get type of data packet in the Info information fields of data packet by unsealing after data packet The algorithm of timer-type with data packet is got in the TimerInfo information fields of data packet, needs the data packet judged Type includes:
(1) MSG_MAC_CELLULAR_FromNetworkScanSignalPerformMeasurement types:Honeycomb Net network layer is sent to the data packet of its MAC layer, and effect is by setting scanSignalTimer timers at the time of specific Perform scanning channel quality instruction.
(2) MSG_MAC_CELLULAR_FromNetwork types:The business data packet that Cellular Networks network layer is sent, usually Comprising data be to need the types such as the voice, video, picture, the text that transmit, data packet needs transmit in Traffic Channel.
(3) MSG_MAC_CELLULAR_ScanSignalTimer types:The setting of honeycomb network MAC layer ScanSignalTimer timer event data packets, when ScanSignalTimer timer events reach, then call function Downlink measurement report is created, and is sent to its network layer.
(4) MSG_MAC_TimerExpired types:The timer event that Cellular Networks and the MAC layer of ZigBee-network are sent Data packet, the data packet are to send and receive business datum event for periodically performing, and are needed after detecting this type of data packet Further to judge the timer-type of the data packet, then call different data processing functions.
(5) MSG_NETWORK_CELLULAR_FromMacMeasurementReport types:Honeycomb network MAC layer is sent To the MAC layer measurement report of its network layer, the measurement report that sieve downlink quality is held high to honeycomb is included in the data packet.
(6) MSG_NETWORK_CELLULAR_TimerExpired types:Cellular Networks network layer is set and business datum Related timer event data packet needs further to judge the timer class of the data packet after detecting this type of data packet Then type calls different data processing functions.
(7) MSG_NETWORK_CELLULAR_T3110Timer types:The T3110 timers of Cellular Networks network layer setting Event packet, wherein T3110 timers are channel hangover timers, it is therefore an objective to extend that main signaling link disconnects when Between, the timer after Channel Release message is received for extending the time of channel deactivation, and the purpose is to main signalings Some times are reserved in the disconnection of channel.
(8) MSG_NETWORK_CELLULAR_FromAppCallAnswered types:ZigBee node is receiving After the call request of cellular autofluorescence net node, the data packet responded to call request that network layer is sent out.
(9) MSG_CELLULAR_PowerOn types:The notice equipment power supply that Cellular Networks network layer is sent out in initialization The data packet of opening.
(10) M802_15_4DEFFRMCTRL_TYPE_MACCMD types:The control instruction that ZigBee-network MAC layer is sent Data packet, instruction include association request, association responses, disassociation notice, data transfer request, coordinator ID conflict notice, Acnode notice, beacon request, coordinator is redistributed, GTS is asked.
(11) M802_15_4DEFFRMCTRL_TYPE_DATA types:The business datum that ZigBee-network MAC layer is sent Packet, data type include broadcast message, business datum.
(12) M802_15_4DEFFRMCTRL_TYPE_ACK types:When Cellular Networks destination node receives ZigBee-network Data packet after, if the data packet control domain setting request confirm, then Cellular Networks destination node returns to ZigBee sources One ACK acknowledgement frame data packet of node.
(13) MSG_SSCS_802_15_4_TimerExpired types:The network coordinator of ZigBee-network is being established The Beacon Request data packets sent during ZigBee-network.
When the type of data packet received is MSG_MAC_TimerExpired, the timing of data packet is further judged Device type, including:
(1)M802_15_4SCANTIMER:The channel scan timer of ZigBee-network MAC layer setting, in initialization, Energy measuring periodically is carried out to the channel of specified channel or acquiescence by setting the timer.
(2)DOWNLINK_CONTROL_SLOT_BEGIN:The downlink timeslots of honeycomb network MAC layer setting start timing Device.
(3)DOWNLINK_CONTROL_SLOT_END:The downlink timeslots stop timing device that honeycomb network MAC layer is sent.
(4)UPLINK_CONTROL_SLOT_BEGIN:The uplink time slot that honeycomb network MAC layer is sent starts timer.
(5)UPLINK_CONTROL_SLOT_END:The uplink time slot stop timing device that honeycomb network MAC layer is sent.
When the type of data packet received is MSG_NETWORK_CELLULAR_TimerExpired, need further to sentence The timer-type of disconnected data packet, including:
(1)MSG_NETWORK_CELLULAR_WaitForChannelRequestResponseTimer:Cellular Networks network The processing channel request timer of layer setting, which is for timing channel request.
(2)MSG_NETWORK_CELLULAR_T3110Timer:The T3110 timers of Cellular Networks network layer setting, this is fixed When device be for be delayed release channel.
Judge type of data packet that algorithm obtains according to data or the timing data packet device type that further obtains is adjusted With different data processing functions, including:
(1)Phy802_15_4getChannelNumber():The effect of the function is that cellular network node is detecting After having more than the signal of energy threshold in IEEE802.15.4 channels, the channel number of the channel is obtained.
(2)Phy802_15_4CheckRxPacketError():The effect of the function is that cellular network node passes through After IEEE802.15.4 channels receive ZigBee-network signal, Error Control is carried out to the signal.
(3)Phy802_15_4LockSignal():The effect of the function is that cellular network node is detecting After having more than the signal of energy threshold in IEEE802.15.4 channels, by the semaphore lock.
(4)Phy802_15_4UnLockSignal():The effect of the function is that cellular network node is receiving completely After signal in IEEE802.15.4 channels, which is unlocked.
(5)Phy802_15_4CarrierSensing():The effect of the function is cellular network node to IEEE802.15.4 Channel carries out carrier sense, changes the state of channel according to carrier sense result.
(6)Mac802_15_4ScanHandler():The effect of the function is cellular network node processing timing scan The timer event of IEEE802.15.4 channels.
(7)Mac802_15_4RecvCommand():The effect of the function be cellular network node processing receive come from The MAC layer control instruction of ZigBee-network.
(8)Mac802_15_4RecvData():The effect of the function be cellular network node processing receive from ZigBee The business datum of network.
(9)Mac802_15_4frameCtrlSetAckReq():The effect of the function, which is cellular network node, to be come from receiving After the business data packet of ZigBee-network, check whether the data packet control domain sets request to confirm, if the data packet is set Affirmation mechanism then constructs and returns to ACK acknowledgement frames to source node.
(10)PhyCellularGetChannelNumber():The effect of the function is that ZigBee node is detecting bee After having more than the signal of energy threshold in nest network channel, the channel number of the channel is obtained.
(11)PhyCellularCheckRxPacketError():The effect of the function is that ZigBee node passes through honeycomb After network channel receives cellular network signals, Error Control is carried out to the signal.
(12)PhyCellularLockSignal():The effect of the function is that ZigBee node is detecting cellular network After having more than the signal of energy threshold in channel, by the semaphore lock.
(13)PhyCellularUnLockSignal():The effect of the function is that ZigBee node is receiving completely After signal in cellular network channel, which is unlocked.
(14)PhyCellularCarrierSensing():The effect of the function is that ZigBee node believes cellular network Road carries out carrier sense, changes the state of channel according to carrier sense result.
(15)MacCellularMsHandlePowerOnMsg():The effect of the function is that ZigBee node is receiving week It is stored after enclosing the status information of the equipment of itself unlatching of cellular network node broadcast, facilitates transmission data information.
(16)MacCellulerBuildDownlinkMeasurementMsgToNetwork():The effect of the function is When the cellular network channel scan timer event of ZigBee node setting occurs, the quality testing of downlink is reported to hair Give its network layer.
(17)MacCellularTranmitOnTCH():The effect of the function is to work as cellular network node to ZigBee node When initiating data transmission, ZigBee node, which calls, to send business datum to cellular network node.
(18)MacCellularProcessTchMessages():The effect of the function is when ZigBee node receives After business data packet from cellular network node, which is unsealed, obtains source data.
(19)CellularMsHandleMeasurementReportFromMac():The effect of the function is to working as honeycomb Net network to ZigBee-network initiate data transmission when, cellular network downlink chain that ZigBee-network layer sends self MAC layer After road quality testing packet is analyzed, suitable downlink is determined.
(20)CellularMsHandleCallAnsweredMsg():The effect of the function be when Cellular Networks network to ZigBee-network initiate data transmission when, cellular network base stations receive initiate data transmission mobile station call request it Afterwards, call request is sent to purpose ZigBee node, ZigBee node returns after receiving the call request to Cellular Networks source node Call request response message represents that the calling can carry out.
(21)CellularMsHandleImmediateAssignmentMsg():The effect of the function is when ZigBee is saved Point is received after the assignment messages immediately that Cellular Networks are gone to the station to meet somebody, and is selected according to the cause information fields of assignment messages immediately next Walk processing method:It sends location update message or sends call request response message or the channel request of sending application layer Information.
(22)CellularAbstractMsHandleLocationUpdateAccepetMsg():The effect of the function is ZigBee node sends location update message to cellular network base stations, and base station is successfully updated return position behind the position of ZigBee node Update receives message to the ZigBee node, and ZigBee node sets T3240 timers to wait for MM after this message is received Laminar flow journey.
(23)CellularAbstractMsHandlePageRequest():The effect of the function is to work as ZigBee node After the call request message for receiving cellular network base stations, if the ZigBee node is in idle condition, then channel request letter is created Breath is sent to cellular network base stations, by asking the Traffic Channel of distribution come transmitting and receiving service data.
(24)CellularAbstractMsHandleActivatePDPContextAcceptMsg():The work of the function With being after ZigBee node receives the connection management request message that cellular network base stations are sent, select to send out according to call direction Call request is sent to receive information or calling arrival information.
(25)CellularAbstractMsHandleChannelReleaseMsg():The effect of the function is to work as After ZigBee node receives the channel release information of cellular network base stations transmission, setting T3110 timers discharge channel to be delayed, and Cancel the channel request timer of setting.
(26)CellularMsProcessChannelRequestTimer():The effect of the function is when the channel of setting When asking timer event generation, create information request channel and be simultaneously sent to cellular network base stations.
(27)CellularMsProcessT3110Timer():The effect of the function is the T3110 timer events of setting During generation, the process for using channel is terminated, and is delayed and discharges the channel.
Embodiment
As shown in Figure 1, the heterogeneous network initialization flow that the present invention designs is as follows:First, ZigBee node is successfully being built It is vertical or after adding in ZigBee-network, by the equipment state of oneself and broadcasting address information to the cellular network node of surrounding, and start The control channel in the region is scanned, affiliated nearest base station is determined by the most strong channel of selection signal, as long as ZigBee equipment It is active, which will periodically repeat, while ZigBee node can also be controlled to the base station of cellular network Device processed and mobile switching centre update the information such as the position of oneself, hardware address as needed.Then, Cellular Networks mobile station and ZigBee node starts to carry out quality testing to downlink, and pass through the Traffic Channel of distribution in cellular network base stations and Cellular Networks Movements control center stores or updates the hardware information and address information of oneself.
As shown in Fig. 2, the data transmission flow that ZigBee-network is initiated is as follows:First, ZigBee node is receiving honeycomb After the position broadcast message comprising itself IEEE64 bit address that net node is sent, transformed 16 short addresses information is sent To corresponding ZigBee node.Then, ZigBee node is carried out data transmission by the way of direct communication, direct communication mode It does not need to establish contact in advance between node, using node address as parameter, adjusts appropriate application interface to realize communication. Finally, if request is set to confirm in the control domain of data packet, then cellular network node needs to return ACK acknowledgement frames to accordingly ZigBee node.
As shown in figure 3, the data transmission flow that Cellular Networks are initiated is as follows:Firstly, it is necessary to transmit the Cellular Networks movement of data Platform applies for distribution Traffic Channel and request connection management to base station, when the idle Traffic Channel of base station distribution give the mobile station it Afterwards, the data packet of connection management request is sent to the mobile station by Traffic Channel.Meanwhile base station starts the section to ZigBee mesh Point sends call request, since in heterogeneous network initialization procedure, base station has stored the equipment state of ZigBee equipment With the information such as hardware address, therefore cellular network base stations directly send the data packet of call request to ZigBee node, work as ZigBee After node receives call request, cellular network base stations distribute Traffic Channel to ZigBee node and initiate the Cellular Networks called movement Platform carrys out transceiving data.After business datum is sent, Cellular Networks mobile station is sent to base station releases connection management request, should ask After asking receiving, the Traffic Channel of base station release distribution.
In order to complete the initialization flow of heterogeneous network and data transfer process, in cellular network protocols and Data are added in IEEE802.15.4 agreements and judge algorithm and data processing function, this two parts completes on-demand protocol conversion Function.
The protocol conversion function programming of cellular network protocols physical layer:For cellular network node, when its object Layer is managed in when receiving, sending state, the signal detected in ZigBee channels will not be locked;At its physical layer state When idle or monitoring, after detecting that the signal strength in ZigBee channels is more than signal threshold value, reception letter is locked into Number, after receiving complete data packet, to data packet carry out quality of reception detection, it is therefore desirable to the increased function of physical layer have with Descend some:
1) ZigBee channels, locking and unlocking signal are monitored
2) Error Control is carried out to data packet
3) channel status is checked
The protocol conversion function programming of cellular network protocols MAC layer:When the physical layer of cellular network node is properly received It to after complete ZigBee data packets, is sent to its MAC layer and is handled, have in the function that its MAC layer needs are completed following Some:
1) ZigBee data packet headers are removed;
2) state (unlatching/closing) of ZigBee node is stored;
3) 64 bit address of IEEE of oneself is sent after the scanning information for receiving ZigBee coordinators to corresponding ZigBee network coordinator;
4) MAC layer command information is handled;
5) data information is received;
6) it chooses whether to return to ACK acknowledgement frames according to the demand of ZigBee data packets;
If the type of data packet that the MAC layer of cellular network node receives is MSG_SSCS_802_15_4_ TimerExpired, then the data packet is that the network coordinator of 802.15.4 networks is sent when establishing ZigBee-network Beacon Request data packets, cellular network node are without any processing to this data packet.
The protocol conversion function programming of IEEE802.15.4 protocol physical layers:Increase in IEEE802.15.4 agreements Function be largely the data transmission initiated for handling cellular network node to ZigBee node.ZigBee node is receiving During heterogeneous network data, there is the following in the increased function of physical layer first:
1) honeycomb network channel, locking and unlocking signal are monitored;
2) Error Control is carried out to data packet;
3) channel status is checked;
The protocol conversion function programming of IEEE802.15.4 agreement MAC layers:When 802.15.4 agreements physical layer into It after work(receives Cellular Networks data packet, is sent to its MAC layer and is handled, judge that algorithm identifies type of data packet by data, tear open Corresponding reaction is made except data packet header, and according to the content of data packet, including:
1) equipment state report is created;
2) measurement report of downlink is created;
3) downlink measurement report received is handled;
4) it delivers a packet in Traffic Channel;
5) data packet that processing business channel transmits;
If the type of data packet that the MAC layer of ZigBee node receives is MSG_MAC_TimerExpired, then root is needed Different processing functions is called according to the timer-type of data packet, starts time slot in upload control link and delivers a packet to more High level processing starts time slot in downlink control link and starts transmission data packet, slot and uplink control at the end of downlink controls link Link processed terminates time slot arranging thing reason layer and begins listening for channel.
The protocol conversion function programming of IEEE802.15.4 Protocol network layers:When the MAC layer of 802.15.4 agreements connects When the data packet received is related to mobile management (MM), telecommunication management (CM) and provided for radio resources management (RR), then by number Network layer being sent to according to packet to be handled, network layer makes corresponding reaction according to the content of data packet, including:
1) the physical channel measurement report that processing MAC layer is sent;
2) call business of processing business channel;
3) channel assignment request is handled;
4) processing position update request;
5) the connection management request of processing base station;
6) channel release command is handled;
When the Cellular Networks type of data packet that the network layer of IEEE802.15.4 procotols receives is MSG_NETWORK_ During CELLULAR_TimerExpired, then need further to judge the timer-type of data packet to call different processing letters Number, the processing including the processing to channel request timed events and timer T3110 (channel hangover timer) event.
Fig. 4 is a deployment schematic diagram of the virtual heterogeneous network fusion method application of the present invention, is emulated using QualNet System builds the simulating scenes of the heterogeneous network model based on cellular network and ZigBee-network, entire heterogeneous network simulating scenes Range be set as 1500m2, 34 Cellular Networks mobile station nodes of setting, 66 ZigBee nodes, 1 cellular network base stations, 1 Cellular Networks mobile switching centre, 1 Cellular Networks gateway.It is provided with each Cellular Networks mobile station node and two ZigBee is saved Point has communication, and two communication processes are respectively set to mobile station and send control data to ZigBee node and mobile station reception The data information that ZigBee node is sent, emulation testing select text data type to test heterogeneous network converged result.Its His parameter setting further includes, and the transmission rate of cellular network node is 4Mbps, and the transmission rate of ZigBee-network node is 250Kbps, simulation time 100s.
Fig. 5 describes the delay of cellular network under delay data and same case of the heterogeneous network under different communication distance Data comparison.Analysis test result is it is found that heterogeneous network slightly increases in delay that can be in communication range with the increase of distance Add, the delay of cellular network is almost without fluctuation.The flow of data transmission and reception is analyzed it is recognised that due to ZigBee node Communication range in 114m2Within, therefore with the increase of distance, ZigBee-network is passing through nothing as defined in 802.15.4 agreements Transmission time can increase when line interface transmits data, so that overall network delay increased, but prolong with cellular network When data compare, the delay data of heterogeneous network still can be maintained on the same order of magnitude, therefore will not have shadow to communication quality It rings.
Fig. 6 describes data packet reception rate of the heterogeneous network under the different communication time and cellular network under same case Data packet reception rate compares.Call duration time has selected the range of 10s to 100s, is tested by interval of 10s.Analysis example result can To know, with the increase of call duration time, the data packet reception rate of heterogeneous network and cellular network moves closer to, into rear number of units According to analysis it is recognised that heterogeneous network is the reason of when call duration time is shorter, packet loss is slightly larger, what ZigBee-network was sent Beacon Request data packets are that network coordinator is sent to slave device, for ensureing the same of each slave device and network coordinator Step reduces the power consumption of slave device, and cellular network does not need to this function, receives the Beacon from ZigBee-network Request data packets just directly discharge.Therefore cellular network actually under the data packet reception amount of heterogeneous network and same case Data packet reception amount it is identical.
To sum up, the foregoing is merely a prefered embodiment of the invention, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in the protection of the present invention Within the scope of.

Claims (6)

1. a kind of virtual heterogeneous network fusion method based on on-demand protocol conversion forms for cellular network and ZigBee-network Heterogeneous network communication, which is characterized in that improved as follows for cellular network and ZigBee-network:
Analytical function is added in the physical layer of cellular network and ZigBee-network, MAC layer and network layer:The analytical function For being parsed to the heterogeneous network data packet received, to obtain the type of heterogeneous network data packet and heterogeneous network data Packet timer-type;
Addition handles the heterogeneous network data in the physical layer of cellular network and ZigBee-network, MAC layer and network layer The processing function of packet, the type and timer-type of corresponding different heterogeneous network data packet have different processing functions;
The wireless interface that defines of bipartite network physical layer is constructed at cellular network node and ZigBee-network node, for detecting and Receive the heterogeneous network data packet;
It is communicated between cellular network and ZigBee-network by heterogeneous network data packet using the data fusion flow of setting; In the data fusion flow of the setting, when cellular network and ZigBee-network receive heterogeneous network data packet using institute Analytical function is stated to be parsed, and according to the type and timer-type for getting heterogeneous network data packet after, call different Processing function handled;
The heterogeneous network data packet is cellular network data packet or ZigBee-network data packet;When ZigBee-network is to honeycomb Using ZigBee-network data packet during transmitted data on network, Cellular Networks are used when cellular network transmits data to ZigBee-network Network data packet;
The data fusion flow of the setting includes the following steps:
Step (1) heterogeneous network initializes, and wherein cellular network and ZigBee-network are respectively carried out according to itself initialization flow Initialization;And by heterogeneous network packet-switching, respectively address is believed mutually for cellular network interior joint and ZigBee-network interior joint It ceases, the address information of node cellular autofluorescence in the future net mobile station in the ZigBee-network is converted to the address letter of zigbee network Breath;
Step (2) cellular network and ZigBee-network communicate, including ZigBee-network to the stream of cellular network transmission data Journey and cellular network transmit the flow of data to ZigBee-network;
The flow of the ZigBee-network to cellular network transmission data is:The Cellular Networks mobile station is broadcasted to ZigBee-network Self address information stores its address information in the node route list in ZigBee-network and goes forward side by side what row address was converted to The address format of ZigBee-network agreement, then ZigBee-network interior joint is according to the transformed address format of Cellular Networks mobile station Directly with the Cellular Networks mobile communications, and then realize and the communication of the cellular network;
The cellular network to ZigBee-network transmission data flow be:The Cellular Networks mobile station is to the base station of cellular network Apply for connection management, after connection management application success, base station is according to the ground of ZigBee-network interior joint obtained when initializing Location delivering call request, after ZigBee-network node receives call request, cellular network base stations distribution Traffic Channel is given Data are transmitted and received to ZigBee-network node and Cellular Networks mobile station;
The type of the heterogeneous network data packet includes:
Cellular Networks scan channel data packet:The network layer of cellular network is sent to the data packet of its MAC layer, for passing through setting letter Road scans timer, and driving cellular network node performs scanning channel quality instruction specific at the time of;
Cellular Networks data link layer controls data packet:The business data packet that the network layer of cellular network is sent, the business data packet It is transmitted in the Traffic Channel of cellular network;
Cellular Networks channel scan timer data packet:The channel scan timer event packet of the MAC layer setting of cellular network, When channel scan timer event reaches, cellular network node calls downlink processing function creation downlink measurement report It accuses, and is sent to the network layer of cellular network;
Cellular Networks data link layer timer data packet:The timer event that the MAC layer of cellular network and ZigBee-network is sent Data packet, the timer event data packet are used for timing execution and send and receive business data packet, cellular network and ZigBee nets The nodal test of network further judges the timer-type of the timer event data packet to this timer event type of data packet, Then different processing functions is called;
Cellular Networks data link layer measurement report data packet:The MAC layer that the MAC layer of cellular network is sent to its network layer measures report It accuses, the measurement report to cellular network downlink quality is included in the Cellular Networks data link layer measurement report data packet;
Cellular Networks network layer timer data packet:The timer event related with business datum of the network layer setting of cellular network Data packet after cellular network node detects this Cellular Networks network layer timer data Packet type, judges the Cellular Networks network layer Then the timer-type of timer data packet calls different processing functions;
Cellular Networks network layer delay release data packet:The T3110 timer event data packets of the network layer setting of cellular network, institute It is channel hangover timer to state T3110 timers, it is therefore an objective to extend the time that main signaling link disconnects;
Cellular Networks application layer call answering data packet:ZigBee-network node receive the calling from cellular network node please After asking, the response data packet of correspondence call request that the network layer of ZigBee-network is sent out;
Cellular Networks log-on data packet:The number of notice equipment power opening state that the network layer of cellular network is sent out in initialization According to packet;
ZigBee network control data packets:The control instruction data packet that the MAC layer of ZigBee-network is sent, instruction includes association please It asks, be associated with response, disassociation notice, data transfer request, coordinator ID conflicts notice, acnode notice, beacon request, coordination Device is redistributed, protects time slot mechanism request;
ZigBee network data packets:The business data packet that the MAC layer of ZigBee-network is sent, data type include broadcast message, industry Business data;
ZigBee nets confirm data packet:When the node of cellular network receives the heterogeneous network data packet of the node of ZigBee-network Afterwards, if the control domain setting request of the heterogeneous network data packet confirms, then the node of cellular network returns to ZigBee sections One ACK acknowledgement frame data packet of point;
ZigBee net beacon request data packets:The beacon that the network coordinator of ZigBee-network is sent when establishing ZigBee-network Request data package.
2. a kind of virtual heterogeneous network fusion method based on on-demand protocol conversion as described in claim 1, which is characterized in that The ZigBee-network agreement is IEEE 802.15.4 agreements.
3. a kind of virtual heterogeneous network fusion method based on on-demand protocol conversion as described in claim 1, which is characterized in that When the type of data packet that the node of cellular network and the node of ZigBee-network receive is data link layer timer data packet When, further to judge the timer-type of data packet, including:
The channel scan timer of the MAC layer setting of ZigBee-network, in initialization, by setting the timer come periodically right The channel or the channel of acquiescence specified carry out energy measuring;
The downlink timeslots of the MAC layer setting of cellular network start timer;
The downlink timeslots stop timing device that the MAC layer of cellular network is sent;
The uplink time slot that the MAC layer of cellular network is sent starts timer;
The uplink time slot stop timing device that the MAC layer of cellular network is sent;
When the type of data packet received is Cellular Networks network layer timer data packet, the timer of data packet is further judged Type, including:
The processing channel request timer of Cellular Networks network layer setting, which is for timing channel request;
The T3110 timers of Cellular Networks network layer setting, the timer are for the release channel that is delayed.
4. a kind of virtual heterogeneous network fusion method based on on-demand protocol conversion as claimed in claim 3, which is characterized in that Timer-type calls different processing functions in the data packet according to type of data packet or further obtained, including:
#1 type functions:The effect of the function is that cellular network node has more than energy threshold in IEEE802.15.4 channels are detected Signal after, obtain the channel number of the channel;
#2 type functions:The effect of the function is that cellular network node receives ZigBee-network signal by the channel of ZigBee-network Afterwards, Error Control is carried out to the signal;
#3 type functions:The effect of the function is that cellular network node has more than energy threshold in the channel for detecting ZigBee-network Signal after, by the semaphore lock;
#4 type functions:The effect of the function is signal of the cellular network node in the channel for receiving complete ZigBee-network Afterwards, which is unlocked;
#5 type functions:The effect of the function is that cellular network node carries out carrier sense to the channel of ZigBee-network, according to carrier wave Intercepted result changes the state of channel;
#6 type functions:The effect of the function is the timer thing of the channel of cellular network node processing timing scan ZigBee-network Part;
#7 type functions:The effect of the function is the MAC layer control instruction from ZigBee-network that cellular network node processing receives;
#8 type functions:The effect of the function is the business datum from ZigBee-network that cellular network node processing receives;
#9 type functions:The effect of the function be cellular network node after the business data packet from ZigBee-network is received, check Whether the data packet control domain sets request to confirm, if the data packet sets affirmation mechanism, then constructs and returns to ACK acknowledgement frames To source node;
#10 type functions:The effect of the function is that ZigBee node has more than energy threshold in cellular network channel is detected After signal, the channel number of the channel is obtained;
#11 type functions:The effect of the function is after ZigBee node receives cellular network signals by honeycomb network channel, to this Signal carries out Error Control;
#12 type functions:The effect of the function is that ZigBee node has more than energy threshold in cellular network channel is detected After signal, by the semaphore lock;
#13 type functions:The effect of the function be ZigBee node after the signal in receiving complete cellular network channel, will The signal unlocks;
#14 type functions:The effect of the function is that ZigBee node carries out carrier sense to cellular network channel, according to carrier sense As a result change the state of channel;
#15 type functions:The effect of the function is that ZigBee node is opened in the equipment of itself for receiving surrounding cells net node broadcasts Status information after store, facilitate transmission data information;
#16 type functions:The effect of the function is that the cellular network channel scan timer event set in ZigBee node occurs When, the quality testing report of downlink is sent to its network layer;
#17 type functions:The effect of the function is the ZigBee node when cellular network node initiates data transmission to ZigBee node It calls and to send business datum to cellular network node;
#18 type functions:The effect of the function be after ZigBee node receives the business data packet from cellular network node, it is right The data packet is unsealed, and obtains source data;
#19 type functions:The effect of the function be to when Cellular Networks network to ZigBee-network initiate data transmission when, ZigBee nets After network layers analyze the cellular network downlink quality detection packet that self MAC layer is sent, suitable downlink is determined;
#20 type functions:The effect of the function is the cellular network base stations when Cellular Networks network initiates data transmission to ZigBee-network After the call request for receiving the mobile station for initiating data transmission, call request is sent to purpose ZigBee node, ZigBee node receives and returns to call request response message to Cellular Networks source node after the call request, represents that the calling can be into Row;
#21 type functions:The effect of the function be after ZigBee node is received from the assignment messages immediately that Cellular Networks are gone to the station to meet somebody, Next step processing method is selected according to the cause information fields of assignment messages immediately:It sends location update message or sends calling The information request channel of request-reply message or sending application layer;
#22 type functions:The effect of the function is that ZigBee node sends location update message to cellular network base stations, and base station success is more Return position update receives message to the ZigBee node behind the position of new ZigBee node, and ZigBee node disappears receiving this After breath, T3240 timers are set to wait for MM laminar flow journeys;
#23 type functions:The effect of the function be after ZigBee node receives the call request message of cellular network base stations, if should ZigBee node is in idle condition, then creates information request channel and be sent to cellular network base stations, by the business for asking distribution Channel carrys out transmitting and receiving service data;
#24 type functions:The effect of the function is when the connection management request that ZigBee node receives cellular network base stations transmission disappears After breath, select to send call request reception information according to call direction or calling reaches information;
#25 type functions:The effect of the function be when ZigBee node receive cellular network base stations transmission channel discharge information after, if T3110 timers are determined come the release channel that is delayed, and cancel the channel request timer of setting;
#26 type functions:The effect of the function is when the channel request timer event generation of setting, creates information request channel And it is sent to cellular network base stations;
#27 type functions:When the effect of the function is that the T3110 timer events of setting occur, the process for using channel is terminated, And it is delayed and discharges the channel.
5. a kind of virtual heterogeneous network fusion method based on on-demand protocol conversion as claimed in claim 3, which is characterized in that The flow of the ZigBee-network to cellular network transmission data is specially:
First, ZigBee-network calls #22 type functions that the address information of oneself is sent to cellular network base stations in initialization, Cellular network base stations call #1 type functions to detect ZigBee data, call #2 types, #3 types, #4 types, #5 type functions will in succession later Data packet is successfully received own physical layer, and it is sent to self MAC layer and is handled;Cellular network MAC layer calls #9 Type function confirms whether the data packet control domain sets request to confirm, if setting, sends ACK and confirms that data packet returns to ZigBee Network, last cellular network base station is in the position for being successfully updated ZigBee-network node;
After location updating, beacon request information is broadcast to other nodes in network by ZigBee network coordinator, including honeycomb Net node, cellular network node calls #1 type functions to detect ZigBee data, then calls #2 types, #3 types, #4 types, #5 type letters in succession Data packet is successfully received own physical layer by number, then #7 type functions is called to handle the beacon request data packet;
After ZigBee-network is successfully established, starts lasting transmission data packet and give Cellular Networks destination node;Similarly, Cellular Networks section Point calls #1 type functions to detect ZigBee data, then calls #2 types, #3 types, #4 types, #5 type functions that data packet is successful in succession Own physical layer is received, and it is sent to self MAC and is handled;Honeycomb network MAC layer calls the processing of #8 type functions to come from The business datum of ZigBee-network, and #9 type functions are called to determine whether needing to return to ACK confirmation packets, finally call #6 type letters Number returns to corresponding data packet and gives ZigBee source nodes.
6. a kind of virtual heterogeneous network fusion method based on on-demand protocol conversion as claimed in claim 5, which is characterized in that The cellular network to ZigBee-network transmission data flow be:
First, the status information opened when cellular network initializes to surrounding broadcast equipment of itself, ZigBee node call #10 types Function check calls #11 types, #12 types, #13 types, #14 type functions to be properly received data packet in succession later to honeycomb network data To own physical layer, and it is sent to self MAC layer and is handled, ZigBee network MAC layers call #15 type functions to believe state Breath stores;
When storing ZigBee-network initialization after the address information that exchanges, cellular network mobile station is to the section of ZigBee mesh Point initiates call request, which is sent initially to cellular network base station, and cellular network base stations are receiving request After information, one Traffic Channel of the Cellular Networks mobile station is distributed to, in the Traffic Channel, Cellular Networks mobile station is to Cellular Networks base It stands and applies for connection management;Meanwhile cellular network base station starts to send call request data packet, ZigBee to ZigBee destination nodes Destination node calls #10 type functions to detect cellular network data, calls #11 types, #12 types, #13 types, #14 type letters in succession later Data packet is successfully received own physical layer, and it is sent to self MAC layer and is handled by number;ZigBee destination nodes MAC layer calls #23 type functions to handle the call request information, and #26 type functions is called to create information request channel and are sent to bee Nest network base station;Cellular network base station distributes an idle channel to the ZigBee destination nodes, on this channel, ZigBee sections Point calls #21 type functions to send call request response to cellular network base stations, and cellular network base stations then call #20 type functions that will exhale Request-reply information is made to return to Cellular Networks source node, call path, which has erected, at this time comes;
Later, cellular network base stations send connection management and ask to ZigBee node, and ZigBee node calls #24 type functions to return Calling reaches information, and later, cellular network node starts to transmit business datum in the Traffic Channel distributed, during this, ZigBee node calls #18 type functions to receive the business data packet of cellular network node, and #17 type functions is called to send corresponding industry Data of being engaged in cellular network node,
In transmit process, also several extra works are carried out in timing:ZigBee-network calls #16 type function timing scans Downlink, and call #19 type functions to receive downlink quality detection packet analyze after, determine suitable downlink chain Road;ZigBee calls the timing of #22 type functions to send location update message to cellular network base stations simultaneously;
After whole business datums are transferred, cellular network base stations respectively please to source Cellular Networks mobile station and ZigBee destination nodes Release Traffic Channel is sought, ZigBee destination nodes call #25 type functions to check the channel time delay release timer of setting, and take Disappear the channel request timer of setting, and when channel release timer event occurs, which calls #27 type letters The process of busy channel is terminated and discharges the channel by number.
CN201610842523.XA 2016-09-22 2016-09-22 A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion Active CN106572075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610842523.XA CN106572075B (en) 2016-09-22 2016-09-22 A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610842523.XA CN106572075B (en) 2016-09-22 2016-09-22 A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion

Publications (2)

Publication Number Publication Date
CN106572075A CN106572075A (en) 2017-04-19
CN106572075B true CN106572075B (en) 2018-06-08

Family

ID=58531933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610842523.XA Active CN106572075B (en) 2016-09-22 2016-09-22 A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion

Country Status (1)

Country Link
CN (1) CN106572075B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107343005B (en) * 2017-07-12 2019-10-22 北京紫光恒越网络科技有限公司 Bootstrap information sending method and device based on multi-protocol stack
US11245955B2 (en) * 2017-12-21 2022-02-08 Sony Corporation Transmission control device, transmission control method, reception control device, reception control method, and signal transmission system
CN109510882B (en) * 2018-11-19 2022-05-03 网易(杭州)网络有限公司 Communication method and device between game clients, storage medium and electronic device
CN111010390A (en) * 2019-12-12 2020-04-14 重庆工商大学 Self-adaptive calling method and system based on multi-protocol heterogeneous Internet of things
CN113259970B (en) * 2021-05-08 2022-07-08 Tcl通讯(宁波)有限公司 Communication method and terminal device
CN114401418B (en) * 2021-12-30 2023-09-12 北京北广科技股份有限公司 Embedded audio and video server based on multiple ARM chip architectures
CN115549954B (en) * 2022-08-16 2023-05-30 北京连山科技股份有限公司 Heterogeneous-based fragmented network resource security splicing communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581004A (en) * 2013-10-23 2014-02-12 广州市弘宇科技有限公司 Multi-protocol network convergence information exchanger
CN103825883A (en) * 2014-01-16 2014-05-28 燕山大学 Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof
EP2171926B1 (en) * 2007-07-03 2016-03-16 Fieldbus Foundation Block-oriented control system having wireless gateway for communication with wireless field devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400159B (en) * 2008-11-11 2010-12-22 江苏技术师范学院 Zigbee cellular network
CN101808422B (en) * 2008-11-11 2012-01-11 江苏技术师范学院 Zigbee cellular network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2171926B1 (en) * 2007-07-03 2016-03-16 Fieldbus Foundation Block-oriented control system having wireless gateway for communication with wireless field devices
CN103581004A (en) * 2013-10-23 2014-02-12 广州市弘宇科技有限公司 Multi-protocol network convergence information exchanger
CN103825883A (en) * 2014-01-16 2014-05-28 燕山大学 Multi-protocol conversion equipment based on wireless ZigBee, CAN bus and MODBUS/TCP and realization method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"一种ZigBee-TCP/IP无缝网关模型";王建平,周辰飞,朱程辉,徐晓冰;《合肥工业大学学报(自然科学版)》;20130930;参见第1059-1063页及图4 *

Also Published As

Publication number Publication date
CN106572075A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN106572075B (en) A kind of virtual heterogeneous network fusion method based on on-demand protocol conversion
Yuan et al. Ultra-reliable IoT communications with UAVs: A swarm use case
Polese et al. End-to-end simulation of integrated access and backhaul at mmWaves
EP2405696B1 (en) Method and system for relay node accessing network
US11564153B2 (en) Apparatus and method for initial access in wireless communication system
US8259635B2 (en) Automatic clustering of wireless network nodes toward selected mesh access points
CN109996306A (en) Communication means and communication equipment
CN108809897A (en) A kind of relaying is found and relay transfer method, equipment and storage medium
CN110036665A (en) System and method for cell switching
CN107734571B (en) A kind of processing method and equipment of data transmission channel
CN109729566A (en) A kind of information transferring method and equipment
CN104205665A (en) A multi-directional relay architecture and apparatus and methods of operation useful in conjunction therewith
CN110225565B (en) Mobile networking method based on multi-beam directional antenna
CN101267433A (en) A central control source routing protocol adapted to isomerous network environment
CN101146263B (en) System and method for reutilizing wireless resource in wireless network
CN105814922B (en) Address mark distributing method and relevant device and system
US11917521B2 (en) Method and apparatus for unique identification of individual users in the radio access network (RAN) intelligent controller
CN109392028A (en) The method and equipment of data transmission
CN104620636A (en) Bridge learning in multi-hop wireless mesh networks
CN103828481B (en) Data transmission set, communication system and communication means
Almeida et al. Proposal of a hybrid LoRa Mesh/LoRaWAN network
CN102724666A (en) Terminal data relay method, device thereof and system thereof
Jayadi et al. Low-overhead multihop device-to-device communications in software defined wireless networks
CN111436049A (en) Method, device and equipment for initial access
CN105557017B (en) A kind of data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant