Home network fusion method based on Inter-MAC layer and device
Technical field
The invention belongs to communication technical field, particularly relate to a kind of home network fusion method based on Inter-MAC layer
And device.
Background technology
In the more than ten years in past, have been deployed on market more than 1,000,000,000 home network devices, the data of home network
Flow presents explosive growth, and home network technologies has become as the forward position that network service provides up-to-date in differentiation.For
Building and the expenditure of upgraded home access network is continuously increased, various access networks repeat Multi folds coverage, the most still cannot realize family
Network comprehensively covers.
Between existing different home access network equipment, interconnecting property is poor, and the verification process of access network is complicated, and terminal sets
Standby cannot automatically switch between access network, this has a strong impact on the experience of domestic consumer.Additionally, between different home access network
Cannot share bandwidth ability, the bandwidth availability ratio of various families access network technology is the lowest, and the solution of the most any proposal must
Palpus can be with on-premise network interoperability.In that case, the high-performance of a kind of applicable mobile Internet and low expense are found
Home network fusion method seems the most important.
Summary of the invention
It is an object of the invention to provide a kind of home network fusion method based on Inter-MAC layer and device, it is intended to
Solving interconnecting property between existing different home access network equipment poor, the verification process of access network is complicated, and terminal unit exists
Cannot automatically switch between access network, cannot share bandwidth ability between different home access network, bandwidth availability ratio is the lowest
Problem.
The present invention is achieved in that a kind of home network fusion method based on Inter-MAC layer, described based on
The home network fusion method of Inter-MAC layer includes:
Find neighbor device, confirm whether certain specific port exists one or more equipment at it and be attached thereto, build
Vertical neighbor device MAC Address and the corresponding content-addressable memory of fusing device physical layer interface, carry out the renewal in cycle;
Electrical appliances in household network provides access control, carries out the certification of home network;
The authentication module of Inter-MAC is supported the access authentication of user and accesses record;Different bottoms is accessed,
Inter-MAC layer supports unified certification, during the access link of different technologies, has identical authentication password.Shorter at one
Time in, when the subscriber equipment of off-line accesses again through identical or different bottom link technology, be not required to again to input
Authentication password, directly allows to network, unless actively applied for rolling off the production line before.The authentication module of Inter-MAC enormously simplify house
The verification process of front yard network.
Data are seamless transit between different bottom interconnecting link interfaces, family's access network that each are different is extended to
One big LAN;
Connect different home network insertion, dissimilar access protocol is carried out adaptation, frame burst and restructuring;
In home network, the transmission characteristic of various access mediums is different, it is allowed to the greatest length of transmission frame is different, and agreement is fitted
Join module and must carry out frame burst and restructuring according to different transmission technologys.Specifically, certain of the transmission of Inter-MAC layer or forwarding
When individual frame limits more than bottom link maximum frame length, it is divided into multiple little frame to divide according to bottom link maximum frame length this frame
Sheet.After receiving terminal Inter-MAC layer receives these frame bursts, carry out the restructuring of this frame, after receiving all frame bursts, will
This frame is passed to Internet or forwards.
The communication of physical layer interface;
Multithread accesses load balancing, optional flow-control and network switching;
Load balancing, data content is assigned on a plurality of bottom link by the device accessed for multithread, it is to avoid occur one
Bar link congestion, and other connecting link capacity occupancies are the lowest, so that causing congested situation.Specifically, at transmitting-receiving joint
Exist in the case of multilink is simultaneously connected with between point, according to load-balancing algorithm equilibrium assignment data, make each of the links all with
Higher capacity occupancy works, and load-balancing algorithm considers user service type, the QoS demand of business, User Priority simultaneously
With the factor such as current link load, Link Channel Quality and disturbed condition, distribute to the corresponding link circuit resource of user, to ensure
User QoE (Quali ty of Experience), it is achieved the higher reliability of home network and lower delay.
From the upstream of MAC layer of Ethernet and the packet of upstream of MAC layer from non-Ethernet
Data converge, and the upstream data of bottom multilink will carry out multiplexing and permeate bar link, the Frame system of fusion
One delivers to the Internet of multi-access terminal through Internet;
Downstream IP bag from multi-access terminal Internet carries out descending demultiplexing by link scheduling mechanism, by Frame
It is distributed to one to multiple bar bottom link according to allocation strategy forward.Allocation strategy is according to user service type, the QoS of business
Demand, User Priority, current link load and Link Channel Quality etc. carry out integrated decision-making.
Further, described protocol conversion steps is as follows:
Step one: initialization interface, loads protocol conversion according to interface type and drives;
Step 2: interface monitors to wait whether receiving mac frame, analyze the mac frame received be upstream data or under
Row data type, is stored in uplink receiving relief area and the downlink reception relief area of correspondence, if not receiving frame according to several frame types
Circulation the most always is monitored and is waited;
Step 3: go to read non-switched protocol frame data from relief area, by driving the form that in configuration, agreement is corresponding
Change;To frame decapsulation and Reseal, the frame of upper row buffer is converted into ethernet frame format, the frame in downstream buffer district
It is converted into specific non-Ethernet frame format;
Step 4: the frame after conversion is stored in up-downgoing transmit queue, waits to be sent;
Step 5: repeat step 2, continues waiting for monitoring;
Step 6: until quitting a program.
Further, described flow-control uses PAUSE frame, and the flow control method that PAUSE frame realizes flow-control is as follows:
(1) design high and low thresholds, the upper limit prevents relief area from not havinging spilling, and lower limit makes the data of relief area send will not
Suspend;
(2) when reaching the relief area upper limit, the PAUSE frame sending parameter non-zero carrys out pause frame transmission;
(3) when relief area arrives lower limit, need to send the PAUSE frame that parameter is zero and terminate stream control;
(4) being ready for sending the frame stage, the transmission priority of Frame is less than PAUSE frame;
(5) when relief area reach the upper limit or after time out terminates relief area still reach the upper limit, send parameter non-
The PAUSE frame of zero;
(6) whether there is whole frame according to relief area and whether have time out, deciding whether to carry out Frame transmission;
(7) when time out internal buffer reaches lower limit, the PAUSE frame that parameter is zero is sent;
(8) all forbidden data frame and transmissions of PAUSE frame in the case of other.
Further, the switching of described network is switched to the flow process of LTE cellular network by WIFI network as follows:
Step one: when accessing the WIFI network of family's Convergence gateway, multimode terminal physical layer is to WIFI network and honeycomb
Network signal intensity is measured in real time and is reported;
Step 2: family's Convergence gateway is analyzed according to measuring the real time information reported and adjudicates, when finding WIFI letter
When number intensity is less than fixed threshold, trigger switching;
Step 3: the information that family's Convergence gateway reports based on measurement, compares the switching cost between each cellular basestation
Function, selects minimum cellular basestation to switch over;Otherwise, step 2 is performed;
Step 4: family's Convergence gateway sends handover request to the cellular basestation choosing switching;
Step 5: the cellular basestation chosen carries out response to family's Convergence gateway, if can switch, carries out link simultaneously
The distribution of resource;Otherwise, step 2 is performed;
Step 6: family's Convergence gateway receives the response that can switch, initiates bi-casting request to gateway;Otherwise, hold
Row step 2;
Step 7: family merges net and switches over control, sends out switching command to terminal, initiates to gateway simultaneously
Bi-casting releasing request, gateway updates routing table;
Step 8: multimode terminal carries out data interaction by cellular basestation and gateway, and switching completes.
Further, described home network fusion method based on Inter-MAC layer comprises the following steps:
(1) netinit, drives all bottom access link of fusing device, it is achieved the proper communication of physical layer interface;
(2) extract the MAC layer parameter of physical layer interface, add up the communication capacity of each MAC layer, it is achieved multithread accesses load all
Function, optional flow control function and the network handoff functionality of weighing apparatus;
(3), when home network device accesses based on Inter-MAC family UNE, admission authentication is carried out by certification;
(4) carry out neighbor device discovery, confirm whether certain specific port exists one or more equipment therewith at it
It is connected, sets up the mapping table of neighbor device MAC Address and fusing device physical layer interface, the renewal of line period of going forward side by side;
(5) when a QoS data stream request of home network equipment arrives, according to link information, the topology letter of statistics
Breath and QoS demand, flow to line link configuration for QoS data, select suitable path to forward;
(6) the dissimilar access protocol QoS data stream forwarding needs, carries out protocol type conversion, it is achieved not simultaneous interpretation
The burst of transmission frame and restructuring between transferring technology;
(7) based on Path selection result, the forwarding of data is carried out according to the path selected, it is achieved bottom interconnecting link interface
Between seamless transit, carry out the control of flow;
(8) for multi-access terminal equipment, QoS data stream is carried out up multiplexing and descending demultiplexing function, up multiple
With, by the upstream of the MAC layer from Ethernet and the grouped data of upstream of the MAC layer from non-Ethernet
Converge, by unified for the Frame of the fusion Internet delivering to multi-access terminal;Descending demultiplexing, will be from multi-access terminal
The downstream IP bag of Internet carries out descending demultiplexing by link scheduling mechanism, carries out link configuration, Frame is assigned to 1 to
A plurality of bottom link forwards;
(9), when terminal unit switches between family's WIFI network and cellular network, WIFI net is realized by switching control
Network and the seamless fusion of cellular network.
Another object of the present invention is to provide the family of a kind of described home network fusion method based on Inter-MAC layer
Front yard network integration device, described home network fusing device is defined as various home network MAC layer in the middle of MAC layer and Internet
Between merge provide unified shader Inter-MAC layer;Inter-MAC layer supports mac layer frame exchange and link scheduling, it is achieved each
Seamless integration-between individual Floor layer Technology.
Described home network fusing device farther includes:
Topology Discovery module, is used for finding neighbor device, confirms whether certain specific port exists one or many at it
Individual equipment is attached thereto, and sets up the corresponding content-addressable memory of neighbor device MAC Address and fusing device physical layer interface, line period of going forward side by side
Update;
Authentication module, for providing access control for electrical appliances in household network, simplifies the verification process of home network;
Bridge module, is used for realizing bridge function, supports data seamless transit between different bottom interconnecting link interfaces,
Family's access network that each are different is extended to a big LAN;
Protocol adaptation module, is the bridge connecting different home network insertion, for carrying out dissimilar access protocol
Adaptation, carries out frame burst and restructuring according to different transmission technologys;
Interface configuration module, for driving the concrete bottom access interface of fusing device, to realize the communication of physical layer interface;
Link scheduling module, accesses the function of load balancing, optional flow control function and network for realizing multithread
Handoff functionality;
Link Multiplexing module, comprises up multiplexing and descending demultiplexing function;Up multiplexing, by the MAC from Ethernet
The upstream of layer and converging from the grouped data of the upstream of the MAC layer of non-Ethernet, the number that will merge
According to the unified Internet delivering to multi-access terminal of frame;Descending demultiplexing, leads to the downstream IP bag from multi-access terminal Internet
Cross link scheduling mechanism and carry out descending demultiplexing, Frame is assigned to 1 and forwards to a plurality of bottom link.
Further, described bridge module includes:
Filter element, for judging that a Frame is to forward or abandon;
According to algorithm and configuration, retransmission unit, after being used for carrying out Frame filtration, determines data vert which is dealt into
Individual bottom port.
Further, described protocol adaptation module includes:
Message analytical capabilities module, is used for resolving standard message and extracting useful data;
Message encapsulation function, for packing useful data by specific protocol data form.
The home network fusion method based on Inter-MAC layer of present invention offer and device, carry for multiple home network
For a common interface, home network contains the access network technology of widespread deployment in family, office as wireless in IEEE 802.11
Territory network technology, 802.3 ethernet technologys (on twisted-pair feeder), radio honeycomb network technology, IEEE 1905.1 power line communication technology and
MoCA 1.1 coaxial cable technology, can merge other more network access techniques by same mechanism, it is possible to realize all families
The fusion of front yard network, supports the network seamless switching between family's WIFI network and wireless cellular network simultaneously.For different
Bottom accesses, and Inter-MAC layer supports unified certification, during the access link of different technologies, has identical authentication password.?
In one relatively short period of time, when the subscriber equipment of off-line accesses again through identical or different bottom link technology, it is not required to again
Secondary input authentication password, directly allows to network, unless actively applied for rolling off the production line before.The authentication module of Inter-MAC is significantly
Simplify the verification process of home network.
The present invention defines an Inter-MAC layer in the middle of MAC layer and Internet, provides one for multiple home network
Common interface.Compared with prior art have characteristics that
(1) home network fusing device based on Inter-MAC layer provides corresponding protocol conversion function, for various bottoms
Access interface realizes adaptation.Other more network access techniques can be merged by expansible mechanism.Do not require to revise any end
The concrete operations of layer home network technologies or realization.The abstract details of each physical layer interface, it is possible to be polymerized various technology
Available bandwidth.
(2) simplifying access authentication, subscriber equipment switching is connected to different access technologies or is simultaneously connected to different access skill
During the link of art, the once certification that Inter-MAC layer support is unified.
(3) fusing device supports MAC bridging functionality, supports data seamless transit between different bottom interconnecting links, this
A little Frames can be from the interface of any high level or bottom, various different family's access networks are extended to one big
LAN.
(4) it is that bottom access interface distributes address according to interface configurator, drives different bottom access-technology interface
Normal work.
(5) Topology Discovery, fusing device can find neighbor device, sets up device mac address and the MAC of bottom access interface
Address route mapping table.
The present invention is a software layer between 2 layers and 3 layers of network structure, the tool of its each interface of abstract
Body details, the bandwidth that polymerization can use and promotion Seamless integration-, it is possible to simplify and arrange, such as, eliminate user and access each chain
Connect the necessity being required for inputting different passwords.Meanwhile, simplify new equipment network insertion, set up secure connection, extended network covers
The functions such as lid and offer includes findings that, Path selection and service quality (QoS) are negotiated advanced networks management.The present invention operates letter
Single: foundation and the use of network must be transparent for user.The present invention new equipment in network is accessed link foundation,
QoS realizes and network management provides and general arranges program;Standby: when a link temporarily interrupts or be crowded, to exist
Another kind of available route provides and selects, and decreases many problems and the interruption of Consumer's Experience;Aggregate throughput: can be by not
With interface use all hybrid networks can handling capacity for improving network throughput to greatest extent it is critical that;
Multiple synchronous data flows: in some application programs, such as interactive television, even one people can watch many numbers simultaneously
Program according to stream;Load balancing: hybrid network allows for distributing video data intelligently and flows to different path to limit network
Congested and safeguard the reliability of network;QoS: the present invention is not affecting internal soundness or the data transmission medium of any agreement
Selection in the case of, it is stipulated that QoS end to end;Backward compatibility: many service providers install at user's family
The equipment of the technical specifications such as the MoCA multi-media protocol of use IEEE 1901 agreement, Wi-Fi, Ethernet and coaxial cable alliance;
Safety: the present invention allow same way by equipment configure, i.e. with a simple push-botton operation, such as: the present invention for
Traditional equipment can also use consistent password and authentication procedure;High level diagnostics: network entirety carries out self-monitoring, reliable to guarantee
And uninterrupted operation;Self-installability: equipment is easily installed for consumers and can self-configuring;Such as, when house-owner's plug
It is the second access point, no matter it is IEEE 1901 agreement, MoCA agreement or based on Wi-Fi technology, main AP will be automatic
Configuration, obtains network name and password;Pairing is to be realized by the simple push button of a standard, it is to avoid complicated password is joined
Put;Mobility: mobile PDA, mobile phone and panel computer are supported in wireless connections;General connecting line: for real realize transparent, the person of disappearing
In the case of which part of interface do not recognized in network is connected with their equipment at present, it is possible to each room in house
Hybrid network it is connected between.Also ensure that user realizes seamless switching when a room to another room;Energy conservation: logical
Cross different technologies and optimize network electric power use so that operate more efficient and environmental protection.
Accompanying drawing explanation
Fig. 1 is the novel protocol stack that the home network based on Inter-MAC layer that the embodiment of the present invention provides merges bridge
Schematic diagram.
Fig. 2 is the structural framing schematic diagram that bridge is merged in the family based on Inter-MAC layer that the embodiment of the present invention provides.
Fig. 3 is the structural framing signal of family based on the Inter-MAC layer multi-access terminal that the embodiment of the present invention provides
Figure.
Fig. 4 is protocol adaptation mould in the home network fusing device based on Inter-MAC layer that the embodiment of the present invention provides
The protocol conversion flow chart of block.
Fig. 5 is home network fusing device link based on the Inter-MAC layer scheduling mould that the embodiment of the present invention provides
The flow-control mechanism algorithm flow chart of block.
Fig. 6 is the WIFI network of multi-protocols family based on the Inter-MAC layer Convergence gateway that the embodiment of the present invention provides
The protocol stack schematic diagram merged with LTE cellular network.
Fig. 7 be the embodiment of the present invention provide based on Inter-MAC layer merge home network in terminal by WIFI network
It is switched to the flow process of LTE cellular network.
Detailed description of the invention
In order to make the purpose of the present invention, technical method and advantage clearer, below in conjunction with embodiment, to the present invention
It is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to
Limit the present invention.
Below in conjunction with the accompanying drawings the application principle of the present invention is explained in detail.
Increase and consumer is to the infinite demand desire of network service, family along with the home network of bandwidth intensive is applied
Network technology has become as the forward position that network service provides up-to-date in differentiation.At present, wired and Wireless Home Networking Technology has
Important market position, this is owing to they create huge value for end user.Wireless network has provided the user shifting
Dynamic property, cable network provides huge bandwidth or ubiquitous access network port.Wired and wireless technology is complementary to one another, and carries
Comprehensive home network has been supplied to cover.
In order to solve the network insertion of various different application, area, environment and topological structure, need to merge multiple company
Connection technology.In the more than ten years in past, have been deployed on market more than 1,000,000,000 home network devices, the solution of the most any proposal
Certainly method must be able to and on-premise network interoperability.
The invention provides the novel protocol trestle structure that a kind of home network based on Inter-MAC layer merges, such as Fig. 1 institute
Show.This novel protocol trestle structure defines an Inter-MAC layer in the middle of MAC layer and Internet, carries for various home networks
For a common interface.In merging network bridge device, this Inter-MAC layer support transmits the mac layer frame exchange of Frame, these
Frame can be from the interface of any high level or bottom.This Inter-MAC layer is abstract, and the detailed of each physical layer interface is believed
Breath, utilizes link scheduling to be polymerized the available bandwidth of various technology, it is achieved the Seamless integration-between each Floor layer Technology.This fusion side
Method does not requires to revise concrete operations or the realization of any bottom home network technologies.This fusion method unified ethernet technology and
Non-Ethernet technology, common family's non-Ethernet technology such as IEEE 802.11 wireless local area network technology, Cellular Networks technology,
IEEE 1905.1 power line communication technology and MoCA 1.1 coaxial cable technology, can merge other by same mechanism more
Network access technique.Meanwhile, the network switching between family's WIFI network and wireless cellular network is supported.Invention defines one
Plant the general structure spanning existing home network technologies, define a common data and control the access point of service.
Frame can arrive and be transferred to any interface, either which kind of upper-layer protocol or underlying network technology.
The present invention is a software layer between 2 layers and 3 layers of network structure, the tool of its each interface of abstract
Body details, the bandwidth that polymerization can use and promotion Seamless integration-.This layer can simplify setting, such as, eliminates user and accesses often
One link is required for inputting necessity of different passwords.Meanwhile, simplify new equipment network insertion, set up secure connection, extension
The functions such as the advanced networks management that the network coverage and offer include findings that, Path selection and service quality (QoS) are negotiated.The present invention
The main advantage provided has:
Simple to operate: foundation and the use of network must be transparent for user.New equipment in network is connect by the present invention
Enter the foundation of link, QoS realizes and network management provides and general arranges program.
Standby: when a link temporarily interrupts or be crowded, there is another kind of available route provides selection.Thus
Decrease many problems and the interruption of Consumer's Experience.
Aggregate throughput: can by different interface use all hybrid networks can handling capacity for greatest extent
Ground improve network throughput it is critical that.
Multiple synchronous data flows: in some application programs, such as interactive television, even one people can see simultaneously
See the program of multiple data stream.
Load balancing: hybrid network allows for distributing video data intelligently and flows to different path to limit gathering around of network
Fill in and safeguard the reliability of network.
QoS: the present invention, in the case of the selection of the internal soundness or data transmission medium that do not affect any agreement, advises
Determine QoS end to end.
Backward compatibility: many service providers user's family install and use IEEE 1901 agreement, Wi-Fi, with
The too equipment of the technical specification such as MoCA multi-media protocol of net and coaxial cable alliance.The present invention is designed to implement portion just
Interoperability between administration's technology.
Safety: equipment is configured by the same way that the present invention allows, i.e. with a simple push-botton operation, such as: this
Invention can also use consistent password and authentication procedure for traditional equipment.
High level diagnostics: network entirety carries out self-monitoring, to guarantee reliable and to run without interruption.
Self-installability: this element is most important to reducing cost.In order to realize this target, equipment comes for consumer
Say and be easily installed and can self-configuring.Such as, when house-owner's plug is the second access point, no matter it is IEEE 1901 agreement, MoCA
Agreement or based on Wi-Fi technology, main AP will automatically configure, obtains network name and password.Pairing is by one
The simple push button of standard realizes, it is to avoid complicated password configuration.
Mobility: mobile PDA, mobile phone and panel computer are supported in wireless connections.
General connecting line: realizing transparent for real, the person of disappearing is current at which part of interface do not recognized in network
In the case of being connected with their equipment, it is possible to be connected to hybrid network in each room in house.Also ensure that user is from one
Seamless switching is realized when room is to another room.
Energy conservation: optimize network electric power by different technologies and use so that operate more efficient and environmental protection.
In conjunction with Fig. 2, the structural framing for family based on the Inter-MAC layer fusion bridge of embodiment of the present invention offer shows
Being intended to, this fusing device is made up of a series of interrelated functional modules, including:
Topology Discovery module: be used for finding neighbor device, infers whether certain specific port exists one or many at it
Individual equipment is attached thereto, and sets up neighbor device MAC Address content-addressable memory (Content corresponding with fusing device physical layer interface
Addressable Memory, content adressable memory), the renewal of line period of going forward side by side.Topology Discovery comprises the following steps that
Step 1: intercept the source MAC in the Frame received, mate with the MAC Address in content-addressable memory.
Step 2: have the MAC Address of coupling and corresponding end slogan the most identical, then update timestamp.
Step 3: have the MAC Address of coupling, but corresponding end slogan differs, rewrites corresponding port numbers, updates timestamp.
Step 4: do not find the MAC Address of coupling, then by the source MAC in Frame, the corresponding ports of fusing device
And timestamp inserts in content-addressable memory.
Step 5: if certain mac address entry in table was never updated within cycle time, then will be removed.
Authentication module: provide access control for electrical appliances in household network, simplifies the verification process of home network, it is ensured that
The safety of home network.
Bridge module: realize bridge function, supports data seamless transit between different bottom interconnecting link interfaces.Will be each
Individual different family's access network is extended to a big LAN, and all of home network device is all under this LAN, real
Comprehensive covering of existing network network.The frame of bridge module forwards step as follows:
Step 1: fusing device, from each port receiving data frames, is kept in the cache of fusing device.
Step 2: intercept the target MAC (Media Access Control) address in the Frame received, mate with the MAC Address in content-addressable memory.
Step 3: if having found the MAC Address of coupling, then obtain corresponding port, then take out from fusing device caches
Corresponding Frame is forwarded on corresponding ports.
Step 4: without finding the MAC Address of coupling, then take out corresponding data frame from fusing device caches and carry out
Broadcast, is forwarded to all of the port of fusing device.
Step 5: forward complete.
Protocol adaptation module: connect the bridge of different home network access technique, dissimilar access protocol is fitted
Join, carry out frame burst and restructuring according to different transmission technologys.Merge protocol adaptation module in bridge and include protocol conversion function i.e.,
Different agreement Frame is resolved and encapsulates.Message analytical capabilities module is responsible for resolving standard message and extracting useful number
According to, useful data is packed by message package module by with specific protocol data form.Such as Fig. 4, protocol conversion comprises as follows
Step:
Step 1: initialization interface, loads protocol conversion according to interface type and drives.
Step 2: interface monitors to wait whether receiving mac frame, analyzing the mac frame received is upstream data or descending
Data type, is stored in uplink receiving relief area and the downlink reception relief area of correspondence according to several frame types.If just not receiving frame
Circulation always is monitored and is waited.
Step 3: go to read non-switched protocol frame data from relief area, enters by driving the form that in configuration, agreement is corresponding
Row conversion, the decapsulation of frame and Reseal;The frame of upper row buffer is converted into ethernet frame format, and the frame in downstream buffer district turns
Turn to specific non-Ethernet frame format.
Step 4: the frame after conversion is stored in up-downgoing transmit queue, waits to be sent.
Step 5: repeat step 2, continues waiting for monitoring.
Step 6: until quitting a program.
Interface configuration module drive: the concrete bottom access interface of fusing device, to realize the proper communication of physical layer interface.
Link scheduling module: flow-control and the function of multithread access load balancing can be realized.PAUSE frame is used to realize
The stopping of a kind of simple link layer-equation flow mechanism.Fig. 5 is the PAUSE frame that the embodiment of the present invention provides link scheduling module
The algorithm flow chart of flow-control mechanism, PAUSE frame flow-control specifically comprises following stream interface driver:
(1) design high and low thresholds, the selection relief area to be prevented of the upper limit does not haves spilling, and the selection of lower limit to make to delay
The data rushing district send and will not suspend;High and low thresholds simultaneously takes account of the link delay between transceiver interface, data receiver and sends out
Send the factors such as process delay and adjacent mac frame time interval.
(2) when reaching the relief area upper limit it is necessary to the PAUSE frame sending parameter non-zero sends to suspend data.
(3) when relief area arrives lower limit, need to send the PAUSE frame that parameter is zero and terminate stream control.
(4) being ready for sending the frame stage, the transmission priority of Frame is less than PAUSE frame.
(5) when relief area reach the upper limit or after time out terminates relief area still reach the upper limit, send parameter non-
The PAUSE frame of zero.
(6) whether there is whole frame according to relief area and whether have time out, in that case it can be decided that whether carrying out Frame and send out
Send.
(7) when time out internal buffer reaches lower limit, the PAUSE frame that parameter is zero is sent.
(8) all forbidden data frame and transmissions of PAUSE frame in the case of other.
Fig. 3 is the structural framing of family based on the Inter-MAC layer multi-access terminal that the embodiment of the present invention provides, and this melts
Locking device is made up of a series of interrelated functional modules, including:
Link Multiplexing module, comprises up multiplexing and descending demultiplexing function.Up multiplexing, by the MAC from Ethernet
The upstream of layer and converging from the grouped data of the upstream of the MAC layer of non-Ethernet, the number that will merge
According to the unified Internet delivering to multi-access terminal of frame.Descending demultiplexing, passes through chain by the IP bag from multi-access terminal Internet
Road scheduling mechanism carries out descending demultiplexing, is assigned to by Frame 1 to a plurality of bottom link, i.e. by the MAC layer of Ethernet and
Other non-Ethernet MAC layer modules carry out the forwarding of downlink data.The topology of family based on Inter-MAC layer multi-access terminal
Discovery module, authentication module, interface configuration module, protocol adaptation module and link scheduling module merge network bridge device merit with Fig. 2
Can be similar, carry out partial function and simplify, it is essentially identical that concrete enforcement step and Fig. 2 merge network bridge device.
Fig. 6 is the WIFI network of multi-protocols family based on the Inter-MAC layer Convergence gateway that the embodiment of the present invention provides
The protocol stack schematic diagram merged with LTE cellular network.Wireless WIFI network technology and Cellular Networks technology have important place, city
Position, they create huge value for end user.WIFI network technology and Cellular Networks technology have provided the user shifting simultaneously
Dynamic property, WIFI network provides huge bandwidth, and cellular network has ubiquitous access network.WiFi technology and Cellular Networks skill
Art is complementary to one another, it is provided that comprehensively home network covers and the extension of user mobility.Fig. 6 family Convergence gateway is to Fig. 2
The extension of bridge is merged in family, comprises Internet and transport layer, has complete protocol stack.Family's Convergence gateway Inter-MAC
The link scheduling module of layer, supports that terminal switches between family's WIFI network and LTE cellular network, remaining function and bridge merit
As energy, repeat no more here.Fig. 7 is in the home network based on the fusion of Inter-MAC layer that the embodiment of the present invention provides, eventually
End is switched to the schematic flow sheet of LTE cellular network by family's WIFI network, and idiographic flow is as follows:
Step 1: when accessing the WIFI network of family's Convergence gateway, multimode terminal physical layer is to WIFI network and Cellular Networks
Network signal intensity is measured in real time and is reported.
Step 2: family's Convergence gateway is analyzed according to measuring the real time information reported and adjudicates, when finding WIFI signal
When intensity is less than fixed threshold, trigger switching.
Step 3: the information that family's Convergence gateway reports based on measurement, compares the switching cost letter between each cellular basestation
Number, selects minimum cellular basestation to switch over;Otherwise, step 2 is performed.
Step 4: family's Convergence gateway sends handover request to the cellular basestation choosing switching.
Step 5: the cellular basestation chosen carries out response to family's Convergence gateway, if can switch, cellular basestation is simultaneously
Carry out the distribution of link circuit resource;Otherwise, step 2 is performed.
Step 6: family's Convergence gateway receives the response that can switch, initiates bi-casting request to gateway;Otherwise, perform
Step 2.
Step 7: family merges net and switches over control, sends out switching command to terminal, initiates to gateway simultaneously
Bi-casting releasing request, gateway updates routing table.
Step 8: multimode terminal carries out data interaction by cellular basestation and gateway, and switching completes.
Below in conjunction with the flow process of the mutually coordinated work of modules in home network fusing device, further illustrate based on
The method that Inter-MAC home network merges.Main flow is as follows: (1) netinit, and interface configuration module drive merges dress
The all bottom access link put, it is achieved the proper communication of physical layer interface;(2) link scheduling module extracts the MAC of physical layer interface
Layer parameter, adds up the communication capacity of each MAC layer, accesses the function of load balancing, optional flow-control for realizing multithread
Function and network handoff functionality;(3) when home network device accesses based on Inter-MAC family UNE, by certification mould
Block carries out admission authentication;(4) Topology Discovery module carries out neighbor device discovery, confirms whether certain specific port exists at it
One or more equipment are attached thereto, and set up the mapping table of neighbor device MAC Address and fusing device physical layer interface, and carry out week
The renewal of phase;(5), when a QoS data stream request of home network equipment arrives, link scheduling module is according to the chain of statistics
Road information, topology information and QoS demand, flow to line link configuration for this QoS data, select suitable path to forward;(6) agreement
The dissimilar access protocol QoS data stream that needs are forwarded by adaptation module, carries out protocol type conversion, it is achieved different transmission skills
The burst of transmission frame and restructuring between art;(7) based on Path selection result, bridge module carries out turning of data according to the path selected
Send out, it is achieved seamless transit between bottom interconnecting link interface, simultaneously for preventing flow congestion, link scheduling module carries out flow
Control;(8) for multi-access terminal equipment, link Multiplexing module QoS data stream is carried out up multiplexing and descending demultiplex diligent
Energy.Up multiplexing, by the upstream of the MAC layer from Ethernet and the upstream of the MAC layer from non-Ethernet
Grouped data converge, by unified for the Frame of the fusion Internet delivering to multi-access terminal;Descending demultiplexing, will be from
The downstream IP bag of multi-access terminal Internet carries out descending demultiplexing by link scheduling mechanism, and link scheduling module carries out link
Configuration, is assigned to Frame 1 and forwards to a plurality of bottom link;(9) terminal unit is in family's WIFI network and Cellular Networks
Between network during switching, link scheduling module realizes the seamless fusion of WIFI network and cellular network by switching control.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.