CN108512714A - A kind of message transmitting method, relevant device and system - Google Patents

A kind of message transmitting method, relevant device and system Download PDF

Info

Publication number
CN108512714A
CN108512714A CN201710112958.3A CN201710112958A CN108512714A CN 108512714 A CN108512714 A CN 108512714A CN 201710112958 A CN201710112958 A CN 201710112958A CN 108512714 A CN108512714 A CN 108512714A
Authority
CN
China
Prior art keywords
address
hop
request message
network element
traffic management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710112958.3A
Other languages
Chinese (zh)
Other versions
CN108512714B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710112958.3A priority Critical patent/CN108512714B/en
Publication of CN108512714A publication Critical patent/CN108512714A/en
Application granted granted Critical
Publication of CN108512714B publication Critical patent/CN108512714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses message transmitting method, relevant device and system, user gateway receives request message;Wherein, request message carries five-tuple;User gateway is inquired in conversational list whether there is and the associated positive next-hop ip address of the five-tuple of request message;If it has not, user gateway obtains the source MAC of request message;User gateway inquires session and keeps in table whether there is and the associated positive next-hop ip address of source IP address;If it is, request message is sent to the user port for the traffic management network element that positive next-hop ip address indicates by user gateway.Using the embodiment of the present invention, the flow of user can accurately be monitored.

Description

A kind of message transmitting method, relevant device and system
Technical field
The present invention relates to a kind of communications field more particularly to message transmitting method, relevant device and systems.
Background technology
With the growth of portfolio and number of users in internet, the growth rate of the flow in network is getting faster, It needs accurately to count the internet behavior of each user in currently existing scheme, such as:Need the surf time to user It is counted with the flow of consumption, the scheme that current scheme counts the flow of user is:User gateway is according to message Source IP address select to forward the packet on which traffic management network element, the traffic management network element of selection forwards the message to Internet gateway, internet gateway forward the message to the server in network according to the purpose IP address of message;Internet gateway receives Server send response message, according to response the purpose IP address of message forward the packet to corresponding traffic management network element On, response message is sent to user gateway by traffic management network element, and user gateway forwards response message according to purpose IP address Onto corresponding terminal.By the above-mentioned means, ensuring that the positive flow of same subscriber and reverse flow all pass through identical flow Managed network element, to realize the accurate statistics to customer flow.
Applicant have discovered that user is in the case where the IP address of terminal changes, such as DHCP (Dynamic Host Configuration Protocol, dynamic host configuration protocol, abbreviation DHCP) in scene, the same IP address may It can be used by multiple terminals, then the scheme for counting terminal flow according to the IP address of terminal this at present has inaccurate ask Topic.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of message transmitting method, and realizing can user Flow is accurately counted.
In a first aspect, this application provides a kind of message transmitting method, message transmitting method is applied to flow management system, Flow management system includes user gateway, multiple traffic management network elements and internet gateway, and each traffic management network element is for monitoring The internet behavior of user, such as monitor the online duration and consumed flow of user.Each traffic management network element includes user port With internet port, user port indicates that the port between traffic management network element and user gateway, internet port indicate traffic management Port between network element and internet gateway.Wherein, server is known as forward direction in terminal to internet in the application, it is corresponding eventually It is positive message to hold the message sent out;The direction of server to terminal is referred to as reversed, and the message that corresponding server is sent out is anti- To message.The message transmitting method of the application includes:User gateway receives the request message that terminal is sent, and is carried in request message Five-tuple, five-tuple include source IP address, purpose IP address, source port number, destination slogan and protocol type, in user gateway It can be previously provided with conversational list, be stored with five-tuple and positive next-hop ip address in each list item of conversational list, in conversational list Positive next-hop ip address be multiple traffic management network elements user port IP address.Meanwhile it also being stored in user gateway There is a session holding table, each list item is stored with MAC Address and positive next-hop ip address in session holding table, and session is kept in table Positive next-hop ip address indicate the IP address of the user port of some traffic management network element in multiple traffic management network elements.With Family gateway receives the request message that terminal is sent, and request message carries five-tuple, and whether user gateway is inquired in conversational list deposits It is asked herein with the associated positive next-hop ip address of five-tuple if it has not, user gateway determines the source MAC of request message Ask the source MAC of message be send request message terminal MAC Address, user gateway inquired in session holding table whether In the presence of with the associated positive next-hop ip address of source MAC, protected in session if it is, request message is sent to by user gateway Hold the user port of the traffic management network element for the positive next-hop ip address instruction inquired in table.
Implement above-described embodiment, user gateway is in the request message for receiving terminal transmission, according to the five-tuple of request message Associated positive next-hop ip address is inquired in conversational list, or table is kept in session according to the source MAC of request message The middle associated positive next-hop ip address of inquiry, may insure that the flow of same user passes through identical traffic management net in this way Member realizes the accurate monitoring to customer flow.
In a kind of possible embodiment of first aspect, user gateway inquires and request message in conversational list In the case of the associated positive next-hop ip address of five-tuple, request message is sent to the flowtube of next-hop ip address instruction Manage the user port of network element.
In a kind of possible embodiment of first aspect, user gateway during conversational list and session keep table after inquiring It was found that in the case of associated positive next-hop ip address is not present, user gateway is according to preset Diffluence Algorithm from multiple streams It measures and determines one target flow managed network element of selection in managed network element, and determine the user port of target flow managed network element IP address, using the IP address as positive next-hop ip address.A list item is created in conversational list, by five yuan of request message It is stored in newly-built list item after group and positive IP address binding;User gateway creates a list item in session keeps table, will The source MAC of request message and positive next-hop IP are stored in newly-built list item.
In a kind of possible embodiment of first aspect, user gateway receives some in multiple traffic management network elements and flows The response message that managed network element is sent is measured, the five-tuple of message is inquired in conversational list with the presence or absence of associated reversed according to response Next-hop ip address, if it is, response message is sent to terminal according to the instruction of the reversed next-hop ip address inquired;If It is no, abandons response message.
Second aspect, this application provides a kind of message transmitting methods, including:
Internet gateway receives some traffic management network element in multiple traffic management network elements and sends request report by internet port Text, request message carry five-tuple, and internet gateway is inquired in conversational list with the presence or absence of associated with the five-tuple of request message Positive next-hop ip address, positive next-hop ip address indicates the IP address of server in internet, if it is, according to downward Request message is forwarded to corresponding server in internet by the instruction of one hop IP address.
In a kind of possible embodiment of second aspect, internet gateway is inquired to be not present in conversational list and be reported with request In the case of the associated positive next-hop ip address of five-tuple of text, looked into the routing table according to the purpose IP address of request message Associated positive next-hop ip address is ask, is forwarded to request message mutually according to the instruction of the positive next-hop ip address inquired Corresponding server in networking.Meanwhile internet gateway obtains the source MAC of request message, source MAC herein is flow The MAC Address of the internet port of managed network element, internet gateway can utilize the anti-internet port for looking into traffic management network element of ARP protocol IP address, internet gateway create list item in conversational list, by the five-tuple of request message, positive next-hop ip address and it is reversed under One hop IP address is stored in after being bound in the list item of establishment.
In a kind of possible embodiment in conjunction with second aspect, internet gateway receives the response message that network side returns, The five-tuple of internet gateway message according to response is inquired in conversational list whether there is associated reversed next-hop ip address, if It is that response message is sent to the internet port of the traffic management network element of reversed next-hop ip address instruction;If it has not, Internet It closes and abandons the response message.
The third aspect, this application provides a kind of maintaining methods of traffic management network element list, including:User gateway is associated with There are multiple traffic management network elements, user gateway is that the user port of each traffic management network element distributes IP address, according to each stream The IP address of the MAC Address and distribution of measuring the user port of managed network element generates user port list.User gateway is each stream The internet port assignment IP address for measuring managed network element, according to the MAC Address of the internet port of each traffic management network element and distribution IP address generate internet port list, user gateway and internet gateway are not aware that user on each traffic management network element at this time The mapping relations of port and internet port, therefore user gateway initiates detection, the mistake of detection to traffic management network element to be detected Journey includes:User gateway sends the probe requests message to traffic management network element, and the source IP address of the probe requests message is user network The IP address of pass, purpose IP address are the IP address of internet gateway, and positive next-hop ip address is traffic management net to be detected The IP address of the user port of member, user gateway are sent out the probe requests message by user port according to positive next-hop ip address Traffic management network element is given, the probe requests message is sent to internet gateway, Internet by traffic management network element by internet port The source MAC for obtaining the probe requests message received is closed, the source MAC of the probe requests message is stream to be detected at this time The MAC Address of the internet port of managed network element is measured, user gateway corresponds to internet port according to the anti-source MAC of looking into of ARP protocol IP address, the IP address are the IP address of the internet port of traffic management network element to be detected, and internet gateway is returned to user gateway The IP address and MAC Address of the internet port of regurgitant volume managed network element, user gateway judge the MAC carried in the probe requests message Whether address and IP address are located in internet port list, if it is, user gateway establishes traffic management network element to be detected The binding relationship of user port and internet port, and binding relationship is notified to internet port.According to above-mentioned detection method, use Family gateway can detect the binding relationship of user port and internet port on each traffic management network element.
Fourth aspect, this application provides a kind of user gateway, which, which has, realizes user network in the above method The function of pass behavior.The function can also execute corresponding software realization by hardware realization by hardware.It is described hard Part or software include one or more modules corresponding with above-mentioned function.
In a kind of possible realization method, the user gateway includes:
In alternatively possible realization method, the user gateway includes:Receiver, transmitter, memory and processor; Wherein, batch processing code is stored in the memory, and the processor is for calling the program stored in the memory Code executes the message transmitting method in first aspect, the third aspect, each possible embodiment of first aspect.
Based on same inventive concept, the principle and advantageous effect that are solved the problems, such as due to the device may refer to above-mentioned respectively may be used The method embodiment and caused advantageous effect of the user gateway of energy, therefore the implementation of the device may refer to method Implement, overlaps will not be repeated.
The 5th aspect of the application has been carried for a kind of computer readable storage medium, in the computer readable storage medium It is stored with instruction, when run on a computer so that it is each that computer executes first aspect, the third aspect, first aspect Message transmitting method in possible embodiment.
The another aspect of the application provides a kind of computer program product including instruction, when it runs on computers When so that computer executes the message transmissions side in first aspect, the third aspect, each possible embodiment of first aspect Method.
6th aspect, this application provides a kind of internet gateway, which, which has, realizes Internet in the above method The function of pass behavior.The function can also execute corresponding software realization by hardware realization by hardware.It is described hard Part or software include one or more modules corresponding with above-mentioned function.
In a kind of possible realization method, the internet gateway includes:
In alternatively possible realization method, the internet gateway includes:Receiver, transmitter, memory and processor; Wherein, batch processing code is stored in the memory, and the processor is for calling the program stored in the memory Code executes the message transmitting method in second aspect and each possible embodiment of second aspect.
Based on same inventive concept, the principle and advantageous effect that are solved the problems, such as due to the device may refer to above-mentioned respectively may be used The method embodiment and caused advantageous effect of the user gateway of energy, therefore the implementation of the device may refer to method Implement, overlaps will not be repeated.
The 7th aspect of the application has been carried for a kind of computer readable storage medium, in the computer readable storage medium It is stored with instruction, when run on a computer so that computer executes above-mentioned second aspect and each of second aspect can The message transmitting method of energy.
The another aspect of the application provides a kind of computer program product including instruction, when it runs on computers When so that computer executes each possible message transmitting method of above-mentioned second aspect and second aspect.
The another aspect of the application provides a kind of fee collecting system, including user gateway, multiple traffic management network elements With internet gateway;
User gateway, for receiving request message;Inquiry whether there is and request message in the conversational list of user gateway The associated positive next-hop ip address of five-tuple;If it has not, obtaining the source MAC of request message, user gateway is inquired Session keeps in table whether there is and the associated positive next-hop ip address of source IP address;If it is, request message is sent to The user port of the traffic management network element of positive next-hop ip address instruction;The traffic management net of positive next-hop ip address instruction Member belongs to multiple traffic management network elements;
Traffic management network element, for passing through internet port by user port reception request message, and by request message It is sent to internet gateway;
Internet gateway, the request message for receiving the forwarding of traffic management network element;It is inquired in the conversational list of internet gateway With the presence or absence of with the associated positive next-hop ip address of five-tuple;If it has not, inquiry request message is downward in the routing table One hop IP address;The source MAC for obtaining request message, inquires to obtain traffic management net according to the source MAC of request message The IP address of member, the IP address that inquiry is obtained store in the table entry, as reversed next-hop ip address;In internet meeting List item is created in words table, wound is stored in after five-tuple, positive next-hop ip address and reversed next-hop ip address are bound In the list item built.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly or in background technology below will be implemented the present invention Attached drawing illustrates needed in example or background technology.
Fig. 1 is a kind of configuration diagram of fee collecting system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of message transmitting method provided in an embodiment of the present invention;
Fig. 3 is a kind of another flow diagram of message transmitting method provided in an embodiment of the present invention;
Fig. 4 is a kind of another flow diagram of message transmitting method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram of the port detection of traffic management network element provided in an embodiment of the present invention;
Fig. 6 is a kind of concrete example of the port detection of traffic management network element provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of user gateway provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of internet gateway provided in an embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention is described with reference to the attached drawing in the embodiment of the present invention.
Fig. 1 be the present embodiments relate to a kind of fee collecting system configuration diagram, the communication system includes m A terminal, access net, user gateway, n traffic management network element, internet gateway and k server, m, n and k are whole more than 1 Number.Each traffic management network element is used for the flow of monitor terminal in n traffic management network element, such as:When the online of monitor terminal Length, consumed flow, data network types etc..Each traffic management network element is provided with user port and internet port, user port Indicate the interface adjacent with terminal, Network Node Interface indicates the port being connected with server, for each traffic management network element, user The IP address and MAC Address of port and internet port can differ.Terminal is by accessing net and user gateway, in the application Access net including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM net) is accessed, CDMA (Code Division Multiple Access, CDMA) system access net, wideband code division are more Net, worldwide interoperability for microwave accesses are accessed in location (Wideband Code Division MultipleAccess, WCDMA) (Worldwide Interoperability for Microwave Access, WiMAX) accesses net, long term evolution (long Term evolution, LTE) access net, or follow-up evolution access net.
Terminal in the application is a kind of equipment with wireless communication function, can be the hand with wireless communication function Holding equipment, mobile unit, wearable device, computing device or the other processing equipments etc. for being connected to radio modem. Terminal can be called different titles in different networks, such as:User equipment, access terminal, subscriber unit, subscriber station, shifting Dynamic station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless telecom equipment, user agent or use Family device, cellular phone, wireless phone, session initiation protocol (Session Initiation Protocol, SIP) phone, nothing Line local loop (Wireless Local Loop, WLL) stands, personal digital assistant (Personal Digital Assistant, PDA), the terminal etc. in 5G networks or future evolution network.
Access net in the application includes the equipment for providing wireless communication function, according to the difference of access network type, Access net in equipment include but not limited to:Base station (such as:BTS (Base Transceiver Station, BTS), node B (NodeB, NB), evolved base station B (Evolutional Node B, eNB or eNodeB), the transmission node in NR systems or receipts Send out point (transmission reception point, TRP either TP) or next-generation node B (generation nodeB, GNB), the base station in future communications network or the network equipment), relay station, access point, mobile unit, wearable device, it is wireless to protect The very website of (Wireless-Fidelity, Wi-Fi), wireless backhaul node, small station, micro- station etc..
It should be noted that the user gateway of the application and internet gateway are gone back in addition to the centralized deployment in Fig. 1 can be used The mode of distributed deployment may be used, i.e. user gateway includes that multiple subnets close, the end of each sub- gateway management different range End.Internet gateway includes that multiple subnets close, the server of each word gateway management different range.
It should be noted that the m traffic management network element of the application can be divided into three ponds:Primary pond, standby pool and event Hinder pond, primary pond includes the traffic management network element of work at present, is ready for use on the traffic management net that pond has included backup effect Member, failure pond include the traffic management network element to break down.What some traffic management network element in primary pond broke down In the case of, which is moved on in failure pond, while some traffic management network element immigration in standby pool is primary Chi Zhong.When the fault recovery of some traffic management network element in failure pond, which is moved into standby pool. Wherein, user gateway can detect the health of the traffic management network element to the mode of traffic management network element transmission the probe requests message State:If receiving the corresponding detection response message of the probe requests message in preset duration, show that traffic management network element is Normal condition;If not receiving the corresponding detection response message of the probe requests message in preset duration, show traffic management Network element is malfunction.
Fig. 2 is referred to, Fig. 2 is a kind of flow diagram of message transmitting method provided in an embodiment of the present invention, this method Including but not limited to following steps:
S201, the request message that terminal is sent is received.
Specifically, terminal sends request message by accessing net to corresponding user gateway, and request message can be terminal In application program generate.User gateway receives the request message that terminal is sent, and request message carries five-tuple, five-tuple packet Source IP address, purpose IP address, source port number, destination slogan and protocol type are included, source IP address indicates the IP address of terminal, Purpose IP address indicates that the IP address of server in internet, source port number indicate that terminal sends the sequence of the port of request message Number, destination slogan indicates to receive the port serial number of request message on server, and protocol type indicates the association of transmission request message The type of view, protocol type include but not limited to the IP agreements such as TCP and UDP.Wherein, except including five-tuple in request message, also May include source MAC, source MAC indicates the MAC Address of a upper neighbouring device for user gateway.
S202, inquiry whether there is and the associated positive next-hop ip address of the five-tuple of request message in conversational list.
Specifically, conversational list can be previously provided in user gateway, conversational list includes multiple list items, each list item storage There are five-tuple and positive next-hop ip address, user gateway determines the five-tuple carried in request message, according to five-tuple in meeting It talks about inquiry in table to whether there is and the associated list item of five-tuple, and if it exists, determine downward one stored in the list item that inquires Hop IP address executes S203.If the associated list item of five-tuple is not present in conversational list, S204 is executed.
S203, request message is sent to by traffic management network element according to the positive next-hop ip address recorded in conversational list User port.
Specifically, user gateway determines corresponding traffic management net according to the positive next-hop ip address inquired in S202 Request message is sent to the user port of the traffic management network element by member.
S204, inquiry whether there is and the associated positive next-hop of the source MAC of request message in session keeps table IP address.
Specifically, user gateway is previously provided with session holding table, it includes multiple list items, each list item that session, which keeps table, It is stored with source MAC and positive next-hop ip address, user gateway inquiry in session keeps table is reported with the presence or absence of with request The associated list item of source MAC of text, and if it exists, determine the positive next-hop ip address inquired in the list item inquired, hold Row S205.If session keeps the associated list item of source MAC that request message is not present in table, S206 is executed.Wherein, request report The source MAC of text indicates the MAC Address of a upper adjacent equipment for user gateway, such as the source MAC of request message For the MAC Address of terminal.
S205, request message is sent to by traffic management net according to the positive next-hop ip address recorded in session holding table The user port of member.
Specifically, user gateway determines corresponding traffic management net according to the positive next-hop ip address that S204 is inquired Request message is sent on the user port of determining traffic management network element by member, user gateway.
S206, a target flow managed network element is selected from multiple traffic management network elements according to preset Diffluence Algorithm, The IP address for determining the user port of target flow managed network element, as the positive next-hop IP of request message using the IP address Location.
Specifically, user gateway gives the user port and net of each traffic management network element in multiple traffic management network elements in advance Border port assignment IP address, the method for distributing IP address include but not limited to static IP distribution method or dynamic IP allocation side Method.User gateway selects a target flow managed network element according to preset Diffluence Algorithm from multiple traffic management network elements, really Set the goal traffic management network element user port IP address, as the positive next-hop IP of request message using the IP address Location.
Optionally, multiple traffic management network elements are numbered according to 1,2,3 ... in advance, and user gateway obtains request message Five-tuple, will five-tuple carry out Hash operation after obtain a cryptographic Hash, by obtained cryptographic Hash and multiple traffic management nets The quantity of member carries out modulus, by the serial number that obtained modulus value is target flow managed network element.
Optionally, in the case where request message carries the addresses IPv4 and the addresses IPv6 simultaneously, user gateway is according to request The source MAC of message carries out Hash operation and obtains a cryptographic Hash, by obtained cryptographic Hash and multiple traffic management network elements Quantity carries out modulus, using obtained modulus value as the serial number of target flow managed network element.
Optionally, in the case where request message only carries the addresses IPv4 or the addresses IPv6, user gateway is reported according to request The source IP address of text carries out Hash operation and obtains a cryptographic Hash, by the quantity of obtained cryptographic Hash and multiple traffic management network elements Modulus is carried out, using obtained modulus value as the serial number of target flow managed network element.
S207, request message is sent according to determining positive next-hop ip address.
Specifically, request message is sent to corresponding stream by user gateway according to the positive next-hop ip address that S206 is determined On the user port for measuring managed network element.
S208, list item is created in conversational list, will be stored in after five-tuple and the positive next-hop ip address determined binding In the list item of establishment.
Specifically, user gateway creates a list item in conversational list, the five-tuple of request message and S206 are determined Positive next-hop ip address is stored in the list item of establishment, and the five-tuple stored in the list item and positive next-hop ip address have Binding relationship.
S209, list item is created in session holding table, by the source MAC of request message and the positive next-hop IP determined It is stored in the list item of establishment after address binding.
Specifically, user gateway creates a list item in session keeps table, the source MAC of request message is obtained, this The source MAC of the request message at place is the MAC Address of terminal, the forward direction that the source MAC of request message and S206 are determined Next-hop ip address is stored in after being bound in the list item of establishment.
In embodiments of the present invention, traffic management network element receives the request message that user gateway is sent by user port, The internet business that the terminal for sending out request message can be counted carries out charging, such as is counted according to surfing flow or online duration Take, request message is forwarded to corresponding internet port by traffic management network element, and request message is sent to net by internet port Border gateway.In the case where internet gateway is distributed deployment, traffic management network element can be according to preset rules by request message It is sent to corresponding internet gateway, such as:It is sent using random fashion, type of service priority mode or traffic prioritization mode Request message.
In the method described in Fig. 2, user gateway is in the request message for receiving terminal transmission, according to the five of request message Tuple inquires associated positive next-hop ip address in conversational list, or is protected in session according to the source MAC of request message It holds and inquires associated positive next-hop ip address in table, may insure that the flow of same user passes through identical traffic management in this way Network element realizes the accurate monitoring to customer flow.
It is a kind of flow diagram of message transmitting method provided in an embodiment of the present invention referring to Fig. 3, implements in the present invention In example, the method includes:
S301, the request message that traffic management network element is sent is received.
Specifically, the request message that internet gateway receiving stream amount managed network element is sent, five-tuple is carried in request message.
S302, inquiry whether there is and the associated positive next-hop ip address of the five-tuple of request message in conversational list.
Specifically, internet gateway is previously provided with conversational list, conversational list includes multiple list items, and each list item is stored with five yuan Group and next-hop ip address, internet gateway inquire the associated list item of five-tuple with the presence or absence of request message in conversational list, if In the presence of determining the next-hop ip address stored in list item, execute S303.If there is no the five-tuples of request message to close in conversational list The list item of connection executes S304.
S303, request message is forwarded according to the next-hop ip address recorded in conversational list.
Specifically, request message is transmitted to the equipment in internet according to next-hop ip address by internet gateway.
S304, the source MAC for obtaining request message.
Specifically, internet gateway obtains the source MAC of request message, the source MAC can be carried in request message, this The source MAC at place is the MAC Address of the internet port of traffic management network element.
S305, positive next-hop ip address is obtained according to the purpose IP address table of query and routing of request message.
S306, associated IP address is inquired according to the source MAC of request message, using the IP address inquired as reversed Next-hop ip address.
S307, list item is created in conversational list, by the five-tuple of request message, positive next-hop ip address and reversed next It is stored in the list item of establishment after hop IP address binding.
S308, request message is forwarded according to positive next-hop ip address.
Internet gateway is can be seen that after receiving the request message of user from the embodiment of Fig. 3, is directly reported according to request The source MAC of text is counter to find reversed next-hop ip address, and gateway internet in this way is receiving the corresponding response report of request message Wen Shi directly can obtain reversed next-hop ip address by looking into conversational list, avoid looking into a large amount of durations of routing table consumption, reduce message Propagation delay time.
It is a kind of flow diagram of message transmitting method provided in an embodiment of the present invention referring to Fig. 4, implements in the present invention In example, the method includes:
S401, the response message that server is sent is received.
Specifically, internet gateway receives the response message that server is sent.
S402, inquiry whether there is and the associated reversed next-hop ip address of the five-tuple of response message in conversational list.
S403, the net that request message is sent to traffic management network element according to the reversed next-hop ip address recorded in session Border port.
S404, response message is abandoned.
It is a kind of flow diagram of message transmitting method provided in an embodiment of the present invention referring to Fig. 5, implements in the present invention In example, the method includes:
S501, user gateway generate the probe requests message.
Specifically, user gateway is associated with multiple traffic management network elements, each traffic management network element has user port and net Border port, user gateway are each user port and each internet port assignment IP address, and user gateway is according to multiple flowtubes The user port for managing network element generates user port list, and each list item is stored with the IP address of user port in user port list And MAC Address.Meanwhile user gateway generates internet port list, internet end according to the internet port of multiple traffic management network elements Each list item is stored with the IP address and MAC Address of internet port in mouth list.User gateway generates the probe requests message, detection The source IP address of request message is the IP address of user gateway, and positive next-hop ip address is traffic management network element to be detected The IP address of user port, purpose IP address are the IP address of internet gateway.
S502, user gateway send the probe requests message to traffic management network element.
Specifically, user gateway sends the probe requests message according to the positive next-hop ip address of the probe requests message To traffic management network element to be detected.
The probe requests message is forwarded to internet port by S503, traffic management network element from user port.
Specifically, traffic management network element receives the probe requests message that user gateway is sent from user port, detection is asked It asks message to be forwarded to corresponding internet port, while the source MAC of the probe requests message is revised as traffic management network element The MAC Address of internet port.
The probe requests message is sent to internet gateway by S504, traffic management network element.
Specifically, traffic management network element is according to the purpose IP address carried in the probe requests message, by the probe requests message It is sent to internet gateway.
S505, internet gateway obtain the source MAC of the probe requests message, inquire the associated IP address of source MAC.
Specifically, internet gateway receives the probe requests message, the source MAC that the probe requests message carries is obtained, at this time Source MAC be traffic management network element MAC Address.
S506, detection response message is generated according to source MAC and the IP address inquired.
Specifically, internet gateway can will wait visiting according to the IP address of the anti-internet port for looking into traffic management network element of ARP protocol In IP address and MAC Address the filling detection response message of the internet port of the traffic management network element of survey.
S507, internet gateway send detection response message to user gateway.
Whether S508, inquiry source MAC and IP address are located in internet port list.
Specifically, user gateway receives detection response message, with obtaining the MAC Address carried in detection response message and IP Location, the MAC Address and IP address are the IP address and MAC Address of the internet port of traffic management network element to be detected, user network It closes and inquires whether above-mentioned MAC Address and IP address are located in internet port list, if it is, executing S509.
S509, user port and internet port are bound.
Specifically, user gateway is by the IP address and MAC Address of the IP address of user port and MAC Address and internet port It is bound,
S510, user gateway notify binding relationship to internet gateway.
Specifically, user gateway notifies the binding of the user port determined in S509 and internet port to close to internet gateway System, internet gateway learn the MAC Address of the user interface and Network Node Interface of traffic management network element to be detected according to binding relationship And IP address.
Implement above-described embodiment, user gateway is in the request message for receiving terminal transmission, according to the five-tuple of request message Associated positive next-hop ip address is inquired in conversational list, or table is kept in session according to the source MAC of request message The middle associated positive next-hop ip address of inquiry, may insure that the flow of same user passes through identical traffic management net in this way Member realizes the accurate monitoring to customer flow.
Referring to Fig. 6, below according to Fig. 6 example to the binding relationship of the user port of our embodiment and internet port into Row explanation:User gateway is connect with traffic management network element 1 and traffic management network element 2, internet gateway and traffic management network element 1 and stream It measures managed network element 2 to connect, user gateway also connects with Internet connection.The IP address of user gateway is 1.1.1.254, internet gateway IP address be 2.2.2.254, user gateway receives the DHCP request that traffic management network element 1 is initiated, stream is carried in DHCP request Measure managed network element 1 user port MAC Address 1-1-1, by IP address distribute for the user port of traffic management network element 1 with MAC Address is bound.Traffic management network element 1 sends DHCP request by internet gateway to user gateway, asks user gateway For the internet port assignment IP address of traffic management network element 1, the internet port of traffic management network element 1 is carried in DHCP request MAC Address, user gateway receive the DHCP request, are that the internet port assignment IP address of traffic management network element 1 is 2.2.2.1.Similarly, it is 1.1.1.2 that user gateway, which is the IP address of the user port distribution of traffic management network element 2, is flowtube The IP address for managing the internet port assignment of network element 2 is 2.2.2.2.User gateway generates user port list (MAC:1-1-1, IP: 1.1.1.1)、(MAC:3-3-3, IP:1.1.1.2), user gateway generates internet port list:(MAC:2-2-2, IP: 2.2.2.1)、(MAC:4-4-4,2.2.2.2).
By taking traffic management network element 1 as an example, user gateway needs to detect the IP of user port and internet port on flow network element 1 Address, user gateway send the probe requests message to traffic management network element 1, and the source IP address that the probe requests message carries is user The IP address 1.1.1.254 of gateway, positive next-hop ip address are the IP address of the user port of traffic management network element 1: 1.1.1.1, purpose IP address is the IP address 2.2.2.254 of internet gateway, and user gateway is according to positive next-hop ip address: 1.1.1.1 by the user port of the probe requests message transmitted traffic managed network element 1, traffic management network element 1 is by the probe requests message It is forwarded to corresponding internet port, and the source MAC of the probe requests message is updated to the MAC Address of internet port: 2.2.2.1, internet gateway receives the probe requests message, obtains the source MAC carried in the probe requests message, is assisted according to ARP The anti-associated IP address of source MAC of finding of view is 2.2.2.1, and internet gateway fills out source MAC and the IP address inquired Enter into detection response message, internet gateway returns to detection response message to user gateway, and user gateway receives probe requests thereby report Text obtains the MAC Address that carries and IP address in detection response message, inquires in internet port list that there are probe responses for duration The MAC Address and IP address carried in message, if it is, showing MAC Address:2-2-2 and IP address 2.2.2.1 is traffic management The address information of the internet port of network element 1, user gateway is by (MAC:1-1-1, IP:1.1.1.1) with (MAC:2-2-2, IP: 2.2.2.1 it) is bound, and binding relationship is notified to internet gateway.
User gateway can refer to traffic management network element the user port of traffic management network element 2 and the detection of internet port 1 detection, details are not described herein again.
Fig. 7 is referred to, Fig. 7 is a kind of user gateway 70 provided in an embodiment of the present invention, which includes processing Device 701, memory 702 and communication interface 703, the processor 701, memory 702 and communication interface 703 are mutual by bus Connection.
Memory 402 include but not limited to be random access memory (English:RandomAccess Memory, referred to as: RAM), read-only memory (English:Read-Only Memory, referred to as:ROM), Erasable Programmable Read Only Memory EPROM (English: Erasable Programmable Read Only Memory, referred to as:EPROM) or portable read-only memory is (English: Compact Disc Read-Only Memory, referred to as:CD-ROM), which is used for dependent instruction and data.Transmitting-receiving Device 703 is for sending and receiving data.
Processor 701 can be one or more central processing units (English:Central Processing Unit, letter Claim:CPU), in the case where processor 701 is a CPU, which can be monokaryon CPU, can also be multi-core CPU.
Processor 701 in the user gateway 70 for reading the program code stored in the memory 702, execute with Lower operation:
Receive request message;Wherein, the request message carries five-tuple;
Inquiry whether there is and the associated positive next-hop ip address of the five-tuple of the request message in conversational list;
If it has not, obtaining the source MAC of the request message;
Session is inquired to keep in table whether there is and the associated positive next-hop ip address of the source IP address;
If it is, the request message is sent to the traffic management that positive next-hop ip address indicates by the user gateway The user port of network element.
Optionally, processor 701 is additionally operable to execute:
There are the associated positive next-hop ip address of the five-tuple for inquiry in the conversational list;
The request message is sent to traffic management network element.
Optionally, processor 701 is additionally operable to execute:
In the conversational list there is no with the associated positive next-hop ip address of the five-tuple of the message, and the meeting Words are kept in the case of being not present in table with the associated positive next-hop ip address of the source MAC,
Target flow management is determined from multiple traffic management network elements according to one or more of five-tuple parameter Network element, using the IP address of the user port of the target flow managed network element as target forward direction next-hop ip address;
List item is created in the conversational list, the five-tuple and the target forward direction next-hop ip address are bound It is stored in the list item of foundation afterwards;
List item is established in session holding table, source MAC and the target forward direction next-hop ip address are bound It is stored in the list item of foundation afterwards.
Optionally, processor 701 execute it is described according to one or more of five-tuple parameter from multiple flowtubes Determine that objective management network element includes in reason network element:
Hash operation is carried out to one or more of five-tuple parameter and obtains a cryptographic Hash;
The quantity for determining multiple traffic management network elements will obtain the mesh after the cryptographic Hash and the quantity modulo operation Mark the serial number of managed network element.
It should be noted that the realization of each operation can also be to should refer to the corresponding of embodiment of the method shown in Fig. 2 to 4 Description.
In conclusion by implementing the embodiment of the present invention, user gateway is in the request message for receiving terminal and sending, according to asking The five-tuple of message is asked to inquire associated positive next-hop ip address in conversational list, or according to the source MAC of request message Associated positive next-hop ip address is inquired in location in session holding table, may insure the flow of same user by identical in this way Traffic management network element, realize accurate monitoring to customer flow.
Fig. 8 is referred to, Fig. 8 is a kind of internet gateway 80 provided in an embodiment of the present invention, which includes processing Device 801, memory 802 and communication interface 803, the processor 801, memory 802 and communication interface 803 are mutual by bus Connection.
Memory 402 include but not limited to be random access memory (English:RandomAccess Memory, referred to as: RAM), read-only memory (English:Read-Only Memory, referred to as:ROM), Erasable Programmable Read Only Memory EPROM (English: Erasable Programmable Read Only Memory, referred to as:EPROM) or portable read-only memory is (English: Compact Disc Read-Only Memory, referred to as:CD-ROM), which is used for dependent instruction and data.Transmitting-receiving Device 803 is for sending and receiving data.
Processor 801 can be one or more central processing units (English:Central Processing Unit, letter Claim:CPU), in the case where processor 801 is a CPU, which can be monokaryon CPU, can also be multi-core CPU.
Processor 801 in the internet gateway 80 for reading the program code stored in the memory 802, execute with Lower operation:
The request message that traffic management network element is sent is received by internet port;Wherein, the request message carries five yuan Group;
Inquiry whether there is and the associated positive next-hop ip address of the five-tuple in conversational list;
If it has not, inquiring the positive next-hop ip address of the request message in the routing table;
The source MAC for obtaining the request message is inquired to obtain flowtube according to the source MAC of the request message The IP address that inquiry obtains is stored in the list item, as reversed next-hop ip address by the IP address for managing network element;
Create list item in the conversational list, by five-tuple, positive next-hop ip address and reversed next-hop ip address into It is stored in the list item of establishment after row binding.
Optionally, processor 801 is additionally operable to execute:
Receive the corresponding response message of the request message;
Inquiry whether there is and the associated list item of the response message in the conversational list;
If it is, reversed next-hop ip address is determined according to associated list item, it will according to the reversed next-hop ip address The response message is sent to the internet port of traffic management network element;
If it has not, abandoning the response message.
Above-described embodiment can be seen that internet gateway is after receiving the request message of user, directly according to request message Source MAC is counter to find reversed next-hop ip address, gateway internet in this way when receiving the corresponding response message of request message, Directly reversed next-hop ip address can be obtained by looking into conversational list, avoid looking into a large amount of durations of routing table consumption, reduce message transmissions Time delay.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or be transmitted by the computer readable storage medium.The computer instruction can be from a web-site, meter Calculation machine, server or data center are (such as red by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless Outside, wirelessly, microwave etc.) mode is transmitted to another web-site, computer, server or data center.The calculating Machine readable storage medium storing program for executing can be that any usable medium that computer can access either includes one or more usable mediums The data storage devices such as integrated server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard Disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) Deng.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, the flow Relevant hardware can be instructed to complete by computer program, which can be stored in computer read/write memory medium, should Program is when being executed, it may include such as the flow of above-mentioned each method embodiment.And storage medium above-mentioned includes:ROM is deposited at random Store up the medium of the various program storage codes such as memory body RAM, magnetic disc or CD.

Claims (13)

1. a kind of message transmitting method, which is characterized in that including:
User gateway receives request message;Wherein, the request message carries five-tuple;
The user gateway is inquired in conversational list whether there is and the associated positive next-hop of the five-tuple of the request message IP address;
If it has not, the user gateway obtains the source medium access control MAC Address of the request message;
The user gateway inquiry session keeps in table whether there is and the associated positive next-hop ip address of the source IP address;
If it is, the request message is sent to the traffic management network element that positive next-hop ip address indicates by the user gateway User port.
2. the method as described in claim 1, which is characterized in that further include:
The user gateway inquires that there are the associated positive next-hop ip address of the five-tuple in the conversational list;
The request message is sent to traffic management network element by the user gateway.
3. the method as described in claim 1, which is characterized in that further include:
In the conversational list there is no with the associated positive next-hop ip address of the five-tuple of the message, and the session is protected It holds in the case of being not present in table with the associated positive next-hop ip address of the source MAC
Target flow managed network element is determined from multiple traffic management network elements according to one or more of five-tuple parameter, Using the IP address of the user port of the target flow managed network element as target forward direction next-hop ip address;
List item is created in the conversational list, is deposited after the five-tuple and the target forward direction next-hop ip address are bound It is placed in the list item of foundation;
List item is established in session holding table, is deposited after source MAC and the target forward direction next-hop ip address are bound Storage is in the list item of foundation.
4. method as claimed in claim 3, which is characterized in that it is described according to one or more of five-tuple parameter from Determine that objective management network element includes in multiple traffic management network elements:
Hash operation is carried out to one or more of five-tuple parameter and obtains a cryptographic Hash;
The quantity for determining multiple traffic management network elements will obtain the target tube after the cryptographic Hash and the quantity modulo operation Manage the serial number of network element.
5. a kind of message transmitting method, which is characterized in that including:
Internet gateway receives the request message that traffic management network element is sent by internet port;Wherein, the request message carries Five-tuple;
The internet gateway is inquired in conversational list whether there is and the associated positive next-hop ip address of the five-tuple;
If it has not, inquiring the positive next-hop ip address of the request message in the routing table;
The source MAC for obtaining the request message is inquired to obtain traffic management net according to the source MAC of the request message The IP address that inquiry obtains is stored in the list item, as reversed next-hop ip address by the IP address of member;
List item is created in the conversational list, five-tuple, positive next-hop ip address and reversed next-hop ip address are tied up It is stored in the list item of establishment after fixed.
6. method as claimed in claim 5, which is characterized in that further include:
The internet gateway receives the corresponding response message of the request message;
The internet gateway is inquired in the conversational list whether there is and the associated list item of the response message;
If it is, the internet gateway determines reversed next-hop ip address according to associated list item, according to the reversed next-hop The response message is sent to the internet port of traffic management network element by IP address;
If it has not, the internet gateway abandons the response message.
7. a kind of user gateway, which is characterized in that including:Memory and processor, the memory have program stored therein code, institute It states processor and calls said program code for performing the following operations:
Receive request message;Wherein, the request message carries five-tuple;
Inquiry whether there is and the associated positive next-hop ip address of the five-tuple of the request message in conversational list;
If it has not, obtaining the source MAC of the request message;
Session is inquired to keep in table whether there is and the associated positive next-hop ip address of the source IP address;
If it is, the request message is sent to the traffic management network element that positive next-hop ip address indicates by the user gateway User port.
8. user gateway as claimed in claim 7, which is characterized in that the processor is additionally operable to execute:
There are the associated positive next-hop ip address of the five-tuple for inquiry in the conversational list;
The request message is sent to traffic management network element.
9. user gateway as claimed in claim 7, which is characterized in that the processor is additionally operable to execute:
In the conversational list there is no with the associated positive next-hop ip address of the five-tuple of the message, and the session is protected It holds in the case of being not present in table with the associated positive next-hop ip address of the source MAC,
Target flow managed network element is determined from multiple traffic management network elements according to one or more of five-tuple parameter, Using the IP address of the user port of the target flow managed network element as target forward direction next-hop ip address;
List item is created in the conversational list, is deposited after the five-tuple and the target forward direction next-hop ip address are bound It is placed in the list item of foundation;
List item is established in session holding table, is deposited after source MAC and the target forward direction next-hop ip address are bound Storage is in the list item of foundation.
10. user gateway as claimed in claim 9, which is characterized in that the processor executes described according to the five-tuple One or more of parameter from multiple traffic management network elements determine objective management network element include:
Hash operation is carried out to one or more of five-tuple parameter and obtains a cryptographic Hash;
The quantity for determining multiple traffic management network elements will obtain the target tube after the cryptographic Hash and the quantity modulo operation Manage the serial number of network element.
11. a kind of internet gateway, which is characterized in that including memory and processor, the memory has program stored therein code, institute It states processor and calls said program code for performing the following operations:
The request message that traffic management network element is sent is received by internet port;Wherein, the request message carries five-tuple;
Inquiry whether there is and the associated positive next-hop ip address of the five-tuple in conversational list;
If it has not, inquiring the positive next-hop ip address of the request message in the routing table;
The source MAC for obtaining the request message is inquired to obtain traffic management net according to the source MAC of the request message The IP address that inquiry obtains is stored in the list item, as reversed next-hop ip address by the IP address of member;
List item is created in the conversational list, five-tuple, positive next-hop ip address and reversed next-hop ip address are tied up It is stored in the list item of establishment after fixed.
12. user gateway as claimed in claim 11, which is characterized in that the processor is additionally operable to execute:
Receive the corresponding response message of the request message;
Inquiry whether there is and the associated list item of the response message in the conversational list;
If it is, reversed next-hop ip address is determined according to associated list item, it will be described according to the reversed next-hop ip address Response message is sent to the internet port of traffic management network element;
If it has not, abandoning the response message.
13. a kind of fee collecting system, which is characterized in that including user gateway, multiple traffic management network elements and internet gateway;
The user gateway, for receiving request message;In the conversational list of the user gateway inquiry with the presence or absence of with it is described The associated positive next-hop ip address of five-tuple of request message;If it has not, obtaining the source MAC of the request message, look into It askes and whether there is in the session holding table of the user gateway and the associated positive next-hop ip address of the source IP address;If It is that the request message is sent to the user port of the traffic management network element of positive next-hop ip address instruction;The forward direction The traffic management network element of next-hop ip address instruction belongs to the multiple traffic management network element;
The traffic management network element receives the request message for passing through user port, and the request message is passed through The internet port is sent to the internet gateway;
The internet gateway, the request message for receiving the traffic management network element forwarding;In the session of the internet gateway Inquiry whether there is and the associated positive next-hop ip address of the five-tuple in table;If it has not, in the routing table described in inquiry The positive next-hop ip address of request message;The source MAC for obtaining the request message, according to the source of the request message MAC Address is inquired to obtain the IP address of traffic management network element, the IP address that inquiry obtains is stored in the list item, as anti- Down hop IP address;List item is created in the internet conversational list, by five-tuple, positive next-hop ip address and anti- Down hop IP address is stored in after being bound in the list item of establishment.
CN201710112958.3A 2017-02-28 2017-02-28 Message transmission method, related equipment and system Active CN108512714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710112958.3A CN108512714B (en) 2017-02-28 2017-02-28 Message transmission method, related equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710112958.3A CN108512714B (en) 2017-02-28 2017-02-28 Message transmission method, related equipment and system

Publications (2)

Publication Number Publication Date
CN108512714A true CN108512714A (en) 2018-09-07
CN108512714B CN108512714B (en) 2021-10-01

Family

ID=63374239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710112958.3A Active CN108512714B (en) 2017-02-28 2017-02-28 Message transmission method, related equipment and system

Country Status (1)

Country Link
CN (1) CN108512714B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361608A (en) * 2018-11-23 2019-02-19 北京六方领安网络科技有限公司 Message processing method, system and storage medium
CN111064668A (en) * 2018-10-17 2020-04-24 华为技术有限公司 Method and device for generating routing table entry and related equipment
WO2021139311A1 (en) * 2020-08-07 2021-07-15 平安科技(深圳)有限公司 Routing forwarding method and apparatus, routing device and readable storage medium
CN114285659A (en) * 2021-12-28 2022-04-05 深圳市酷开网络科技股份有限公司 Reverse proxy method, device, equipment and storage medium
CN114938348A (en) * 2021-02-04 2022-08-23 北京金山云网络技术有限公司 Data stream forwarding method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380773A (en) * 2002-04-25 2002-11-20 复旦大学 Enhanced NAT-PT protocol scheme
CN101170515A (en) * 2007-12-04 2008-04-30 华为技术有限公司 A method, system and gateway device for processing packets
CN101938415A (en) * 2010-08-30 2011-01-05 北京傲天动联技术有限公司 Rapid forwarding method for network forwarding device
CN102025643A (en) * 2010-12-30 2011-04-20 华为技术有限公司 Flow table search method and device
CN102664804A (en) * 2012-04-24 2012-09-12 汉柏科技有限公司 Method and system for achieving network bridge function of network equipment
CN103595711A (en) * 2013-11-06 2014-02-19 神州数码网络(北京)有限公司 Adjusting safety access method and exchanger
US20150071080A1 (en) * 2013-09-10 2015-03-12 Cisco Technology, Inc. Redundancy for inter-as l2vpn service with optimal forwarding

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1380773A (en) * 2002-04-25 2002-11-20 复旦大学 Enhanced NAT-PT protocol scheme
CN101170515A (en) * 2007-12-04 2008-04-30 华为技术有限公司 A method, system and gateway device for processing packets
CN101938415A (en) * 2010-08-30 2011-01-05 北京傲天动联技术有限公司 Rapid forwarding method for network forwarding device
CN102025643A (en) * 2010-12-30 2011-04-20 华为技术有限公司 Flow table search method and device
CN102664804A (en) * 2012-04-24 2012-09-12 汉柏科技有限公司 Method and system for achieving network bridge function of network equipment
US20150071080A1 (en) * 2013-09-10 2015-03-12 Cisco Technology, Inc. Redundancy for inter-as l2vpn service with optimal forwarding
CN103595711A (en) * 2013-11-06 2014-02-19 神州数码网络(北京)有限公司 Adjusting safety access method and exchanger

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064668A (en) * 2018-10-17 2020-04-24 华为技术有限公司 Method and device for generating routing table entry and related equipment
CN111064668B (en) * 2018-10-17 2022-06-14 华为技术有限公司 Method and device for generating routing table entry and related equipment
CN109361608A (en) * 2018-11-23 2019-02-19 北京六方领安网络科技有限公司 Message processing method, system and storage medium
CN109361608B (en) * 2018-11-23 2021-04-27 北京六方云信息技术有限公司 Message processing method, system and storage medium
WO2021139311A1 (en) * 2020-08-07 2021-07-15 平安科技(深圳)有限公司 Routing forwarding method and apparatus, routing device and readable storage medium
CN114938348A (en) * 2021-02-04 2022-08-23 北京金山云网络技术有限公司 Data stream forwarding method and device, electronic equipment and storage medium
CN114285659A (en) * 2021-12-28 2022-04-05 深圳市酷开网络科技股份有限公司 Reverse proxy method, device, equipment and storage medium
CN114285659B (en) * 2021-12-28 2024-05-24 深圳市酷开网络科技股份有限公司 Reverse proxy method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108512714B (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN108512714A (en) A kind of message transmitting method, relevant device and system
US10097469B2 (en) Network traffic shaping for low power and lossy networks
CN105072629B (en) Method, equipment and the system of the quality of the business run in measuring terminals
US9356858B2 (en) Redirecting traffic via tunnels to discovered data aggregators
US9438496B2 (en) Monitoring link quality between network devices
KR101086545B1 (en) Method for determining network proximity for global traffic load balancing using passive tcp performance instrumentation
US8451744B2 (en) Partitioning directed acyclic graph (DAG) topologies
CN100579034C (en) Method for reporting equipment information, system and device for obtaining equipment information
US9712433B2 (en) Maintaining and communicating nodal neighboring information
CN110048873A (en) The method and communication device of the policy control of more anchor point protocol Data Unit sessions
JP2018198417A (en) Network state evaluation
CN109429364A (en) The method and apparatus for establishing session
CN107431968A (en) A kind of method for establishing routing table, electronic equipment and network
CN104852855B (en) Jamming control method, device and equipment
CN108243117A (en) A kind of flux monitoring method, device and electronic equipment
CN102281204B (en) Method and routing equipment for implementing rendezvous point (RP) load sharing of multicast group and routing equipment
CN101808107B (en) Storage device and user communication method, device and system
CN106900174A (en) The data transmission method of WLAN mesh network, apparatus and system
CN108881295A (en) For detecting and solving the method and the network equipment of anomalous routes
US10205665B2 (en) Mesh network nodes configured to alleviate congestion in cellular network
CN104270312B (en) Support relay route distribution system and method that flow optimization and application are perceived
KR20170109979A (en) Method and terminal for multi-path transmission
CN115622935A (en) Network-based path processing method, system and storage medium
CN116250216A (en) Optimizing network delivery of 5G edge application services
JP2012109975A (en) Method and device for determining communication path between communication equipment having multiple communication interfaces

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