CN104410576A - Mixed type condition policy routing system and method - Google Patents

Mixed type condition policy routing system and method Download PDF

Info

Publication number
CN104410576A
CN104410576A CN201410769248.4A CN201410769248A CN104410576A CN 104410576 A CN104410576 A CN 104410576A CN 201410769248 A CN201410769248 A CN 201410769248A CN 104410576 A CN104410576 A CN 104410576A
Authority
CN
China
Prior art keywords
message
routing
routing table
management
sender
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
CN201410769248.4A
Other languages
Chinese (zh)
Other versions
CN104410576B (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.)
Taizhou Jiji Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410769248.4A priority Critical patent/CN104410576B/en
Publication of CN104410576A publication Critical patent/CN104410576A/en
Application granted granted Critical
Publication of CN104410576B publication Critical patent/CN104410576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a mixed type condition policy routing system and method. The mixed type condition policy routing method comprises the following steps: analyzing a received message to form corresponding message data information, wherein the message data information comprises an IP address of a message sender and a message data type; setting a proper routing strategy according to the message data information for performing message transmission. The mixed type condition policy routing system and method disclosed by the invention provides routing lists of a plurality of special business types, which is convenient for management of routing list items, and by adding routing rules with special destination addresses, the transmitting efficiency of the special message is improved.

Description

Hybrid conditional policies route system and method
Technical field
The present invention relates to a kind of network route control field, particularly relate to a kind of hybrid conditional policies route system and method.
Background technology
Route is operated in OSI Reference Model third layer---the packet forwarding unit of network layer.Router realizes network interconnection by forwarding data bag.Although router can support various protocols (as agreements such as TCP/IP, IPX/SPX, AppleTalk), in China, most router runs ICP/IP protocol.Router connects two or more logic port identified by IP subnet or peer-peer protocol usually, at least has 1 physical port.The routing table that router is safeguarded according to the network layer address received in packet and router interior determines output port and next hop address, and rewrites link layer data bag and realize forwarding data bag.Router reflects current network topology by Dynamic Maintenance routing table, and carrys out maintaining routing list by other routers exchange routes and link information on network.
Current residential gateway product is in order to promote the mode of the efficiency majority employing static routing of data retransmission.Static routing refers to the routing iinformation by user or network manager's manual configuration.When the state of topology of networks or link changes, network manager needs manual going to revise static routing information relevant in routing table.Static routing information is privately owned under default condition, can not pass to other router.Certainly, net administrator also can be undertaken arranging by routers and makes it to become shared.Static routing is generally applicable to fairly simple network environment, and in this environment, network manager is readily clear of the topological structure of ground awareness network, is convenient to arrange correct routing iinformation.
Certain employing static routing, efficiency and the reliability of data retransmission can be promoted again to a certain extent, but for multi-service and the home gateway product of depositing, static routing can cause certain drawback, the data message that the terminal of such as different business sends can only be gone out by a paths of static routing, does not meet the scene and demand that realize application.Provide a kind of mechanism of adding static routing in main routing table to the forwarding of different business, the subject matter caused is as follows: increase capacity and the burden of main routing table, cannot distinguish the use terminal of different business, may impact, be inconvenient to carry out the management of route entry to other service messages.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of hybrid conditional policies route system and method, for solving the capacity of the main routing table of increase that existing static routing exists and burden, the use terminal of different business cannot be distinguished, impacting other types message and be inconvenient to carry out the problems such as route entry management.For achieving the above object and other relevant objects, the invention provides a kind of hybrid conditional policies route system, comprising:
Identification module, resolves message, and forms message data information, and described message data information comprises IP address and the message data type of message sender; And
Processing module, is connected with described identification module, receives the described message data information that described identification module is formed, and carries out the transmission of described message according to the routing policy that described message data information setting is applicable to.
Alternatively, described message data type comprises the Internet message, described processing module is selected to transmit with the static routing of the IP addresses match of described message sender in main routing table to described the Internet message, if when there is not the static routing with the IP addresses match of described message sender in described main road table, described processing module sets up the new static routing with the IP addresses match of described message sender in described main routing table, and is carried out the transmission of message by new static routing.
Alternatively, described message data type also comprises interactive maintenance message, described processing module adopts conditional policies route to be that described interactive maintenance message sets up management routing table, described management routing table comprises the IP address of described message sender, described processing module is the interface that described management routing table specifies current idle, is transmitted described interactive maintenance message by described management routing table.
Alternatively, the destination address of described message is also comprised in described management routing table.
Alternatively, described identification module resolves described message, to obtain the data of carrying in described message, judges to draw described message data type according to the type of described data.
A kind of hybrid conditional policies method for routing of the present invention, comprising:
Resolve the message received, form corresponding message data information, described message data information comprises IP address and the message data type of message sender;
The routing policy be applicable to according to described message data information setting carries out the transmission of described message.
Alternatively, described message data type is the Internet message, select to transmit with the static routing of the IP addresses match of described message sender in main routing table, if when there is not the static routing with the IP addresses match of described message sender in described main road table, in described main routing table, set up the new static routing with the IP addresses match of described message sender, and carried out the transmission of described message by new static routing.
Alternatively, described message data type is interactive maintenance message, conditional policies route is adopted to be that described interactive maintenance message sets up management routing table, described management routing table comprises the IP address of described message sender, and be the interface that described management routing table specifies current idle, by described management routing table, described interactive maintenance message is transmitted.
Alternatively, described management routing table also comprises the destination address of described message.
Alternatively, the message received is resolved, obtain the data of carrying in described message, judge to draw described message data type according to the type of described data.
As mentioned above, hybrid conditional policies route system of the present invention and method, have following beneficial effect:
Present invention achieves the routing forwarding efficiency of small home gateway product and the lifting of reliability, set up the hybrid routing mechanism of a set of static routing and conditional policies route, and use different strategies to distinguish different types of service under given conditions, both static routing can have been adopted to carry out the internet service message (the Internet message) of distinguishing terminal transmission, also the policy routing mechanism of TR069 management service can be added under given conditions, achieve the lifting of message repeating efficiency, ensure again being independent of each other of route between various different business simultaneously, and be convenient to management.The mode of static routing and the mixing of conditional policies route is provided in the present invention, adapts to also multiple different type of service; The present invention uses different route processing modes to different business, avoids interacting between route table items; The invention provides the routing table of multiple particular traffic type, be convenient to manage route table items.The present invention, by adding specific purpose address routing rule, improves the forward efficiency of special packet.
Accompanying drawing explanation
Fig. 1 is shown as the system diagram of the hybrid conditional policies route system of the present invention.
Fig. 2 is shown as the flow chart of the hybrid conditional policies method for routing of the present invention.
Element numbers explanation
21 identification modules
22 processing modules
S11 ~ S18 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
The invention provides a kind of hybrid conditional policies route system and method, solve in existing static routing owing to not distinguishing sender and the type of service of message, the message causing the sender of all business to reach same destination address is all sent by a static routing, causes the impact of message transmitting efficiency.When destination address under different business is different, static routing can not have problems, but when sender is different, type of service is different, and the identical meeting of destination address causes other Operational Visits to be made mistakes.Hybrid conditional policies route system of the present invention and method, with the addition of different IP rules, not only judge the destination address of message, also need the IP address of the sender judging message, and judge message data type, distinguishing Internet message and interactive maintenance message, realize the fast-forwarding of message by different routing mechanisms.
The processing module 22 that the hybrid conditional policies route system of the present invention comprises identification module 21 and is connected with identification module 21, this identification module 21 pairs of messages are resolved and form message data information, and this message data information includes IP address and the message data type of message sender.Processing module 22 receives the message data information that identification module 21 parses, and carries out setting the transmission that the routing policy be applicable to carries out message, for message provides applicable data channel according to message data information.
The hybrid conditional policies route system of the present invention is applicable to small home gateway, two kinds of message data types are mainly contained in small home gateway, a kind of the Internet message being domestic consumer and surfing the Net, another kind is the message with the mutual management service type of remote management platform, i.e. interactive maintenance message, two kinds of type of messages are equipped with different data channel by the present invention respectively, adopt different routing tables to transmit, serve and improve message transmitting efficiency, avoid the interference of routing table between different business.Message data type in the present invention is different, selects different routing table transmission, same message data type, identical message destination address, and the IP address of message sender is different, also selects different routing table transmission, drastically increase the forward efficiency of route, avoid the problem of interference.
Identification module in the present invention 21 pairs of messages are resolved, data compression in message has the information such as procotol, IP datagram, operational order, by inverse operation by the Data Analysis in message out, obtain data entrained in message, judge to obtain the data type of outgoing packet according to information such as procotol, IP datagram and operational orders, the data type of this message comprises the Internet message and interactive maintenance message two kinds.This interactive maintenance message comprises TR069 management service.
Processing module in the present invention 22 pairs of the Internet messages, select the static routing had in main routing table, but need the source IP address in the static routing judging to have deposited whether to mate with the IP address of message sender, if coupling, adopts the data channel of this static routing to carry out the transmission of message, if do not mate, processing module then sets up new static routing in main routing table, the IP address of incoming message sender in source IP address in new static routing, carries out the transmission of message by this new static routing.When this message sender sends the Internet message again like this, the new static routing of namely just having set up by processing module coupling is transmitted.
Processing module in the present invention 22 pairs of interactive maintenance messages, conditional policies route is adopted to be that interactive maintenance message sets up management routing table, this management routing table comprises the IP address of message sender, this processing module is the interface that management routing table specifies current idle, is transmitted interactive maintenance message by management routing table.The destination address of message is also comprised in this management routing table.It is all specially appointed that management routing table in policybased routing uses at every turn, be processing module be that interactive maintenance message is newly-built, therefore management routing table belongs to specific data channel, processing module is that it specifies the interface of current idle to transmit, and improves the transmitting efficiency of message.Processing module 22 is for the message of equipment with remote management platform type of interaction, after interpolation IP rule is distinguished, adopt the mode of conditional policies route, the policybased routing that one meets this business rule is added according to specific condition, the routing table of newly-built this type of service of user, and add relevant route table items, make the message of this business adopt specific policy route to be forwarded by the correct outlet of specifying by message.That is processing module 22 is for exchange of management message, according to the parsing of identification module 21, obtain the relevant information in exchange of management message, distinguish according to sender IP, policybased routing is added, to improve the forward efficiency of this interactive maintenance message adopting the condition adapted with interactive maintenance message.
Hybrid conditional policies route system of the present invention, by adding different IP rules, judges the type of message, i.e. the Internet message and interactive maintenance message.First judge the type of message, then distinguish according to different IP rules, not only distinguish the IP of message destination address, also the IP of message sender will be distinguished, the interference of routing table between different business is avoided with this, two kinds of type of messages are equipped with different data channel respectively, adopt different routing tables to transmit, improve message transmitting efficiency.
Refer to Fig. 1, show the flow chart of the hybrid conditional policies method for routing of the present invention.Below in conjunction with Fig. 1, the hybrid conditional policies method for routing of the present invention is described.The hybrid conditional policies method for routing of the present invention comprises:
Perform step S11, receive packet parsing outgoing packet data message, resolve message, the message data information of formation comprises IP address and the message data type of message sender.According to this message data information be message setting be applicable to routing policy transmit.Then step S12 is performed.
Perform step S12, judge message data type, message data type comprises the Internet message and interactive maintenance message two kinds.If be judged as the Internet message, perform step S14, if interactive maintenance message then performs step S13.
Perform step S13, when the message received is interactive maintenance message, then perform step S15.
Perform step S15, adopt conditional policies route to be that interactive maintenance message sets up management routing table, carried out the transmission of message by management routing table.Management routing table comprises the IP address of message sender, for management routing table specifies the interface of current idle, is carried out the transmission of interactive maintenance message, for interactive maintenance message provides specific data channel by management route.Message destination address is included in management routing table.
Perform step S14, when the message received is the Internet message, then perform step S16.
Perform step S16, judge whether the static routing in main routing table mates with the IP address of message sender, whether the source IP in the static routing namely stored in main routing table and the IP address of message sender match.If coupling, perform step S17, do not mate and then perform step S18.
Perform step S17, adopt the static routing of mating in main routing table to transmit message.
Perform step S18, in main routing table, set up new static routing transmit message, this new static routing includes the IP address of message sender, and stores in main routing table, can directly call this data channel when reusing.
Docking receiving literary composition parses message data information, data compression in message has the information such as procotol, IP datagram, operational order, by inverse operation by the Data Analysis in message out, obtain data entrained in message, judge to obtain the data type of outgoing packet according to information such as procotol, IP datagram and operational orders, the data type of this message comprises the Internet message and interactive maintenance message two kinds.This interactive maintenance message comprises TR069 management service.
In sum, the hybrid conditional policies route system of the present invention and method, static routing is adopted to send the Internet message, and the IP of coupling sender, avoid the interference problem of routing table, be interactive maintenance message Establishment strategy route under adopting specified conditions, realize the lifting of message repeating efficiency, ensure again being independent of each other of various different business route simultaneously, and be convenient to management.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. a hybrid conditional policies route system, is characterized in that, comprising:
Identification module, resolves message, and forms message data information, and described message data information comprises IP address and the message data type of message sender; And
Processing module, is connected with described identification module, receives the described message data information that described identification module is formed, and carries out the transmission of described message according to the routing policy that described message data information setting is applicable to.
2. hybrid conditional policies route system according to claim 1, it is characterized in that: described message data type comprises the Internet message, described processing module is selected to transmit with the static routing of the IP addresses match of described message sender in main routing table to described the Internet message, if when there is not the static routing with the IP addresses match of described message sender in described main road table, described processing module sets up the new static routing with the IP addresses match of described message sender in described main routing table, and the transmission of message is carried out by new static routing.
3. hybrid conditional policies route system according to claim 1 and 2, it is characterized in that: described message data type also comprises interactive maintenance message, described processing module adopts conditional policies route to be that described interactive maintenance message sets up management routing table, described management routing table comprises the IP address of described message sender, described processing module is the interface that described management routing table specifies current idle, is transmitted described interactive maintenance message by described management routing table.
4. hybrid conditional policies route system according to claim 3, is characterized in that: the destination address also comprising described message in described management routing table.
5. hybrid conditional policies route system according to claim 1, is characterized in that: described identification module resolves described message, to obtain the data of carrying in described message, judges to draw described message data type according to the type of described data.
6. a hybrid conditional policies method for routing, is characterized in that: comprising:
Resolve the message received, form corresponding message data information, described message data information comprises IP address and the message data type of message sender;
The routing policy be applicable to according to described message data information setting carries out the transmission of described message.
7. hybrid conditional policies method for routing according to claim 6, it is characterized in that: described message data type is the Internet message, select to transmit with the static routing of the IP addresses match of described message sender in main routing table, if when there is not the static routing with the IP addresses match of described message sender in described main road table, in described main routing table, set up the new static routing with the IP addresses match of described message sender, and carried out the transmission of described message by new static routing.
8. hybrid conditional policies method for routing according to claim 6, it is characterized in that: described message data type is interactive maintenance message, conditional policies route is adopted to be that described interactive maintenance message sets up management routing table, described management routing table comprises the IP address of described message sender, and be the interface that described management routing table specifies current idle, by described management routing table, described interactive maintenance message is transmitted.
9. hybrid conditional policies method for routing according to claim 8, is characterized in that: described management routing table also comprises the destination address of described message.
10. hybrid conditional policies method for routing according to claim 9, is characterized in that: resolve the message received, obtains the data of carrying in described message, judges to draw described message data type according to the type of described data.
CN201410769248.4A 2014-12-12 2014-12-12 Hybrid conditional policies route system and method Active CN104410576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410769248.4A CN104410576B (en) 2014-12-12 2014-12-12 Hybrid conditional policies route system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410769248.4A CN104410576B (en) 2014-12-12 2014-12-12 Hybrid conditional policies route system and method

Publications (2)

Publication Number Publication Date
CN104410576A true CN104410576A (en) 2015-03-11
CN104410576B CN104410576B (en) 2018-07-06

Family

ID=52648174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410769248.4A Active CN104410576B (en) 2014-12-12 2014-12-12 Hybrid conditional policies route system and method

Country Status (1)

Country Link
CN (1) CN104410576B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571993A (en) * 2016-11-10 2017-04-19 瑞斯康达科技发展股份有限公司 Data transmission method, data transmission device and data transmission system
CN106789725A (en) * 2016-11-10 2017-05-31 瑞斯康达科技发展股份有限公司 It is a kind of to realize the methods, devices and systems that flow is redirected
CN115484203A (en) * 2022-09-14 2022-12-16 杭州云合智网技术有限公司 Method, device and equipment for operating routing table entry and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070104200A1 (en) * 2005-11-04 2007-05-10 Hon Hai Precision Industry Co., Ltd. Network device with routing function and policy route setting method thereof
CN101127691A (en) * 2006-08-17 2008-02-20 王玉鹏 A method for implementing stream-based policy routing on network processor
CN101674221A (en) * 2008-09-09 2010-03-17 中国移动通信集团公司 Static routing generation method, method and device for implementing terminal routing
CN102035745A (en) * 2010-12-23 2011-04-27 北京星网锐捷网络技术有限公司 Policy routing realizing method, device and network equipment
CN102164078A (en) * 2011-03-25 2011-08-24 北京星网锐捷网络技术有限公司 Policy routing method, device and system
CN103227752A (en) * 2013-05-14 2013-07-31 盛科网络(苏州)有限公司 Method and device for realizing policy routing in Ethernet switch chip

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070104200A1 (en) * 2005-11-04 2007-05-10 Hon Hai Precision Industry Co., Ltd. Network device with routing function and policy route setting method thereof
CN101127691A (en) * 2006-08-17 2008-02-20 王玉鹏 A method for implementing stream-based policy routing on network processor
CN101674221A (en) * 2008-09-09 2010-03-17 中国移动通信集团公司 Static routing generation method, method and device for implementing terminal routing
CN102035745A (en) * 2010-12-23 2011-04-27 北京星网锐捷网络技术有限公司 Policy routing realizing method, device and network equipment
CN102164078A (en) * 2011-03-25 2011-08-24 北京星网锐捷网络技术有限公司 Policy routing method, device and system
CN103227752A (en) * 2013-05-14 2013-07-31 盛科网络(苏州)有限公司 Method and device for realizing policy routing in Ethernet switch chip

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106571993A (en) * 2016-11-10 2017-04-19 瑞斯康达科技发展股份有限公司 Data transmission method, data transmission device and data transmission system
CN106789725A (en) * 2016-11-10 2017-05-31 瑞斯康达科技发展股份有限公司 It is a kind of to realize the methods, devices and systems that flow is redirected
CN106571993B (en) * 2016-11-10 2019-10-25 瑞斯康达科技发展股份有限公司 A kind of methods, devices and systems transmitting data
CN106789725B (en) * 2016-11-10 2020-06-19 瑞斯康达科技发展股份有限公司 Method, device and system for realizing traffic redirection
CN115484203A (en) * 2022-09-14 2022-12-16 杭州云合智网技术有限公司 Method, device and equipment for operating routing table entry and storage medium

Also Published As

Publication number Publication date
CN104410576B (en) 2018-07-06

Similar Documents

Publication Publication Date Title
EP3000206B1 (en) Chaining service zones by way of route re-origination
US8830998B2 (en) Separation of edge and routing/control information for multicast over shortest path bridging
EP2378720B1 (en) Extranet networking method, system and device for multicast virtual private network
PH12015502297B1 (en) A method and system for updating distributed resilient network interconnect (drni) states
CN102055672B (en) Control method for data flow transmission route, device and route equipment
US11870652B2 (en) Software defined networking portal
JP6145216B2 (en) Data transmission method, apparatus, and computer storage medium
EP2974147B1 (en) Loop-free hybrid network
CN101789949B (en) Method and router equipment for realizing load sharing
CN102185782A (en) Data transmission method and device of multilink transparent transmission interconnection network
CN109525489A (en) A kind of Convergence gateway and data transmission method
CN103780585A (en) Internet-based multi-line multi-IP server data exchange method
CN103916253A (en) Information transmission method and system on basis of information center network
WO2016107134A1 (en) Service chain route management system and usage method therefor
CN104601428A (en) Communication method of virtual machines
CN111435922A (en) Bandwidth sharing method
CN102664804B (en) Method and system for achieving network bridge function of network equipment
CN103138955A (en) Managing IGMP multicast transmission using multiple queriers
CN104410576A (en) Mixed type condition policy routing system and method
JP6067682B2 (en) Information determining method and information determining system
CN102694734B (en) Two-layer switching equipment realizes the method for multicast based on linux kernel bridge
KR101629089B1 (en) Hybrid openFlow method for combining legacy switch protocol function and SDN function
CN102932186B (en) Trunking system and method of removing loop circuits
WO2022156423A1 (en) Data transmission method and apparatus
EP3131344A1 (en) Method and system for discovery of access aggregation points for bonding approaches in a telecommunication network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201103

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.