CN107979854A - A kind of wireless routing switching method, couple in router and communication terminal - Google Patents
A kind of wireless routing switching method, couple in router and communication terminal Download PDFInfo
- Publication number
- CN107979854A CN107979854A CN201610935058.4A CN201610935058A CN107979854A CN 107979854 A CN107979854 A CN 107979854A CN 201610935058 A CN201610935058 A CN 201610935058A CN 107979854 A CN107979854 A CN 107979854A
- Authority
- CN
- China
- Prior art keywords
- router
- couple
- terminal
- notification message
- address
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 93
- 238000004891 communication Methods 0.000 title claims abstract description 84
- 230000004044 response Effects 0.000 claims description 30
- 230000008859 change Effects 0.000 claims description 14
- 230000009471 action Effects 0.000 claims description 11
- 206010048669 Terminal state Diseases 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 31
- 230000006870 function Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 18
- 238000003860 storage Methods 0.000 description 18
- 230000002457 bidirectional effect Effects 0.000 description 16
- 230000011664 signaling Effects 0.000 description 14
- 239000012634 fragment Substances 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 238000013461 design Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 102100034460 Cytosolic iron-sulfur assembly component 3 Human genes 0.000 description 3
- 101000710266 Homo sapiens Cytosolic iron-sulfur assembly component 3 Proteins 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000014759 maintenance of location Effects 0.000 description 3
- 239000003550 marker Substances 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0019—Control or signalling for completing the hand-off for data sessions of end-to-end connection adapted for mobile IP [MIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/34—Modification of an existing route
- H04W40/36—Modification of an existing route due to handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of wireless routing switching method, couple in router and communication terminal, the described method includes:The first notification message that first couple in router receiving terminal is sent;First couple in router is based on first notification message and caches the terminal data bag;First couple in router receives the second notification message that the terminal is sent;The purpose IP address of the terminal data bag is changed to second IP address with the terminal data bag after being updated by first couple in router from first IP address;After terminal described in first access router discovery switches to second couple in router from first couple in router, first couple in router sends the terminal data bag after the renewal to the terminal.So as to solve the problems, such as the loss of terminal data bag in terminal switching process.
Description
Technical field
The present invention relates to the communications field, and in particular to a kind of wireless routing switching method, couple in router and communication terminal.
Background technology
Net can be accessed in order to obtain the communication terminal such as network service, mobile phone, tablet computer by wireless access routers
Network, with the development and user demand of network communication technology, increasingly higher demands are it is also proposed to wireless access technology.
When communication terminal or mobile node(MobileNode, abbreviation MN), it is necessary to wirelessly be connect at two in moving process
Access point(Access Point, abbreviation AP)Between switch over, at present, in order to realize the seamless switching of mobile equipment, to use
Family provides more preferable wireless networking experience, Internet engineering task force(The Internet Engineering Task
Force, abbreviation IETF)Procotol can be solved by having formulated one kind(Internet Protocol, abbreviation IP)Mobility problem
The network transmission protocol --- MIPv6(MobileIPv6)Agreement, MIPv6 agreements pass through in primary access router(Previous
Access Router, abbreviation PAR)With new couple in router(New Access Router, abbreviation NAR)Between establish one it is double
Data packet is forwarded to tunnel, to realize continuous communiction.But when mobile node translational speed is very fast, the accessed NAR is caused to be
Nonanticipating NAR, so that the data-bag lost forwarded, causes switch failure.
The content of the invention
An embodiment of the present invention provides a kind of wireless routing switching method, couple in router and communication terminal, to can be with
Prevent terminal data packet loss.
In a first aspect, an embodiment of the present invention provides a kind of wireless routing switching method, this method includes:First access road
The first notification message sent by device receiving terminal, first notification message are used to notify the first couple in router caching to be sent to end
The terminal data bag at end, the first notification message include the terminal iidentification of terminal and the first Internet protocol IP address of terminal,
First notification message is sent in the case of switching for terminal from the first couple in router to the second couple in router;Then first connect
Enter router and be based on the first notification message caching terminal data bag;Then the second of the transmission of the first couple in router receiving terminal is logical
Know message, which includes the terminal iidentification and the second IP address of terminal, which is and the second access
The corresponding IP address of router;First couple in router is by the purpose IP address of the terminal data bag from first IP address
Second IP address is changed to the terminal data bag after being updated;Finally when the first access router discovery terminal is from
After one couple in router switches to the second couple in router, the first couple in router sends the terminal data after renewal to terminal
Bag.
In scheme provided in an embodiment of the present invention, the first couple in router is triggered by sending the first notification message by terminal
Terminal data bag is cached, so that the first couple in router can cache the terminal data in the period of terminal switching process
Bag, and after the completion of terminal switching, which is sent to terminal by the first couple in router, is cut so as to solve terminal
Change the loss problem of the terminal data bag of process.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Control signaling expense during vertical bidirectional tunnel, in embodiments of the present invention, reduces the letter of HI, HACK message in above-mentioned flow
Expense is made, so as to reduce the handover delay of the control message between couple in router.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Vertical bidirectional tunnel, is then sent terminal data bag to the second couple in router by the bidirectional tunnel from the first couple in router
When, it is necessary to add the packet header of certain length before the terminal data bag, cause the physical length of the terminal data bag of the transmission
It can exceed that physical link length, so that fragment packets are produced, and in the embodiment of the present invention, the length of terminal data bag is before a modification
It is identical afterwards, avoid producing the possibility of fragment packets.
In a possible design, which is additionally operable to notify the first couple in router to send eventually to terminal
End data bag;The first access router discovery terminal switches to the second couple in router from the first couple in router and includes at this time:
First couple in router determines that terminal switches to the second access route from the first couple in router after receiving second notification message
Device.Terminal data bag is sent to trigger the first couple in router by sending second notification message by terminal, so as at end
End switch after the first couple in router of proactive notification send terminal data bag so that triggering accurately with time.
In a possible design, after the first notification message that the first couple in router receiving terminal is sent, the party
Method further includes:First couple in router sends the first notification message response message to terminal, so that the Radio Link of terminal is the
Under the triggering of one notification message response message the second couple in router is switched to from the first couple in router.By by the first notice
Message response message carrys out the Radio Link switching of triggering terminal, so that terminal can switch in time.
Second aspect, an embodiment of the present invention provides a kind of wireless routing switching method, this method includes:In terminal from
In the case that one couple in router switches to the second couple in router, terminal obtains the access gateway letter of the second couple in router
Breath, before which includes the internet protocol IP address of the second couple in router, the second couple in router
Sew information;Then terminal sends the first notification message to the first couple in router, which is used to notify first to connect
Enter the terminal data bag that router cache is sent to terminal, the first of terminal iidentification and terminal of first notification message including terminal
IP address;Then terminal based on accessing gateway information by the IP address of terminal from the first IP address be changed to the second IP address and to
First couple in router sends second notification message, which includes the terminal iidentification and the second IP address of terminal,
Second IP address is IP address corresponding with second couple in router;Last terminal receives what the first couple in router was sent
Terminal data bag after renewal, the terminal data bag connect for the first couple in router in terminal from the first couple in router to second
Enter router switching to cache before, the terminal data bag after the renewal is first couple in router by the terminal data
The purpose IP address of bag is changed to what is obtained after second IP address from first IP address.
In scheme provided in an embodiment of the present invention, the first couple in router is triggered by sending the first notification message by terminal
Terminal data bag is cached, so that the first couple in router can cache the terminal data in the period of terminal switching process
Bag, and after the completion of terminal switching, which is sent to terminal by the first couple in router, is cut so as to solve terminal
Change the loss problem of the terminal data bag of process.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Control signaling expense during vertical bidirectional tunnel, in embodiments of the present invention, reduces the letter of HI, HACK message in above-mentioned flow
Expense is made, so as to reduce the handover delay of the control message between couple in router.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Vertical bidirectional tunnel, is then sent terminal data bag to the second couple in router by the bidirectional tunnel from the first couple in router
When, it is necessary to add the packet header of certain length before the terminal data bag, cause the physical length of the terminal data bag of the transmission
It can exceed that physical link length, so that fragment packets are produced, and in the embodiment of the present invention, the length of terminal data bag is before a modification
It is identical afterwards, avoid producing the possibility of fragment packets.
In a possible design, which is additionally operable to notify the first couple in router to send eventually to terminal
End data bag;Terminal can be when sending second notification message to the first couple in router, in terminal from the first couple in router
After switching to the second couple in router, terminal sends second notification message to the first couple in router.By sending the by terminal
Two notification messages send terminal data bag to trigger the first couple in router, so as to the proactive notification after terminal switches
First couple in router send terminal data bag so that triggering accurately with time.
In a possible design, terminal can be when sending the first notification message to the first couple in router:At end
When terminating the access signal strength of received first couple in router and being less equal than the first predetermined threshold value, terminal is to the first access
Router sends the first notification message;Alternatively, the access signal strength of the second couple in router received in terminal be more than or
During equal to the second predetermined threshold value, terminal sends the first notification message to the first couple in router.Due to the first couple in router
When signal strength dies down or the signal strength of the second couple in router becomes strong, illustrate that terminal will switch, so passing through
By the signal strength of the first couple in router or the second couple in router first is sent to the first couple in router come triggering terminal
Notification message, it is data cached to trigger the first couple in router so that the terminal data bag caching of the first couple in router is timely.
In a possible design, this method further includes:Terminal obtains the IP address of the first couple in router;Terminal to
First couple in router sends second notification message, including:IP address of the terminal based on the first couple in router is accessed to first
Router sends second notification message.Since terminal is when sending second notification message, the couple in router that terminal is accessed is
Second couple in router, gets the IP address of the first couple in router at this time, then is transmitted based on the IP address so that the
Two notification messages send accurate.
In a possible design, after terminal sends the first notification message to the first couple in router, this method is also
Including:Terminal receives the first notification message response message that the first couple in router returns;Terminal from the first couple in router to
Second couple in router switches, including:Terminal under the triggering of the first notification message response message from the first couple in router to
Second couple in router switches.By being switched by the first notification message response message come the Radio Link of triggering terminal, so that
Obtaining terminal can switch in time.
The third aspect, the embodiment of the present invention provide a kind of couple in router, which, which has, realizes above-mentioned first
The function of aspect, the function can also be performed corresponding software and be realized by hardware realization by hardware.The hardware
Or software includes the one or more and corresponding module of above-mentioned function.
Fourth aspect, the embodiment of the present invention provide a kind of couple in router, which includes processor, receiver
And transmitter, the processor are configured as supporting couple in router to perform corresponding function in the above method.The receiver
And transmitter is used to support the communication between couple in router and terminal.Further, couple in router can also include storage
Device, the memory are used to couple with processor, it preserves the necessary programmed instruction of couple in router and data.
5th aspect, the embodiment of the present invention provide a kind of computer-readable storage medium, for saving as above-mentioned being used for third party
The computer software instructions used in couple in router described in face, it includes for performing the program designed by above-mentioned aspect.
6th aspect, the embodiment of the present invention provide a kind of communication terminal, which, which has, realizes above-mentioned second aspect
Function, the function can also be performed corresponding software and be realized by hardware realization by hardware.The hardware is soft
Part includes the one or more and corresponding module of above-mentioned function.
7th aspect, the embodiment of the present invention provide a kind of communication terminal, which includes processor, receiver and hair
Emitter, the processor are configured as supporting communication terminal to perform corresponding function in the above method.The receiver and transmitting
Device is used to support the communication between communication terminal and couple in router.Further, communication terminal can also include memory, institute
State memory to be used to couple with processor, it preserves the necessary programmed instruction of communication terminal and data.
Eighth aspect, the embodiment of the present invention provide a kind of computer-readable storage medium, for saving as above-mentioned being used for the 6th side
The computer software instructions used in communication terminal described in face, it includes for performing the program designed by above-mentioned aspect.
9th aspect, the embodiment of the present invention provide a kind of wireless routing switching system, which is included described in above-mentioned aspect
Couple in router, communication terminal and the second couple in router.
Compared to the prior art, in the scheme of the embodiment of the present invention, by sending the first notification message triggering the by terminal
One couple in router caches terminal data bag, so that the first couple in router can be cached in the period of terminal switching process
Terminal data bag, and terminal switching after the completion of, which is sent to terminal by the first couple in router so that
Solve the problems, such as the loss of terminal data bag in terminal switching process.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the network architecture diagram of wireless routing switching system provided in an embodiment of the present invention;
Fig. 2 is fast mobile IPv6 protocol switching process schematic provided in an embodiment of the present invention;
Fig. 3 is that the embodiment of the present invention provides a kind of flow diagram of wireless routing switching method;
Fig. 4 is the network architecture diagram of another wireless routing switching system provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another wireless routing switching method provided in an embodiment of the present invention;
Fig. 6 is a kind of structure diagram of couple in router provided in an embodiment of the present invention;
Fig. 7 is the structure diagram of another couple in router provided in an embodiment of the present invention;
Fig. 8 is a kind of structure diagram of communication terminal provided in an embodiment of the present invention;
Fig. 9 is the structure diagram of another communication terminal provided in an embodiment of the present invention.
Embodiment
An embodiment of the present invention provides a kind of wireless routing switching method, couple in router and communication terminal, to can be with
Prevent terminal data packet loss.
In order to make those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Attached drawing, is clearly and completely described the technical solution in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained without making creative work, should all belong to the model that the present invention protects
Enclose.
Term " first ", " second " and " the 3rd " in description and claims of this specification and above-mentioned attached drawing etc. is
For distinguishing different objects, not for description particular order.In addition, term " comprising " and their any deformations, it is intended that
Non-exclusive included in covering.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
The step of having listed or unit are defined in, but alternatively further includes the step of not listing or unit, or is alternatively further included
For the intrinsic other steps of these processes, method, product or equipment or unit.
Hereinafter, the part term in the application is explained, in order to skilled artisan understands that.
(1), terminal.Refer to the user equipment with wireless connecting function, also referred to as mobile node(MobileNode, letter
Claim MN), refer to mobile 6th version Internet protocol IP v6 hosts, can need not change it in the case where access point changes
IPv6 addresses, the mobile node that still can be communicated by its home agent with other nodes, including it is portable equipment, vehicle-mounted
Equipment etc..In embodiments of the present invention, which for example can be:Mobile phone, tablet computer, laptop, palm PC, shifting
Dynamic internet device(Mobile internet device, MID), wearable device, such as intelligent watch, Intelligent bracelet, meter
Walk device etc..
(2), IP address.IP address is a kind of unified address format that IP agreement provides, it is each on internet
One logical address of a network and each host assignment.At present in internet, IP address uses identity
(Identity, abbreviation ID)And station location marker(Locator)Separated mode carries out framework so that IP can be at the same time as host
Identity and station location marker.Wherein, the host identification of ID GC group connectors, has uniqueness.Locator represents the current institute of terminal
Position, i.e. IP address, Locator is with terminal is linked into different network, it may occur that change.
In mobile IPv 6 protocol, MN distinguishes identity and station location marker using two different IPv6 addresses.When
When MN is in link-local just as common IPv6, its home address (HomeAddress, abbreviation HoA) only is used, works as MN
When being moved to foreign link, then its identity is identified using HoA, with Care-of Address (Care-ofAddress, hereinafter referred to as CoA)
To identify its current location;Mobile IP v 6 is realized by network layer, transparent to levels, therefore application layer and transport layer protocol are not
It can be influenced be subject to node location and address configuration change.
Referring first to Fig. 1, Fig. 1 is the network architecture diagram of wireless routing switching system provided in an embodiment of the present invention, wherein,
In the network architecture diagram shown in Fig. 1, including terminal 110, the first couple in router 120 and the second couple in router 130.
In the embodiment of the present invention, terminal 110 is during movement according to the first couple in router 120 and the second couple in router
130 signal strength, accesses in the second couple in router 130 from the first couple in router 120.
Referring to Fig. 2, Fig. 2 shows fast mobile IPv6 provided in an embodiment of the present invention(Fast Moving IPv6, referred to as
FMIPv6)Protocol switching process.The handoff procedure is a kind of based on two layers of triggering(Hereinafter referred to as L2)Pre-switch mode, namely
When L2 triggerings, which predict switching, to be occurred, in the case where keeping MN to communicate with current network, new access is provided for it
Point information and corresponding subnet information, so as to carry out care-of address configuration and duplicate address detection in advance(Duplicate
Address Detected, abbreviation DAD)Process, MN, which is reached, can be used directly the CoA newly configured after new network and communicates,
So as to reduce by three layers of handover delay, the real-time of communication is improved.As shown in Fig. 2, the handoff procedure includes three phases:
First stage is handoff predictions and switching initialization process based on link layer;In the process, MN is detected
It will switch, and be previously-completed the configuration of new Care-of Address using RtSolPr message and PrRtAdv message and DAD is detected
Process, new Care-of Address can directly use after MN enters new couple in router region;
Second stage be perform binding renewal process and preceding couple in router (Previous Access Router,
Abbreviation PAR) tunnel building between new couple in router (New Access Router, abbreviation NAR), wherein, PAR namely Fig. 1 institutes
The second couple in router shown in the first couple in router shown, NAR namely Fig. 1;It is first when MN will be switched to new network
Updated first with quick binding(Fast binding update, abbreviation FBU)Message performs binding renewal process, then passes through
Switching verification(Hand over, abbreviation HI)Message and switch acknowledgment message(Hand over acknowledge, abbreviation HACK)
Message establishes a bidirectional tunnel between PAR and NAR, and the data packet that MN is sent in renewal process is bound for forwarding.
The last stage is then the process of the packet of forwarding cache;MN does not ask router broadcast by sending
(Unsolicited Router Advertisements, abbreviation UNA)The data packet that message informing NAR forwardings have cached.
It is to be appreciated that forwarding data packet by establishing a bidirectional tunnel between PAR and NAR, speed is moved for MN
When degree is relatively slow or is finally linked into the NAR of prediction, it is a kind of effective method, can reduces and switch institute between access routers
The time delay of generation, realizes seamless switching.But for MN translational speeds are very fast or MN is not linked into the NAR of prediction finally
When, it is exactly a kind of invalid method, is not reduced time delay caused by switching between couple in router, in some instances it may even be possible to which generation is lost
Bag.For example, when MN translational speeds quickly when, MN predictions may be linked into NAR1, and then NM sends FBU message to PAR and performs
Bind renewal process.PAR and NAR passes through message interaction twice, establishes tunnel relation, and then PAR sends Fack message to MN,
And the data packet for being sent to MN is transmitted to NAR1.And actually MN is linked into NAR2, the data packet of NAR1 is so buffered in just
The NAR2 that NM is newly accessed is not sent to successfully, so as to cause data-bag lost.
The embodiment of the present invention uses ID/Locator separation architectures based on terminal, when terminal is in the first chain established with PAR
When in road, terminal notification PAR caching terminal data bags;After terminal is linked into NAR, PAR changes the purpose of the terminal data bag
IP address is simultaneously transmitted to terminal, when accessing nonanticipating link to solve terminal, produces the situation of packet loss, and further,
When avoiding intransit buffering data packet, the possibility of fragment packets is produced.
In the preferred embodiment of the present invention, in the couple in router handoff procedure of terminal, each communication is set
The form of message between standby can use Mobility Header Message, be carried as shown in figure 3, Fig. 3 is the embodiment of the present invention
The Mobility Header Message form of message schematic diagrames of confession.When next prolate-headed value of IPv6 is 135, it is exactly
The message header.Each field of the message header is explained as follows:
Wherein, description below is done to above-mentioned form of message related content:
1st, Next Header, for representing the protocol number of next expansion head, if without extension header, are arranged to
IPPROTO_NONE(59)。
2nd, Header Length, prefix length, in units of 8 bytes, not including preceding 8 bytes.
3rd, MH Type, for defining specific type of message.
4th, Reserved, 8-bit reserved field, initial value 0.
5th, Checksum, is 16-bit signless integers.
6th, Message Data, are a variable data field, for storing different message contents.
Wherein, it is HS message when the field MH Type values of Mobility Header are 1(Handover
Solicitation Message).HS message is act as:Notify the data cached bag of the first couple in router, or notice
Second couple in router forwards data packet, and at this time, the specific form of the message is as follows:
Each field is explained as follows:
1、Sequence:Represent 16-bit signless integers.
2、‘A’flag:1 represents to need couple in router to reply HACK message.
3、Reserved:Retain.Initial value is 0.
4、Locator Type:0 expression Locator storages are old IPv6 addresses(Previous Locator);1 represents
Locator storages are new IPv6 addresses(New Locator).
5、Lifetime:In couple in router, host identification(Host Identifier)Corresponding Locator's has
Imitate the time.
6、Host Identifer:The host identification of terminal.
7、Locator:Ipv6 addresses.
Wherein, it is HACK message when the field MH Type values of Mobility Header are 2.The effect of HACK message:
Response message as HS.Shown under the form of the message body:
Each field is explained as follows:
1、Status:16-bit signless integers.0 is used to represent ok, and 1 is used to represent Sequence mistakes;2 are used to represent
Identifier is not present.
2、Reserved:Retain.Initial value is 0.
3、Traffic Type:Type of service.0 is used to represent control bag;1 is used to represent data packet;2 are used to represent control
And data packet.
4、Locator Type:0 be used for represent Locator storage be Previous Locator;1 is used to represent
Locator storages are New Locator.
5、Sequence:16-bit signless integers.Value for sequence fields in the HS message of reception.
6、Host Identifier:The host identification of UE.For Host Identifier fields in the HS message of reception
Value.
7、Locator:Ipv6 addresses.Value for Locator fields in the HS message of reception.
Detailed description of the present invention embodiment below in conjunction with the accompanying drawings, so as to skilled artisan understands that.
Referring to Fig. 3, Fig. 3 shows that the embodiment of the present invention provides a kind of flow diagram of wireless routing switching method, such as
Shown in Fig. 3, this method may comprise steps of:
Step S301, terminal obtains the accessing gateway information of the second couple in router.
Wherein, the accessing gateway information includes the internet protocol IP address of second couple in router, institute
State the prefix information of the second couple in router.
In embodiments of the present invention, terminal accesses network by the first couple in router first, and terminal is in movement at this time
State, when terminal is moved to the overlap-add region of the first couple in router and the second couple in router, terminal will receive second
The signal of couple in router, at this time terminal would be possible to switch to the second couple in router from the first couple in router.
Alternatively, terminal obtains second access by the first Radio Link established with first couple in router
The accessing gateway information of router.
Specifically, in embodiments of the present invention, terminal to the first couple in router by sending RtSloPr message, and connects
Receive the information of the access gateway of PrRtAdr message the second couple in router of acquisition of the first couple in router return.
Further, alternatively, which includes the IP address of the second couple in router, physical address
(Media Access Control, abbreviation MAC Address), the prefix information of the second couple in router, which can wrap
Include the IP address prefix of the second couple in router and the IP address prefix length of the second couple in router.
In embodiments of the present invention, terminal by obtain the second couple in router gateway information, so as to work as terminal
When being intended to access the second couple in router, the IP address based on the gateway information configurating terminal is IP corresponding with the second couple in router
Address, so that terminal accesses the second couple in router.
Step S302, terminal sends the first notification message, the first couple in router receiving terminal to the first couple in router
The first notification message sent.
Wherein, first notification message is used for the terminal for notifying the first couple in router caching to be sent to the terminal
Data packet, first notification message include the terminal iidentification ID of the terminal and the first Internet protocol IP of the terminal
Address, first notification message are sent out when switching for the terminal from first couple in router to the second couple in router
Send.
In embodiments of the present invention, the end that the first couple in router caching is sent to terminal is triggered by the first notification message
End data bag so that the first couple in router, which can receive terminal from the moment router will occur, to be switched and cache end
End data bag, to solve that the data packet in handoff procedure cannot be preserved in the prior art, prevents terminal data packet loss.
Wherein, the first IP address refers to that terminal passes through the IP address configured during the first couple in router access gateway, example
Such as, when the IP address of the first couple in router is that IP address is 10::1 and 12::2, at this time the first IP address of terminal can configure
For 10::2.
Specifically, can by the terminal iidentification in the first notification message and the first IP address and then data cached bag again,
Wherein, which refers to business data packet when terminal is communicated by the first couple in router with network.
Specifically, which can be that the above-mentioned HS based on Mobility Header Message forms disappears
Breath.
Alternatively, which can also be other form of message.
Alternatively, the terminal sends the first notification message to first couple in router, including:
It is default less equal than first in the access signal strength for first couple in router that the terminal receives
During threshold value, the terminal sends the first notification message to first couple in router;Alternatively,
It is default to be greater than or equal to second in the access signal strength for second couple in router that the terminal receives
During threshold value, the terminal sends the first notification message to first couple in router.
Wherein, the first predetermined threshold value refers to for indicating that the signal strength of the first couple in router can not meet that terminal accesses
Demand signal strength threshold, the second predetermined threshold value refer to for indicate the second couple in router signal strength disclosure satisfy that
The signal strength threshold of the access demand of terminal.
For example, in the example of the present invention, when terminal moves the second place from first position, wherein, the
One position and the first couple in router are closer to the distance, and the second place and the second couple in router are distant, so that terminal is being moved
In dynamic process, the access signal strength of the first couple in router will be more and more weaker, and the access signal of the second couple in router is strong
Degree will be increasingly stronger, so that when terminal detects that the access signal strength of the first couple in router is less equal than a preset value
When, or when terminal detects that the access signal strength of the second couple in router is greater than or equal to a preset value, triggering is eventually
Hold to the first couple in router and send the first notification message.
It is appreciated that the access signal strength for working as the first couple in router dies down, or the access of the second couple in router
Signal strength becomes strong, represents that terminal will switch to the second couple in router from the first couple in router at this time, so at this time eventually
End needs to notify the first couple in router caching to be sent to the terminal data bag of the terminal at the moment, so that being connect in terminal from first
Enter the terminal data bag during router switches to the second couple in router not lose.
Alternatively, after first couple in router receives the first notification message that the terminal is sent, described first
Couple in router sends the first notification message response message to the terminal, so that the Radio Link of the terminal is described
Switch under the triggering of first notification message response message from first couple in router to second couple in router.
At this time, the terminal receives the first notification message response message that first couple in router returns;The end
The Radio Link at end is under the triggering of the first notification message response message from first couple in router to described
Second couple in router switches.Also step S304 can be performed by the first notification message response message triggering terminal and is switched.
Alternatively, if terminal does not receive the first notification message response message of the first couple in router return, terminal room
Retransmit the first notification message afterwards at regular intervals.
Further, if terminal to the first couple in router send preset times the first notification message after still for receive
To the first notification message response message, the action of the handoff links of terminal execution at this time.
Specifically, if first notification message is the above-mentioned HS message based on Mobility Header Message forms,
The first notification message response message can be the HACK message based on Mobility Header Message forms, for answering
Answer HS message.
Alternatively, which can also be other form of message.
Step S303, the first couple in router is based on the first notification message caching terminal data bag.
Step S304, terminal based on accessing gateway information by the IP address of terminal by the first IP address with being changed to the 2nd IP
Location.
Wherein, second IP address is IP address corresponding with second couple in router.For example, when the second access
The IP address of router is that IP address is 11::1 and 12::3, at this time terminal can configure the second IP address and can be configured to 11::2, from
And terminal is established network connection by the second couple in router access gateway based on second IP address, to realize the road of terminal
Switched by device.
It is appreciated that before terminal needs to access the second couple in router, it is necessary first to which the IP address of terminal is configured
For IP address corresponding with the second couple in router, so as to smoothly to access the second couple in router.
Further, alternatively, after terminal configures the second IP address, duplicate address detection can be performed
(Duplicate Address Detection, abbreviation DAD), to prevent the second IP address configuration error.
Alternatively it is also possible to do not perform DAD.
It is to be appreciated that there is no inevitable sequencing between step S303 and step S304, and in specific embodiment, Ke Yixian
Step S303 is performed, then performs step S304, step step S304 can also be first carried out, then perform step S303, or
Step S303 and step S304 are performed at the same time, and the embodiment of the present invention is not limited.
Step S305, terminal sends second notification message, the first couple in router receiving terminal to the first couple in router
The second notification message of transmission.
Wherein, the second notification message includes the terminal iidentification and the second IP address of the terminal, the 2nd IP
Location is IP address corresponding with second couple in router.
Specifically, which can be HS message.
Alternatively, which can also other form of message.
Step S306, the purpose IP address of terminal data bag is changed to second by the first couple in router from the first IP address
IP address is with the terminal data bag after being updated.
Alternatively, after the first couple in router receives second notification message, can be taken according in second notification message
The terminal iidentification of band searches whether the first couple in router caches terminal data bag corresponding with the terminal iidentification, if there is no
Terminal data bag corresponding with the terminal iidentification, then send a notification message and notify terminal using the response as second notification message
Message, if there is terminal data bag corresponding with the terminal iidentification, is then revised as the purpose IP address of the terminal data bag
Second IP address obtains new terminal data bag, then the new data packet is sent to terminal.
Specifically, the response message of the second notification message can be based on Mobility Header Message forms
HACK message.
Step S307, when the first access router discovery terminal switches to the second couple in router from the first couple in router
Afterwards, the first couple in router sends the terminal data bag after renewal to terminal, and terminal receives the first couple in router and sends more
Terminal data bag after new.
Further, IP address of terminal is using ID/Locator separation architectures are based in the embodiment of the present invention, so that net
Even if closing the very low realization for nor affecting on the program, Triangle routing problem is completely eliminated.
Alternatively, the second notification message is additionally operable to notify first couple in router to send to the terminal
The terminal data bag;
In the terminal after first couple in router switches to second couple in router, the terminal is to institute
State the first couple in router and send the second notification message.
Terminal described in first access router discovery switches to second access from first couple in router
Router includes:
First couple in router determines the terminal from the described first access after receiving the second notification message
Router switches to second couple in router.
Alternatively, the first access router discovery terminal switches to the second couple in router from the first couple in router, also
Can detect that terminal no longer accesses network by the first couple in router by the first couple in router.
In embodiments of the present invention, after the first access router discovery terminal has been switched to the second couple in router,
The terminal data bag of caching can be sent into terminal, the first couple in router can be the notice by receiving terminal
Confirm that terminal has switched after message, so that triggering it sends terminal data bag;First couple in router can also pass through oneself
Whether detection terminal has switched, and determines whether to send terminal data bag so that the first couple in router of triggering sends terminal
The mode of data packet is more flexible.
Alternatively, the above method further includes:
The terminal obtains the IP address of first couple in router;
The terminal sends second notification message to first couple in router, including:
IP address of the terminal based on first couple in router sends second to first couple in router and leads to
Know message.
In embodiments of the present invention, after terminal switches to the second couple in router from the first couple in router, then notify
First couple in router sends second notification message, and at this time due to two layers of the first couple in router and the second couple in router
Link has disconnected, so needing to obtain the IP address of the first couple in router first, is then based on first couple in router again
Second notification message is sent to the first couple in router.Specifically, the IP address of first couple in router can be that terminal exists
Access what is stored during the first couple in router.
Alternatively, in embodiments of the present invention, if moving velocity of terminal is too fast, the second couple in router is obtained in terminal
Before accessing gateway information, which can also obtain the accessing gateway information of the 3rd couple in router, the 3rd access route
Device can be understood as the couple in router of predictably terminal imagination, and actual during terminal quickly moves, and terminal actual selection connects
The couple in router entered is the second couple in router, thus get again at this time the second couple in router accessing gateway information with for
Change the accessing gateway information of the 3rd couple in router originally obtained.It is appreciated that pass through compared to present technology in prediction
Bidirectional tunnel forwarding terminal data packet is established between 3rd access route and the first couple in router, and causes the terminal data bag
Mistake is forwarded, produces terminal data packet loss, the embodiment of the present invention is by the first couple in router directly by the number of terminals of caching
Terminal is forwarded to according to bag, prevents packet loss phenomenon.
Further, after terminal switches to the second Radio Link established with the second couple in router, terminal is to mark
Know the mapped system with position(ID Locator Mapping System, abbreviation ILMS)And separated based on ID/Locator
Communication node(Correspondent Node, abbreviation CN)ID/Locator renewal requests are sent, have told its Locator
Change, then terminal can directly be communicated with CN by NAR.
As can be seen that in the embodiment of the present invention, when terminal is switching to the second couple in router from the first couple in router
When, terminal sends the first notification message to trigger the first couple in router caching terminal data bag, so to the first couple in router
Afterwards after terminal switches to the second couple in router from the first couple in router, the first couple in router is by the terminal data of caching
The IP address of bag is sent to terminal after the first IP address is changed to the second IP address, then by the second couple in router.Pass through
First notification message is sent by terminal and triggers the first couple in router caching terminal data bag, so that the first couple in router
The terminal data bag in the period of terminal switching process can be cached, and after the completion of terminal switching, the first couple in router
The terminal data bag is sent to terminal, so as to solve the problems, such as the loss of the terminal data bag of terminal switching process.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Control signaling expense during vertical bidirectional tunnel(Referring to Fig. 2), in embodiments of the present invention, reduce HI in above-mentioned flow,
The signaling consumption of HACK message, so as to reduce the handover delay of the control message between couple in router.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Vertical bidirectional tunnel, is then sent terminal data bag to the second couple in router by the bidirectional tunnel from the first couple in router
When, it is necessary to add the packet header of certain length before the terminal data bag, cause the physical length of the terminal data bag of the transmission
It can exceed that physical link length, so that fragment packets are produced, and in the embodiment of the present invention, the length of terminal data bag is before a modification
It is identical afterwards, avoid producing the possibility of fragment packets.
In order to be better understood from this programme, a specific embodiment of illustrating below illustrates, and referring to Fig. 4 and Fig. 5, Fig. 4 is
The network architecture diagram of another kind wireless routing switching system provided in an embodiment of the present invention, Fig. 5 is provided in an embodiment of the present invention
Another flow diagram of wireless routing switching method, wherein, terminal is represented with mobile node MN, and the first couple in router is
PAR, the second couple in router are NAR, former access point(Previous Access Point, abbreviation PAP)To be corresponding with PAR
Wireless access point, new access point(New Access Point, abbreviation NAP)For wireless access point corresponding with NAR.Shown in Fig. 5
Method in, the detailed description of embodiment corresponding to Fig. 3 is may be referred to the same or similar content of method shown in Fig. 3, herein
Repeat no more.
Wherein, in this embodiment, each entity configuration is as follows:
ILMS:Safeguard ID and Locator(IP)Correspondence, IP address 12::4.
CN:ID is 2F::2, IP address(Locator)For 12::1.
PAR:IP address is 10::1 and 12::2.
NAR:IP address is 11::1 and 12::3.
MN:Configuration in PAP links is ID(Mark)For 2F00::1, IP address(Locator)For 10::2;In NAP
Configuration in link is ID(Mark)For 2F00::1, IP address(Locator)For 11::2.
As shown in figure 5, this method may comprise steps of:
Step S501, MN has found NAP in moving process.
Step S502, MN and PAR obtains the accessing gateway information of NAR by RtSloPr message and PrRtAdr message.Should
The IP address of NAR is 11 in accessing gateway information::1.
Step S503, when MN has found that the signal of PAP is more and more weaker, and the signal of NAP is more and more stronger, and reaches certain threshold
Value, MN send HS message to PAR, and request PAR caching terminal iidentifications are 2F00::1 terminal data bag, PAR receive HS message
Afterwards, HACK response messages are sent to MN, and it is 2F00 to start to cache terminal iidentification::1 terminal data bag, the terminal data bag
IP address be 10::2.
Step S504, MN configures the IP address of itself from 10::2 are configured to 11::2.
Step S505, MN and PAP are disconnected, and are established and connected with NAP, realize two layers of link switching.
Step S506, MN sends UNA message to NAR, which is used for IP address and MAC Address to NAR notices MN
Correspondence.
Step S507, MN sends HS message to PAR, which is used to notify PAR to send terminal data bag to MN.
Step S508, PAR passes through terminal iidentification 2F00::1 finds terminal data bag, and by destination IP in terminal data bag
Address is from 10::2 are revised as 11::2, the terminal data bag is then forwarded again to MN.
Step S509, MN sends ID/Locator renewal requests to ILMS and CN.
As can be seen that the embodiment of the present invention is by detecting that the signal strength of NAP reaches some strength or the letter of PAP in MN
When number intensity is less than some strength, notice PAR caching terminal data bags, then notify PAR to send terminal data after MN switchings
Bag, so as to solve the problems, such as the loss of the data packet in terminal switching process.
Referring to Fig. 6, Fig. 6 is a kind of structure diagram of couple in router provided in an embodiment of the present invention, is used for realization this
Wireless routing switching method disclosed in inventive embodiments.Wherein, as shown in fig. 6, a kind of access road provided in an embodiment of the present invention
It can be included by device 600:
Receiving module 610, cache module 620, change module 630 and sending module 640.
Receiving module 610, the first notification message sent for receiving terminal, first notification message are used to notify institute
The terminal data bag that couple in router caching is sent to the terminal is stated, first notification message includes the terminal mark of the terminal
Know and the first Internet protocol IP address of the terminal, first notification message route for the terminal from the access
Device is sent in the case of switching to the second couple in router.
Cache module 620, for caching the terminal data bag based on first notification message.
The receiving module 610, is additionally operable to receive the second notification message that the terminal is sent, the second notification message
Terminal iidentification and the second IP address including the terminal, second IP address are corresponding with second couple in router
IP address.
Module 630 is changed, for the purpose IP address of the terminal data bag to be changed to institute from first IP address
The second IP address is stated with the terminal data bag after being updated.
Sending module 640, for switching to the second access route from the couple in router when the discovery terminal
After device, the terminal data bag after the renewal is sent to the terminal.
Alternatively, the second notification message is additionally operable to notify the couple in router to send the terminal to the terminal
Data packet;
The sending module 640, which performs, finds that the terminal switches to the second access route from the couple in router
It is specially during the action of device:
Determine that the terminal switches to described second from the couple in router and connects after receiving the second notification message
Enter router.
Alternatively, the sending module 640 is additionally operable to:
The first notification message response message is sent to the terminal, so that the Radio Link of the terminal is described the
Switch under the triggering of one notification message response message from first couple in router to second couple in router.
As can be seen that in the scheme of the present embodiment, when terminal is switching to the second couple in router from couple in router 600
When, terminal sends the first notification message to trigger couple in router caching terminal data bag to couple in router 600, then works as end
End is after couple in router 600 switches to the second couple in router, and couple in router 600 is by the IP of the terminal data bag of caching
Location is sent to terminal after the first IP address is changed to the second IP address, then by the second couple in router.By being sent out by terminal
The first notification message triggering couple in router caching terminal data bag is sent, was switched so that couple in router can cache terminal
Terminal data bag in the period of journey, and after the completion of terminal switching, which is sent to by couple in router
Terminal, so as to solve the problems, such as the loss of the terminal data bag of terminal switching process.
Further, it is double by being established between couple in router and the second couple in router compared to the prior art
Control signaling expense during to tunnel, in embodiments of the present invention, the signaling for reducing HI, HACK message in above-mentioned flow are opened
Pin, so as to reduce the handover delay of the control message between couple in router.
Further, it is double by being established between couple in router and the second couple in router compared to the prior art
To tunnel, then terminal data bag is sent to during the second couple in router by the bidirectional tunnel from couple in router, it is necessary to
The packet header of certain length is added before the terminal data bag, causes the physical length of the terminal data bag of the transmission can exceed that
Physical link length, so that fragment packets are produced, and in the embodiment of the present invention, the length of terminal data bag is rear identical before a modification,
Avoid producing the possibility of fragment packets.
In the present embodiment, couple in router 600 is presented in the form of unit.Here " unit " can refer to specific
Application integrated circuit(Application-specific integrated circuit, ASIC), perform one or more softwares
Or the processor and memory of firmware program, integrated logic circuit, and/or other can provide the device of above-mentioned function.
It is understood that the function of each functional unit of the couple in router 600 of the present embodiment can be according to the above method
Method specific implementation in embodiment, its specific implementation process are referred to the associated description of above method embodiment, herein not
Repeat again.
Referring to Fig. 7, referring to Fig. 7, Fig. 7 is the structure diagram of another couple in router provided in an embodiment of the present invention,
As shown in fig. 7, the couple in router 700 includes:
Emitter/receiver 701 and processor 702.Wherein, processor 702 can also device in order to control, be expressed as in Fig. 7
" controller/processor 702 ".The emitter/receiver 701 is used to support couple in router 700(Be specifically as follows PGW or
Fringe node)Receive and send messages between the terminal in above-described embodiment and the second couple in router, and connect described in support
Enter and radio communication is carried out between router and other equipment.The processor 702 performs various be used for and couple in router 700
The function of communication.In uplink, the uplink signal from the terminal and the second couple in router is received via antenna,
It is demodulated by receiver 701(Such as high-frequency signal is demodulated into baseband signal), and further handled by processor 702
To recover, couple in router 700 is transmitted to arrive business datum and signaling information.On the uplink, business datum and signaling message
Handled by processor 702, and be modulated by transmitter 701(Such as by modulates baseband signals it is high-frequency signal)To produce
Down link signal, and it is transmitted to terminal and the second couple in router via antenna.It should be noted that above-mentioned demodulation or modulation
Function can also be completed by processor 702.For example, processor 702 is additionally operable to perform the corresponding step in above method embodiment
Suddenly, and/or the described technical solution of the embodiment of the present invention other processes.
Further, couple in router 700 can also include memory 703, and memory 703 is used to store couple in router
700 program code and data.In addition, couple in router 700 can also include communication unit 704.Communication unit 704 is used for branch
Couple in router is held to communicate with terminal.For example, in LTE system, which can also be S1-MME interface,
For supporting couple in router and mobility management entity(Mobility Management Entity, MME)Communicate.
Designed it is understood that Fig. 7 illustrate only simplifying for couple in router 700.In practical applications, road is accessed
Any number of transmitter, receiver, processor, controller, memory, communication unit etc. can be included by device 700, and owned
It can realize the couple in router of the embodiment of the present invention all within the protection domain of the embodiment of the present invention.
Referring to Fig. 8, Fig. 8 is a kind of structure diagram of communication terminal provided in an embodiment of the present invention, is used for realization this hair
Wireless routing switching method disclosed in bright embodiment.Wherein, as shown in figure 8, a kind of communication terminal provided in an embodiment of the present invention
800 can include:
Acquisition module 810, sending module 820, change module 830 and receiving module 840.
Acquisition module 810, for what is switched in the communication terminal from the first couple in router to the second couple in router
In the case of, the accessing gateway information of acquisition second couple in router, the accessing gateway information includes the described second access
The prefix information of the internet protocol IP address of router, second couple in router.
Sending module 820, for sending the first notification message, first notification message to first couple in router
For notifying the first couple in router caching to be sent to the terminal data bag of the communication terminal, the first notification message bag
Include the terminal iidentification of the communication terminal and the first IP address of the communication terminal.
Change module 830, for based on the accessing gateway information by the IP address of the communication terminal by the first IP
Location is changed to second IP address and sends second notification message, the second notification message to first couple in router
Terminal iidentification and the second IP address including the communication terminal, second IP address are and second couple in router pair
The IP address answered.
Receiving module 840, the terminal data bag after the renewal sent for receiving first couple in router, the end
End data bag is cut for first couple in router in the communication terminal from the first couple in router to the second couple in router
Alternatively preceding caching, terminal data bag after the renewal are first couple in router by the purpose of the terminal data bag
IP address is changed to what is obtained after second IP address from first IP address.
Alternatively, the second notification message is additionally operable to notify first couple in router to send to the communication terminal
The terminal data bag;
The change module 830 performs to be had when sending the action of the second notification message to first couple in router
Body is:
It is described in the communication terminal 800 after first couple in router switches to second couple in router
Communication terminal sends the second notification message to first couple in router.
Alternatively, the sending module 820, which is performed to first couple in router the first notification message of transmission, is specially:
First is less equal than in the access signal strength for first couple in router that the communication terminal receives
During predetermined threshold value, the first notification message is sent to first couple in router;Alternatively,
It is greater than or equal to second in the access signal strength for second couple in router that the communication terminal receives
During predetermined threshold value, the first notification message is sent to first couple in router.
Alternatively, the acquisition module 810 is additionally operable to obtain the IP address of first couple in router;
The change module 830 performs to be had when sending the action of the second notification message to first couple in router
Body is:
IP address based on first couple in router sends second notification message to first couple in router.
Alternatively, the receiving module 840 is additionally operable to receive the first notification message that first couple in router returns
Response message;
The communication terminal 800 performs specific during the action switched from the first couple in router to the second couple in router
For:
From first couple in router to the described second access under the triggering of the first notification message response message
Router switches.
As can be seen that in the embodiment of the present invention, when communication terminal 800 is switching to the second access from the first couple in router
During router, communication terminal 800 sends the first notification message to trigger the first couple in router caching to the first couple in router
Terminal data bag, then after communication terminal 800 switches to the second couple in router from the first couple in router, the first access road
By device by the IP address of the terminal data bag of caching after the first IP address is changed to the second IP address, then pass through second access road
Sent by device to terminal.The first couple in router caching number of terminals is triggered by sending the first notification message by communication terminal 800
According to bag, so that the first couple in router can cache the terminal data bag in the period of terminal switching process, and logical
After the completion of believing that terminal 800 switches, which is sent to terminal by the first couple in router, so as to solve communication terminal
The loss problem of the terminal data bag of 800 handoff procedures.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Control signaling expense during vertical bidirectional tunnel(Referring to Fig. 2), in embodiments of the present invention, reduce HI in above-mentioned flow,
The signaling consumption of HACK message, so as to reduce the handover delay of the control message between couple in router.
Further, compared to the prior art by being built between the first couple in router and the second couple in router
Vertical bidirectional tunnel, is then sent terminal data bag to the second couple in router by the bidirectional tunnel from the first couple in router
When, it is necessary to add the packet header of certain length before the terminal data bag, cause the physical length of the terminal data bag of the transmission
It can exceed that physical link length, so that fragment packets are produced, and in the embodiment of the present invention, the length of terminal data bag is before a modification
It is identical afterwards, avoid producing the possibility of fragment packets.
In the present embodiment, communication terminal 800 is presented in the form of unit.Here " unit " can refer to specific answer
Use integrated circuit(Application-specific integrated circuit, ASIC), perform one or more softwares or
The processor and memory of firmware program, integrated logic circuit, and/or other can provide the device of above-mentioned function.
It is understood that the function of each functional unit of the communication terminal 800 of the present embodiment can be real according to the above method
The method specific implementation in example is applied, its specific implementation process is referred to the associated description of above method embodiment, herein no longer
Repeat.
Fig. 9 is the structure diagram of another communication terminal provided in an embodiment of the present invention.The communication terminal 900 includes
Transmitter 901, receiver 902 and processor 903.Wherein, processor 903 can also device in order to control, be expressed as " control in Fig. 9
Device/processor 903 ".Optionally, the communication terminal 900 can also include modem processor 905, wherein, modulation /demodulation
Processor 905 can include encoder 906, modulator 907, decoder 908 and demodulator 909.
In one example, transmitter 901 adjusts (for example, analog-converted, filtering, the amplification and up-conversion etc.) output and adopts
Sample simultaneously generates uplink signal, which is transmitted to the first access road described in above-described embodiment via antenna
By device and the second couple in router.On the uplink, antenna receives the first couple in router and second in above-described embodiment and connects
Enter the down link signal of router transmitting.Receiver 902 adjust (for example, filtering, amplification, down coversion and digitlization etc.) from
Antenna received signal simultaneously provides input sample.In modem processor 905, encoder 906 receives will be in uplink
The business datum and signaling message of upper transmission, and business datum and signaling message are handled (for example, format, coding and
Interweave).Modulator 907 further handles the business datum after (for example, symbol mapping and modulation) encodes and signaling message and carries
Sampled for output.Demodulator 909 handles (for example, demodulation) input sample and provides sign estimation.Decoder 908 handles (example
Such as, deinterleaving and decoding) sign estimation and provide and be sent to the decoded data and signaling message of communication terminal 900.Compile
Code device 906, modulator 907, demodulator 909 and decoder 908 can be realized by the modem processor 905 synthesized.This
The wireless access technology (for example, access technology of LTE and other evolution systems) that a little units are used according to wireless access network come into
Row processing.It should be noted that when communication terminal 900 does not include modem processor 905, modem processor 905
Above-mentioned function can also be completed by processor 903.
Action of the processor 903 to communication terminal 900 is controlled management, for perform in the embodiments of the present invention by
The processing procedure that communication terminal 900 carries out.
Further, communication terminal 900 can also include memory 904, and memory 904, which is used to store, is used for communication terminal
900 program code and data.
The processor of function for performing above-mentioned first couple in router of the embodiment of the present invention or communication terminal can be
Central processing unit(Central Processing Unit, CPU), general processor, digital signal processor(Digital
Signal Processor, DSP), application-specific integrated circuit(Application-Specific Integrated Circuit,
ASIC), field programmable gate array(Field Programmable Gate Array, FPGA)Or other programmable logic
Device, transistor logic, hardware component or its any combination.It can realize or perform public with reference to the embodiment of the present invention
Open the described various exemplary logic blocks of content, module and circuit.The processor can also realize computing function
Combination, such as include one or more microprocessors combination, combination of DSP and microprocessor etc..
It can be come with reference to the step of the described method of disclosure of the embodiment of the present invention or algorithm in a manner of hardware real
Now or by the mode of processor execution software instruction realize.Software instruction can be made of corresponding software module,
Software module can be stored on random access memory(Random Access Memory, RAM), flash memory, read-only storage
(Read Only Memory, ROM), Erasable Programmable Read Only Memory EPROM(Erasable Programmable ROM,
EPROM), Electrically Erasable Programmable Read-Only Memory(Electrically EPROM, EEPROM), it is register, hard disk, mobile hard
Disk, read-only optical disc(CD-ROM)Or in the storage medium of any other form well known in the art.A kind of exemplary storage
Medium couples are to processor, so as to enable a processor to from the read information, and can write and believe to the storage medium
Breath.Certainly, storage medium can also be the part of processor.Pocessor and storage media can be located in ASIC.In addition,
The ASIC can be located in base station or terminal.Certainly, pocessor and storage media can also be present in base station as discrete assembly
Or in terminal.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, which can be stored with journey
Sequence, the part or all of step of any wireless routing switching method when which performs described in including above method embodiment
Suddenly.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because
According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way
Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units integrate in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
Embody, which is stored in a storage medium, including some instructions are used so that a computer
Equipment(Can be personal computer, server or network equipment etc.)Perform each embodiment the method for the present invention whole or
Part steps.And foregoing storage medium includes:USB flash disk, read-only storage(ROM, Read-Only Memory), arbitrary access deposits
Reservoir(RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
State the technical solution described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical solution.
Claims (17)
- A kind of 1. wireless routing switching method, it is characterised in that the described method includes:The first notification message that first couple in router receiving terminal is sent, first notification message are used to notify described first Couple in router caches the terminal data bag for being sent to the terminal, and first notification message includes the terminal iidentification of the terminal With the first Internet protocol IP address of the terminal, first notification message accesses road for the terminal from described first Sent in the case of switching from device to the second couple in router;First couple in router is based on first notification message and caches the terminal data bag;First couple in router receives the second notification message that the terminal is sent, and the second notification message includes described The terminal iidentification of terminal and the second IP address, second IP address are IP address corresponding with second couple in router;The purpose IP address of the terminal data bag is changed to described by first couple in router from first IP address Second IP address is with the terminal data bag after being updated;When terminal described in first access router discovery switches to the second access road from first couple in router After device, first couple in router sends the terminal data bag after the renewal to the terminal.
- 2. according to the method described in claim 1, it is characterized in that, the second notification message is additionally operable to notify described first to connect Enter router and send the terminal data bag to the terminal;Terminal described in first access router discovery switches to the second access route from first couple in router Device includes:First couple in router determines the terminal from the described first access route after receiving the second notification message Device switches to second couple in router.
- 3. method according to claim 1 or 2, it is characterised in that first couple in router receives the terminal hair After the first notification message sent, the method further includes:First couple in router sends the first notification message response message to the terminal, so that the nothing of the terminal Wired link is under the triggering of the first notification message response message from first couple in router to the described second access road Switched by device.
- A kind of 4. wireless routing switching method, it is characterised in that the described method includes:In the case where terminal switches from the first couple in router to the second couple in router, the terminal obtains described second and connects Enter the accessing gateway information of router, the accessing gateway information includes the internet protocol number of second couple in router The prefix information of IP address, second couple in router;The terminal sends the first notification message to first couple in router, and first notification message is used to notify described First couple in router caches the terminal data bag for being sent to the terminal, and first notification message includes the terminal of the terminal First IP address of mark and the terminal;The IP address of the terminal is changed to described second by the terminal based on the accessing gateway information by the first IP address IP address simultaneously sends second notification message to first couple in router, and the second notification message includes the end of the terminal End mark and the second IP address, second IP address is IP address corresponding with second couple in router;The terminal data bag after the renewal that first couple in router is sent is received, the terminal data bag connects for described first Enter what router cached before the terminal switches from the first couple in router to the second couple in router, after the renewal Terminal data bag becomes the purpose IP address of the terminal data bag from first IP address for first couple in router Obtained after more described second IP address.
- 5. according to the method described in claim 4, it is characterized in that, the second notification message is additionally operable to notify described first to connect Enter router and send the terminal data bag to the terminal;The terminal sends the second notification message to first couple in router, including:In the terminal after first couple in router switches to second couple in router, the terminal is to described One couple in router sends the second notification message.
- 6. method according to claim 4 or 5, it is characterised in that the terminal is sent to first couple in router First notification message, including:The first predetermined threshold value is less equal than in the access signal strength for first couple in router that the terminal receives When, the terminal sends the first notification message to first couple in router;Alternatively,It is greater than or equal to the second predetermined threshold value in the access signal strength for second couple in router that the terminal receives When, the terminal sends the first notification message to first couple in router.
- 7. according to claim 4 to 6 any one of them method, it is characterised in that the method further includes:The terminal obtains the IP address of first couple in router;The terminal sends second notification message to first couple in router, including:IP address of the terminal based on first couple in router sends the second notice to first couple in router and disappears Breath.
- 8. according to claim 4 to 7 any one of them method, it is characterised in that the terminal is route to the described first access After device sends the first notification message, the method further includes:The terminal receives the first notification message response message that first couple in router returns;The terminal switches from the first couple in router to the second couple in router, including:The terminal is under the triggering of the first notification message response message from first couple in router to described second Couple in router switches.
- 9. a kind of couple in router, it is characterised in that the couple in router includes:Receiving module, the first notification message sent for receiving terminal, first notification message are used to notify the access Router cache is sent to the terminal data bag of the terminal, and first notification message includes terminal iidentification and the institute of the terminal State the first Internet protocol IP address of terminal, first notification message is the terminal from the couple in router to the Two couple in routers are sent in the case of switching;Cache module, for caching the terminal data bag based on first notification message;The receiving module, is additionally operable to receive the second notification message that the terminal is sent, the second notification message includes institute The terminal iidentification and the second IP address of terminal are stated, second IP address is for IP corresponding with second couple in router Location;Module is changed, for the purpose IP address of the terminal data bag to be changed to the 2nd IP from first IP address Address is with the terminal data bag after being updated;Sending module, for after finding that the terminal switches to second couple in router from the couple in router, to The terminal sends the terminal data bag after the renewal.
- 10. couple in router according to claim 9, it is characterised in that the second notification message is additionally operable to notice institute State couple in router and send the terminal data bag to the terminal;The sending module, which performs, finds that the terminal switches to the dynamic of second couple in router from the couple in router As when be specially:Determine that the terminal switches to the second access road from the couple in router after receiving the second notification message By device.
- 11. the couple in router according to claim 9 or 10, the sending module is additionally operable to:The first notification message response message is sent to the terminal, so that the Radio Link of the terminal is logical described first Know and switch under the triggering of message response message from first couple in router to second couple in router.
- 12. a kind of communication terminal, it is characterised in that the communication terminal includes:Acquisition module, in the case of switching in the communication terminal from the first couple in router to the second couple in router, The accessing gateway information of second couple in router is obtained, the accessing gateway information includes second couple in router The prefix information of internet protocol IP address, second couple in router;Sending module, for sending the first notification message to first couple in router, first notification message is used to lead to Know that the first couple in router caching is sent to the terminal data bag of the communication terminal, first notification message includes described First IP address of the terminal iidentification of communication terminal and the communication terminal;Module is changed, for being changed to the IP address of the communication terminal by the first IP address based on the accessing gateway information Second IP address simultaneously sends second notification message to first couple in router, and the second notification message includes described The terminal iidentification of communication terminal and the second IP address, second IP address is for IP corresponding with second couple in router Location;Receiving module, the terminal data bag after the renewal sent for receiving first couple in router, the terminal data Wrap is first couple in router before the communication terminal switches from the first couple in router to the second couple in router Caching, terminal data bag after the renewal is first couple in router by the purpose IP address of the terminal data bag It is changed to what is obtained after second IP address from first IP address.
- 13. communication terminal according to claim 12, it is characterised in that the second notification message is additionally operable to described in notice First couple in router sends the terminal data bag to the communication terminal;The change module is performed when sending the action of the second notification message to first couple in router:In the communication terminal after first couple in router switches to second couple in router, the communication terminal The second notification message is sent to first couple in router.
- 14. the communication terminal according to claim 12 or 13, it is characterised in that the sending module is performed to described first Couple in router sends the first notification message:It is default less equal than first in the access signal strength for first couple in router that the communication terminal receives During threshold value, the first notification message is sent to first couple in router;Alternatively,It is default to be greater than or equal to second in the access signal strength for second couple in router that the communication terminal receives During threshold value, the first notification message is sent to first couple in router.
- 15. according to claim 12 to 14 any one of them communication terminal, it is characterised in that the acquisition module is additionally operable to obtain Take the IP address of first couple in router;The change module is performed when sending the action of the second notification message to first couple in router:IP address based on first couple in router sends second notification message to first couple in router.
- 16. according to claim 12 to 15 any one of them communication terminal, it is characterised in that the receiving module is additionally operable to connect Receive the first notification message response message that first couple in router returns;It is specially during the action that the communication terminal execution switches from the first couple in router to the second couple in router:From first couple in router to the described second access route under the triggering of the first notification message response message Device switches.
- A kind of 17. wireless routing switching system, it is characterised in that the system comprises:Couple in router described in claim 9 to 11, the communication terminal described in claim 12 to 16, and the second access road By device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610935058.4A CN107979854B (en) | 2016-10-25 | 2016-10-25 | Wireless routing switching method, access router and communication terminal |
PCT/CN2017/106726 WO2018077097A1 (en) | 2016-10-25 | 2017-10-18 | Wireless route switching method, access router and communication terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610935058.4A CN107979854B (en) | 2016-10-25 | 2016-10-25 | Wireless routing switching method, access router and communication terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107979854A true CN107979854A (en) | 2018-05-01 |
CN107979854B CN107979854B (en) | 2021-08-13 |
Family
ID=62004847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610935058.4A Active CN107979854B (en) | 2016-10-25 | 2016-10-25 | Wireless routing switching method, access router and communication terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107979854B (en) |
WO (1) | WO2018077097A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111372102A (en) * | 2020-02-06 | 2020-07-03 | 视联动力信息技术股份有限公司 | Data transmission method, device, terminal equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1832628A (en) * | 2006-04-30 | 2006-09-13 | 中国科学院计算技术研究所 | Three-layer mobile switchover implementing method based on two-layer prediction and trigging |
CN101043727A (en) * | 2006-03-24 | 2007-09-26 | 华为技术有限公司 | Method for realizing target optimum selecting three-layer fast switching in evolvement network |
US20090059866A1 (en) * | 2006-06-24 | 2009-03-05 | Huawei Technologies Co., Ltd. | Method, system and apparatus for implementing fast handover |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1783833A (en) * | 2004-11-29 | 2006-06-07 | 北京三星通信技术研究有限公司 | Mobile IPv6 Smooth switching system and method |
KR101336325B1 (en) * | 2007-03-16 | 2013-12-03 | 삼성전자주식회사 | Communication Apparatus and Method for Supporting Fast Handover Transparent to Mobile Station |
-
2016
- 2016-10-25 CN CN201610935058.4A patent/CN107979854B/en active Active
-
2017
- 2017-10-18 WO PCT/CN2017/106726 patent/WO2018077097A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101043727A (en) * | 2006-03-24 | 2007-09-26 | 华为技术有限公司 | Method for realizing target optimum selecting three-layer fast switching in evolvement network |
CN1832628A (en) * | 2006-04-30 | 2006-09-13 | 中国科学院计算技术研究所 | Three-layer mobile switchover implementing method based on two-layer prediction and trigging |
US20090059866A1 (en) * | 2006-06-24 | 2009-03-05 | Huawei Technologies Co., Ltd. | Method, system and apparatus for implementing fast handover |
Non-Patent Citations (1)
Title |
---|
陶玲: "移动IPv6协议互操作性测试的研究", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111372102A (en) * | 2020-02-06 | 2020-07-03 | 视联动力信息技术股份有限公司 | Data transmission method, device, terminal equipment and storage medium |
CN111372102B (en) * | 2020-02-06 | 2022-10-28 | 视联动力信息技术股份有限公司 | Data transmission method, device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018077097A1 (en) | 2018-05-03 |
CN107979854B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7185962B2 (en) | IPv6 node movement management method by RPL routing protocol | |
CN101448252B (en) | Network switching implementation method, system thereof and mobile nodes | |
Kim et al. | A lightweight NEMO protocol to support 6LoWPAN | |
Castelluccia | Extending mobile IP with adaptive individual paging: A performance analysis | |
EP1593022A2 (en) | Arrangement for establishing a bidirectional tunnel between a mobile router and a correspondent router | |
CA2496279A1 (en) | Method and apparatus in a gateway for registering mobile routers of a mobile ad hoc network to respective home agents | |
CN102625987B (en) | Network prefix selection | |
EP1681881B1 (en) | Mobile communication method and mobile communication apparatus | |
US9629059B2 (en) | Mobile node registration method, intercommunication method, switching method and network element | |
CN107979854A (en) | A kind of wireless routing switching method, couple in router and communication terminal | |
EP1395001B1 (en) | Hierarchical mobile packet communication network and method of communication thereof | |
CN102957605B (en) | Switching realization method and system as well as source outlet tunnel router | |
Li et al. | A comprehensive performance evaluation of PMIPv6 over IP-based cellular networks | |
US20120147849A1 (en) | Method for supporting flow mobility | |
KR20050039066A (en) | Route optimization method for mobile nodes in ipv6 mobile network on the basis of neighbor discovery proxy | |
Dong et al. | A network-based localized mobility approach for locator/ID separation protocol | |
Kim et al. | A method to support multiple interfaces a mobile node in next generation wireless network | |
CN105264820A (en) | Method, border gateway, and control plane device for transmitting data | |
Hoang et al. | Enhancing TCP Performance and Connectivity in Ad Hoc Networks | |
Gunasundari et al. | Performance Comparison of Mobile IPv4 and Mobile IPv6 protocols in wireless systems | |
JP3917908B2 (en) | Node, communication node, mobility anchor point, home agent, packet communication system, and route MTU search method in packet communication system | |
Wu et al. | Comparison of different mobility management schemes for reducing handover latency in Mobile IPv6 | |
Van Nguyen et al. | A temporary binding update in fast handover for mobile ipv6 | |
CN104735740B (en) | Routing optimization method under MIPv6-PMIPv6 interaction scenarios | |
KR20070007994A (en) | Method for handover on mobility network |
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 |