CN102891810A - Method for dynamically distributing satellite channels by modifying Internet protocol (IP) message header - Google Patents
Method for dynamically distributing satellite channels by modifying Internet protocol (IP) message header Download PDFInfo
- Publication number
- CN102891810A CN102891810A CN2012103395780A CN201210339578A CN102891810A CN 102891810 A CN102891810 A CN 102891810A CN 2012103395780 A CN2012103395780 A CN 2012103395780A CN 201210339578 A CN201210339578 A CN 201210339578A CN 102891810 A CN102891810 A CN 102891810A
- Authority
- CN
- China
- Prior art keywords
- message
- carry out
- out step
- header
- executing
- 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
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Radio Relay Systems (AREA)
Abstract
The invention discloses a method for dynamically distributing satellite channels by modifying an Internet protocol (IP) message header. The method comprises the following steps of: 1, acquiring an Ethernet data packet of a network card; 2, detecting the data packet, if the data packet is an IP message and is in an IP4V version, executing the step 3, otherwise, receiving and returning the data packet; 3, judging whether an IP header protocol type is a generic routing encapsulation (GRE) message type, if so, executing the step 4, otherwise, receiving and returning the IP header protocol type; 4, resolving a protocol type in a GRE message header of the packet, if the protocol type is a multiple protocol label switching (MPLS) message, executing the step 5, and if the protocol type is the IP message, receiving and returning the protocol type; 5, resolving an MPLS packet header, acquiring an S mark bit which represents a stack bottom, wherein value 1 is the stack bottom, if the S mark bit is the stack bottom, executing the step 6, otherwise, executing the step 9; 6, if the MPLS message comprises a transmission control protocol (TCP) message, judging whether the TCP message is a service message, if so, executing the step 7, otherwise, receiving and returning the TCP message; and 7, modifying a tos domain of the IP header on the outermost layer of the overall message to be an appointed value.
Description
Technical field
The present invention relates to the communication gate technical field, a kind of method that realizes the satellite channel dynamic assignment by revising the IP heading is provided.
Background technology
Gateway is in the Traffic Channel dynamic allocation procedure of supporting satellite modem, need and to carry out ip tos attribute modification through gateway to the data of satellite modem, so that satellite modem can come dynamic construction satellite business channel according to the business datum message that contains corresponding tos value, and through in the data of satellite channel, the data message that relates generally to is divided into two classes: the first kind is routing protocol data, i.e. ospf, ldp, bgp, the gre message; Equations of The Second Kind is business datum, i.e. MPLS-VPN message, and wherein common ground is that all route and business datums all are to be encapsulated by the GRE message.Modification to the business datum message that relates to, come the deal with data message by structure linux driver module, rather than carry out the method revised again after the data packet capturing by application layer packet capturing software, because, revise this method of ip data head by the inner nuclear layer module, shorten the bang path of data message in whole software systems, improved the treatment effeciency of gateway system.
Summary of the invention
The object of the present invention is to provide a kind of method that realizes the satellite channel dynamic assignment by revising the IP heading.
The present invention is to achieve these goals by the following technical solutions:
A kind of method that realizes the satellite channel dynamic assignment by revising the IP heading is characterized in that may further comprise the steps:
1) obtains network interface card Ethernet data bag;
2) detect the Ethernet data bag, detect into the IP message and for the IP4V version, then carry out step 3, otherwise receive and return;
3) judge whether the protocol type in the IP head is the GRE type of message, as then carry out step 4 for the GRE type of message, otherwise receive and return;
4) resolve the protocol type that wraps in the GRE heading, as then carry out step 5 for the MPLS message, as then receiving and return for the IP message;
5) resolve MPLS packet header, obtain the S flag bit, at the bottom of S is masked as expression and whether is stack, at the bottom of value 1 is stack; As for carry out step 6 at the bottom of the stack, not for carry out step 9 at the bottom of the stack;
6) if MPLS message that message comprises is the TCP message, judgement is that meat is service message, as carry out step 7 for service message, receives during for non-service message and returns;
7) outermost layer IP tos territory of the whole message of modification is designated value.
The present invention has following beneficial effect:
By arranging or change COS (the Type of Service of packet, TOS) field etc., value of statistical indicant is set in bag, utilize this value of statistical indicant can carry out limit bandwidth and classified inquiry, therefore, satellite link can be designed to: when out-of-date without professional data communication device, all packets are walked the signalling path of satellite link, and work as business datum MPLS message through out-of-date, will trigger service channel.This design has well improved the utilance of satellite bandwidth.
Description of drawings
Fig. 1 is logic block-diagram of the present invention.
Embodiment
Below the present invention will be further explained the explanation:
A kind of method that realizes the satellite channel dynamic assignment by revising the IP heading is characterized in that may further comprise the steps:
1) obtains network interface card Ethernet data bag;
2) detect the Ethernet data bag, detect into the IP message and for the IP4V version, then carry out step 3, otherwise receive and return;
3) judge whether the protocol type in the IP head is the GRE type of message, as then carry out step 4 for the GRE type of message, otherwise receive and return;
4) resolve the protocol type that wraps in the GRE heading, as then carry out step 5 for the MPLS message, as then receiving and return for the IP message;
5) resolve MPLS packet header, obtain the S flag bit, at the bottom of S is masked as expression and whether is stack, at the bottom of value 1 is stack; As for carry out step 6 at the bottom of the stack, not for carry out step 9 at the bottom of the stack;
6) if MPLS message that message comprises is the TCP message, determine whether service message, as carry out step 7 for service message, receive during for non-service message and return;
7) outermost layer IP tos territory of the whole message of modification is designated value.
Claims (1)
1. one kind is passed through to revise the method that the IP heading is realized the satellite channel dynamic assignment, it is characterized in that may further comprise the steps:
1) obtains network interface card Ethernet data bag;
2) detect the Ethernet data bag, detect into the IP message and for the IP4V version, then carry out step 3, otherwise receive and return;
3) judge whether the protocol type in the IP head is the GRE type of message, as then carry out step 4 for the GRE type of message, otherwise receive and return;
4) resolve the protocol type that wraps in the GRE heading, as then carry out step 5 for the MPLS message, as then receiving and return for the IP message;
5) resolve MPLS packet header, obtain the S flag bit, at the bottom of S is masked as expression and whether is stack, at the bottom of value 1 is stack; As for carry out step 6 at the bottom of the stack, not for carry out step 9 at the bottom of the stack;
6) if MPLS message that message comprises is the TCP message, judgement is that meat is service message, as carry out step 7 for service message, receives during for non-service message and returns;
7) outermost layer IP tos territory of the whole message of modification is designated value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210339578.0A CN102891810B (en) | 2012-09-14 | 2012-09-14 | Method for dynamically distributing satellite channels by modifying Internet protocol (IP) message header |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210339578.0A CN102891810B (en) | 2012-09-14 | 2012-09-14 | Method for dynamically distributing satellite channels by modifying Internet protocol (IP) message header |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102891810A true CN102891810A (en) | 2013-01-23 |
CN102891810B CN102891810B (en) | 2015-04-15 |
Family
ID=47535181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210339578.0A Active CN102891810B (en) | 2012-09-14 | 2012-09-14 | Method for dynamically distributing satellite channels by modifying Internet protocol (IP) message header |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102891810B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426873A (en) * | 2013-08-30 | 2015-03-18 | 中国科学院声学研究所 | Method and system for generating and sending IP (Internet Protocol) message based on user requirements |
CN105553810A (en) * | 2015-12-14 | 2016-05-04 | 中国联合网络通信集团有限公司 | Method and device for forwarding special line service packet |
CN109379129A (en) * | 2018-11-30 | 2019-02-22 | 四川安迪科技实业有限公司 | Satellite band Resource dynamic allocation algorithm |
CN109561094A (en) * | 2018-12-06 | 2019-04-02 | 国网辽宁省电力有限公司锦州供电公司 | Change the method for power acquisition data message header structure using wind-force rank |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101471863A (en) * | 2007-12-25 | 2009-07-01 | ***通信集团公司 | Method, device and transition gateway for processing data between networks |
CN101582897A (en) * | 2009-06-02 | 2009-11-18 | 中兴通讯股份有限公司 | Deep packet inspection method and device |
CN102143035A (en) * | 2010-06-04 | 2011-08-03 | 华为技术有限公司 | Data traffic processing method, network device and network system |
EP2498450A1 (en) * | 2009-11-03 | 2012-09-12 | ZTE Corporation | Broadband network system and implementation method thereof |
-
2012
- 2012-09-14 CN CN201210339578.0A patent/CN102891810B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101471863A (en) * | 2007-12-25 | 2009-07-01 | ***通信集团公司 | Method, device and transition gateway for processing data between networks |
CN101582897A (en) * | 2009-06-02 | 2009-11-18 | 中兴通讯股份有限公司 | Deep packet inspection method and device |
EP2498450A1 (en) * | 2009-11-03 | 2012-09-12 | ZTE Corporation | Broadband network system and implementation method thereof |
CN102143035A (en) * | 2010-06-04 | 2011-08-03 | 华为技术有限公司 | Data traffic processing method, network device and network system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104426873A (en) * | 2013-08-30 | 2015-03-18 | 中国科学院声学研究所 | Method and system for generating and sending IP (Internet Protocol) message based on user requirements |
CN104426873B (en) * | 2013-08-30 | 2018-07-03 | 中国科学院声学研究所 | A kind of IP packet generation, sending method and system based on user demand |
CN105553810A (en) * | 2015-12-14 | 2016-05-04 | 中国联合网络通信集团有限公司 | Method and device for forwarding special line service packet |
CN109379129A (en) * | 2018-11-30 | 2019-02-22 | 四川安迪科技实业有限公司 | Satellite band Resource dynamic allocation algorithm |
CN109561094A (en) * | 2018-12-06 | 2019-04-02 | 国网辽宁省电力有限公司锦州供电公司 | Change the method for power acquisition data message header structure using wind-force rank |
CN109561094B (en) * | 2018-12-06 | 2021-06-11 | 国网辽宁省电力有限公司锦州供电公司 | Method for changing electric quantity acquisition data message head structure by using wind power level |
Also Published As
Publication number | Publication date |
---|---|
CN102891810B (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102404197B (en) | Data path processing information included in the pseudowire layer of packets | |
CN108737269B (en) | Encapsulation method, device and node | |
CN106464590B (en) | A kind of method and device of to acquisite approachs information | |
CN102301663B (en) | Message processing method and associated devices | |
US20230006906A1 (en) | In-situ flow detection method and apparatus | |
US9667437B2 (en) | Billing multiple packet flows associated with a client router | |
CN103797769A (en) | Services controlled session based flow interceptor | |
EP3065360A1 (en) | Traffic cleaning method and device, and computer storage medium | |
CN105871721A (en) | Segment routing processing method, processing device and sending device | |
CN105745898B (en) | It is used for transmission the method and telecommunication installation of the media data with different media types | |
CN103548323B (en) | Flow identification method, device, and system | |
CN106411738A (en) | Processing method and apparatus of packaging of IPV6 message | |
CN105577416B (en) | Service function chain operation, management and maintenance method and node equipment | |
CN102891810B (en) | Method for dynamically distributing satellite channels by modifying Internet protocol (IP) message header | |
US20180027451A1 (en) | Service traffic steering method, device and system | |
US20160119228A1 (en) | Forwarding packets | |
CN104410541A (en) | Method and device for counting VXLAN inner layer virtual machine flux on intermediate switch | |
EP2712130B1 (en) | Service control method and system for autonomous network | |
CN107342939A (en) | The method and apparatus for transmitting data | |
CN105515816B (en) | Processing method and device for detecting hierarchical information | |
CN113328915A (en) | Associated network measuring method based on SRv6 | |
RU2679538C2 (en) | Methods and devices for flexible mobile steering in cellular networks | |
US20150063363A1 (en) | Communication network with distributed network address translation functionality | |
EP3484107A1 (en) | Parameter notification and obtaining methods and devices, and storage medium | |
CN101640635A (en) | Method for avoiding message recombination in 6over4 tunnel and system therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |