CN109996309A - A kind of routing traffic drainage system, method, apparatus and medium - Google Patents
A kind of routing traffic drainage system, method, apparatus and medium Download PDFInfo
- Publication number
- CN109996309A CN109996309A CN201810001019.6A CN201810001019A CN109996309A CN 109996309 A CN109996309 A CN 109996309A CN 201810001019 A CN201810001019 A CN 201810001019A CN 109996309 A CN109996309 A CN 109996309A
- Authority
- CN
- China
- Prior art keywords
- forwarded
- flow
- network address
- routing
- route table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/18—Communication route or path selection, e.g. power-based or shortest path routing based on predicted events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/24—Connectivity information management, e.g. connectivity discovery or connectivity update
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of routing traffic drainage system, method, apparatus and media, to guide routing traffic to be forwarded according to correct routed path.The routing traffic drainage system, including DPI equipment and router, in which: the DPI equipment, source network address and purpose network address for judging flow to be forwarded whether there is in pre-stored traffic filtering table;If it is judged that the source network address and purpose network address of flow to be forwarded are present in pre-stored traffic filtering table, then the flow to be forwarded is marked;And next hop router is notified to mark the mark information of the flow to be forwarded;Flow to be forwarded to after next hop router forwarding label;The router, for being forwarded according to the mark information received to the flow of label.
Description
Technical field
The present invention relates to cordless communication network technical field more particularly to a kind of routing traffic drainage systems, method, apparatus
And medium.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this section.
International flow is gone to for the country, operator disposes corresponding network and carries out flow forwarding.With China Mobile
For, CMNET (China Mobile Network) is writing a Chinese character in simplified form for China Mobile Internet, and it is complete to be that China Mobile independently builds
State's property, using broadband internet technology as the teledata basic network of core.CMNET country backbone mesh portions are by ten big nodes
It constitutes, China Mobile's CMNET network can be accessed by CMNET access point, obtain complete Internet access right.CMINET
(China Mobile International Network) is CMNET and state between CMNET and international operator network
The data of border operator, which are exchanged visits, provides channel, while also accessing small operator and the corporate client of surrounding countries.As shown in Figure 1a,
It is CMNet network interconnection structural schematic diagram, is the schematic network structure of CMNET and CMINET as shown in Figure 1 b, different
Network between by EBGP (External Border Gateway Protocol, External BGP) exchange routing
Information.The country, China Mobile goes to international flow, it should all be forwarded to international operator network by CMINET.
But in actual application, inventors have found that due to the Web broadcast world routing etc. of other operator deployments
Reason, the country, China Mobile goes to the international routing forwarding that international partial discharge passes through other operator deployments, such as Fig. 2 institute
Show, causes flow routed path mistake.
Summary of the invention
The embodiment of the present invention provides a kind of routing traffic drainage system, method, apparatus and medium, to guide routing traffic
It is forwarded according to correct routed path.
In a first aspect, providing a kind of routing traffic drainage system, including deep-packet detection DPI equipment and router, in which:
The DPI equipment, source network address and purpose network address for judging flow to be forwarded whether there is in pre-
In the traffic filtering table first stored;If it is judged that the source network address and purpose network address of flow to be forwarded are present in advance
In the traffic filtering table of storage, then the flow to be forwarded is marked;And next hop router is notified to mark the flow to be forwarded
Mark information;Flow to be forwarded to after next hop router forwarding label;
The router, for being forwarded according to the mark information received to the flow of label.
Wherein, the router is also used to send routing table to the DPI equipment and sends message, the routing table transmission
Route table items are carried in message;
The DPI equipment is also used to match the first application service for including in the route table items for each route table items
Device as_path information and preconfigured second as_path information;Filter out the first as_path information and the second as_path information
The route table items matched;For each route table items filtered out, the source network address and purpose net in corresponding route table items are extracted
Network address is added in traffic filtering table.
Wherein, the DPI equipment is also used to for each route table items filtered out, in extracting corresponding route table items
Source network address and before purpose network address is added in traffic filtering table, determine to exist in full dose routing table and reach the sieve
It is identified in the destination path and the destination path of the corresponding target AS of the route table items selected comprising preset AS.
Wherein, the DPI equipment, specifically for if it is judged that flow to be forwarded source network address and purpose network
Location is present in pre-stored traffic filtering table, then the service type TOS value modified in data on flows packet to be forwarded is default
Value.
Second aspect provides a kind of routing traffic drainage method, comprising:
The source network address and purpose network address for judging flow to be forwarded whether there is in pre-stored traffic filtering
In table;
If it is judged that the source network address and purpose network address of flow to be forwarded are present in pre-stored flow mistake
It filters in table, then marks the flow to be forwarded;
Notice next hop router marks the mark information of the flow to be forwarded;
Flow to be forwarded to after next hop router forwarding label.
Optionally, routing traffic drainage method provided in an embodiment of the present invention can obtain the stream according to following below scheme
Measure filter table:
The routing table that receiving router is sent sends message, and the routing table sends in message and carries route table items;
For each route table items, the first application server as_path information for including in the route table items and in advance is matched
Second as_path information of configuration;
Filter out the first as_path information and the matched route table items of the second as_path information;
For each route table items filtered out, the source network address and purpose network address in corresponding route table items are extracted
It is added in traffic filtering table.
Optionally, for each route table items filtered out, the source network address and mesh in corresponding route table items are extracted
Network address be added in traffic filtering table before, further includes:
It determines and there is the destination path for reaching the corresponding target AS of the route table items filtered out in full dose routing table and be somebody's turn to do
It is identified in destination path comprising preset AS.
The third aspect provides a kind of routing traffic drainage method, comprising:
The mark information for receiving the flow to be forwarded that deep-packet detection DPI equipment is sent, wherein the mark information is institute
It states DPI equipment and judges that the source network address of flow to be forwarded and purpose network address are present in pre-stored traffic filtering table
It is sent when middle;
It is forwarded according to flow of the mark information received to label.
Optionally, before the mark information for receiving the flow to be forwarded that DPI equipment is sent, further includes:
Routing table is sent to the DPI equipment and sends message, and the routing table sends in message and carries route table items.
Fourth aspect provides a kind of routing traffic drainage device, comprising:
Judging unit, source network address and purpose network address for judging flow to be forwarded whether there is to be deposited in advance
In the traffic filtering table of storage;
Marking unit, if with judging source network address and the purpose network of flow to be forwarded for the judging unit
Location is present in pre-stored traffic filtering table, then marks the flow to be forwarded;
Notification unit, for notifying next hop router to mark the mark information of the flow to be forwarded;
Retransmission unit, for the flow to be forwarded after being marked to next hop router forwarding.
Optionally, the routing traffic drainage device, further includes:
Receiving unit, the routing table sent for receiving router send message, and the routing table sends in message and carries
There are route table items;
Matching unit matches the first application server AS for including in the route table items for being directed to each route table items
Routing information and preconfigured second as_path information;
Screening unit, for filtering out the first as_path information and the matched route table items of the second as_path information;
Extraction unit, for extracting the source network address in corresponding route table items for each route table items filtered out
It is added in traffic filtering table with purpose network address.
Optionally, the routing traffic drainage device, further includes:
Determination unit extracts corresponding route table items for being directed to each route table items filtered out in the extraction unit
In source network address and purpose network address be added in traffic filtering table before, determine in full dose routing table exist reach should
It is identified in the destination path and the destination path of the corresponding target AS of the route table items filtered out comprising preset AS.
Optionally, the marking unit is default specifically for modifying the service type TOS value in flow packet to be forwarded
Value.
5th aspect, provides a kind of routing traffic drainage device, comprising:
First receiving unit, the mark information of the flow to be forwarded for receiving the transmission of deep-packet detection DPI equipment, wherein
The mark information is that the DPI equipment judges that the source network address of flow to be forwarded and purpose network address are present in advance
It is sent when in the traffic filtering table of storage;
Second receiving unit, for receiving the flow to be forwarded of label;
Flow retransmission unit, for being forwarded according to the mark information received to the flow to be forwarded of label.
Optionally, the routing drainage device, further includes:
Transmission unit, for the receiving unit receive DPI equipment send flow to be forwarded mark information before,
Routing table is sent to the DPI equipment and sends message, and the routing table sends in message and carries route table items.
6th aspect, provides a kind of computing device, including at least one processing unit and at least one storage unit,
Wherein, the storage unit is stored with computer program, when described program is executed by the processing unit, so that the processing
Unit executes step described in any of the above-described method.
7th aspect, provides a kind of computer-readable medium, is stored with the computer program that can be executed by computing device,
When described program is run on the computing device, so that the computing device executes step described in any of the above-described method.
Routing traffic drainage system, method, apparatus and medium provided in an embodiment of the present invention, pass through DPI equipment and routing
Reciprocal between device carried out converting flow according to the source network address and purpose network address of flow by DPI equipment
It filters and marks, and notify router traffic mark information, in this way, after labeled flow reaches router, not according still further to routing
Table is forwarded, but is forwarded processing according to label, thus routing traffic is guided to be turned according to correct routed path
Hair.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation
Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 a is CMNet network interconnection structural schematic diagram in the prior art;
Fig. 1 b is the schematic network structure that CMNET is connect with CMINET in the prior art;
Fig. 2 is that in the prior art, the country removes flow path mistake schematic diagram abroad;
Fig. 3 is the structural schematic diagram of routing traffic drainage system in the embodiment of the present invention;
Fig. 4 is to establish the implementation process diagram of traffic filtering table in the embodiment of the present invention;
Fig. 5 is in the embodiment of the present invention, and DPI equipment implements the implementation process diagram of routing traffic drainage method;
Fig. 6 is the implementation process diagram of router implementation routing traffic drainage method in the embodiment of the present invention;
Fig. 7 is to be set to the structural schematic diagram of the routing traffic drainage device in DPI equipment in the embodiment of the present invention;
Fig. 8 is to be set to the structural schematic diagram of the routing traffic drainage device in router in the embodiment of the present invention;
Fig. 9 is the structural schematic diagram according to the computing device of embodiment of the present invention.
Specific embodiment
In order to guide routing traffic to be forwarded according to correct routed path, the embodiment of the invention provides a kind of routings
Flow drainage system, method, apparatus and medium.
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein
Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this hair
The feature in embodiment and embodiment in bright can be combined with each other.
As shown in figure 3, it is the structural schematic diagram of routing traffic drainage system provided in an embodiment of the present invention, including DPI
(deep-packet detection) equipment 31 and router 32.
When it is implemented, in order to guide routing traffic to be forwarded according to correct path, in the embodiment of the present invention, Ke Yi
A plurality of AS (application server) routing information is pre-configured in DPI equipment, wherein identifying comprising multiple target AS.It is preconfigured
As_path information format is as follows: [9808,4134, *, *], [9808,4837,9929, *], [9808,4134, *, 703], wherein
" * " indicates the AS of a level.Based on this, in the embodiment of the present invention, traffic filtering can be established according to process shown in Fig. 4
Table:
S41, router send routing table to DPI equipment and send message.
Wherein, the routing table sends in message and carries route table items.
In this step, routing table is sent to backbone network by particular message and exports DPI equipment by backbone egress router,
DPI equipment is put in storage one by one according to the routing table received from router.Wherein, routing table sends a kind of possible format of message
It is as shown in table 1 below:
Table 1
Routing table length (Byte) | Routing table item number | Entry 1, entry 2 ... |
S42, DPI equipment are directed to each route table items, match the first application server AS road for including in the route table items
Diameter information and preconfigured second as_path information.
In this step, for each route table items for including in the routing table received, DPI equipment matches the routing one by one
The first as_path information for including in list item (is wrapped with preconfigured second as_path information for the ease of distinguishing in route table items
The as_path information and preconfigured as_path information contained in the embodiment of the present invention, claims the path AS for including in route table items
Information is the first as_path information, and preconfigured as_path information is referred to as the second as_path information).
S43, DPI equipment filter out the first as_path information and the matched route table items of the second as_path information.
It should be noted that when it is implemented, DPI equipment is matching the first as_path information and preconfigured 2nd AS
It when routing information, needs to be matched entirely, i.e., the every AS mark for including in preconfigured second as_path information is required to
Matching, and the hierarchical relationship of each AS mark is also required to match, i.e. the AS hierarchical relationship of " * " expression is correct, determines when completely the same
The two matching.DPI equipment matches every one first as_path information and every one second as_path information one by one, according to matching result,
Export the first as_path information and the matched route table items of the second as_path information.
S44, for each route table items filtered out, extract the source network address and purpose network in corresponding route table items
Address is added in traffic filtering table.
In this step, for each route table items filtered out, DPI equipment extracts corresponding source, mesh in the route table items
Network address will filter out with routing spy that the path AS be mark for example, can be source IP address and purpose IP address
Sign, being converted to IP address is the traffic characteristic identified.
So far, the flow of routed path mistake has been filtered out.Preferably, when it is implemented, for the routing road filtered out
The flow of diameter mistake causes user that can not access in order to avoid the flow path is unreachable, can be in the embodiment of the present invention
For each route table items filtered out, source network address and purpose network address in the corresponding route table items of extraction are added to
Before in traffic filtering table, can also further it judge in full dose routing table with the presence or absence of the arrival route table items pair filtered out
It is identified in the destination path of the target AS answered and the path comprising preset AS., if it is determined that exist in full dose routing table and reaches
It is identified in the destination path and the destination path of the corresponding target AS of the route table items filtered out comprising preset AS, then it can be with
Source network address and the purpose network address extracted in corresponding route table items are added in traffic filtering table.
Specifically, for each route table items filtered out, it can establish new transit route library.It will be in transit route library
The route table items for including are compared with the entry of full dose routing table, check whether there is the destination path for reaching target AS, and
Comprising default AS mark in the destination path, the application scenarios of state's external flux are sent to for the country, presetting AS mark can be CMI
AS mark.It is searched when it is implemented, can be identified by last bit AS+CMI AS as keyword.Thus, it is possible to guarantee to sieve
There are correct path arrival for the flow selected.
Traffic filtering table based on above-mentioned acquisition, in the embodiment of the present invention, DPI equipment can be according to process shown in fig. 5
Carry out routing traffic drainage, comprising the following steps:
S51, the source network address for judging flow to be forwarded and purpose network address whether there is in pre-stored flow
In filter table, if so, executing step S52, otherwise process terminates.
In this step, for flow to be forwarded, judge that the source IP address of the flow and purpose IP address whether there is in pre-
In the traffic filtering table first stored, it is marked if it is, treating converting flow.When it is implemented, can choose three layers of packet
Marker bit in head carries out particular value setting, or increases Optional Field to mark.For example, DPI equipment can modify it is to be forwarded
TOS (service type) value in flow packet is preset value.As shown in table 2, it is a kind of possible signal of marker passing message:
Table 2
Tag field | Mark value |
S52, the label flow to be forwarded.
In this step, DPI equipment notifies the mark informations such as router marking position and mark value of giving a start.
S53, notice next hop router mark the mark information of the flow to be forwarded.
Flow to be forwarded after S54, Xiang Suoshu next hop router forwarding label.
In this step, the flow to be forwarded after label is forwarded to next hop router by DPI equipment, is routed convenient for next-hop
Device is forwarded according to mark information.
Correspondingly, the embodiment of the invention also provides a kind of routing traffic drainage methods of router implementation, such as Fig. 6 institute
Show, may comprise steps of:
S61, the mark information for receiving the flow to be forwarded that deep-packet detection DPI equipment is sent.
Wherein, the mark information is the source network address and purpose network that the DPI equipment judges flow to be forwarded
What address was sent when being present in pre-stored traffic filtering table.
S62, the flow to be forwarded for receiving label.
S63, the flow of label is forwarded according to the mark information received.
In this step, router according in the mark information received in step S61 marker bit and mark value it is to be received
To marked traffic be forwarded.Specifically, after the flow after label reaches backbone domestic export router, router no longer root
It is forwarded according to routing table, but according to its label, flow drainage is directly forwarded to international export router, international export routing
After device is tabled look-up, which is forwarded to CMINET network, by CMINET forwarded to overseas target AS.
When it is implemented, router, which also needs to send routing table to DPI equipment, sends message before executing step S61,
The routing table sends in message and carries route table items.So that DPI equipment sends message wherein according to the routing table received
The route table items of carrying establish traffic filtering table, and then are filtered according to traffic filtering table to flow to be forwarded, specific
Implementation process may refer to the routing traffic drainage method that above-mentioned DPI equipment is implemented, and which is not described herein again.
In routing traffic drainage system provided in an embodiment of the present invention, DPI equipment, for judging the source net of flow to be forwarded
Network address and purpose network address whether there is in pre-stored traffic filtering table;If it is judged that the source of flow to be forwarded
Network address and purpose network address are present in pre-stored traffic filtering table, then mark the flow to be forwarded;And lead to
Know that next hop router marks the mark information of the flow to be forwarded;To the next hop router forwarding label after wait turn
Send out flow;
The router, for being forwarded according to the mark information received to the flow of label.
Wherein, the router is also used to send routing table to the DPI equipment and sends message, the routing table transmission
Route table items are carried in message;
The DPI equipment is also used to match the first application service for including in the route table items for each route table items
Device as_path information and preconfigured second as_path information;Filter out the first as_path information and the second as_path information
The route table items matched;For each route table items filtered out, the source network address and purpose net in corresponding route table items are extracted
Network address is added in traffic filtering table.
Wherein, the DPI equipment is also used to for each route table items filtered out, in extracting corresponding route table items
Source network address and before purpose network address is added in traffic filtering table, determine to exist in full dose routing table and reach the sieve
It is identified in the destination path and the destination path of the corresponding target AS of the route table items selected comprising preset AS.
Wherein, the DPI equipment, specifically for if it is judged that flow to be forwarded source network address and purpose network
Location is present in pre-stored traffic filtering table, then the service type TOS value modified in data on flows packet to be forwarded is default
Value.
Routing traffic drainage method provided in an embodiment of the present invention, by the reciprocal between DPI equipment and router,
Converting flow is filtered and is marked according to the source network address and purpose network address of flow by DPI equipment, and notifies road
By device flow mark information, in this way, be not forwarded according still further to routing table after labeled flow reaches router, but root
It is forwarded processing according to label, thus routing traffic is guided to be forwarded according to correct routed path.
Routing traffic drainage method provided in an embodiment of the present invention, it is few to router solicitation, do not increase router complexity
Policybased routing expense ensure that the efficient forwarding of router, while convenient for safeguarding;Moreover, the structure of DPI equipment determines that it can
A large amount of and detailed transfer Flow Policy can be set in the various traffic policies of efficient process, without influencing the basic of network flow
Forwarding;Enhance DPI and router reasonable cooperation, since DPI does not have the physical condition of multi-wad join, at the same in turn avoid by
DPI directly does the problem of routing forwarding;Flow caused by the routing effectively avoided is unreachable abandons problem, and simultaneously utmostly
It is upper that switching flow is subjected to CMI drainage.
Based on the same inventive concept, one kind is also each provided in the embodiment of the present invention be set to DPI equipment and router
In routing traffic drainage device, since the principle that above-mentioned apparatus solves the problems, such as is similar to routing traffic drainage method, on
The implementation for stating device may refer to the implementation of method, and overlaps will not be repeated.
As shown in fig. 7, it is the structural schematic diagram for the routing traffic drainage device being set in DPI equipment, comprising:
Judging unit 71, source network address and purpose network address for judging flow to be forwarded whether there is in preparatory
In the traffic filtering table of storage;
Marking unit 72, if judging the source network address and purpose network of flow to be forwarded for the judging unit
Address is present in pre-stored traffic filtering table, then marks the flow to be forwarded;
Notification unit 73, for notifying next hop router to mark the mark information of the flow to be forwarded;
Retransmission unit 74, for the flow to be forwarded after being marked to next hop router forwarding.
Optionally, the routing traffic drainage device, further includes:
Receiving unit, the routing table sent for receiving router send message, and the routing table sends in message and carries
There are route table items;
Matching unit matches the first application server AS for including in the route table items for being directed to each route table items
Routing information and preconfigured second as_path information;
Screening unit, for filtering out the first as_path information and the matched route table items of the second as_path information;
Extraction unit, for extracting the source network address in corresponding route table items for each route table items filtered out
It is added in traffic filtering table with purpose network address.
Optionally, the routing traffic drainage device, further includes:
Determination unit extracts corresponding route table items for being directed to each route table items filtered out in the extraction unit
In source network address and purpose network address be added in traffic filtering table before, determine in full dose routing table exist reach should
It is identified in the destination path and the destination path of the corresponding target AS of the route table items filtered out comprising preset AS.
Optionally, the marking unit is default specifically for modifying the service type TOS value in flow packet to be forwarded
Value.
As shown in figure 8, it is the structural schematic diagram for the routing traffic drainage device being set in router, comprising:
First receiving unit 81, the mark information of the flow to be forwarded for receiving the transmission of deep-packet detection DPI equipment,
Described in mark information be that judge that the source network address of flow to be forwarded and purpose network address are present in pre- for the DPI equipment
It is sent when in the traffic filtering table first stored;
Second receiving unit 82, for receiving the flow to be forwarded of label;
Flow retransmission unit 83, for being forwarded according to the mark information received to the flow to be forwarded of label.
Optionally, the routing drainage device, further includes:
Transmission unit, for the receiving unit receive DPI equipment send flow to be forwarded mark information before,
Routing table is sent to the DPI equipment and sends message, and the routing table sends in message and carries route table items.
For convenience of description, above each section is divided by function describes respectively for each module (or unit).Certainly, exist
Implement to realize the function of each module (or unit) in same or multiple softwares or hardware when the present invention.
After the routing traffic drainage method and device for describing exemplary embodiment of the invention, next, introducing
The computing device of another exemplary embodiment according to the present invention.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
In some possible embodiments, it is single can to include at least at least one processing for computing device according to the present invention
Member and at least one storage unit.Wherein, the storage unit is stored with program code, when said program code is described
When processing unit executes, so that the processing unit executes the exemplary implementations various according to the present invention of this specification foregoing description
Step in the routing traffic drainage method of mode.For example, the processing unit can execute step S51 as shown in Figure 5,
The source network address and purpose network address for judging flow to be forwarded whether there is in pre-stored traffic filtering table, if
It is to execute step S52, otherwise process terminates and step S52, the label flow to be forwarded, step S53, notifies next-hop road
The mark information of the flow to be forwarded is marked by device;And step S54, Xiang Suoshu next hop router forwarding label after to
Converting flow.Alternatively, the processing unit can also be performed the step S61 as shown in 6, receive deep-packet detection DPI equipment
The mark information of the flow to be forwarded sent;Step S62, the flow to be forwarded of label is received;Step S63, basis receives
Mark information is forwarded the flow of label.
The computing device 90 of this embodiment according to the present invention is described referring to Fig. 9.The calculating dress that Fig. 9 is shown
Setting 90 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 9, computing device 90 is showed in the form of universal computing device.The component of computing device 90 may include
But be not limited to: at least one above-mentioned processing unit 91, at least one above-mentioned storage unit 92, the different system components of connection (including
Storage unit 92 and processing unit 91) bus 93.
Bus 93 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Storage unit 92 may include the readable medium of form of volatile memory, such as random access memory (RAM)
921 and/or cache memory 922, it can further include read-only memory (ROM) 923.
Storage unit 92 can also include program/utility 925 with one group of (at least one) program module 924,
Such program module 924 includes but is not limited to: operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.
Computing device 90 can also be communicated with one or more external equipments 94 (such as keyboard, sensing equipment etc.), may be used also
Enable a user to the equipment interacted with computing device 90 communication with one or more, and/or with enable the computing device 90
Any equipment (such as router, modem etc.) communicated with one or more of the other calculating equipment communicates.This
Kind communication can be carried out by input/output (I/O) interface 95.Also, computing device 90 can also pass through network adapter 96
With one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.
As shown, network adapter 96 is communicated by bus 93 with other modules for computing device 90.It will be appreciated that though figure
In be not shown, can in conjunction with computing device 90 use other hardware and/or software module, including but not limited to: microcode, equipment
Driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system
Deng.
In some possible embodiments, the various aspects of routing traffic drainage method provided by the invention can also be real
It is now a kind of form of program product comprising program code, it is described when described program product is run on a computing device
The exemplary embodiment party various according to the present invention that program code is used to that the computer equipment to be made to execute this specification foregoing description
Step in the routing traffic drainage method of formula, for example, the computer equipment can execute step S51 as shown in Figure 5,
The source network address and purpose network address for judging flow to be forwarded whether there is in pre-stored traffic filtering table, if
It is to execute step S52, otherwise process terminates and step S52, the label flow to be forwarded, step S53, notifies next-hop road
The mark information of the flow to be forwarded is marked by device;And step S54, Xiang Suoshu next hop router forwarding label after to
Converting flow.Alternatively, the processing unit can also be performed the step S61 as shown in 6, receive deep-packet detection DPI equipment
The mark information of the flow to be forwarded sent;Step S62, the flow to be forwarded of label is received;Step S63, basis receives
Mark information is forwarded the flow of label.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red
The system of outside line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing
(non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The program product for routing traffic drainage of embodiments of the present invention can be read-only using portable compact disc
Memory (CD-ROM) and including program code, and can run on the computing device.However, program product of the invention is unlimited
In this, in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, which can be referred to
Enable execution system, device or device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind --- including local area network (LAN) or extensively
Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (such as utilize Internet service
Provider is connected by internet).
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke
It point is only exemplary not enforceable.In fact, embodiment according to the present invention, it is above-described two or more
The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can
It is to be embodied by multiple units with further division.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or
Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired
As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one
Step is decomposed into execution of multiple steps.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (18)
1. a kind of routing traffic drainage system, which is characterized in that including deep-packet detection DPI equipment and router, in which:
The DPI equipment, source network address and purpose network address for judging flow to be forwarded whether there is to be deposited in advance
In the traffic filtering table of storage;It is stored in advance if it is judged that the source network address and purpose network address of flow to be forwarded are present in
Traffic filtering table in, then mark the flow to be forwarded;And next hop router is notified to mark the mark of the flow to be forwarded
Remember information;Flow to be forwarded to after next hop router forwarding label;
The router, for being forwarded according to the mark information received to the flow of label.
2. routing traffic drainage system as described in claim 1, which is characterized in that
The router is also used to send routing table to the DPI equipment and sends message, carries in the routing table transmission message
There are route table items;
The DPI equipment is also used to match the first application server AS for including in the route table items for each route table items
Routing information and preconfigured second as_path information;It filters out the first as_path information and the second as_path information is matched
Route table items;For each route table items filtered out, with extracting source network address and the purpose network in corresponding route table items
Location is added in traffic filtering table.
3. system as claimed in claim 2, which is characterized in that
The DPI equipment is also used to for each route table items filtered out, with extracting the source network in corresponding route table items
Before location and purpose network address are added in traffic filtering table, determine in full dose routing table there is the arrival routing filtered out
It is identified in the destination path and the destination path of the corresponding target AS of list item comprising preset AS.
4. system as claimed in claim 1,2 or 3, which is characterized in that
The DPI equipment, specifically for if it is judged that the source network address and purpose network address of flow to be forwarded are present in
In pre-stored traffic filtering table, then modifying the service type TOS value in data on flows packet to be forwarded is preset value.
5. a kind of routing traffic drainage method characterized by comprising
The source network address and purpose network address for judging flow to be forwarded whether there is in pre-stored traffic filtering table;
If it is judged that the source network address and purpose network address of flow to be forwarded are present in pre-stored traffic filtering table
In, then mark the flow to be forwarded;
Notice next hop router marks the mark information of the flow to be forwarded;
Flow to be forwarded to after next hop router forwarding label.
6. method as claimed in claim 5, which is characterized in that obtain the traffic filtering table according to following below scheme:
The routing table that receiving router is sent sends message, and the routing table sends in message and carries route table items;
For each route table items, matches the first application server as_path information for including in the route table items and be pre-configured with
The second as_path information;
Filter out the first as_path information and the matched route table items of the second as_path information;
For each route table items filtered out, the source network address in corresponding route table items and the addition of purpose network address are extracted
Into traffic filtering table.
7. method as claimed in claim 6, which is characterized in that for each route table items filtered out, extract corresponding road
By the source network address in list item and before purpose network address is added in traffic filtering table, further includes:
Determine the destination path and the target for existing in full dose routing table and reaching the corresponding target AS of the route table items filtered out
It is identified in path comprising preset AS.
8. the method as described in claim 5,6 or 7, which is characterized in that the label flow to be forwarded specifically includes:
Modifying the service type TOS value in flow packet to be forwarded is preset value.
9. a kind of routing traffic drainage method characterized by comprising
The mark information for the flow to be forwarded that deep-packet detection DPI equipment is sent is received, wherein the mark information is the DPI
When equipment judges that the source network address of flow to be forwarded and purpose network address are present in pre-stored traffic filtering table
It sends;
Receive the flow to be forwarded of label;
It is forwarded according to be forwarded flow of the mark information received to label.
10. method as claimed in claim 9, which is characterized in that in the label letter for receiving the flow to be forwarded that DPI equipment is sent
Before breath, further includes:
Routing table is sent to the DPI equipment and sends message, and the routing table sends in message and carries route table items.
11. a kind of routing traffic drainage device characterized by comprising
Judging unit, source network address and purpose network address for judging flow to be forwarded whether there is in pre-stored
In traffic filtering table;
Marking unit, if judging that the source network address of flow to be forwarded and purpose network address are deposited for the judging unit
It is in pre-stored traffic filtering table, then marks the flow to be forwarded;
Notification unit, for notifying next hop router to mark the mark information of the flow to be forwarded;
Retransmission unit, for the flow to be forwarded after being marked to next hop router forwarding.
12. device as claimed in claim 11, which is characterized in that further include:
Receiving unit, the routing table sent for receiving router send message, and the routing table sends in message and carries road
By list item;
Matching unit matches the first application server AS path for including in the route table items for being directed to each route table items
Information and preconfigured second as_path information;
Screening unit, for filtering out the first as_path information and the matched route table items of the second as_path information;
Extraction unit, for extracting the source network address and mesh in corresponding route table items for each route table items filtered out
Network address be added in traffic filtering table.
13. device as claimed in claim 12, which is characterized in that further include:
Determination unit is extracted in corresponding route table items for being directed to each route table items filtered out in the extraction unit
Before source network address and purpose network address are added in traffic filtering table, determine in full dose routing table there is the arrival screening
It is identified in the destination path and the destination path of the corresponding target AS of route table items out comprising preset AS.
14. the device as described in claim 11,12 or 13, which is characterized in that
The marking unit is preset value specifically for the service type TOS value modified in flow packet to be forwarded.
15. a kind of routing traffic drainage device characterized by comprising
First receiving unit, the mark information of the flow to be forwarded for receiving the transmission of deep-packet detection DPI equipment, wherein described
Mark information is judged that the source network address of flow to be forwarded and purpose network address are present in for the DPI equipment and is stored in advance
Traffic filtering table in when send;
Second receiving unit, for receiving the flow to be forwarded of label;
Flow retransmission unit, for being forwarded according to the mark information received to the flow to be forwarded of label.
16. device as claimed in claim 15, which is characterized in that further include:
Transmission unit, for the receiving unit receive DPI equipment send flow to be forwarded mark information before, to institute
It states DPI equipment and sends routing table transmission message, the routing table sends in message and carries route table items.
17. a kind of computing device, including at least one processing unit and at least one storage unit, wherein the storage is single
Member is stored with computer program, when described program is executed by the processing unit, so that the processing unit perform claim is wanted
The step of seeking 1~8 any claim the method.
18. a kind of computer-readable medium is stored with the computer program that can be executed by computing device, when described program is being counted
When being run on calculation device, so that the step of computing device perform claim requires 1~8 any the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810001019.6A CN109996309B (en) | 2018-01-02 | 2018-01-02 | Routing flow drainage system, method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810001019.6A CN109996309B (en) | 2018-01-02 | 2018-01-02 | Routing flow drainage system, method, device and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109996309A true CN109996309A (en) | 2019-07-09 |
CN109996309B CN109996309B (en) | 2020-10-02 |
Family
ID=67128210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810001019.6A Active CN109996309B (en) | 2018-01-02 | 2018-01-02 | Routing flow drainage system, method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109996309B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112448862A (en) * | 2019-09-05 | 2021-03-05 | 中国移动通信有限公司研究院 | Traffic processing method, device and equipment and computer readable storage medium |
CN113595936A (en) * | 2021-08-03 | 2021-11-02 | 中国电信股份有限公司 | Flow monitoring method, gateway equipment and storage medium |
CN114710433A (en) * | 2021-12-03 | 2022-07-05 | 航天科工网络信息发展有限公司 | Intelligent routing method, device and network equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119322A (en) * | 2007-09-11 | 2008-02-06 | 杭州华三通信技术有限公司 | Packet processing method and node equipment in MESH network |
CN101594658A (en) * | 2009-07-10 | 2009-12-02 | 浙江大学 | 802.11 multi-interface wideband wireless mesh network method for routing |
US20130308468A1 (en) * | 2012-05-18 | 2013-11-21 | Renesys | Path reconstruction and interconnection modeling (prim) |
US20150092540A1 (en) * | 2013-09-30 | 2015-04-02 | Broadcom Corporation | System and Method for Traffic Offload |
CN106603413A (en) * | 2015-10-14 | 2017-04-26 | 中兴通讯股份有限公司 | Method and device for transmitting traffics through specified path |
CN107294859A (en) * | 2016-04-13 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of information transmitting methods, apparatus and system |
-
2018
- 2018-01-02 CN CN201810001019.6A patent/CN109996309B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119322A (en) * | 2007-09-11 | 2008-02-06 | 杭州华三通信技术有限公司 | Packet processing method and node equipment in MESH network |
CN101594658A (en) * | 2009-07-10 | 2009-12-02 | 浙江大学 | 802.11 multi-interface wideband wireless mesh network method for routing |
US20130308468A1 (en) * | 2012-05-18 | 2013-11-21 | Renesys | Path reconstruction and interconnection modeling (prim) |
US20150092540A1 (en) * | 2013-09-30 | 2015-04-02 | Broadcom Corporation | System and Method for Traffic Offload |
CN106603413A (en) * | 2015-10-14 | 2017-04-26 | 中兴通讯股份有限公司 | Method and device for transmitting traffics through specified path |
CN107294859A (en) * | 2016-04-13 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of information transmitting methods, apparatus and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112448862A (en) * | 2019-09-05 | 2021-03-05 | 中国移动通信有限公司研究院 | Traffic processing method, device and equipment and computer readable storage medium |
CN112448862B (en) * | 2019-09-05 | 2022-08-30 | 中国移动通信有限公司研究院 | Traffic processing method, device and equipment and computer readable storage medium |
CN113595936A (en) * | 2021-08-03 | 2021-11-02 | 中国电信股份有限公司 | Flow monitoring method, gateway equipment and storage medium |
CN113595936B (en) * | 2021-08-03 | 2022-09-20 | 中国电信股份有限公司 | Flow monitoring method, gateway equipment and storage medium |
CN114710433A (en) * | 2021-12-03 | 2022-07-05 | 航天科工网络信息发展有限公司 | Intelligent routing method, device and network equipment |
CN114710433B (en) * | 2021-12-03 | 2024-07-05 | 航天科工网络信息发展有限公司 | Intelligent routing method, device and network equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109996309B (en) | 2020-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105024985B (en) | A kind of message processing method and device | |
CN105191215B (en) | The method and apparatus that data plane for bi-directional service chain learns | |
CN105871602B (en) | A kind of control method, device and system counting flow | |
EP2252011B1 (en) | Scalable routing policy construction using dynamic redefinition of routing preference value | |
CN106921572B (en) | A kind of method, apparatus and system for propagating qos policy | |
CN107026791A (en) | VPN vpn service optimization method and equipment | |
CN106464522A (en) | A method and system for network function placement | |
WO2020073685A1 (en) | Forwarding path determining method, apparatus and system, computer device, and storage medium | |
CN102857491A (en) | Management schemes for filter sets | |
CN102301663A (en) | Message processing method and associated devices | |
CN107733795B (en) | Ethernet virtual private network EVPN and public network intercommunication method and device | |
CN108377262A (en) | Manage the method for the service chaining at the network equipment, the corresponding network equipment | |
CN105337881A (en) | Data message processing method, service node and stream guiding point | |
CN109996309A (en) | A kind of routing traffic drainage system, method, apparatus and medium | |
CN106487537A (en) | Business chain implementation method and policy control platform | |
CN105991441B (en) | The method and apparatus that route forwarding table is issued to BGP Route Selection | |
CN108881328A (en) | Packet filtering method, device, gateway and storage medium | |
CN105264844A (en) | Routing method, apparatus and device in software defined network | |
CN103036810A (en) | Outer network access control method based on multiple outer network exits and access equipment | |
KR20130101618A (en) | System and method for operating network based on network virtualization | |
CN107968849B (en) | Method and device for network private line connection | |
CN107360089A (en) | A kind of method for routing foundation, business datum conversion method and device | |
JP6222505B2 (en) | Method and apparatus for generating input parameters | |
CN105357332B (en) | A kind of method for network address translation and device | |
CN105100300B (en) | Method and device for converting network address into NAT |
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 |