CN109639800A - A kind of TCP connection processing method, device, equipment and storage medium - Google Patents
A kind of TCP connection processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109639800A CN109639800A CN201811533811.2A CN201811533811A CN109639800A CN 109639800 A CN109639800 A CN 109639800A CN 201811533811 A CN201811533811 A CN 201811533811A CN 109639800 A CN109639800 A CN 109639800A
- Authority
- CN
- China
- Prior art keywords
- woc
- tcp connection
- node
- neighbours
- data packet
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
Abstract
The invention discloses a kind of TCP connection processing method, applied to the first WOC node in WOC cluster, neighborhood each other between every two WOC node in WOC cluster;This method comprises: receiving the first TCP connection of core router distribution;When determining the first TCP connection is the TCP connection of neighbours WOC node-agent optimization, whether detection neighbours WOC node is online;If neighbours' WOC node is online, the first TCP connection is transmitted to neighbours' WOC node, so that neighbours' WOC node continues after optimizing processing to the data packet of the first TCP connection, is forwarded by core router.Using technical solution provided by the embodiment of the present invention, the high availability of WOC cluster is ensured, has improved data transmission efficiency.The invention also discloses a kind of TCP connection processing unit, equipment and storage mediums, have relevant art effect.
Description
Technical field
The present invention relates to computer application technologies, more particularly to a kind of TCP connection processing method, device, equipment
And storage medium.
Background technique
With the fast development of computer technology and Internet technology, network using more and more, to by network into
The requirement of the efficiency of row data transmission is also higher and higher.Currently, WOC (WAN Optimization can be passed through
Controller, wan optimization controller) series of optimum is carried out to the data packet of the TCP connection of data transmission, it solves wide
Data transmission is led to the problem of transmission efficiency is low by multifactor influenced in the net of domain.Influence factor may have packet loss, be delayed, have
Bandwidth capacity, network congestion, application program and Transmission Control Protocol defect of limit etc..
Fig. 1 show a kind of typical WOC optimization system topology schematic diagram, and each branch passes through private line network and general headquarters
Communication, each branch are deployed with WOC node, can optimize processing, general headquarters to the data packet of the TCP connection received
It is deployed with WOC cluster, which includes multiple WOC nodes, as the core router of WOC1, WOC2, WOC3, general headquarters will connect
The TCP connection received is distributed on each WOC node, and each WOC node optimizes place to the data packet of the TCP connection received
After reason, forwarded by core router.Data packet will improve efficiency of transmission after the processing of WOC node optimization.
In the prior art, when having WOC node newly-increased in WOC cluster or exiting, core router pair can all be triggered
Current TCP connection is distributed again, and the WOC node of the corresponding agency's optimization of the TCP connection having can thus be made to become
Change.And for a TCP connection, a WOC node is needed when the data packet to the TCP connection optimizes processing
The TCP connection related data and information of caching are called, once the WOC node of agency's optimization of the TCP connection changes, then
The related data and information that the TCP connection is not cached in WOC node after variation, the WOC node after leading to variation can not be right
The data packet of the TCP connection optimizes processing, can not ensure the high availability of WOC cluster, reduce data transmission efficiency.
Summary of the invention
The object of the present invention is to provide a kind of TCP connection processing method, device, equipment and storage mediums, to ensure WOC collection
The high availability of group, improve data transfer efficiency.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of TCP connection processing method, applied to the first WOC node in WOC cluster, every two in the WOC cluster
Neighborhood each other between WOC node;The described method includes:
Receive the first TCP connection of core router distribution;
When determining first TCP connection is the TCP connection of neighbours WOC node-agent optimization, the neighbours WOC is detected
Whether node is online;
If the neighbours WOC node is online, first TCP connection is transmitted to the neighbours WOC node, so that
The neighbours WOC node continues after optimizing processing to the data packet of first TCP connection, passes through the core router
It forwards.
In a kind of specific embodiment of the invention, further includes:
When determining the TCP connection of the non-neighbours WOC node-agent optimization of first TCP connection, the first TCP is connected
The data packet connect optimizes processing;
The data packet of first TCP connection after optimization processing is forwarded by the core router.
In a kind of specific embodiment of the invention, optimized in the data packet to first TCP connection
After processing, further includes:
The synchronizing information of first TCP connection is given to other each WOC nodes of the WOC cluster.
In a kind of specific embodiment of the invention, further includes:
If detecting that the neighbours WOC node is not online, the data packet of first TCP connection is directly passed through into institute
Core router is stated to forward.
In a kind of specific embodiment of the invention, further includes:
Restore after the neighbours WOC node goes offline if detected, executes and described be transmitted to first TCP connection
The step of neighbours WOC node.
A kind of TCP connection processing unit, applied to the first WOC node in WOC cluster, every two in the WOC cluster
Neighborhood each other between WOC node;Described device includes:
Receiving module is connected, for receiving the first TCP connection of core router distribution;
On-line checking module, for determining that first TCP connection is the TCP connection of neighbours WOC node-agent optimization
When, whether online detect the neighbours WOC node;
Forwarding module is connected, if online for the neighbours WOC node, first TCP connection is transmitted to institute
Neighbours' WOC node is stated, so that the neighbours WOC node continues after optimizing processing to the data packet of first TCP connection,
It is forwarded by the core router.
In a kind of specific embodiment of the invention, further includes optimization processing module, is used for:
When determining the TCP connection of the non-neighbours WOC node-agent optimization of first TCP connection, the first TCP is connected
The data packet connect optimizes processing;
The data packet of first TCP connection after optimization processing is forwarded by the core router.
In a kind of specific embodiment of the invention, further includes synchronizing information module, is used for:
After the data packet to first TCP connection optimizes processing, by the information of first TCP connection
It is synchronized to other each WOC nodes of the WOC cluster.
In a kind of specific embodiment of the invention, further includes data packet forward module, is used for:
When detecting that the neighbours WOC node is not online, the data packet of first TCP connection is directly passed through described
Core router forwards.
In a kind of specific embodiment of the invention, the connection forwarding module is also used to:
When restoring after detecting that the neighbours WOC node goes offline, execution is described to be transmitted to institute for first TCP connection
The step of stating neighbours' WOC node.
A kind of TCP connection processing equipment, applied to the first WOC node in WOC cluster, every two in the WOC cluster
Neighborhood each other between WOC node;Include:
Memory, for storing computer program;
Processor realizes the step of TCP connection processing method described in any of the above-described when for executing the computer program
Suddenly.
A kind of computer readable storage medium is stored with computer program on the computer readable storage medium, described
The step of TCP connection processing method described in any of the above-described is realized when computer program is executed by processor.
Using technical solution provided by the embodiment of the present invention, the first WOC node is receiving core router distribution
When the first TCP connection, determine the first TCP connection whether be neighbours' WOC node-agent optimization TCP connection, if it is, into one
Whether step detection neighbours WOC node is online, if online, the first TCP connection is transmitted to neighbours' WOC node, such neighbours
WOC node can continue after optimizing processing to the data packet of the first TCP connection, forwarded, kept away by core router
Exempt to cause the first WOC node can not be to the because there is no the relevant information and data that cache the first TCP connection in the first WOC node
The problem of data packet of one TCP connection optimizes processing has ensured the high availability of WOC cluster, improves data transmission effect
Rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of WOC optimization system topology schematic diagram in the prior art;
Fig. 2 is a kind of implementation flow chart of TCP connection processing method in the embodiment of the present invention;
Fig. 3 is TCP connection Distribution Results schematic diagram in the embodiment of the present invention;
Fig. 4 is TCP connection treatment process schematic diagram in the embodiment of the present invention;
Fig. 5 is another implementation flow chart of TCP connection processing method in the embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of TCP connection processing unit in the embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of TCP connection processing equipment in the embodiment of the present invention.
Specific embodiment
Core of the invention is to provide a kind of TCP connection processing method, and this method can be applied to first in WOC cluster
WOC node, neighborhood, the first WOC node are any one in WOC cluster each other between every two WOC node in WOC cluster
A WOC node.In practical applications, when there is WOC node that WOC cluster is added, IP address can be configured for the WOC node,
The IP address of oneself can be broadcast to other WOC nodes of WOC cluster, such WOC cluster by the WOC node by broadcast mode
Other each WOC nodes can find the WOC node, to can establish neighborhood between WOC node two-by-two.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
It is shown in Figure 2, it is a kind of implementation flow chart of TCP connection processing method provided by the embodiment of the present invention, it should
Method may comprise steps of:
S210: the first TCP connection of core router distribution is received.
In practical applications, TCP connection can be branched structure toward general headquarters direction, be also possible to general headquarters toward branched structure
Direction.Core router is when receiving new TCP connection, each WOC that can will receive TCP connection and be distributed to WOC cluster
Node can also trigger core router and carry out weight to current TCP connection when having WOC node newly-increased in WOC cluster or exiting
New distribution.
First WOC node can first determine that the first TCP connects when receiving the first TCP connection of core router distribution
Connect whether be neighbours' WOC node-agent optimization TCP connection.
S220: when determining the first TCP connection is the TCP connection of neighbours WOC node-agent optimization, detection neighbours WOC section
Whether point is online.
In embodiments of the present invention, neighborhood has been pre-established between the every two WOC node in WOC cluster, each
WOC node can synchronize the TCP connection information of oneself agency's optimization to other each WOC nodes.In this way, in each WOC node
The TCP connection information for thering are other WOC node-agents to optimize.
First WOC node can determine whether the first TCP connection is neighbours WOC section by inquiring these TCP connection information
The TCP connection of point agency's optimization.If it is, whether can further detect neighbours WOC node online.Specifically, can be to
Neighbours' WOC node sends a ping order, if receiving the response message of neighbours' WOC node, it is determined that the neighbours
WOC node is online, if do not received, or attempts repeatedly not receiving any response message yet, then can determine the neighbours
WOC node is not online, may go offline because of failure or other reasons.
S230: if neighbours' WOC node is online, the first TCP connection is transmitted to neighbours' WOC node, so that neighbours WOC
Node continues after optimizing processing to the data packet of the first TCP connection, is forwarded by core router.
As described, when having WOC node newly-increased in WOC cluster or exiting, core router pair can also be triggered
Current TCP connection is distributed again, and the TCP connection distributed again may be not distributed on the WOC node of primary reason.Such as
In Fig. 1, in initial distribution, TCP connection 1, TCP connection 2 have been distributed on WOC2, and TCP connection 3, TCP connection 4 are distributed
It has arrived on WOC1, because WOC3 goes offline, core router distributes current 4 TCP connections again, and TCP connection 1, TCP are connected
It connects 3 to be distributed on WOC2, TCP connection 2, TCP connection 4 have been distributed on WOC1, as shown in Figure 3.In order to guarantee after
It is continuous that processing is optimized to the data packet of the first TCP connection, first TCP can be connected when detecting that neighbours' WOC node is online
Switch through and issue neighbours' WOC node, such neighbours WOC node can continue to optimize the data packet of the first TCP connection at place
Reason, and after optimization processing, it is forwarded by core router.
If the first TCP connection is that branched structure is sent to general headquarters, neighbours WOC node is in the number to the first TCP connection
After optimizing processing according to packet, headquarters server is transmitted to by core router.Headquarters server specifically can be mail clothes
Business device, web server, file server etc..
If first time TCP connection is that general headquarters are sent to branched structure, neighbours WOC node is to the first TCP connection
After data packet optimizes processing, the PC of branch is reached by core router, firewall, private line network etc..
First WOC node, can be by the purpose of the first TCP connection when the first TCP connection is transmitted to neighbours' WOC node
MAC Address is revised as the MAC Address of neighbours' WOC node, and source MAC is revised as to the MAC Address of the machine.
Using method provided by the embodiment of the present invention, the first WOC node is receiving the first of core router distribution
When TCP connection, determine whether the first TCP connection is the TCP connection of neighbours' WOC node-agent optimization, if it is, further examining
Whether online neighbours WOC node is surveyed, if online, the first TCP connection is transmitted to neighbours' WOC node, such neighbours WOC section
Point can continue after optimizing processing to the data packet of the first TCP connection, be forwarded by core router, avoid because of the
There is no the relevant information for caching the first TCP connection and data in one WOC node and causes the first WOC node can not be to the first TCP
The problem of data packet of connection optimizes processing has ensured the high availability of WOC cluster, has improved data transmission efficiency.
In one embodiment of the invention, this method may also comprise the following steps::
Step 1: when determining the TCP connection of the non-neighbours WOC node-agent optimization of the first TCP connection, the first TCP is connected
The data packet connect optimizes processing;
Step 2: the data packet of the first TCP connection after optimization processing is forwarded by core router.
It is illustrated for ease of description, above-mentioned two step is combined.
In embodiments of the present invention, the first WOC node leads to when receiving the first TCP connection of core router distribution
It crosses and inquires the synchronous TCP connection information of each WOC node, determine that the TCP of the non-neighbours WOC node-agent optimization of the first TCP connection connects
It connects, shows that the first TCP connection may be a new connection, the first WOC node, which can be acted on behalf of, optimizes first TCP connection, to the
The data packet of one TCP connection optimizes processing, and the data packet of the first TCP connection after optimization processing is routed by core
Device forwards.
At the same time it can also other each WOC nodes by the synchronizing information of the first TCP connection to WOC cluster, so that other
Each WOC node knows that the machine has acted on behalf of the first TCP connection, in this way, when core router distributes TCP connection again, if
First TCP connection is distributed on other WOC nodes, such as the 2nd WOC node, the 2nd WOC node is according to TCP connection information
The primary reason that can determine the first TCP connection is that the first WOC node can be by the first TCP if the first WOC node is online
Connection is transmitted to the first WOC node, to continue to optimize it agency.
In one embodiment of the invention, this method may also comprise the following steps::
If detecting that neighbours' WOC node is not online, the data packet of the first TCP connection is directly passed through into core router
It forwards.
In embodiments of the present invention, the first WOC node is determining that the first TCP connection is the optimization of neighbours WOC node-agent
TCP connection, and when detecting that neighbours' WOC node is not online, because there is no the related letter of the first TCP connection in the first WOC node
Breath and data, the first WOC node can not optimize processing to the data packet of the first TCP connection, so, the first WOC node will
The data packet of first TCP connection is directly forwarded by core router.
First WOC node can carry out on-line checking to neighbours' WOC node according to setting time interval, if detecting neighbour
It occupies after WOC node goes offline and restores, then the first TCP connection can be transmitted to neighbours' WOC node, so that neighbours' WOC node continues
After optimizing processing to the data packet of the first TCP connection, forwarded by core router.Final first TCP connection
It not will disconnect, the high availability of WOC cluster can be ensured to avoid the progress for influencing related service, so that WOC effect of optimization can be with
Persistently come into force.
In WOC cluster, each WOC node can include that linux kernel driving, application program and WOC handle logic,
The processing such as optimization, forwarding of TCP connection is carried out by these components.
By taking the interaction of two WOC nodes as an example, the treatment process of TCP connection is illustrated again, as shown in figure 4, often
It is each equipped with network interface on a WOC node, is connect by network interface with core router.Find that unit can be with by neighbours
It was found that other side can carry out the interaction of TCP connection information by storage and notification unit, work as reception to establish neighborhood
When the TCP connection distributed to core router, determine whether the TCP connection received is adjacent by Data Matching and retransmission unit
The connection of WOC node-agent is occupied, if it is, the TCP connection is transmitted to neighbours' WOC node, if it is not, then can pass through
WOC optimization unit optimizes processing to the data packet of the TCP connection of agency.
Fig. 5 show specific processing method schematic diagram a kind of to TCP connection, any one WOC node in WOC cluster exists
When receiving the first TCP connection of core router distribution, determine whether the first TCP connection is the optimization of neighbours' WOC node-agent
TCP connection, if it is, whether can further detect neighbours WOC node online, if online, can be by the first TCP
Connection is transmitted to neighbours' WOC node, so that neighbours' WOC node continues after optimizing processing to the data packet of the first TCP connection,
It is forwarded by core router, if not online, the data packet of the first TCP connection can directly be routed by core
Device forwards;If it is determined that the TCP connection of the non-neighbours WOC node-agent optimization of the first TCP connection, then it can be directly to first
The data packet of TCP connection optimizes processing, and the data packet of the first TCP connection after optimization processing is turned by core router
It sends out.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of TCP connection processing units, are applied to
The first WOC node in WOC cluster, neighborhood each other between every two WOC node in WOC cluster;One kind described below
TCP connection processing unit can correspond to each other reference with a kind of above-described TCP connection processing method.
Shown in Figure 6, which includes:
Receiving module 610 is connected, for receiving the first TCP connection of core router distribution;
On-line checking module 620, for determining that the first TCP connection is the TCP connection of neighbours WOC node-agent optimization
When, whether detection neighbours WOC node is online;
Forwarding module 630 is connected, if online for neighbours WOC node, the first TCP connection is transmitted to neighbours WOC
Node is turned so that neighbours' WOC node continues after optimizing processing to the data packet of the first TCP connection by core router
It sends out.
Using device provided by the embodiment of the present invention, the first WOC node is receiving the first of core router distribution
When TCP connection, determine whether the first TCP connection is the TCP connection of neighbours' WOC node-agent optimization, if it is, further examining
Whether online neighbours WOC node is surveyed, if online, the first TCP connection is transmitted to neighbours' WOC node, such neighbours WOC section
Point can continue after optimizing processing to the data packet of the first TCP connection, be forwarded by core router, avoid because of the
There is no the relevant information for caching the first TCP connection and data in one WOC node and causes the first WOC node can not be to the first TCP
The problem of data packet of connection optimizes processing has ensured the high availability of WOC cluster, has improved data transmission efficiency.
In a kind of specific embodiment of the invention, further includes optimization processing module, is used for:
When determining the TCP connection of the non-neighbours WOC node-agent optimization of the first TCP connection, to the data of the first TCP connection
Packet optimizes processing;
The data packet of the first TCP connection after optimization processing is forwarded by core router.
In a kind of specific embodiment of the invention, further includes synchronizing information module, is used for:
After the data packet to the first TCP connection optimizes processing, the synchronizing information of the first TCP connection is given to WOC collection
Other each WOC nodes of group.
In a kind of specific embodiment of the invention, further includes data packet forward module, is used for:
When detecting that neighbours' WOC node is not online, the data packet of the first TCP connection is directly turned by core router
It sends out.
In a kind of specific embodiment of the invention, forwarding module 530 is connected, is also used to:
When restoring after detecting that neighbours' WOC node goes offline, executes and the first TCP connection is transmitted to neighbours' WOC node
Step.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of TCP connection processing equipments, are applied to
The first WOC node in WOC cluster, neighborhood each other between every two WOC node in WOC cluster;As shown in fig. 6, this sets
It is standby to include:
Memory 610, for storing computer program;
Processor 620, the step of above-mentioned TCP connection processing method is realized when for executing computer program.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, meters
It is stored with computer program on calculation machine readable storage medium storing program for executing, is realized when computer program is executed by processor at above-mentioned TCP connection
The step of reason method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other
The difference of embodiment, same or similar part may refer to each other between each embodiment.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art
, without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these
Improvement and modification are also fallen within the protection scope of the claims of the present invention.
Claims (12)
1. a kind of TCP connection processing method, which is characterized in that applied to the first WOC node in WOC cluster, the WOC cluster
Neighborhood each other between middle every two WOC node;The described method includes:
Receive the first TCP connection of core router distribution;
When determining first TCP connection is the TCP connection of neighbours WOC node-agent optimization, the neighbours WOC node is detected
It is whether online;
If the neighbours WOC node is online, first TCP connection is transmitted to the neighbours WOC node, so that described
Neighbours' WOC node continues after optimizing processing to the data packet of first TCP connection, is forwarded by the core router
It goes out.
2. the method according to claim 1, wherein further include:
When determining the TCP connection of the non-neighbours WOC node-agent optimization of first TCP connection, to first TCP connection
Data packet optimizes processing;
The data packet of first TCP connection after optimization processing is forwarded by the core router.
3. according to the method described in claim 2, it is characterized in that, being carried out in the data packet to first TCP connection
After optimization processing, further includes:
The synchronizing information of first TCP connection is given to other each WOC nodes of the WOC cluster.
4. according to claim 1 to described in any item methods among 3, which is characterized in that further include:
If detecting that the neighbours WOC node is not online, the data packet of first TCP connection is directly passed through into the core
Heart router forwards.
5. according to the method described in claim 4, it is characterized by further comprising:
Restore after the neighbours WOC node goes offline if detected, execute it is described first TCP connection is transmitted to it is described
The step of neighbours' WOC node.
6. a kind of TCP connection processing unit, which is characterized in that applied to the first WOC node in WOC cluster, the WOC cluster
Neighborhood each other between middle every two WOC node;Described device includes:
Receiving module is connected, for receiving the first TCP connection of core router distribution;
On-line checking module, for examining when determining first TCP connection is the TCP connection of neighbours WOC node-agent optimization
Whether online survey the neighbours WOC node;
Forwarding module is connected, if online for the neighbours WOC node, first TCP connection is transmitted to the neighbour
WOC node is occupied, so that the neighbours WOC node continues after optimizing processing to the data packet of first TCP connection, is passed through
The core router forwards.
7. device according to claim 6, which is characterized in that further include optimization processing module, be used for:
When determining the TCP connection of the non-neighbours WOC node-agent optimization of first TCP connection, to first TCP connection
Data packet optimizes processing;
The data packet of first TCP connection after optimization processing is forwarded by the core router.
8. device according to claim 7, which is characterized in that further include synchronizing information module, be used for:
After the data packet to first TCP connection optimizes processing, by the synchronizing information of first TCP connection
To other each WOC nodes of the WOC cluster.
9. according to devices described in any item among claim 6 to 8, which is characterized in that further include data packet forward module, use
In:
When detecting that the neighbours WOC node is not online, the data packet of first TCP connection is directly passed through into the core
Router forwards.
10. device according to claim 9, which is characterized in that the connection forwarding module is also used to:
When restoring after detecting that the neighbours WOC node goes offline, execution is described to be transmitted to the neighbour for first TCP connection
The step of occupying WOC node.
11. a kind of TCP connection processing equipment, which is characterized in that applied to the first WOC node in WOC cluster, the WOC collection
Neighborhood each other between every two WOC node in group;Include:
Memory, for storing computer program;
Processor realizes the TCP connection processing side as described in any one of claim 1 to 5 when for executing the computer program
The step of method.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the TCP connection processing method as described in any one of claim 1 to 5 when the computer program is executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811533811.2A CN109639800B (en) | 2018-12-14 | 2018-12-14 | TCP connection processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811533811.2A CN109639800B (en) | 2018-12-14 | 2018-12-14 | TCP connection processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109639800A true CN109639800A (en) | 2019-04-16 |
CN109639800B CN109639800B (en) | 2022-03-22 |
Family
ID=66074203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811533811.2A Active CN109639800B (en) | 2018-12-14 | 2018-12-14 | TCP connection processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109639800B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741489A (en) * | 2005-09-01 | 2006-03-01 | 西安交通大学 | High usable self-healing Logic box fault detecting and tolerating method for constituting multi-machine system |
US20110093591A1 (en) * | 2005-01-14 | 2011-04-21 | Mitesh Dalal | Detecting Unavailable Network Connections |
CN102821118A (en) * | 2011-06-10 | 2012-12-12 | 中兴通讯股份有限公司 | Method and system for backing up services in network with heterogeneous nodes |
CN103618714A (en) * | 2013-11-26 | 2014-03-05 | 华为技术有限公司 | Method, relative device and system for data transmission |
CN103971687A (en) * | 2013-02-01 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Method and device for realizing load balance of voice recognition system |
CN104980295A (en) * | 2014-04-09 | 2015-10-14 | 中兴通讯股份有限公司 | Method, device and system for preventing network node from aging |
-
2018
- 2018-12-14 CN CN201811533811.2A patent/CN109639800B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110093591A1 (en) * | 2005-01-14 | 2011-04-21 | Mitesh Dalal | Detecting Unavailable Network Connections |
CN1741489A (en) * | 2005-09-01 | 2006-03-01 | 西安交通大学 | High usable self-healing Logic box fault detecting and tolerating method for constituting multi-machine system |
CN102821118A (en) * | 2011-06-10 | 2012-12-12 | 中兴通讯股份有限公司 | Method and system for backing up services in network with heterogeneous nodes |
CN103971687A (en) * | 2013-02-01 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Method and device for realizing load balance of voice recognition system |
CN103618714A (en) * | 2013-11-26 | 2014-03-05 | 华为技术有限公司 | Method, relative device and system for data transmission |
CN104980295A (en) * | 2014-04-09 | 2015-10-14 | 中兴通讯股份有限公司 | Method, device and system for preventing network node from aging |
Also Published As
Publication number | Publication date |
---|---|
CN109639800B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11843657B2 (en) | Distributed load balancer | |
US10999184B2 (en) | Health checking in a distributed load balancer | |
US10135914B2 (en) | Connection publishing in a distributed load balancer | |
US9432245B1 (en) | Distributed load balancer node architecture | |
US9553809B2 (en) | Asymmetric packet flow in a distributed load balancer | |
CN107454155B (en) | Fault processing method, device and system based on load balancing cluster | |
US9559961B1 (en) | Message bus for testing distributed load balancers | |
US9659075B2 (en) | Providing high availability in an active/active appliance cluster | |
US10033667B1 (en) | Enhanced virtual router redundancy protocol | |
US9871712B1 (en) | Health checking in a distributed load balancer | |
CN110971698B (en) | Data forwarding system, method and device | |
WO2020198218A1 (en) | Consistent route announcements among redundant controllers in global network access point | |
CN112217843B (en) | Service unit switching method, system and equipment | |
CN109639800A (en) | A kind of TCP connection processing method, device, equipment and storage medium | |
Masuda et al. | Splitable: Toward routing scalability through distributed bgp routing tables |
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 |