CN113497756B - Shunt processing method and network equipment - Google Patents

Shunt processing method and network equipment Download PDF

Info

Publication number
CN113497756B
CN113497756B CN202010269889.9A CN202010269889A CN113497756B CN 113497756 B CN113497756 B CN 113497756B CN 202010269889 A CN202010269889 A CN 202010269889A CN 113497756 B CN113497756 B CN 113497756B
Authority
CN
China
Prior art keywords
router
gateway
route
ospf
service flow
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
CN202010269889.9A
Other languages
Chinese (zh)
Other versions
CN113497756A (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong 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 China Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010269889.9A priority Critical patent/CN113497756B/en
Publication of CN113497756A publication Critical patent/CN113497756A/en
Application granted granted Critical
Publication of CN113497756B publication Critical patent/CN113497756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • H04L45/306Route determination based on the nature of the carried application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Landscapes

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

Abstract

The embodiment of the specification provides a shunt processing method and network equipment. The method comprises the following steps: the router acquires route configuration information and generates a corresponding specified service flow route; and distributing the specified service flow route to a gateway, and distributing the specified service flow by the gateway. Therefore, the high-value flow can be screened out by using the dynamic route shunting scheme and shunted to the service platform, and most of invalid flow is communicated to the public network, so that the consumption of transmission bandwidth and the service platform is reduced.

Description

Shunt processing method and network equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method for processing a stream and a network device.
Background
With the rapid development of 4G and the arrival of 5G, the traffic of a mobile core network increases in a blowout manner, especially the traffic proportion of videos, pictures and the like is higher and higher, and the traffic proportion of webpage browsing of a user is gradually reduced. For a mobile service platform, the cost of accessing the core network traffic by the full traffic is getting larger and larger, and the pressure on the transmission bandwidth and the platform processing capacity is also getting larger and larger.
Therefore, a more reliable split-flow processing scheme is needed.
Disclosure of Invention
The embodiment of the specification provides a flow splitting processing method and network equipment, which are used for improving a flow splitting effect.
An embodiment of the present specification further provides a method for processing offload, where the method is applied to a router of a service platform, and a route between the router and a gateway is configured as a dynamic route, where the method includes:
acquiring routing configuration information, wherein the routing configuration information is used for configuring the service platform to distribute appointed service flow;
generating a specified service flow route based on the route configuration information and issuing the specified service flow route to the gateway;
and receiving the specified service flow distributed by the gateway.
An embodiment of the present specification further provides a method for processing a split stream, which is applied to a gateway, and includes:
receiving a designated service flow route issued by a router of a service platform, wherein the designated service flow route is generated based on route configuration information, and the route configuration information is used for configuring the service platform to distribute designated service flow;
based on the designated service flow routing, allocating designated service flow to the router;
and other traffic except the specified service traffic is directly out of the public network from the firewall.
An embodiment of the present specification further provides a network device, including:
an obtaining module, configured to obtain routing configuration information, where the routing configuration information is used to configure the service platform to allocate a specified service traffic;
the processing module is used for generating a specified service flow route and issuing the specified service flow route to the gateway based on the route configuration information;
and the receiving module is used for receiving the specified service flow distributed by the gateway.
An embodiment of the present specification further provides a network device, including:
the system comprises a receiving module, a service platform and a service flow distribution module, wherein the receiving module is used for receiving a specified service flow route issued by a router of the service platform, the specified service flow route is generated based on route configuration information, and the route configuration information is used for configuring the service platform to distribute the specified service flow;
the distribution module is used for distributing the specified service flow to the router based on the specified service flow routing;
and the processing module is used for enabling other flows except the specified service flow to directly go out of the public network from the firewall.
One embodiment of the present description implements that by configuring a dynamic route splitting scheme between a router and a gateway, high-value traffic is screened out and split to a service platform, and most of invalid traffic is communicated to a public network, thereby reducing consumption of transmission bandwidth and the service platform.
Drawings
The accompanying drawings, which are included to provide a further understanding of the specification and are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description serve to explain the specification and not to limit the specification in a non-limiting sense. In the drawings:
fig. 1 is a schematic view of an application scenario provided in the present specification;
fig. 2 is a schematic diagram of an internal structure of a service platform provided in the present specification;
fig. 3 is a schematic flow chart of a shunt processing method according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a first dynamic routing manner provided in an embodiment of the present specification;
fig. 5 is a schematic diagram of a second dynamic routing manner provided in an embodiment of the present specification;
fig. 6 is a schematic diagram of a third dynamic routing manner provided in an embodiment of the present specification;
fig. 7 is a schematic flow chart of a shunt processing method according to another embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a network device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a network device according to another embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a network-side device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step based on the embodiments in this description belong to the protection scope of this document.
An application scenario of the present specification is exemplarily described below with reference to fig. 1.
In one application scenario, comprising: gateway 101, switch 102, service platform 103, firewall 104 and public network 105, wherein:
the gateway 101 performs distribution processing on the full traffic through the switch 102, including: on one hand, the effective service flow is distributed to the router of the service platform 103; referring to fig. 2, the Service platform 103 includes an integrated Gateway (ISG) Router (Router, RT) 1031, an ISG Firewall (FW) 1032, an ISG Switch (Switch, SW) 1034, and an ISG Load Balancer (LB) 1033, where the ISG RT 1031 receives traffic from the Gateway 101 and transmits the traffic through the ISG FW1032 and the ISG SW 1034; on the other hand, the invalid traffic is shunted to the public network 105 through the firewall 104.
The Gateway 101 may refer to a System Architecture Evolution Gateway (SAEGW) of a core Network, or may refer to a Public Data Network Gateway (PGW); the switch 102 may refer to a Customer-side router connected by a service provider, preferably a Customer Edge router/switch (CE); the firewall 104 is preferably a Gi/SGi firewall, a Gi/SGi interface is an interface between GPRS and an external packet data network, a Gi interface is an interface between GGSN and PDN, and an SGi interface is an interface between PGW and PDN; the service platform refers to a specific platform for processing service traffic, and service platforms corresponding to different services may be different, and a toolbar TOOL BAR platform is commonly used.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Fig. 3 is a flowchart of a flow splitting processing method provided in an embodiment of this specification, which may be executed by the ISG RT router 1031 in the service platform 103 in fig. 3, where a route between the router and the gateway 101 is configured as a dynamic route, and the method specifically may include the following steps:
step 302, obtaining routing configuration information, where the routing configuration information is used to configure the service platform to allocate a specified service traffic;
the routing configuration information refers to dynamic routing configuration, and may be based on a distance vector routing protocol and a link state routing protocol, where a RIP protocol and an OSPF protocol are representative, and for convenience of description, the OSPF protocol is taken as an example to be described later.
Step 304, generating a specified service flow route based on the route configuration information and issuing the route to the gateway;
it should be noted that, referring to fig. 4, the first dynamic routing manner of step 204 may be:
the network type network-type of the Open Shortest Path First (OSPF) of the router and the gateway are both configured as a Point-to-Point (P2P) mode; the router establishes OSPF neighbor relation with the gateway, and the source address of the tunnel of the router is configured as an interface IP; and issuing the specified service traffic route to the gateway through the OSPF. Assuming that the specified traffic flow route is a TOP-N ip detail route, the first dynamic routing manner may specifically be as follows:
the method comprises the steps that the router comprises a main router and a standby router, and the OSPF network types of the routers are all configured to be P2P; the main router, the standby router and the gateway establish OSPF neighbor relations, and the OSPF routing issuing priority corresponding to the main router is greater than the OSPF routing issuing priority corresponding to the standby router.
Then, in a normal state, the routing configuration information may be configured on the main router, and the main router issues TOP-N ip detailed routing to the gateway in a 32-bit host routing manner through OSPF; when the link between the main router and the gateway is abnormal, the cost value of the OSPF is increased, and the TOP-N ip detailed route can be issued to the gateway by the standby router through the OSPF, namely the TOP-N route is issued to the PGW from the GRE router standby equipment; the cost value refers to the cost of reaching the destination address indicated by a certain route.
Referring to fig. 5, the second dynamic routing manner of step 204 may be:
the OSPF network types of the router and the gateway are respectively configured as P2P and point-to-multipoint master stations (point 2multiple point, P2MP); the router establishes OSPF neighbor relation with the gateway, and the source address of the tunnel of the router is configured as a loopback address; and the router distributes the specified service traffic route to the gateway through OSPF. Assuming that the designated traffic flow route is a TOP-N ip detail route, the second dynamic routing manner may specifically be as follows:
the router comprises a main router and a standby router, and the OSPF network types of the routers are configured to be P2P; when the link between the main router and the gateway is normal, the loopback address only survives active in the main router, an OSPF (open shortest path first) neighbor relation is established between the main router and the gateway, the TOP-N ip detailed route can be configured in the main router, and the main router informs the TOP-N ip detailed route to the PGW gateway through OSPF (open shortest path first) in a 32-bit host routing mode;
when the link between the main router and the gateway is abnormal, the loopback address survives in the standby router, and the standby router and the gateway establish OSPF neighbor relation; the TOP-N ip detail route can be configured at the main router and the standby router, so that the standby router can inform the PGW gateway of the TOP-N ip detail route in a 32-bit host routing mode through OSPF.
Referring to fig. 6, the third dynamic routing manner of step 204 may be:
the OSPF network types of the router and the gateway are both configured to be P2P; establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as a loopback address; and issuing the specified service traffic route to the gateway through OSPF. Assuming that the specified traffic flow route is a TOP-N ip detail route, the third dynamic routing manner may specifically be as follows:
the router comprises a main router and a standby router, and the OSPF network types of the routers are all configured as P2P;
when the link between the main router and the gateway is normal, the loopback address survives the main router; a service platform side tunnel starts keepalive, adjusts the single-pass state of the tunnel from the standby router to the gateway to be closed, and establishes an OSPF (open shortest Path first) neighbor relation between the main router and the gateway; TOP-N ip detailed routing can be configured in the main router so as to inform the PGW gateway of the TOP-N ip detailed routing through OSPF in a 32-bit host routing mode;
when the link between the main router and the gateway is abnormal, the loopback address survives the standby router, the single-pass state of the tunnel from the standby router to the gateway is adjusted to be open, and the standby router and the gateway establish an OSPF neighbor relation; the TOP-N ip detail route can be configured at the standby router so as to inform the PGW gateway of the TOP-N ip detail route in a 32-bit host route mode through OSPF by the standby router.
The embodiment of the present specification shows three specific implementations of the step 204. Of course, it should be understood that step 204 may also be implemented in other ways, and this is not limited by this embodiment.
And step 206, receiving the specified service flow distributed by the gateway.
The following takes a specific toolbar service platform as an example to exemplarily explain the effects of the embodiments in this specification:
because the enhanced WAP gateway and the toolbar service can be developed only in http browsing traffic of users, the traffic occupies a small proportion in the total traffic, and the video picture traffic occupying a larger proportion in the total traffic is completely ineffective for developing the service. Therefore, by implementing the ISG GRE Router distribution scheme and subsequent optimization, only TOP 1000ip of http browsing services is distributed to the enhanced WAP gateway, the access flow is greatly reduced to 11.9% of the full flow, and about 96% of users can be covered; shunting TOP 500ip to the enhanced WAP gateway reduces the incoming traffic to 5.8% of full traffic, but still covers more than 87% of users, see table below:
Figure GDA0003978707600000071
/>
to sum up, in the embodiments of the present description, a dynamic routing offloading scheme between a router and a gateway is configured to screen out high-value traffic and offload the high-value traffic to a service platform, and most of invalid traffic is communicated to a public network, so as to reduce consumption of a transmission bandwidth and the service platform; moreover, the dynamic routing is issued on the service platform side digital communication equipment (namely, ISG router), so that the security is higher, and even if a fault occurs, only the service platform is influenced, and other service platforms in the whole network cannot be influenced; moreover, the flow is shunted according to the IP without charging processing on the service platform side, so that the conflict with the content charging on the SAEGW gateway is avoided; moreover, the dynamic route is issued at the rear end centralized node side, and compared with the configuration of route details at the front end scattered SAEGW/CE nodes, the workload is greatly reduced.
In another possible embodiment, a plurality of disaster recovery mechanisms are also proposed, and referring to fig. 1 and fig. 2, specific examples may be as follows:
example 1 Single-sided failure of Integrated gateway data communications device
In the case of a single-side failure of the data communication device, if the ISG primary router 1031 fails, the device will automatically switch to the standby side disaster recovery, i.e., the ISG standby router (1031', not shown in the figure). If automatic switching cannot be achieved in an extreme case, a scheme of manual switching or direct closing of a tunnel between a gateway and a router is adopted for disaster recovery, and all traffic is directed out of the firewall 104.
Example 2, simultaneous failure of active/standby firewalls or simultaneous failure of active/standby router 1031 (1031') on the service platform side
The active and standby firewalls fail simultaneously or the active and standby routers fail simultaneously, OSPF will automatically fail under normal circumstances, and all traffic is directed out of the firewall 104. In an extreme case, a scheme of manually closing the tunnel is adopted for disaster recovery (the tunnel is closed preferentially from the integrated gateway side, and if the integrated gateway side cannot be closed in a special case, the tunnel is closed by the PGW side), and all traffic is directed from the firewall 104.
Example 3, the primary and standby switches 1034 (1034 ') fail simultaneously or the primary and standby load balancing areas 1033 (1033') fail simultaneously
The primary and secondary switches and the primary and secondary LB simultaneously fail, the PSPF does not automatically fail, and only a scheme of manually closing the tunnel is used for disaster recovery (the primary switch and the secondary switch are preferably closed from the integrated gateway side, and if the integrated gateway side cannot be closed under a special condition, the primary switch and the secondary switch are closed from the PGW side), and all the traffic is directly sent out from the firewall 104.
The embodiments of the present specification show a plurality of specific examples of the disaster recovery mechanism described above. Of course, it should be understood that the disaster recovery mechanism may also be implemented in other manners, and the embodiment of the present application is not limited thereto. Based on this, the embodiment of the present specification makes more flexible and efficient disaster recovery means based on the dynamic routing manner disclosed in the embodiment corresponding to fig. 3, so as to achieve the purpose of automatic disaster recovery under a general fault condition and manual and fast disaster recovery under an extreme fault condition.
Fig. 7 is a schematic flowchart of a flow processing method according to another embodiment of the present disclosure, which may be executed by the gateway in fig. 1, and referring to fig. 7, the method may specifically include the following steps:
step 702, receiving a designated service traffic route issued by a router of a service platform, where the designated service traffic route is generated based on route configuration information, and the route configuration information is used to configure the service platform to allocate designated service traffic;
step 704, based on the specified traffic routing, assigning specified traffic to the router;
step 706, direct other traffic except the specified service traffic out of the public network from the firewall; referring to fig. 2, in particular, the SAEGW gateway distributes specified traffic to the platform 103 on the one hand and leaves other traffic out of the public through the firewall 104 on the other hand.
Therefore, in the embodiment of the present specification, by configuring a dynamic route distribution scheme between a router and a gateway, high-value traffic is screened out and distributed to a service platform, and most of invalid traffic is communicated to a public network, so that consumption of a transmission bandwidth and the service platform is reduced.
Fig. 8 is a schematic structural diagram of a network device provided in an embodiment of this specification, and referring to fig. 8, the network device may specifically include: an obtaining module 802, a processing module 804, and a receiving module 806, wherein:
an obtaining module 802, configured to obtain routing configuration information, where the routing configuration information is used to configure the service platform to allocate a specified service traffic;
a processing module 804, configured to generate a specified service traffic route based on the route configuration information and issue the specified service traffic route to the gateway;
a receiving module 806, configured to receive the specified service traffic allocated by the gateway.
Optionally, OSPF network types of the router and the gateway are both configured as P2P;
the processing module 804 is specifically configured to:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as an interface IP; and issuing the specified service traffic route to the gateway through the OSPF.
Optionally, the router includes a main router and a standby router, and the main router and the standby router and the gateway both have an OSPF neighbor relationship;
the processing module 804 is specifically configured to:
the main router issues the specified service traffic route to the gateway through OSPF; or when the link between the main router and the gateway is abnormal, the standby router issues the specified service flow to the gateway through OSPF.
Optionally, OSPF network types of the router and the gateway are respectively configured as P2P and P2MP;
the processing module 804 is specifically configured to:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as a loopback address; and issuing the specified service traffic route to the gateway through OSPF.
Optionally, the router includes a main router and a standby router;
the processing module 804 is specifically configured to:
when the link between the main router and the gateway is normal, the loopback address survives in the main router, and the main router and the gateway establish an OSPF neighbor relation; alternatively, the first and second electrodes may be,
when the link between the main router and the gateway is abnormal, the loopback address survives the standby router, and the standby router and the gateway establish OSPF neighbor relation.
Optionally, OSPF network types of the router and the gateway are both configured as P2P;
the processing module 804 is specifically configured to:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as a loopback address; and issuing the specified service traffic route to the gateway through OSPF.
Optionally, the router includes a main router and a standby router;
the processing module 804 is specifically configured to:
when the link between the main router and the gateway is normal, the loopback address survives in the main router, the single-pass state of the tunnel from the standby router to the gateway is adjusted to be closed, and the main router and the gateway establish an OSPF neighbor relation; alternatively, the first and second electrodes may be,
when the link between the main router and the gateway is abnormal, the loopback address survives the standby router, the single-pass state of the tunnel from the standby router to the gateway is adjusted to be open, and the standby router and the gateway establish an OSPF neighbor relation.
Fig. 9 is a schematic structural diagram of a network device provided in another embodiment of the present specification, and referring to fig. 9, the network device may specifically include: a receiving module 901, an allocating module 902 and a processing module 902, wherein:
a receiving module 901, configured to receive a specified service traffic route issued by a router of a service platform, where the specified service traffic route is generated based on route configuration information, and the route configuration information is used to configure the service platform to allocate specified service traffic;
an allocating module 902, configured to allocate a specified service traffic to the router based on the specified service traffic route;
and the processing module 903 is used for enabling other traffic except the specified service traffic to go out of the public network from the firewall.
Therefore, in the embodiment of the present specification, by configuring a dynamic route distribution scheme between a router and a gateway, high-value traffic is screened out and distributed to a service platform, and most of invalid traffic is communicated to a public network, so that consumption of a transmission bandwidth and the service platform is reduced; moreover, the dynamic routing is issued on the service platform side digital communication equipment (namely, ISG router), so that the security is higher, and even if a fault occurs, only the service platform is influenced, and other service platforms in the whole network cannot be influenced; moreover, the flow is shunted according to the IP without charging processing on the service platform side, so that the conflict with the content charging on the SAEGW gateway is avoided; moreover, the dynamic route is issued at the rear end centralized node side, and compared with the configuration of route details at the front end scattered SAEGW/CE nodes, the workload is greatly reduced.
In addition, as for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to part of the description of the method embodiment. Further, it should be noted that, among the respective components of the apparatus of the present specification, the components thereof are logically divided according to the functions to be implemented, but the present specification is not limited thereto, and the respective components may be newly divided or combined as necessary.
Fig. 10 is a schematic structural diagram of a network-side device according to an embodiment of the present disclosure, and referring to fig. 10, the network-side device can implement details of the offloading processing method in the foregoing embodiment, and achieve the same effect. As shown in fig. 10, the network-side device 2600 includes: a processor 2601, a transceiver 2602, a memory 2603, a user interface 2604 and a bus interface, wherein:
in this embodiment of the present invention, the network-side device 2600 further includes: a computer program stored on the memory 2603 and executable on the processor 2601, the computer program when executed by the processor 2601 performing the steps of:
obtaining routing configuration information, wherein the routing configuration information is used for configuring the service platform to distribute appointed service flow;
generating a specified service flow route based on the route configuration information and issuing the specified service flow route to the gateway;
and receiving the specified service flow distributed by the gateway. Alternatively, the first and second electrodes may be,
receiving a designated service flow route issued by a router of a service platform, wherein the designated service flow route is generated based on route configuration information, and the route configuration information is used for configuring the service platform to distribute designated service flow;
based on the designated service flow routing, allocating designated service flow to the router;
and other traffic except the specified service traffic is directly out of the public network from the firewall.
In fig. 10, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 2601, and various circuits, represented by memory 2603, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 2602 may be a plurality of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. For different user devices, the user interface 2604 may also be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 2601 is responsible for managing the bus architecture and general processing, and the memory 2603 may store data used by the processor 2601 in performing operations.
In the embodiment of the invention, the high-value flow is screened out and distributed to the service platform by configuring the dynamic route distribution scheme between the router and the gateway, and most of the invalid flow is communicated to the public network, so that the consumption of the transmission bandwidth and the service platform can be reduced.
Optionally, the computer program when executed by the processor 2603 may further implement the steps of:
the OSPF network types of the router and the gateway are both configured to be P2P;
wherein said issuing to said gateway comprises:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as an interface IP;
and issuing the specified service traffic route to the gateway through the OSPF.
Optionally, the computer program when executed by the processor 2603 may further implement the steps of:
the router comprises a main router and a standby router, and OSPF (open shortest Path first) neighbor relations exist between the main router and the gateway as well as between the standby router and the gateway;
wherein said issuing said specified traffic route to said gateway via OSPF comprises:
the main router issues the specified service traffic route to the gateway through OSPF; alternatively, the first and second electrodes may be,
and when the link between the main router and the gateway is abnormal, the standby router issues the specified service flow to the gateway through OSPF.
Optionally, the computer program when executed by the processor 2603 may further implement the steps of:
the OSPF network types of the router and the gateway are respectively configured as P2P and P2MP;
wherein the issuing to the gateway comprises:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as a loopback address;
and issuing the specified service traffic route to the gateway through OSPF.
Optionally, the computer program when executed by the processor 2603 may further implement the steps of:
the router comprises a main router and a standby router;
wherein, the establishing OSPF neighbor relation with the gateway includes:
when the link between the main router and the gateway is normal, the loopback address survives in the main router, and the main router and the gateway establish an OSPF neighbor relation; alternatively, the first and second electrodes may be,
when the link between the main router and the gateway is abnormal, the loopback address survives the standby router, and the standby router and the gateway establish OSPF neighbor relation.
Optionally, the computer program when executed by the processor 2603 may further implement the steps of:
the OSPF network types of the router and the gateway are both configured to be P2P;
wherein said issuing to said gateway comprises:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as a loopback address;
and issuing the specified service traffic route to the gateway through OSPF.
Optionally, the computer program when executed by the processor 2603 may further implement the steps of:
the router comprises a main router and a standby router;
wherein, the establishing OSPF neighbor relation with the gateway includes:
when the link between the main router and the gateway is normal, the loopback address survives in the main router, the single-pass state of the tunnel from the standby router to the gateway is adjusted to be closed, and the main router and the gateway establish an OSPF neighbor relation; alternatively, the first and second electrodes may be,
when the link between the main router and the gateway is abnormal, the loopback address survives the standby router, the single-pass state of the tunnel from the standby router to the gateway is adjusted to be open, and the standby router and the gateway establish an OSPF neighbor relation.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the foregoing shunting processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing shunting processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, the description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (8)

1. A method for processing a split stream is applied to a router of a service platform, and a route between the router and a gateway is configured as a dynamic route, and the method comprises the following steps:
acquiring routing configuration information, wherein the routing configuration information is used for configuring the service platform to distribute appointed service flow;
generating a specified service flow route based on the route configuration information and issuing the specified service flow route to the gateway;
receiving the designated service flow distributed by the gateway;
the OSPF network types of the router and the gateway are respectively configured as P2P and P2MP, or the OSPF network types of the router and the gateway are both configured as P2P;
wherein the issuing to the gateway comprises:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as a loopback address;
and issuing the specified service traffic route to the gateway through OSPF.
2. The method of claim 1 wherein the OSPF network types of the router and the gateway are each configured as P2P;
wherein said issuing to said gateway comprises:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as an interface IP;
and issuing the specified service traffic route to the gateway through OSPF.
3. The method according to claim 2, wherein the router comprises a primary router and a backup router, and the primary router and the backup router have an OSPF neighbor relation with the gateway;
wherein said issuing said specified traffic route to said gateway via OSPF comprises:
the main router distributes the specified service flow route to the gateway through OSPF; alternatively, the first and second electrodes may be,
and when the link between the main router and the gateway is abnormal, the standby router issues the specified service flow to the gateway through OSPF.
4. The method of claim 1, wherein the router comprises a master router and a backup router;
wherein, the establishing OSPF neighbor relation with the gateway includes:
when the link between the main router and the gateway is normal, the loopback address survives in the main router, and the main router and the gateway establish OSPF neighbor relation; alternatively, the first and second electrodes may be,
when the link between the main router and the gateway is abnormal, the loopback address survives in the standby router, and the standby router and the gateway establish OSPF neighbor relation.
5. The method of claim 1, wherein the router comprises a master router and a backup router;
wherein, the establishing OSPF neighbor relation with the gateway includes:
when the link between the main router and the gateway is normal, the loopback address survives in the main router, the single-pass state of the tunnel from the standby router to the gateway is adjusted to be closed, and the main router and the gateway establish an OSPF neighbor relation; alternatively, the first and second liquid crystal display panels may be,
when the link between the main router and the gateway is abnormal, the loopback address survives the standby router, the single-pass state of the tunnel from the standby router to the gateway is adjusted to be open, and the standby router and the gateway establish an OSPF neighbor relation.
6. A method for processing a split stream, applied to a gateway, includes:
receiving a designated service flow route issued by a router of a service platform, wherein the designated service flow route is generated based on route configuration information, and the route configuration information is used for configuring the service platform to distribute designated service flow;
based on the designated service flow routing, allocating designated service flow to the router;
directly sending other flows except the specified service flow out of the public network from the firewall;
the OSPF network types of the router and the gateway are respectively configured as P2P and P2MP, or the OSPF network types of the router and the gateway are both configured as P2P;
the receiving of the designated service flow router issued by the router of the service platform includes:
establishing an OSPF neighbor relation with the router, wherein the source address of the tunnel of the router is configured to be a loopback address;
and receiving the appointed service traffic route issued by the router of the service platform through the OSPF.
7. A network device, wherein a router applied to a service platform is configured as a dynamic route, and a route between the router and a gateway is configured as a dynamic route, the network device comprising:
the system comprises an acquisition module, a service platform and a service flow distribution module, wherein the acquisition module is used for acquiring routing configuration information which is used for configuring a service platform to distribute specified service flow;
the processing module is used for generating a specified service flow route and issuing the specified service flow route to the gateway based on the route configuration information;
a receiving module, configured to receive the specified service traffic allocated by the gateway;
the processing module is specifically configured to:
establishing OSPF neighbor relation with the gateway, configuring the source address of the tunnel of the router as an interface IP;
and issuing the specified service traffic route to the gateway through OSPF.
8. A network device, applied to a gateway, comprising:
the system comprises a receiving module, a service platform and a service flow distribution module, wherein the receiving module is used for receiving a specified service flow route issued by a router of the service platform, the specified service flow route is generated based on route configuration information, and the route configuration information is used for configuring the service platform to distribute the specified service flow;
the distribution module is used for distributing the specified service flow to the router based on the specified service flow routing;
the processing module is used for enabling other flows except the specified service flow to directly go out of the public network from the firewall;
the OSPF network types of the router and the gateway are respectively configured as P2P and P2MP, or the OSPF network types of the router and the gateway are both configured as P2P;
the receiving module is specifically configured to:
establishing an OSPF neighbor relation with the router, wherein the source address of the tunnel of the router is configured to be a loopback address;
and receiving the appointed service traffic route issued by the router of the service platform through the OSPF.
CN202010269889.9A 2020-04-08 2020-04-08 Shunt processing method and network equipment Active CN113497756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010269889.9A CN113497756B (en) 2020-04-08 2020-04-08 Shunt processing method and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010269889.9A CN113497756B (en) 2020-04-08 2020-04-08 Shunt processing method and network equipment

Publications (2)

Publication Number Publication Date
CN113497756A CN113497756A (en) 2021-10-12
CN113497756B true CN113497756B (en) 2023-04-07

Family

ID=77995487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010269889.9A Active CN113497756B (en) 2020-04-08 2020-04-08 Shunt processing method and network equipment

Country Status (1)

Country Link
CN (1) CN113497756B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915400A (en) * 2016-06-28 2016-08-31 北京神州绿盟信息安全科技股份有限公司 Data stream switching method and system
CN109688062A (en) * 2017-10-19 2019-04-26 中兴通讯股份有限公司 A kind of method for routing and routing device
CN109995714A (en) * 2017-12-29 2019-07-09 中移(杭州)信息技术有限公司 A kind of methods, devices and systems for disposing flow
CN110753137A (en) * 2019-10-25 2020-02-04 浪潮云信息技术有限公司 Method for realizing one-to-one network address translation gateway horizontal extension

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915400A (en) * 2016-06-28 2016-08-31 北京神州绿盟信息安全科技股份有限公司 Data stream switching method and system
CN109688062A (en) * 2017-10-19 2019-04-26 中兴通讯股份有限公司 A kind of method for routing and routing device
CN109995714A (en) * 2017-12-29 2019-07-09 中移(杭州)信息技术有限公司 A kind of methods, devices and systems for disposing flow
CN110753137A (en) * 2019-10-25 2020-02-04 浪潮云信息技术有限公司 Method for realizing one-to-one network address translation gateway horizontal extension

Also Published As

Publication number Publication date
CN113497756A (en) 2021-10-12

Similar Documents

Publication Publication Date Title
US11563602B2 (en) Method and apparatus for providing a point-to-point connection over a network
EP3398068B1 (en) Network redundancy and failure detection
CN107231221B (en) Method, device and system for controlling service flow among data centers
US10148756B2 (en) Latency virtualization in a transport network using a storage area network
KR101846079B1 (en) System for providing virtual customer premises equipment services in a network function virtualization environment, and a network function virtualization cloud for the same
EP2901636B1 (en) Software defined network virtualization utilizing service specific topology abstraction and interface
CN106953788B (en) virtual network controller and control method
US9584369B2 (en) Methods of representing software defined networking-based multiple layer network topology views
CN102821044B (en) Method and device for configuring server cluster
JP2020508022A (en) Scalable advanced packet core
CN109743197B (en) Firewall deployment system and method based on priority configuration
CN109450905B (en) Method, device and system for transmitting data
US7352692B1 (en) Resource reservation scheme for path restoration in an optical network
CN103124240A (en) Gateway configuration method, gateway devices and network system
US7372838B2 (en) GPRS (general packet radio service) system with multiple GGSNS (gateway GPRS supporting nodes) and method for selecting GGSN
CN109088823B (en) Method and device for realizing terminal interconnection
US11943198B2 (en) Method for implementing multiple PDNs between indoor unit and outdoor unit, and storage medium
WO2022017099A1 (en) Communication method, cp device, and nat device
CN106921576B (en) Virtualization system-based data network and management network flow separation method and device
CN108632161B (en) Virtual network function and method for realizing service processing
CN113497756B (en) Shunt processing method and network equipment
CN108271149B (en) Method, equipment and system for migrating user data anchor points
US20170099221A1 (en) Service packet distribution method and apparatus
CN106209634B (en) Learning method and device of address mapping relation
CN110875889B (en) Method and device for acquiring path

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