CN110071872A - Service message retransmission method, device, electronic equipment - Google Patents

Service message retransmission method, device, electronic equipment Download PDF

Info

Publication number
CN110071872A
CN110071872A CN201910265538.8A CN201910265538A CN110071872A CN 110071872 A CN110071872 A CN 110071872A CN 201910265538 A CN201910265538 A CN 201910265538A CN 110071872 A CN110071872 A CN 110071872A
Authority
CN
China
Prior art keywords
equipment
member network
network
service message
message
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
Application number
CN201910265538.8A
Other languages
Chinese (zh)
Other versions
CN110071872B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201910265538.8A priority Critical patent/CN110071872B/en
Publication of CN110071872A publication Critical patent/CN110071872A/en
Application granted granted Critical
Publication of CN110071872B publication Critical patent/CN110071872B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a kind of service message retransmission method, device, electronic equipment and machine readable storage medium.In this application, whether monitoring is TCP SYN message via the target service message of member network's device forwards;If it is not, searching the corresponding service conversation of the target service message whether there is in the service conversation then prestored in member network's equipment;If it does not exist, then the other member network's equipment being forwarded to the target service message in the business networking.Pass through multiple member network's collaborative share virtual ip address and carry out OSPF route announcement, and the service message based on TCP is monitored and is handled;Avoid it is off the net in OSPF group, since service message is mistakenly forwarded to and does not set up member network's equipment situation of service conversation caused by route metric variation, to ensure that the continuity that service conversation has been established.

Description

Service message retransmission method, device, electronic equipment
Technical field
This application involves fields of communication technology more particularly to service message retransmission method, device, electronic equipment and machine can Read storage medium.
Background technique
With the development of internet and universal, the scale of corresponding network is also increasing, becomes increasingly complex.Thus to net The requirement of network Routing Protocol is also higher and higher.And OSPF (Open Shortest Path First, Open Shortest Path First) Have become current internet and enterprise network using most, most widely used IGP (Interior Gateway Protocol, One of Interior Gateway Protocol) Routing Protocol.
OSPF is by IETF (Internet Engineering Task Force, Internet Engineering Task group) organization development; Have many advantages, such as wide adaptation range, fast convergence, such as: OSPF supports the network of various scales, can at most support several hundred roads By device;After network topology structure changes, update message can be sent based on ospf protocol immediately, make this variation in net It is synchronous in network.
Summary of the invention
The application provides a kind of service message retransmission method, and the member network that the method is applied in business networking sets It is standby, wherein member network's equipment has load-balancing function, and the business networking includes at least two member networks and sets It is standby, which comprises
Whether monitoring is TCP SYN message via the target service message of member network's device forwards;
If it is not, searching the target service message pair in the service conversation then prestored in member network's equipment The service conversation answered whether there is;
If it does not exist, then the other member network's equipment being forwarded to the target service message in the business networking.
Optionally, member network's equipment also supports ospf protocol, and all member networks in the business networking set Standby shared virtual IP address is monitored described via whether the target service message of member network's device forwards is TCP SYN report Before text, further includes:
The configuration of the ospf protocol of member network's equipment is enabled, ospf network is added;
The route announcement of the virtual IP address is issued to the ospf network.
Optionally, all member network's equipment in the business networking respectively save it is corresponding with the virtual IP address itself The real IP address of real IP address and other member network's equipment.
Optionally, if the target service message is TCP SYN message, comprising:
Based on load balancing service, the target service message is forwarded to corresponding service server.
The application also provides a kind of service message retransmission unit, and the member network that described device is applied in business networking sets It is standby, wherein member network's equipment has load-balancing function, and the business networking includes at least two member networks and sets Standby, described device includes:
Whether monitoring modular, monitoring are TCP SYN message via the target service message of member network's device forwards;
Searching module, if it is not, searching the target industry in the service conversation then prestored in member network's equipment The corresponding service conversation of business message whether there is;
Forwarding module, if it does not exist, then the other members being forwarded to the target service message in the business networking The network equipment.
Optionally, member network's equipment also supports ospf protocol, and all member networks in the business networking set Standby shared virtual IP address is monitored described via whether the target service message of member network's device forwards is TCP SYN report Before text, further includes:
Configuration module enables the configuration of the ospf protocol of member network's equipment, and ospf network is added;
The configuration module is further, issues the route announcement of the virtual IP address to the ospf network.
Optionally, all member network's equipment in the business networking respectively save it is corresponding with the virtual IP address itself The real IP address of real IP address and other member network's equipment.
Optionally, if the target service message is TCP SYN message, the forwarding module further,
Based on load balancing service, the target service message is forwarded to corresponding service server.
The application also provides a kind of electronic equipment, including communication interface, processor, memory and bus, and the communication connects Pass through bus between mouth, the processor and the memory to be connected with each other;
Machine readable instructions are stored in the memory, the processor is executed by calling the machine readable instructions Above-mentioned method.
The application also provides a kind of machine readable storage medium, and the machine readable storage medium is stored with machine readable finger It enables, the machine readable instructions realize the above method when being called and being executed by processor.
By above embodiments, passes through multiple member network's collaborative share virtual ip address and carries out OSPF route announcement, And the service message based on TCP is monitored and is handled;Avoid it is off the net in OSPF group, due to route metric change and lead The service message of cause is mistakenly forwarded to the member network's equipment situation for not setting up service conversation, to ensure that built set up one's own business The continuity of business session.
Detailed description of the invention
Fig. 1 is a kind of networking diagram for operation system based on OSPF that an exemplary embodiment provides;
Fig. 2 is a kind of flow chart for service message retransmission method that an exemplary embodiment provides;
Fig. 3 is a kind of block diagram for service message retransmission unit that an exemplary embodiment provides;
Fig. 4 is the hardware structure diagram for a kind of electronic equipment that an exemplary embodiment provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present application, below first to this Shen Please the service message forwarding off the net of the OSPF group that is related to of embodiment the relevant technologies, be briefly described.
Referring to Figure 1, Fig. 1 is a kind of networking diagram for operation system based on OSPF that one embodiment of this specification provides.
Networking as shown in Figure 1 includes: that (Custom1, Custom2, respectively represent multiple client cluster in corresponding diagram 1 Client), OSPF routing device (4 routing devices R1, R2, R3, R4 in corresponding diagram 1 in big ellipse), member network's equipment (SLB1, SLB2 in corresponding diagram 1) and the service server cluster being connect with above-mentioned member network's equipment (in corresponding diagram 1 with The service server cluster of SLB1 connection, the service server cluster being connect with SLB2);Wherein, above-mentioned member network's equipment (SLB1, SLB2) and above-mentioned OSPF routing device collectively constitute an ospf network (big oval in corresponding diagram 1), wherein above-mentioned Route metric between the different nodes of ospf network, abbreviation metric refer to metric as shown in Figure 1.
Above-mentioned member network's equipment has load-balancing function, such as: above-mentioned client can be accessed SLB1 pairs by SLB1 The server cluster service message answered, is distributed to server different in the server cluster that SLB1 is correspondingly connected with;SLB2 can be with Above-mentioned client access SLB2 corresponding server cluster service message is distributed in the server cluster that SLB2 is correspondingly connected with Different servers.
In some scenes, based on networking as shown in Figure 1, the service message of above-mentioned client will be routed based on OSPF The route metric and be the smallest shortest path that agreement provides, are sent to nearest service server cluster.Such as: such as Fig. 1 institute Show, metric=X, metric=Y;If X=10, Y=10, the service message of client cluster Custom1 will pass through most short Path R1- > R3- > SLB1 (the corresponding route metric in the path and namely metric and be 20), sent out after SLB1 load balancing Server different in the server cluster that SLB1 is correspondingly connected with is given to be handled;Similarly, the industry of client cluster Custom2 Be engaged in message will by shortest path R2- > R4- > SLB2 (the corresponding route metric in the path and namely metric and be 20), warp Server different in the server cluster that SLB2 is correspondingly connected with is sent to after SLB2 load balancing to be handled.
Based on above-mentioned scene, since OSPF Routing Protocol has the characteristics that real-time statistics route metric, so working as OSPF net In network, there are frequent business access or routing node, there are additions and deletions variations, and the route metric of OSPF can all be made to generate variation, Variation is sent so as to cause the shortest path of business.Since the corresponding shortest path of business changes, it will lead to client The service conversation that has been established fail.
Such as: as shown in Figure 1, metric=X, metric=Y;Y=10, X are 100 by 10 variations, then client cluster The corresponding shortest path of the service message of Custom1 will by R1- > R3- > SLB1 (metric and be 20), be switched to R1- > R2- > R4- > SLB2 (metric and be 20) or R1- > R3- > R4- > SLB2 (metric and be 20).The industry of client cluster Custom1 Message be engaged in front of shortest path variation, is destined to the service server cluster that SLB1 is correspondingly connected with, after shortest path variation, It is sent to the server cluster of SLB2 load balancer connection, this session established before will lead to can not continue At causing business to fail.
On the basis of group-network construction illustrated above, the application is directed to one kind, based on support OSPF and load Balanced member network's equipment conversates monitoring to service message, and realization service message is as the member where corresponding to service conversation The technical solution that the network equipment is forwarded.
When realizing, multiple member network's equipment in business networking are added to ospf network based on shared virtual IP address, and The route announcement of above-mentioned virtual IP address is issued to above-mentioned ospf network.
Further, member network's equipment monitoring via above-mentioned member network's device forwards target service message whether be TCP SYN message;If it is not, searching above-mentioned target service report in the service conversation then prestored in above-mentioned member network's equipment The corresponding service conversation of text whether there is;If it does not exist, then above-mentioned target service message is forwarded in above-mentioned business networking Other member network's equipment.
In above scheme, passes through multiple member network's collaborative share virtual ip address and carry out OSPF route announcement, with And the service message based on TCP is monitored and is handled;Avoid it is off the net in OSPF group, due to route metric change and cause Service message be mistakenly forwarded to the member network's equipment situation for not setting up service conversation, to ensure that the business of having been established The continuity of session.
The application is described below by specific embodiment and in conjunction with specific application scenarios.
Referring to FIG. 2, Fig. 2 is a kind of flow chart for service message retransmission method that one embodiment of the application provides, it is described Method is applied to member network's equipment in business networking, wherein member network's equipment has load-balancing function, described Business networking includes at least two member network's equipment, and the above method executes following steps:
Whether step 202, monitoring are TCP SYN message via the target service message of member network's device forwards.
Step 204, if it is not, in the service conversation then prestored in member network's equipment, search the target industry The corresponding service conversation of business message whether there is.
Step 206, if it does not exist, the then other member's nets being forwarded to the target service message in the business networking Network equipment.
In the present specification, above-mentioned member network's equipment may include being integrated with the network with load-balancing function to set It is standby.For example, in practical applications, above-mentioned member network's equipment can specifically include interchanger, router, firewall, load Weighing apparatus etc..
In the present specification, above-mentioned business networking includes at least two above-mentioned member network's equipment.Such as: it refers to such as figure Networking shown in 1, two above-mentioned member network's equipment that above-mentioned business networking includes are respectively SLB1, SLB2.
In the present specification, above-mentioned member network's equipment also supports ospf protocol, can be added to based on ospf protocol In ospf network.Such as: refer to networking as shown in Figure 1, member network's equipment SLB1, SLB2, with OSPF routing device R1, R2, R3, R4 collectively constitute an ospf network (big oval in corresponding diagram 1).
In the present specification, all member network's collaborative share virtual IP addresses in above-mentioned business networking.Such as: refer to as Networking shown in FIG. 1, member network's equipment SLB1, SLB2 externally share a virtual IP address, and above-mentioned virtual IP address is 211.1.1.100。
In the present specification, all member network's equipment in above-mentioned business networking respectively save corresponding with above-mentioned virtual IP address Itself real IP address and other member network's equipment real IP address.
For example, being that 211.1.1.100 continues to illustrate with above-mentioned virtual IP address, member network's equipment SLB1 corresponds to above-mentioned virtual IP address Itself corresponding real IP address be 211.1.1.88, member network's equipment SLB2 correspond to above-mentioned virtual IP address it is corresponding itself really IP address is 211.1.1.98;Itself real IP address 211.1.1.88 and SLB2 are saved on above-mentioned member network's equipment SLB1 Saved on real IP address 211.1.1.98, above-mentioned member network's equipment SLB2 itself real IP address 211.1.1.98 and SLB1 real IP address 211.1.1.88.
It should be noted that above-mentioned member network's equipment can be based in itself real IP address, with above-mentioned business networking Other member devices real IP address, based on multiple network links carry out network communication.
In a kind of embodiment shown, above-mentioned member network's equipment enables the OSPF association of above-mentioned member network's equipment Ospf network is added in the configuration of view;The route announcement of above-mentioned virtual IP address is issued to above-mentioned ospf network.
Such as: when realizing, based on networking as shown in Figure 1, member network's equipment SLB1, SLB2 enables respective OSPF Ospf network is added in the configuration of agreement;Issuing above-mentioned virtual IP address is 211.1.1.100 route announcement (SLB1, SLB2 shared void IP).After issuing route announcement, client included in client cluster Custom1, Custom2 can be obtained in access State the IP routing of virtual IP address 211.1.1.100, wherein each node is according to shortest path first in above-mentioned IP routing OSPF network It calculates and obtains.
In the present specification, above-mentioned target service message refers to, one or more service messages based on TCP.
Such as: networking as shown in Figure 1 is referred to, above-mentioned business objective service message can be client cluster The service message based on TCP of the server cluster of Custom1 to SLB1 connection is also possible to client cluster Custom2 and arrives The service message based on TCP of the server cluster of SLB12 connection.
In the present specification, above-mentioned service conversation refers to, above-mentioned target service message turns via above-mentioned member network's equipment When hair, by the TCP session corresponding with above-mentioned target service message of above-mentioned member network's equipment preservation;Wherein, above-mentioned service conversation For one or more four-tuples;Wherein, above-mentioned each four-tuple includes source IP address, source port, purpose IP address, destination Mouthful.For example, above-mentioned service conversation, refers to exemplified by table 1:
Number Source IP address Source port Purpose IP address Destination port
1 sIP1 sPort1 dIP1 dPort1
2 sIP2 sPort2 dIP2 dPort2
3 sIP3 sPort3 dIP3 dPort3
Table 1
In the present specification, when route metric variation occurs for OSPF networking, above-mentioned member network's equipment passes through monitoring warp Whether it is TCP SYN message by the target service message of above-mentioned member network's device forwards, and carries out different forward process.
In a kind of embodiment shown, if above-mentioned target service message is TCP SYN message, above-mentioned member network Equipment is based on load balancing service, and above-mentioned target service message is forwarded to corresponding service server.
Such as: refer to networking as shown in Figure 1, above-mentioned target service message plan from client cluster Custom1 to The server cluster of SLB1 connection, if SLB1 monitors that above-mentioned target service message is TCP SYN message, SLB1 is based on load Above-mentioned target service message is forwarded to the corresponding service server in the server cluster of SLB1 connection by balancing service.
In the another embodiment shown, if above-mentioned target service message is not TCP SYN message, it is above-mentioned at In the above-mentioned service conversation (referring to table 1) prestored in member's network equipment, the corresponding business meeting of above-mentioned target service message is searched Words whether there is.
If the corresponding service conversation of above-mentioned target service message exists, the corresponding business of above-mentioned target service message is indicated It was had been established before session, above-mentioned target service message is the follow-up business that service conversation has been established in above-mentioned member network's equipment Service conversation has been established in message namely above-mentioned member network's equipment not complete also, above-mentioned member network's equipment allows above-mentioned mesh Mark service message continues to be forwarded to corresponding service server.
If the corresponding service conversation of above-mentioned target service message is not present, above-mentioned member network's equipment is by above-mentioned target industry Business message is forwarded to other member network's equipment in above-mentioned business networking.
Such as: refer to networking as shown in Figure 1, above-mentioned target service message plan from client cluster Custom1 to The server cluster of SLB1 connection, SLB1 monitor that above-mentioned target service message respective session information is not present in prestoring in SLB1 Service conversation, then above-mentioned target service message is forwarded to the SLB2 in above-mentioned business networking (other member networks sets by SLB1 It is standby).
When realizing, such as: SLB1 can be based on itself real IP address 211.1.1.88, by above-mentioned target service message It is forwarded to itself corresponding real IP address 211.1.1.98 of member network's equipment SLB2.
In above technical scheme, passes through multiple member network's collaborative share virtual ip address and carry out OSPF routing a surname It accuses, and the service message based on TCP is monitored and is handled;Avoid it is off the net in OSPF group, due to route metric change Caused by service message be mistakenly forwarded to the member network's equipment situation for not setting up service conversation, to ensure that built The continuity of vertical service conversation.
Fig. 3 is a kind of block diagram for service message retransmission unit that one exemplary embodiment of the application provides.With the above method Embodiment is corresponding, and present invention also provides a kind of embodiment of service message retransmission unit, described device is applied to service groups Member network's equipment in net, wherein member network's equipment has load-balancing function, and the business networking includes at least Two member network's equipment, please referring to a kind of service message retransmission unit 30, described device exemplified by Fig. 3 includes:
Whether monitoring modular 301, monitoring are TCP SYN report via the target service message of member network's device forwards Text;
Searching module 302, if it is not, searching the mesh in the service conversation then prestored in member network's equipment The corresponding service conversation of mark service message whether there is;
Forwarding module 303, if it does not exist, then by the target service message be forwarded in the business networking it is other at Member's network equipment.
Illustrate in embodiment at this, member network's equipment also supports ospf protocol, all in the business networking Member network's collaborative share virtual IP address, it is described monitoring via member network's device forwards target service message whether be Before TCP SYN message, further includes:
Configuration module 304 enables the configuration of the ospf protocol of member network's equipment, and ospf network is added;
The configuration module 304 further, issues the route announcement of the virtual IP address to the ospf network.
Illustrate in embodiment at this, all member network's equipment in the business networking respectively save and the virtual IP address The real IP address of itself corresponding real IP address and other member network's equipment.
Illustrate in embodiment at this, if the target service message is TCP SYN message, the forwarding module 303 into one Step:
Based on load balancing service, the target service message is forwarded to corresponding service server.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The module of explanation may or may not be physically separated, and the component shown as module can be or can also be with It is not physical module, it can it is in one place, or may be distributed on multiple network modules.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
System, device, module or the module that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
The embodiment of the service message retransmission unit of the application can be using on electronic equipment shown in Fig. 4.Device is real Applying example can also be realized by software realization by way of hardware or software and hardware combining.Taking software implementation as an example, make For the device on a logical meaning, being will be corresponding in machine readable storage medium by the processor of electronic equipment where it Computer program instructions run the machine-executable instruction of formation after reading.For hardware view, as shown in figure 4, being this Shen A kind of hardware structure diagram of electronic equipment where service message retransmission unit please, in addition to processor shown in Fig. 4, communication connect Except mouth, bus and machine readable storage medium, the electronic equipment in embodiment where device is generally according to the electronic equipment Actual functional capability, can also include other hardware, this is repeated no more.
Accordingly, it the embodiment of the present application also provides the hardware configuration of a kind of electronic equipment of Fig. 3 shown device, refers to Fig. 4, Fig. 4 are the hardware structural diagram of a kind of electronic equipment provided by the embodiments of the present application.The equipment includes: communication interface 401, processor 402, machine readable storage medium 403 and bus 404;Wherein, communication interface 401, processor 402, machine can It reads storage medium 403 and mutual communication is completed by bus 404.Wherein, communication interface 401, for carrying out network communication.Place Reason device 402 can be a central processing unit (CPU), and processor 402 can execute to be stored in machine readable storage medium 403 Machine readable instructions, to realize process as described above.
Machine readable storage medium 403 referred to herein can be any electronics, magnetism, optics or other physical stores Device may include or store information, such as executable instruction, data, etc..For example, machine readable storage medium may is that easily Lose memory, nonvolatile memory or similar storage medium.Specifically, machine readable storage medium 403 can be RAM (Radom Access Memory, random access memory), flash memory, memory driver (such as hard disk drive), solid state hard disk, Any kind of storage dish (such as CD, DVD) perhaps similar storage medium or their combination.
So far, hardware configuration description shown in Fig. 4 is completed.
In addition, the embodiment of the present application also provides a kind of machine readable storage medium including machine-executable instruction, example Such as the machine-readable readable storage medium storing program for executing 403 in Fig. 4, the machine-executable instruction can be by data processing equipment Device 402 is managed to execute to realize data processing method described above.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of service message retransmission method, which is characterized in that the method is applied to member network's equipment in business networking, Wherein, member network's equipment has load-balancing function, and the business networking includes at least two member network's equipment, institute The method of stating includes:
Whether monitoring is TCP SYN message via the target service message of member network's device forwards;
If it is not, it is corresponding to search the target service message in the service conversation then prestored in member network's equipment Service conversation whether there is;
If it does not exist, then the other member network's equipment being forwarded to the target service message in the business networking.
2. described the method according to claim 1, wherein member network's equipment also supports ospf protocol All member network's collaborative share virtual IP addresses in business networking, in the monitoring via the mesh of member network's device forwards Before whether mark service message is TCP SYN message, further includes:
The configuration of the ospf protocol of member network's equipment is enabled, ospf network is added;
The route announcement of the virtual IP address is issued to the ospf network.
3. according to the method described in claim 2, it is characterized in that, all member network's equipment in the business networking respectively Save itself real IP address corresponding with the virtual IP address and the real IP address of other member network's equipment.
4. the method according to claim 1, wherein being wrapped if the target service message is TCP SYN message It includes:
Based on load balancing service, the target service message is forwarded to corresponding service server.
5. a kind of service message retransmission unit, which is characterized in that described device is applied to member network's equipment in business networking, Wherein, member network's equipment has load-balancing function, and the business networking includes at least two member network's equipment, institute Stating device includes:
Whether monitoring modular, monitoring are TCP SYN message via the target service message of member network's device forwards;
Searching module, if it is not, searching the target service report in the service conversation then prestored in member network's equipment The corresponding service conversation of text whether there is;
Forwarding module, if it does not exist, then the other member networks being forwarded to the target service message in the business networking Equipment.
6. device according to claim 5, which is characterized in that member network's equipment also supports ospf protocol, described All member network's collaborative share virtual IP addresses in business networking, in the monitoring via the mesh of member network's device forwards Before whether mark service message is TCP SYN message, further includes:
Configuration module enables the configuration of the ospf protocol of member network's equipment, and ospf network is added;
The configuration module is further, issues the route announcement of the virtual IP address to the ospf network.
7. device according to claim 6, which is characterized in that all member network's equipment in the business networking are respectively Save itself real IP address corresponding with the virtual IP address and the real IP address of other member network's equipment.
8. device according to claim 5, which is characterized in that described if the target service message is TCP SYN message Forwarding module further,
Based on load balancing service, the target service message is forwarded to corresponding service server.
9. a kind of electronic equipment, which is characterized in that including communication interface, processor, memory and bus, the communication interface, It is connected with each other between the processor and the memory by bus;
Machine readable instructions are stored in the memory, the processor is executed by calling the machine readable instructions as weighed Benefit requires 1 to 4 described in any item methods.
10. a kind of machine readable storage medium, which is characterized in that the machine readable storage medium is stored with machine readable finger It enables, the machine readable instructions realize the described in any item methods of Claims 1-4 when being called and being executed by processor.
CN201910265538.8A 2019-04-03 2019-04-03 Service message forwarding method and device, and electronic device Active CN110071872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910265538.8A CN110071872B (en) 2019-04-03 2019-04-03 Service message forwarding method and device, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910265538.8A CN110071872B (en) 2019-04-03 2019-04-03 Service message forwarding method and device, and electronic device

Publications (2)

Publication Number Publication Date
CN110071872A true CN110071872A (en) 2019-07-30
CN110071872B CN110071872B (en) 2022-04-26

Family

ID=67366921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910265538.8A Active CN110071872B (en) 2019-04-03 2019-04-03 Service message forwarding method and device, and electronic device

Country Status (1)

Country Link
CN (1) CN110071872B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669319A (en) * 2020-05-09 2020-09-15 深圳震有科技股份有限公司 TCP data packet directional forwarding method, system and storage medium
CN116074368A (en) * 2023-04-06 2023-05-05 南京易科腾信息技术有限公司 Network switching device, method, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909507A (en) * 2006-07-04 2007-02-07 华为技术有限公司 Method and system for message transfer
CN103051534A (en) * 2012-11-20 2013-04-17 杭州迪普科技有限公司 Message processing method and device
US9491107B1 (en) * 2014-06-30 2016-11-08 Juniper Networks, Inc. Non-stop routing with internal session mirroring and adaptive application-level rate limiting
CN106570074A (en) * 2016-10-14 2017-04-19 深圳前海微众银行股份有限公司 Distributed database system and implementation method thereof
CN107864101A (en) * 2017-12-26 2018-03-30 杭州迪普科技股份有限公司 Load-balancing method and device
CN107948076A (en) * 2017-12-29 2018-04-20 杭州迪普科技股份有限公司 A kind of method and device to E-Packet
CN108880894A (en) * 2018-06-28 2018-11-23 南方科技大学 Network bandwidth planning method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909507A (en) * 2006-07-04 2007-02-07 华为技术有限公司 Method and system for message transfer
CN103051534A (en) * 2012-11-20 2013-04-17 杭州迪普科技有限公司 Message processing method and device
US9491107B1 (en) * 2014-06-30 2016-11-08 Juniper Networks, Inc. Non-stop routing with internal session mirroring and adaptive application-level rate limiting
CN106570074A (en) * 2016-10-14 2017-04-19 深圳前海微众银行股份有限公司 Distributed database system and implementation method thereof
CN107864101A (en) * 2017-12-26 2018-03-30 杭州迪普科技股份有限公司 Load-balancing method and device
CN107948076A (en) * 2017-12-29 2018-04-20 杭州迪普科技股份有限公司 A kind of method and device to E-Packet
CN108880894A (en) * 2018-06-28 2018-11-23 南方科技大学 Network bandwidth planning method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669319A (en) * 2020-05-09 2020-09-15 深圳震有科技股份有限公司 TCP data packet directional forwarding method, system and storage medium
CN116074368A (en) * 2023-04-06 2023-05-05 南京易科腾信息技术有限公司 Network switching device, method, electronic equipment and storage medium
CN116074368B (en) * 2023-04-06 2023-06-09 南京易科腾信息技术有限公司 Network switching device, method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110071872B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
KR101863024B1 (en) Distributed load balancer
US8913613B2 (en) Method and system for classification and management of inter-blade network traffic in a blade server
CN107948076B (en) Method and device for forwarding message
JP5610247B2 (en) Network system and policy route setting method
US10103962B1 (en) Return path trace
US20140280775A1 (en) Network Stack and Related Techniques
US20150215236A1 (en) Method and apparatus for locality sensitive hash-based load balancing
EP4046351B1 (en) Rtps discovery in kubernetes
CN110166570A (en) Service conversation management method, device, electronic equipment
US10033645B2 (en) Programmable data plane hardware load balancing system
CN110120897A (en) Link detection method, apparatus, electronic equipment and machine readable storage medium
CN110247806A (en) Session failure processing method, device, electronic equipment
US9973578B2 (en) Real time caching efficient check in a content centric networking (CCN)
US20240187346A1 (en) Systems and methods for scalable validation of multiple paths in a network using segment routing
CN110071872A (en) Service message retransmission method, device, electronic equipment
CN111010340A (en) Data message forwarding control method and device and computing device
CN109120556B (en) A kind of method and system of cloud host access object storage server
US9231859B2 (en) System and method for ingress port identification in aggregate switches
CN111131539A (en) Message forwarding method and device
CN108259205A (en) A kind of route issuing method and the network equipment
CN115118655B (en) Cross-network message forwarding method and device, electronic equipment and readable storage medium
CN109873764A (en) Establish method, apparatus, the electronic equipment of orientation ospf neighbor relationship
CN107332771B (en) Method for guaranteeing routing consistency, router and routing system
US8797897B1 (en) Methods and apparatus with virtual identifiers for physical switches in a virtual chassis
CN110896378B (en) Network traffic forwarding method and device, electronic equipment and machine-readable storage medium

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