CN105187236B - A kind of method of network flow migration - Google Patents

A kind of method of network flow migration Download PDF

Info

Publication number
CN105187236B
CN105187236B CN201510493984.6A CN201510493984A CN105187236B CN 105187236 B CN105187236 B CN 105187236B CN 201510493984 A CN201510493984 A CN 201510493984A CN 105187236 B CN105187236 B CN 105187236B
Authority
CN
China
Prior art keywords
connection status
network flow
network
host
logger
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510493984.6A
Other languages
Chinese (zh)
Other versions
CN105187236A (en
Inventor
刘杰
麦剑
易建仁
曾宪力
闵宇
张浚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ruijiang Cloud Computing Co Ltd
Original Assignee
Guangdong Ruijiang Cloud Computing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Ruijiang Cloud Computing Co Ltd filed Critical Guangdong Ruijiang Cloud Computing Co Ltd
Priority to CN201510493984.6A priority Critical patent/CN105187236B/en
Publication of CN105187236A publication Critical patent/CN105187236A/en
Application granted granted Critical
Publication of CN105187236B publication Critical patent/CN105187236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Abstract

The embodiment of the invention discloses a kind of methods of network flow migration.This method comprises: connection status logger records the connection status of the network flow of at least one host and the hardware address of host;The connection status logger receives migration request;State is that network flow in connection is sent to the source host according to the connection status of the network flow of the source host in migration request by the connection status logger;The network flow that the connection status logger newly initiates network is forwarded to the destination host of migration request.A kind of method of network flow migration provided in an embodiment of the present invention, service is not interrupted when can be realized IP address switching or mian engine changeover, is guaranteed network flow seamless migration, is improved user experience.

Description

A kind of method of network flow migration
Technical field
The present embodiments relate to a kind of methods that field of communication technology more particularly to network flow migrate.
Background technique
Network is information transmission, receives, shared virtual platform, and the informational linkage of each point, face, body is arrived by network Together, to realize the shared of these resources.Network is the tool that people's information interchange uses, and is brought very for our life Big convenience.
Various business services usually are provided for each user by server in network, when needing to mention because of business demand Another IP address is switched to for the server ip address of service, or needs to switch to the server host for the service that provides When an other host, the service that user is being currently used must be will cause and interrupted, needing to reconnect could continue Use service.
As it can be seen that the prior art causes current service to interrupt, it is easy to cause when carrying out IP address switching or mian engine changeover User data loss brings big inconvenience and security risk to user, is unfavorable for user experience.
Summary of the invention
The embodiment of the present invention provides a kind of method of network flow migration, services when realizing IP address switching or mian engine changeover It does not interrupt, guarantees network flow seamless migration, improve user experience.
In a first aspect, the embodiment of the invention provides a kind of methods of network flow migration, this method comprises:
Connection status logger records the connection status of the network flow of at least one host and the hardware address of host;
The connection status logger receives migration request;
State is by the connection status logger according to the connection status of the network flow of the source host in migration request Network flow in connection is sent to the source host;
The network flow that the connection status logger newly initiates network is forwarded to the destination host of migration request.
A kind of method of network flow migration provided in an embodiment of the present invention, records host using connection status logger Network flow connection status and host hardware address, connection status logger when receiving migration request, according to The connection status of the network flow of source host in migration request, by state be connection in network flow be sent to source host, The network flow that network is newly initiated is forwarded to the destination host of migration request.As it can be seen that being in connection by state using this programme Network flow be still sent to source host, the network flow that network is newly initiated is forwarded to the destination host of migration request, energy The service of legacy network flow is not interrupted when enough realizing IP address switching or mian engine changeover, is guaranteed network flow seamless migration, is mentioned High user experience.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for one of the embodiment of the present invention one network flow migration;
Fig. 2 is the flow diagram of the method for one of the embodiment of the present invention two network flow migration.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow diagram of the method for network flow migration that the embodiment of the present invention one provides, the present embodiment The case where being applicable to IP address or mian engine changeover, this method can be executed by connection status logger, and this method is to be based on ICP/IP protocol realizes the migration of network flow.
A kind of method of network flow migration provided in this embodiment specifically comprises the following steps:
Step S110, connection status logger records the connection status and host of the network flow of at least one host Hardware address;
Wherein, network flow be refer to connection network equipment on network generated data traffic.
It in aforesaid operations, specifically can be, connection status logger is with being used to record the IP of each mainframe network connection Location, port, network protocol etc..
The connection status of network flow is recorded, the connection status of the network flow specifically can be, and in connection, connect Time-out, connection completion and disconnecting etc..And the hardware address of record host, the hardware address specifically can be host Physical address, such as MAC Address.
Step S120, the described connection status logger receives migration request;
Wherein, the migration request, specifically can be, and the mian engine changeover or IP address that user issues host switch An operation requests.Connection status logger records operation of the user to the source host mian engine changeover issued or IP address switching Request.
Step S130, the described connection status logger is according to the connection shape of the network flow of the source host in migration request State, by state be connection in network flow be sent to the source host;
In aforesaid operations, specifically it can be, it is when connection status logger receives migration request, user is currently used The connection status of the network flow of source host is that the network flow in connection is sent to current source host, it is kept to normally receive. It is that network flow in connection is sent to the source host and is advantageous in that by state, the clothes that source host is used in family can be used Business is not interrupted, and source host is kept to service normal use.For example, user carries out Video chat, connection status note just on source host Device is recorded when receiving migration request, connection status logger record source host current network flow state is to make in connection Network flow required for Video chat is normally sent to source host by the network flow of Video chat, to guarantee user Video chat normal use.
Step S140, the network flow that the described connection status logger newly initiates network is forwarded to the target of migration request Host.
It in aforesaid operations, specifically can be, the network connection that user newly initiates is recorded in connection status logger, will newly send out The network flow of the network connection risen is forwarded on the destination host of migration request.For example, based on step S130 user in source master The Video chat that machine carries out, user opens the network connection of browser on destination host, then the browser operation opened is just It is newly-built network connection, the network flow that newly-built browser is connected to the network is forwarded to destination host by connection status logger On.The network flow of newly-built network connection, which is forwarded on the destination host of migration request, to be advantageous in that, realizes new and old flow Separation, the seamless migration of network flow is completed with this.
A kind of method of network flow migration provided in an embodiment of the present invention, records host using connection status logger Network flow connection status and host hardware address, connection status logger when receiving migration request, according to The connection status of the network flow of source host in migration request, by state be connection in network flow be sent to source host, The network flow that network is newly initiated is forwarded to the destination host of migration request.
As it can be seen that using this programme, it is that network flow in connection is still sent to source host by state, network is newly initiated Network flow be forwarded to the destination host of migration request, legacy network flow when can be realized IP address switching or mian engine changeover Service do not interrupt, guarantee network flow seamless migration, improve user experience.
Embodiment two
Fig. 2 is a kind of flow diagram of the method for network flow migration provided by Embodiment 2 of the present invention.The present embodiment Technical solution based on above-described embodiment, further provide a kind of another technology of the method for network flow migration Scheme.
In the technical scheme, further, after the connection status logger reception migration request, further includes: institute It states connection status logger and receives message, and judge the network of the message ownership according to the four-tuple of the message or five-tuple Flow.
Further, the network flow that the connection status logger newly initiates network is forwarded to the mesh of migration request Mark the operation optimization of host are as follows: if the connection status logger recognizes message and belongs to the network flow that network is newly initiated Amount, then the destination address for changing the message is the address of the destination host, and sends the message.
Further, the connection status logger is after receiving migration request, further includes: the connection status note When record device detects that the state of the network flow of the source host is completed, cancel the connection shape of the source host network flow State record.
Further, this method further includes: the network flow that the connection status logger belongs to according to the message received Amount, updates the connection status of each network flow.
It is operated based on above-mentioned optimization, a kind of method of network flow migration provided in this embodiment includes the following steps:
Step S210, connection status logger records the connection status and host of the network flow of at least one host Hardware address;
Step S220, the described connection status logger receives migration request;
Step S230, the described connection status logger receives message, and is sentenced according to the four-tuple or five-tuple of the message The network flow for the message ownership of breaking;
Wherein, message is the data cell exchanged in network with transmission, i.e. the website data block disposably to be sent.Message Complete data information to be sent is contained, length is very inconsistent, and length is unlimited and variable.
The quaternary group format is (source IP, Target IP, source port, target port), and five-tuple format is (source IP, target IP, source port, target port, network protocol).
It in aforesaid operations, specifically can be, connection status logger received data packet, and according to the source of the data packet Whether IP, Target IP, source port, target port and agreement etc. are same connections come the network flow for judging data packet ownership. For example, source host, in Video chat, connection status logger records IP address and the port of source host, judge that Video chat connects Whether the data packet of receipts is same IP address and same port, if it is the network flow for being just same connection.On destination host Newly-built browser network connection, connection status logger record IP address and the port of destination host, are sent to browser Data packet just belongs to the network flow of another same connection.
Step S240, the described connection status logger detects that the state of the network flow of the source host is completed When, cancel the connection status record of the source host network flow.
It in aforesaid operations, specifically can be, had been switched off when connection status logger detects that source host is connected to the network, i.e., Network flow connection status is to be completed, and will cancel the connection status record to source host network flow.For example, user is in source master The Video chat that machine carries out has been completed, and Video chat is connected to the network and closes by user, then connection status logger just takes The connection status record to disappear to source host network flow.
Step S250, the described connection status logger is according to the connection shape of the network flow of the source host in migration request State, by state be connection in network flow be sent to the source host;
If step S260, the described connection status logger recognizes message and belongs to the network flow that network is newly initiated, The destination address for then changing the message is the address of the destination host, and sends the message.
In aforesaid operations, specifically can be, if the data packet that connection status logger recognizes transmission belong to it is newly-built The destination address of current message is just changed to the address of destination host, and message information is sent by the network flow of network connection To destination host.
Step S270, the described connection status logger updates each network according to the network flow of the message ownership received The connection status of flow.
It in aforesaid operations, specifically can be, the network flow that connection status logger belongs to according to the data packet received, Update the connection status of source host and destination host network flow.For example, the Video chat network flow connection status of source host It is completed, then the connection status of the network flow of Video chat before is just to be changed in connection by connection status logger Connection is completed, and the connection status of the browser network flow of New-deployed Network connection is changed in connection, to complete network flow Migration.
A kind of method of network flow migration provided in an embodiment of the present invention, records host using connection status logger Network flow connection status and host hardware address, connection status logger when receiving migration request, connection Status recorder receives message, and the network flow of message ownership, connection status are judged according to the four-tuple of message or five-tuple When logger detects that the state of the network flow of source host is completed, cancel the connection status note of source host network flow Record, according to the connection status of the network flow of the source host in migration request, by state be connect in network flow be sent to Source host changes the message if connection status logger recognizes message and belongs to the network flow that network is newly initiated Destination address be destination host address, and send message, connection status logger is according to the net of the message ownership received Network flow updates the connection status of each network flow.As it can be seen that can be realized IP address switching or mian engine changeover using this programme When service do not interrupt, prevent user data loss, guarantee network flow seamless migration, improve user experience.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (5)

1. a kind of method of network flow migration characterized by comprising
Connection status logger records the connection status of the network flow of at least one host and the hardware address of host;
The connection status logger receives migration request;
State is connection according to the connection status of the network flow of the source host in migration request by the connection status logger In network flow be sent to the source host;
The network flow that the connection status logger newly initiates network is forwarded to the destination host of migration request.
2. the method according to claim 1, wherein the connection status logger receive migration request after, Further include:
The connection status logger receives message, and judges that the message belongs to according to the four-tuple of the message or five-tuple Network flow.
3. according to the method described in claim 2, it is characterized in that, the network that the connection status logger newly initiates network The destination host that flow is forwarded to migration request includes:
If the connection status logger recognizes message and belongs to the network flow that network is newly initiated, the message is changed Destination address be the destination host address, and send the message.
4. the method according to claim 1, wherein the connection status logger receive migration request it Afterwards, further includes:
When the connection status logger detects that the state of the network flow of the source host is completed, cancel the source master The connection status of machine network flow records.
5. according to the method described in claim 2, it is characterized by further comprising:
The connection status logger updates the connection shape of each network flow according to the network flow of the message ownership received State.
CN201510493984.6A 2015-08-12 2015-08-12 A kind of method of network flow migration Active CN105187236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510493984.6A CN105187236B (en) 2015-08-12 2015-08-12 A kind of method of network flow migration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510493984.6A CN105187236B (en) 2015-08-12 2015-08-12 A kind of method of network flow migration

Publications (2)

Publication Number Publication Date
CN105187236A CN105187236A (en) 2015-12-23
CN105187236B true CN105187236B (en) 2019-01-15

Family

ID=54909090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510493984.6A Active CN105187236B (en) 2015-08-12 2015-08-12 A kind of method of network flow migration

Country Status (1)

Country Link
CN (1) CN105187236B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110876123A (en) * 2018-08-30 2020-03-10 北京三星通信技术研究有限公司 Flow acquiring, providing, sharing, calibrating and transferring method and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316021A (en) * 2011-07-04 2012-01-11 杭州华三通信技术有限公司 Method for realizing load sharing of switch aggregation port and switch
CN103546500A (en) * 2012-07-11 2014-01-29 ***股份有限公司 Method and system for switching servers
CN104038971A (en) * 2013-03-06 2014-09-10 电信科学技术研究院 Link switching method and link switching device
CN104052685A (en) * 2013-03-14 2014-09-17 日立(中国)研究开发有限公司 Flow table updating method and flow table updating apparatus
CN104184667A (en) * 2013-05-22 2014-12-03 杭州华三通信技术有限公司 Multicast traffic migration method in SPB (Shortest Path Bridging) network in M-in-M mode and device
CN104283804A (en) * 2014-10-27 2015-01-14 杭州华三通信技术有限公司 Link load balancing method and device
CN104660550A (en) * 2013-11-20 2015-05-27 北京邮电大学 Method for performing session migration among plurality of servers

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4979715B2 (en) * 2006-02-09 2012-07-18 シスコ テクノロジー インコーポレーテッド Fast handoff support for wireless networks
CN101499942A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Method, system and apparatus for seamless switching
US20110134931A1 (en) * 2009-12-08 2011-06-09 Jacobus Van Der Merwe Virtual router migration
CN104105153B (en) * 2013-04-12 2017-09-12 ***通信集团公司 A kind of terminal state transition method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316021A (en) * 2011-07-04 2012-01-11 杭州华三通信技术有限公司 Method for realizing load sharing of switch aggregation port and switch
CN103546500A (en) * 2012-07-11 2014-01-29 ***股份有限公司 Method and system for switching servers
CN104038971A (en) * 2013-03-06 2014-09-10 电信科学技术研究院 Link switching method and link switching device
CN104052685A (en) * 2013-03-14 2014-09-17 日立(中国)研究开发有限公司 Flow table updating method and flow table updating apparatus
CN104184667A (en) * 2013-05-22 2014-12-03 杭州华三通信技术有限公司 Multicast traffic migration method in SPB (Shortest Path Bridging) network in M-in-M mode and device
CN104660550A (en) * 2013-11-20 2015-05-27 北京邮电大学 Method for performing session migration among plurality of servers
CN104283804A (en) * 2014-10-27 2015-01-14 杭州华三通信技术有限公司 Link load balancing method and device

Also Published As

Publication number Publication date
CN105187236A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN107172666B (en) Method and device for keeping local service of mobile terminal when switching communication cell
WO2018112897A1 (en) Method and device for session activation, and system
CN107613571B (en) Data connection management method, device and system
CN102348252B (en) A kind of tracking area list updating method and equipment
CN109150808B (en) Communication method, device and system
US20210352015A1 (en) Method and device for hosting application by access node
WO2015188357A1 (en) Bearer switching control device and control method
CN111431787B (en) Tunnel establishment method and device and computer readable storage medium
CN108235376B (en) User plane anchor point selection method and device
CN107078946A (en) Processing method, the device and system of business stream process strategy
CN105873241A (en) Method and device for establishing talking connection
WO2014005432A1 (en) Method, device and multimode terminal for implementing network switching
CN101369924A (en) Mobile management method used for mobile IP network
CN105187236B (en) A kind of method of network flow migration
US20210378032A1 (en) Method for establishing a connection of a mobile terminal to a mobile radio communication network and radio access network component
CN103051484B (en) Session service processing method, system and Session Border Controll
WO2022188770A1 (en) Data unit processing method and apparatus, and node and storage medium
EP2999295B1 (en) Method for releasing wireless link resource and user equipment
CN110710306B (en) Communication method, terminal and network equipment
KR101421526B1 (en) Method and system for accomplishing user equipment logout
US20170311135A1 (en) Control Signaling Transmission Method in MCPTT Architecture and Related Device
WO2015013883A1 (en) Data transmission method and device
US20230188957A1 (en) Communication Method and Apparatus
CN109246060B (en) Method, terminal and system for establishing link
CN108235309B (en) A kind of data processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 705-708, room two, No. 121, north south of the Five Ridges Avenue, Chancheng District, Guangdong, Foshan, 528000

Applicant after: GUANGDONG RUIJIANG CLOUD COMPUTING CO., LTD.

Address before: Chancheng District of Guangdong city of Foshan province south of the Five Ridges 528000 Avenue North 121 East International A District Office 7-8

Applicant before: Guangdong Efly Network Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20151223

Assignee: Guangdong Yaoda Financial Leasing Co., Ltd

Assignor: GUANGDONG EFLYCLOUD COMPUTING Co.,Ltd.

Contract record no.: X2020980005383

Denomination of invention: A method of network traffic migration

Granted publication date: 20190115

License type: Exclusive License

Record date: 20200826

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method of network traffic migration

Effective date of registration: 20200904

Granted publication date: 20190115

Pledgee: Guangdong Yaoda Financial Leasing Co., Ltd

Pledgor: GUANGDONG EFLYCLOUD COMPUTING Co.,Ltd.

Registration number: Y2020980005729