CN104980488B - Message transmitting method and relevant apparatus and communication system - Google Patents

Message transmitting method and relevant apparatus and communication system Download PDF

Info

Publication number
CN104980488B
CN104980488B CN201510126208.2A CN201510126208A CN104980488B CN 104980488 B CN104980488 B CN 104980488B CN 201510126208 A CN201510126208 A CN 201510126208A CN 104980488 B CN104980488 B CN 104980488B
Authority
CN
China
Prior art keywords
request message
business
transmission assembly
response message
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510126208.2A
Other languages
Chinese (zh)
Other versions
CN104980488A (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems 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 Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201510126208.2A priority Critical patent/CN104980488B/en
Publication of CN104980488A publication Critical patent/CN104980488A/en
Application granted granted Critical
Publication of CN104980488B publication Critical patent/CN104980488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses message transmitting method and relevant apparatus and communication systems.A kind of method of transmitting message includes: that the transmission assembly Ts disposed in the fringe node of source receives request message, the request message carries service identification si, and the transmission assembly Ts calls business plug-in unit spi corresponding with the service identification si to carry out business logic processing to the request message to obtain the request message after business logic processing;The transmission assembly Ts carries out tunnel head encapsulation process to the request message after the business logic processing to obtain encapsulating the request message of tunnel head, and the next-hop node of the source fringe node of the transmission assembly Ts in the transmission path sends the request message after the progress tunnel head encapsulation.The node that technical solution provided in an embodiment of the present invention is conducive to enhance in data transmission network supports multiple services ability, reduces cost and code implementation complexity under Supporting multi-services scene.

Description

Message transmitting method and relevant apparatus and communication system
Technical field
The present invention relates to network technique fields, specifically relate generally to a kind of message transmitting method and relevant apparatus and communication system System.
Background technique
With the rapid development of Internet technology and terminal technology, it is related to network data transmission there are many Internet service And data interaction.Accelerate transmission of the data between each network node, is the important hand for improving service quality and promoting user experience Section.
In the prior art, message circulates between the node of data transmission network (such as content distributing network etc.), ginseng Pass through the iso-ip Internetworking protocol ISO-IP of message with the node (such as source fringe node, transit node and purpose fringe node etc.) of circulation The address (IP, Internet Protocol) determines message according to the affiliated business of message to identify the affiliated business of message Business processing logic and the transmission path in data transmission network etc..In the prior art by a business processing transmission module Lai Handle service logic and the transmission logic etc. of the message of multiple business.
The present inventor has found that the prior art at least has following technical problem in research and practice process: The code of its business processing transmission module is normally resulted in when the business that the node for participating in circulation is supported is more in the prior art Become complexity height, and when the business supported changes needs to suspend and update its business processing biography after the business of node Defeated block code.
Summary of the invention
The embodiment of the present invention provides message transmitting method and relevant apparatus and communication system, to enhance data transmission network In node support multiple services ability, reduce cost and code implementation complexity under Supporting multi-services scene.
On the one hand the embodiment of the present invention provides a kind of method of transmitting message, comprising:
The transmission assembly Ts disposed in the fringe node of source receives request message, and the request message carries service identification Si, the transmission assembly Ts and N number of business plug-in unit are deployed in the source fringe node, and the N is the integer greater than 1;
The transmission assembly Ts calls business plug-in unit spi corresponding with the service identification si to carry out the request message For business logic processing to obtain the request message after business logic processing, the business plug-in unit spi is in N number of business plug-in unit One of business plug-in unit;
The transmission assembly Ts carries out tunnel head encapsulation process to the request message after the business logic processing to obtain Encapsulate the request message of tunnel head, wherein carry in the tunnel head of the request message for encapsulating tunnel head based on institute State the path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of request message obtains;
The next-hop node of the source fringe node of the transmission assembly Ts in the transmission path send it is described into Request message after the encapsulation of row tunnel head.
Second aspect of the present invention provides a kind of method of transmitting message, comprising:
The transmission assembly Td disposed in purpose fringe node receives request message, and the request message carries service identification Si, wherein the transmission assembly Td and M business plug-in unit are deployed in the purpose fringe node, the M is whole greater than 1 Number;
The transmission assembly Td carries out the decapsulation processing of tunnel head to the request message to have been decapsulated tunnel head Request message;The transmission assembly Td calls business plug-in unit dpi corresponding with the service identification si to the decapsulation The request message of tunnel head carries out business logic processing to obtain the request message after business logic processing, wherein the business Plug-in unit dpi is one of business plug-in unit in the M business plug-in unit.
Third aspect present invention provides a provenance fringe node, comprising:
Transmission assembly and N number of business plug-in unit, the N are the integer greater than 1;
Wherein, the transmission assembly is for receiving the request message for carrying service identification si;It calls and the business mark Know si corresponding business plug-in unit spi and business logic processing is carried out to obtain the request after business logic processing to the request message Message, the business plug-in unit spi are one of business plug-in unit in N number of business plug-in unit;
The business plug-in unit spi, for call the transmission assembly to the request message after the business logic processing into Row tunnel head encapsulation process is to obtain encapsulating the request message of tunnel head, wherein the request message for encapsulating tunnel head Tunnel head in carry the biography of the request message that the purpose iso-ip Internetworking protocol ISO-IP address based on the request message obtains The path description in defeated path;
The next-hop node that the transmission assembly is also used to the source fringe node in the transmission path sends institute State the request message after carrying out the encapsulation of tunnel head.
Fourth aspect present invention provides a kind of purpose fringe node, comprising:
Transmission assembly and M business plug-in unit, the M are the integer greater than 1;
The transmission assembly is used for, and receives the request message for carrying service identification si;Tunnel is carried out to the request message Trace header decapsulation is handled to have been decapsulated the request message of tunnel head;Business corresponding with the service identification si is called to insert Part dpi carries out business logic processing to the request message for having decapsulated tunnel head to obtain the request after business logic processing Message;
The business plug-in unit dpi, under the calling of the transmission assembly, to the request for having decapsulated tunnel head Message carries out business logic processing to obtain the request message after business logic processing, and the business plug-in unit dpi is the M industry The one of business plug-in unit being engaged in plug-in unit.
Fifth aspect present invention provides a kind of communication system, comprising:
Source fringe node, at least one transit node and purpose fringe node;
Wherein, the transmission assembly Ts disposed in the source fringe node, for receiving request message, the request message is taken With service identification si, the transmission assembly Ts and N number of business plug-in unit are deployed in the source fringe node, the N is positive whole Number;The transmission assembly Ts is also used to, call business plug-in unit spi corresponding with the service identification si to the request message into For row business logic processing to obtain the request message after business logic processing, the business plug-in unit spi is N number of business plug-in unit In one of business plug-in unit;Head encapsulation process in tunnel is carried out to be sealed to the request message after the business logic processing The request message of tunnel head is filled, wherein carried in the tunnel head of the request message for encapsulating tunnel head based on described The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of request message obtains;To the biography The next-hop node of the source fringe node on defeated path sends the request message after the progress tunnel head encapsulation.
Wherein, the transmission assembly Tz disposed in the transit node carries asking for the service identification si for receiving Message is sought, the next-hop node of the transit node in the transmission path sends the request message;
The transmission assembly Td disposed in the purpose fringe node, for receiving request message, the request message is carried There is service identification si, wherein the transmission assembly Td and M business plug-in unit are deployed in the purpose fringe node, the M is Positive integer;The transmission assembly Td is also used to, and carries out the decapsulation processing of tunnel head to the request message to be decapsulated The request message of tunnel head;Business plug-in unit dpi corresponding with the service identification si is to the request for having decapsulated tunnel head Message carries out business logic processing to obtain the request message after business logic processing, wherein the business plug-in unit dpi is described One of business plug-in unit in M business plug-in unit.
As can be seen that disposing transmission assembly Ts and N number of business in source/destination fringe node in the embodiment of the present invention Plug-in unit, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts is adjustable Business logic processing is carried out to obtain asking after business logic processing to request message with business plug-in unit corresponding with service identification Message is sought, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic and closes System, and the prior art is handled the service logic and transmission logic of the message of multiple business by a business processing transmission module, It is direct code coupled relation between its service logic and the code of transmission logic.The above scheme of the present embodiment passes through ingenious The code of releasing service logic and the code of transmission logic between code coupled relation so that being responsible for business logic processing Each business plug-in unit no longer can need to pay close attention to the specific implementation of transmission logic processing, and the design that this is advantageous for simplifying business plug-in unit is multiple Miscellaneous degree can only need newly-increased or modify related service plug-in unit, have little influence on when the business supported changes Other business, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation.Total For, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, is conducive to Reduce the cost and code implementation complexity under Supporting multi-services scene.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1-a~Fig. 1-d is a kind of schematic diagram of network architecture provided in an embodiment of the present invention;
Fig. 1-e is a kind of flow diagram of message transmitting method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another message transmitting method provided in an embodiment of the present invention;
Fig. 3-a is the flow diagram of another message transmitting method provided in an embodiment of the present invention;
Fig. 3-b~Fig. 3-c is that the mapping between another service identification and business plug-in unit provided in an embodiment of the present invention is closed The schematic diagram of system;
Fig. 3-d is the structural schematic diagram of the tunnel head of message provided in an embodiment of the present invention;
Fig. 3-e is the schematic diagram of the corresponding relationship between virtual connections mark provided in an embodiment of the present invention and path description;
Fig. 4 is the flow diagram of another message transmitting method provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of provenance fringe node provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of purpose fringe node provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of another provenance fringe node provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of another purpose fringe node provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram of communication system provided in an embodiment of the present invention.
Specific embodiment
Support multiple services ability to enhance the node in data transmission network, reduce under Supporting multi-services scene at Sheet and code implementation complexity.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It is described in detail separately below.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
For the following proposal convenient for the better embodiment of the present invention, simply it is situated between to some concepts that may be introduced below It continues.
Content distributing network (CDN, Content Delivery Network) is one layer of new net of increase in Internet The content of server in station can be published to the network " edge " closest to user by network framework, needed for family can be used to obtain nearby Content improve the response speed that user accesses website to solve the network congestion situation of Internet.
Below by several possible network architectures of attached drawing citing, some technical solutions of some embodiments of the present invention can It is embodied based on the network architecture shown in Fig. 1-a~Fig. 1-d citing, is also not limited to the network rack of the example above certainly Structure.
Wherein, source fringe node can be CDN or other accelerate the node in transmission network, and source fringe node can be by business Service provider provides to dispose.Wherein, purpose fringe node can be CDN or other accelerate the node in transmission network, source edge Node can be disposed offer by business service quotient.
Wherein, user terminal or service server may be connected to source fringe node.Source fringe node, trochanter in several Point (if present) and purpose fringe node can form an acceleration transmission path, and the acceleration transmission path of formation can be for from use The message (such as request message, response message) of family terminal or service server, which provides, accelerates transmission service.
Such as in the network architecture shown in Fig. 1-d, router-level topology server can be used for calculating more excellent or optimal transmission Path can calculate each source edge in transmission network according to information such as network RTT, packet loss, availability and the capacity of acquisition Node is to the optimal or more excellent transmission path between each purpose fringe node.Distribution node is for distributing transmission path, from routing Calculation server gets newest transmission path, and (can under some scenes by reporting node to be pushed to each source fringe node Referred to as accelerate source point);Also, source fringe node can periodically report the quantity of operation of transmission path to adopt to each purpose fringe node Collect data, quantity of operation acquires data by reporting node to be transmitted to distribution node.Report node can transfer transmission path distribution and Transmission path reports, and can optimize cross operator transmission etc..
It is described by below from the angle of source fringe node.
One embodiment of message transmitting method of the present invention, wherein a kind of message transmitting method may include source fringe node The transmission assembly Ts of middle deployment receives request message, wherein the request message carries service identification si, source edge section The transmission assembly Ts and N number of business plug-in unit are deployed in point, the N is the integer greater than 1;The transmission assembly Ts call with The corresponding business plug-in unit spi of the service identification si carries out business logic processing to the request message to obtain at service logic Request message after reason, the business plug-in unit spi are one of business plug-in unit in N number of business plug-in unit;The transmission Component Ts carries out tunnel head encapsulation process to the request message after the business logic processing to obtain encapsulating asking for tunnel head Message is sought, carries the purpose IP address based on the request message in the tunnel head of the request message for encapsulating tunnel head The path description of the transmission path of the obtained request message;The source of the transmission assembly Ts in the transmission path The next-hop node of fringe node sends the request message after the progress tunnel head encapsulation.
- e referring to Figure 1, Fig. 1-e are a kind of process signals of message transmitting method provided by one embodiment of the present invention Figure.As shown in Fig. 1-e, a kind of message transmitting method provided by one embodiment of the present invention may include the following contents:
101, the transmission assembly Ts disposed in the fringe node of source receives request message.Wherein, the request message carries Service identification si.Wherein, deploy the transmission assembly Ts and N number of business plug-in unit in the source fringe node, the N be greater than 1 integer.
Optionally, the N for example can be equal to 2,3,4,5,7,10,20,30,43,50 or other be greater than 1 integer.
Wherein, the transmission assembly Ts disposed in the fringe node of source can receive the request report for coming user terminal or server Text.
102, the transmission assembly Ts calls business plug-in unit spi corresponding with the service identification si to the request message Business logic processing is carried out to obtain the request message after business logic processing.The business plug-in unit spi inserts for N number of business One of business plug-in unit in part.
Wherein, business plug-in unit spi is mainly concerned with request message progress business logic processing and reports to the request Text carries out application layer business logic processing etc..
Under the calling of the transmission assembly Ts, business plug-in unit spi to the request message carry out business logic processing with Request message after obtaining business logic processing.
Optionally, in some possible embodiments of the invention, it can be one between service identification and business plug-in unit One-to-one correspondence, that is to say, that different service identifications corresponds to different business plug-in units.Or single service identification corresponding one A business plug-in unit, certain several service identification can correspond to the same business plug-in unit, such as multiple business of corresponding identical services type The corresponding same business plug-in unit of mark, such as can be one-to-one relationship between type of service and business plug-in unit, that is, Say that different types of service can correspond to different business plug-in units, in this scenario, the corresponding business plug-in unit of the service identification si Spi, it will be appreciated that be the corresponding business plug-in unit spi of the affiliated type of service of service identification si.
103, the transmission assembly Ts to after the business logic processing request message carry out tunnel head encapsulation process with Obtain encapsulating the request message of tunnel head.Wherein, base is carried in the tunnel head of the request message for encapsulating tunnel head In the path description of the transmission path for the request message that the purpose IP address of the request message obtains.
It optionally, in some possible embodiments of the invention, can be based on the purpose IP address of the request message (purpose IP address herein can be purpose fringe node IP address) obtain the request message transmission path (such as plus Transmission path in fast network or CND network) path description, can specifically be based only upon the purpose IP address of the request message The path description of the transmission path of the obtained request message, or can IP address and request report based on source fringe node The path description of the purpose IP address of text and the transmission path of the obtained request message may be based on the request report certainly The path description of the transmission path for the request message that the purpose IP address and other information of text obtain.
104, the next-hop node of the source fringe node of the transmission assembly Ts in the transmission path sends institute State the request message after carrying out the encapsulation of tunnel head.
Wherein, the next-hop node of the source fringe node in the transmission path, it may be possible to be located at source fringe node Transit node between purpose fringe node, it is also possible to be exactly purpose fringe node (such as there is no transit nodes).Wherein, There are biographies in the case where at least one transit node, disposed in transit node between source fringe node and purpose fringe node Defeated component Tz can receive the request message for carrying the service identification si, and can trochanter in this in the transmission path The next-hop node of point sends the request message.
As can be seen that deployment transmission assembly Ts and N number of business are inserted in the fringe node of source in the technical solution of the present embodiment Part, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts can be called Business plug-in unit corresponding with service identification carries out business logic processing to request message to obtain the request after business logic processing Message, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic and closes System, and the prior art is handled the service logic and transmission logic of the message of multiple business by a business processing transmission module, It is direct code coupled relation between its service logic and the code of transmission logic.The above scheme of the present embodiment passes through ingenious The code of releasing service logic and the code of transmission logic between code coupled relation so that being responsible for business logic processing Each business plug-in unit no longer can need to pay close attention to the specific implementation of transmission logic processing, and the design that this is advantageous for simplifying business plug-in unit is multiple Miscellaneous degree can only need newly-increased or modify related service plug-in unit, have little influence on when the business supported changes Other business, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation.Total For, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, is conducive to Reduce the cost and code implementation complexity under Supporting multi-services scene.
Optionally, in some possible embodiments of the present invention, transmission assembly Ts, which can be called, is deployed in the source edge Purpose IP address etc. of route agent's component based on the request message in node obtains institute from the router-level topology server State the path description of the transmission path of request message.
Optionally, in some possible embodiments of the present invention, the method also includes: the transmission assembly Ts is received The response message of the request message;The transmission assembly Ts carries out the decapsulation processing of tunnel head to the response message to obtain The response message of tunnel head is decapsulated;The transmission assembly Ts calls the business plug-in unit spi to decapsulate tunnel to described The response message of head carries out business logic processing to obtain the response message after business logic processing;The transmission assembly Ts is sent Response message after the business logic processing.
Optionally, in some possible embodiments of the present invention, the tunnel head of the request message carries virtual connections Mark.
It is described by below from the angle of purpose fringe node.
Another embodiment of message transmitting method of the present invention, wherein another message transmitting method may include purpose side The transmission assembly Td disposed in edge node receives request message, and the request message carries service identification si, wherein the mesh Fringe node in deploy the transmission assembly Td and M business plug-in unit, the M is the integer greater than 1;The transmission assembly Td carries out tunnel head decapsulation processing to the request message to have been decapsulated the request message of tunnel head;The transmission group Part Td calls business plug-in unit dpi corresponding with the service identification si to carry out industry to the request message for having decapsulated tunnel head For business logical process to obtain the request message after business logic processing, the business plug-in unit dpi is in the M business plug-in unit One of business plug-in unit.
Fig. 2 is referred to, Fig. 2 is a kind of flow diagram for message transmitting method that another embodiment of the present invention provides. As shown in Fig. 2, another embodiment of the present invention provides a kind of message transmitting method may include the following contents:
201, the transmission assembly Td disposed in purpose fringe node receives request message.
The request message carries service identification si, wherein the transmission group is deployed in the purpose fringe node Part Td and M business plug-in unit, the M are the integer greater than 1.
Optionally, the M for example can be equal to 2,3,4,5,7,10,21,30,47,50 or other be greater than 1 integer.
202, the transmission assembly Td carries out the decapsulation processing of tunnel head to the request message to have been decapsulated tunnel The request message of trace header.
203, the transmission assembly Td calls business plug-in unit dpi corresponding with the service identification si to the decapsulation The request message of tunnel head carries out business logic processing to obtain the request message after business logic processing.
Wherein, the business plug-in unit dpi is one of business plug-in unit in the M business plug-in unit.
Further, if purpose fringe node is not service server, then the transmission assembly Td is also transmittable described Request message after business logic processing.Such as the transmission assembly Td can also be to described in user terminal or service server transmission Request message after business logic processing.
As can be seen that deployment transmission assembly Ts and N number of business are inserted in purpose fringe node in the technical solution of the present embodiment Part, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts can be called Business plug-in unit corresponding with service identification carries out business logic processing to request message to obtain the request after business logic processing Message, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic and closes System, and the prior art is handled the service logic and transmission logic of the message of multiple business by a business processing transmission module, It is direct code coupled relation between its service logic and the code of transmission logic.The above scheme of the present embodiment passes through ingenious The code of releasing service logic and the code of transmission logic between code coupled relation so that being responsible for business logic processing Each business plug-in unit no longer can need to pay close attention to the specific implementation of transmission logic processing, and the design that this is advantageous for simplifying business plug-in unit is multiple Miscellaneous degree can only need newly-increased or modify related service plug-in unit, have little influence on when the business supported changes Other business, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation.Total For, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, is conducive to Reduce the cost and code implementation complexity under Supporting multi-services scene.
Optionally, in some possible embodiments of the invention, base is carried in the tunnel head of the request message In the path description of the transmission path for the request message that the purpose IP address of the request message obtains.Wherein, the side Method can also further comprise: the transmission assembly Td receives the response message of the request message;The transmission assembly Td is called Business logic processing is carried out to obtain the response report after business logic processing to the response message with the business plug-in unit dpi Text;The transmission assembly Td carries out tunnel head encapsulation process to the response message after the business logic processing to be encapsulated The response message of tunnel head;The upper hop node of the purpose fringe node of the transmission assembly Td in the transmission path Response message after sending the progress tunnel head encapsulation.
Optionally, in some possible embodiments of the invention, base is carried in the tunnel head of the request message In the path description of the transmission path for the request message that the purpose IP address of the request message obtains.Wherein, the side Method can also further comprise: the business plug-in unit dpi generates the response message of the request message;The transmission assembly Td is to institute It states response message and carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;The transmission assembly Td is to described The upper hop node of the purpose fringe node in transmission path sends the response message after the progress tunnel head encapsulation.
Optionally, in some possible embodiments of the invention, it is also carried in the tunnel head of the request message empty Connection identifier, the method also includes: the transmission assembly Td records the path of the virtual connections mark and the transmission path Corresponding relationship between description.
Optionally, in some possible embodiments of the invention, the response message carries the service identification si。
Optionally, in some possible embodiments of the present invention, the tunnel head of the response message carries virtual connections Mark.
In order to facilitate a better understanding and implementation of the above scheme of the embodiment of the present invention, it illustrates below some concrete application scenes It is illustrated.
Refer to Fig. 3-a, Fig. 3-a be another embodiment of the present invention provides the process of message transmitting method a kind of show It is intended to.Wherein, scheme shown in Fig. 3-a can be implemented based on the network architecture shown in Fig. 1-a or 1-b or 1-d.
As shown in Fig. 3-a, another embodiment of the present invention provides a kind of message transmitting method may include the following contents:
301, user terminal sends the request message for carrying service identification si to source fringe node.
302, the transmission assembly Ts disposed in the fringe node of source receives request message.
The transmission assembly Ts calls business plug-in unit spi corresponding with the service identification si to carry out the request message Business logic processing is to obtain the request message after business logic processing.The business plug-in unit spi is in N number of business plug-in unit One of business plug-in unit.
Wherein, the transmission assembly Ts and N number of business plug-in unit are deployed in the source fringe node, the N is greater than 1 Integer.
Optionally, the N for example can be equal to 2,3,4,5,7,10,20,30,43,50 or other be greater than 1 integer.
Wherein, business plug-in unit spi is mainly concerned with request message progress business logic processing and reports to the request Text carries out application layer business logic processing etc..
(transmission assembly Ts can pass through the calling interface tune of the business plug-in unit spi under the calling of the transmission assembly Ts Business logic processing is carried out to obtain at service logic to the request message with the business plug-in unit spi), business plug-in unit spi Request message after reason.
Optionally, in some possible embodiments of the invention, it can be one between service identification and business plug-in unit One-to-one correspondence, such as shown in Fig. 3-b citing, that is to say, that different service identifications corresponds to different business plug-in units.Or The single corresponding business plug-in unit of service identification, certain several service identification can correspond to the same business plug-in unit, such as Fig. 3-c citing It is shown.For example, multiple service identifications of corresponding identical services type correspond to the same business plug-in unit.For example, type of service and industry It can be one-to-one relationship between business plug-in unit.That is, different types of service can correspond to different business plug-in units, Under this scene, the corresponding business plug-in unit spi of the service identification si, it will be appreciated that be the affiliated type of service of service identification si Corresponding business plug-in unit spi.
303, the transmission assembly Ts to after the business logic processing request message carry out tunnel head encapsulation process with Obtain encapsulating the request message of tunnel head.Wherein, base is carried in the tunnel head of the request message for encapsulating tunnel head In the path description of the transmission path for the request message that the purpose IP address of the request message obtains.
Wherein, the transmission assembly Ts can (business plug-in unit spi can pass through the biography under the calling of business plug-in unit spi The calling interface of defeated component Ts calls the transmission assembly Ts), tunnel is carried out to the request message after the business logic processing Head encapsulation process is to obtain encapsulating the request message of tunnel head.
Wherein, shown in the data structure of the tunnel head of request message can illustrate such as Fig. 3-d, it is also not necessarily limited to Fig. 3-d act certainly Data structure shown in example.
The tunnel head of request message shown in Fig. 3-d citing may include following field:
Magic digital section (Magic Num field),
Wrap long field (len field),
Tunneling protocol version field (head ver field),
Type of message (type field), ACK message for identifying common message or for calculating RTT,
Virtual connections identification field (vid field),
Packet sequence number field (seq field),
Source IP address field (src ip field),
Source port field (src port field),
Purpose IP address field (dst ip field),
Destination port field (dst port field),
Timestamp field (Time stamp field),
Transmission path field (id1~idn), the path description for bearer transmission path.Such as except source fringe node (rises Point) and purpose fringe node (terminal) outside be generally up to about 8 jumps, it is every to be jumped by 1, node ID is replaced with to the IP of node.
It optionally, in some possible embodiments of the invention, can be based on the purpose IP address of the request message (purpose IP address herein can be purpose fringe node IP address) obtain the request message transmission path (such as plus Transmission path in fast network or CND network) path description, can specifically be based only upon the purpose IP address of the request message The path description of the transmission path of the obtained request message, or can IP address and request report based on source fringe node The path description of the purpose IP address of text and the transmission path of the obtained request message may be based on the request report certainly The path description of the transmission path for the request message that the purpose IP address and other information of text obtain.
304, the next-hop node of the source fringe node of the transmission assembly Ts in the transmission path sends institute State the request message after carrying out the encapsulation of tunnel head.
Wherein, the next-hop node of the source fringe node in the transmission path, it may be possible to be located at source fringe node Transit node between purpose fringe node, it is also possible to be exactly purpose fringe node (such as there is no transit nodes).This reality Apply in example, by between source fringe node and purpose fringe node there are in case where 1 transit node, in the middle part of transit node The transmission assembly Tz of administration can receive the request message for carrying the service identification si, and can be somebody's turn to do in the transmission path The next-hop node of transit node sends the request message.
305, the transmission assembly Tz disposed in transit node receives the request message for carrying the service identification si, transmission The next-hop node of the transit node of the component Tz in the transmission path sends the request message.
Optionally, in some possible embodiments of the present invention, transit node can record virtual connections mark and transmission road Specifically for example mapping table shown in Fig. 3-e citing can be used to record mapping relations for mapping relations between the path description of diameter.
306, the transmission assembly Td disposed in purpose fringe node receives request message.
The transmission assembly Td carries out the decapsulation processing of tunnel head to the request message to have been decapsulated tunnel head Request message.
The request message carries service identification si, wherein the transmission group is deployed in the purpose fringe node Part Td and M business plug-in unit, the M are the integer greater than 1.
Optionally, the M for example can be equal to 2,3,4,5,7,10,21,30,47,50 or other be greater than 1 integer.
307, the transmission assembly Td calls business plug-in unit dpi corresponding with the service identification si to the decapsulation The request message of tunnel head carries out business logic processing to obtain the request message after business logic processing.
Wherein, the business plug-in unit dpi is one of business plug-in unit in the M business plug-in unit.
308, the request after the transmission assembly Td sends the business logic processing to user terminal or service server Message.
Wherein, the transmission assembly Td can (business plug-in unit dpi can pass through the biography under the calling of business plug-in unit dpi The calling interface of defeated component Td calls the transmission assembly Td), the service logic is sent to user terminal or service server Treated request message.
309, the transmission assembly Td disposed in purpose fringe node receives the response message of request message.
Optionally, in some possible embodiments of the invention, the response message carries the service identification si。
310, transmission assembly Td, which is called, carries out business logic processing to the response message with the business plug-in unit dpi to obtain Response message after to business logic processing.
311, the transmission assembly Td to after the business logic processing response message carry out tunnel head encapsulation process with Obtain encapsulating the response message of tunnel head.
The virtual connections mark etc. that the tunnel head that the tunnel head of response message can carry request message carries.
312, the upper hop node of the purpose fringe node of the transmission assembly Td in the transmission path is sent The response message carried out after the encapsulation of tunnel head.
313, the transmission assembly Tz disposed in transit node receives the response message of request message, and transmission assembly Tz can be to institute The upper hop node for stating the transit node in transmission path sends the response message of the request message.
Optionally, in some possible embodiments of the present invention, transit node is identified and is passed according to the virtual connections of record Mapping relations between the path description in defeated path determine the upper hop node of the transit node in the transmission path.
314, the transmission assembly Ts disposed in the fringe node of source receives the response message of request message.
The transmission assembly Ts carries out the decapsulation processing of tunnel head to the response message to have been decapsulated tunnel head Response message.
315, the transmission assembly Ts call the business plug-in unit spi to the response message for having decapsulated tunnel head into Row business logic processing is to obtain the response message after business logic processing.
316, the response after the transmission assembly Ts sends the business logic processing to user terminal or service server Message.
As can be seen that disposing transmission assembly in source fringe node and purpose fringe node in the technical solution of the present embodiment Ts and N number of business plug-in unit, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, transmission Component Ts can call business plug-in unit corresponding with service identification to carry out business logic processing to request message to obtain service logic Treated request message, this is equivalent to relieve between the code for realizing service logic and the code for realizing transmission logic Code coupled relation, and the prior art handled by a business processing transmission module message of multiple business service logic and It is direct code coupled relation between the code of transmission logic, service logic and transmission logic.The above-mentioned side of the present embodiment Case is by cleverly releasing the code coupled relation between the code of service logic and the code of transmission logic, so that being responsible for business Each business plug-in unit of logical process no longer can need to pay close attention to the specific implementation of transmission logic processing, this is advantageous for simplified business and inserts The design complexities of part can only need newly-increased or modify related service plug-in unit when the business supported changes, Other business are had little influence on, and the prior art carries out code to unique business processing transmission module after then needing to suspend operation It updates.Generally speaking, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services energy Power advantageously reduces cost and code implementation complexity under Supporting multi-services scene.
Refer to Fig. 4, Fig. 4 be another embodiment of the present invention provides a kind of message transmitting method process signal Figure.Wherein, scheme shown in Fig. 4 citing can be based on implementing in the network architecture shown in Fig. 1-c citing.
As shown in figure 4, another embodiment of the present invention provides a kind of message transmitting method may include the following contents:
401, user terminal sends the request message for carrying service identification si to source fringe node.
402, the transmission assembly Ts disposed in the fringe node of source receives request message.
The transmission assembly Ts calls business plug-in unit spi corresponding with the service identification si to carry out the request message Business logic processing is to obtain the request message after business logic processing.The business plug-in unit spi is in N number of business plug-in unit One of business plug-in unit.
Wherein, the transmission assembly Ts and N number of business plug-in unit are deployed in the source fringe node, the N is greater than 1 Integer.
Optionally, the N for example can be equal to 2,3,4,5,7,10,20,30,43,50 or other be greater than 1 integer.
Wherein, business plug-in unit spi is mainly concerned with request message progress business logic processing and reports to the request Text carries out application layer business logic processing etc..
(transmission assembly Ts can pass through the calling interface tune of the business plug-in unit spi under the calling of the transmission assembly Ts Business logic processing is carried out to obtain at service logic to the request message with the business plug-in unit spi), business plug-in unit spi Request message after reason.
403, the transmission assembly Ts to after the business logic processing request message carry out tunnel head encapsulation process with Obtain encapsulating the request message of tunnel head.Wherein, base is carried in the tunnel head of the request message for encapsulating tunnel head In the path description of the transmission path for the request message that the purpose IP address of the request message obtains.
Wherein, the transmission assembly Ts can (business plug-in unit spi can pass through the biography under the calling of business plug-in unit spi The calling interface of defeated component Ts calls the transmission assembly Ts), tunnel is carried out to the request message after the business logic processing Head encapsulation process is to obtain encapsulating the request message of tunnel head.
It optionally, in some possible embodiments of the invention, can be based on the purpose IP address of the request message (purpose IP address herein can be purpose fringe node IP address) obtain the request message transmission path (such as plus Transmission path in fast network or CND network) path description, can specifically be based only upon the purpose IP address of the request message The path description of the transmission path of the obtained request message, or can IP address and request report based on source fringe node The path description of the purpose IP address of text and the transmission path of the obtained request message may be based on the request report certainly The path description of the transmission path for the request message that the purpose IP address and other information of text obtain.
404, the next-hop node of the source fringe node of the transmission assembly Ts in the transmission path sends institute State the request message after carrying out the encapsulation of tunnel head.
Wherein, the next-hop node of the source fringe node in the transmission path, it may be possible to be located at source fringe node Transit node between purpose fringe node, it is also possible to be exactly purpose fringe node (such as there is no transit nodes).This reality Apply in example, by between source fringe node and purpose fringe node there are in case where 1 transit node, in the middle part of transit node The transmission assembly Tz of administration can receive the request message for carrying the service identification si, and can be somebody's turn to do in the transmission path The next-hop node of transit node sends the request message.
405, the transmission assembly Tz disposed in transit node receives the request message for carrying the service identification si, transmission The next-hop node of the transit node of the component Tz in the transmission path sends the request message.
Optionally, in some possible embodiments of the present invention, transit node can record virtual connections mark and transmission road Mapping relations between the path description of diameter.
406, the transmission assembly Td disposed in purpose fringe node receives request message.
The transmission assembly Td carries out the decapsulation processing of tunnel head to the request message to have been decapsulated tunnel head Request message.
The request message carries service identification si, wherein the transmission group is deployed in the purpose fringe node Part Td and M business plug-in unit, the M are the integer greater than 1.
Optionally, the M for example can be equal to 2,3,4,5,7,10,21,30,47,50 or other be greater than 1 integer.
407, the transmission assembly Td calls business plug-in unit dpi corresponding with the service identification si to the decapsulation The request message of tunnel head carries out business logic processing to obtain the request message after business logic processing.
Wherein, the business plug-in unit dpi is one of business plug-in unit in the M business plug-in unit.
408, in purpose fringe node business plug-in unit dpi generate request message response message.
Wherein, the transmission assembly Td can (business plug-in unit dpi can pass through the biography under the calling of business plug-in unit dpi The calling interface of defeated component Td calls the transmission assembly Td), the service logic is sent to user terminal or service server Treated request message.
409, the transmission assembly Td to after the business logic processing response message carry out tunnel head encapsulation process with Obtain encapsulating the response message of tunnel head.
The virtual connections mark etc. that the tunnel head that the tunnel head of response message can carry request message carries.
410, the upper hop node of the purpose fringe node of the transmission assembly Td in the transmission path is sent The response message carried out after the encapsulation of tunnel head.
411, the transmission assembly Tz disposed in transit node receives the response message of request message, and transmission assembly Tz can be to institute The upper hop node for stating the transit node in transmission path sends the response message of the request message.
Optionally, in some possible embodiments of the present invention, transit node is identified and is passed according to the virtual connections of record Mapping relations between the path description in defeated path determine the upper hop node of the transit node in the transmission path.
412, the transmission assembly Ts disposed in the fringe node of source receives the response message of request message.
The transmission assembly Ts carries out the decapsulation processing of tunnel head to the response message to have been decapsulated tunnel head Response message.
413, the transmission assembly Ts call the business plug-in unit spi to the response message for having decapsulated tunnel head into Row business logic processing is to obtain the response message after business logic processing.
414, the response after the transmission assembly Ts sends the business logic processing to user terminal or service server Message.
As can be seen that disposing transmission assembly in source fringe node and purpose fringe node in the technical solution of the present embodiment Ts and N number of business plug-in unit, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, transmission Component Ts can call business plug-in unit corresponding with service identification to carry out business logic processing to request message to obtain service logic Treated request message, this is equivalent to relieve between the code for realizing service logic and the code for realizing transmission logic Code coupled relation, and the prior art handled by a business processing transmission module message of multiple business service logic and It is direct code coupled relation between the code of transmission logic, service logic and transmission logic.The above-mentioned side of the present embodiment Case is by cleverly releasing the code coupled relation between the code of service logic and the code of transmission logic, so that being responsible for business Each business plug-in unit of logical process no longer can need to pay close attention to the specific implementation of transmission logic processing, this is advantageous for simplified business and inserts The design complexities of part can only need newly-increased or modify related service plug-in unit when the business supported changes, Other business are had little influence on, and the prior art carries out code to unique business processing transmission module after then needing to suspend operation It updates.Generally speaking, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services energy Power advantageously reduces cost and code implementation complexity under Supporting multi-services scene.
Relevant apparatus for implementing the above scheme is also provided below.
Referring to Fig. 5, the embodiment of the present invention provides a provenance fringe node 500, comprising:
Transmission assembly 510 and N number of business plug-in unit 520.
Wherein, the transmission assembly 510 is for receiving the request message for carrying service identification si;It calls and the business It identifies si corresponding business plug-in unit spi and business logic processing is carried out to obtain asking after business logic processing to the request message Message is sought, the business plug-in unit spi is one of business plug-in unit in N number of business plug-in unit.
The business plug-in unit spi, for calling the transmission assembly 510 to the request message after the business logic processing Tunnel head encapsulation process is carried out to obtain encapsulating the request message of tunnel head, wherein the request report for encapsulating tunnel head The request message that the purpose iso-ip Internetworking protocol ISO-IP address based on the request message obtains is carried in the tunnel head of text The path description of transmission path.
The next-hop node that the transmission assembly 510 is also used to the source fringe node in the transmission path is sent The request message carried out after the encapsulation of tunnel head.
Optionally, in some possible embodiments of the present invention, the transmission assembly is also used to, and calls route agent's group Purpose iso-ip Internetworking protocol ISO-IP address of the part based on the request message obtains the request message from the router-level topology server Transmission path path description.
Optionally, in some possible embodiments of the present invention, the transmission assembly is also used to, and receives the request report The response message of text;Tunnel head decapsulation processing is carried out to have been decapsulated the response report of tunnel head to the response message Text;The business plug-in unit spi is called to carry out business logic processing to the response message for having decapsulated tunnel head to obtain industry Response message after logical process of being engaged in;Response message after sending the business logic processing.
Optionally, in some possible embodiments of the present invention, the tunnel head of the request message carries virtual connections Mark.
It is understood that the function of each functional module of the source fringe node 500 of the present embodiment can be according to the above method Method specific implementation in embodiment, specific implementation process are referred to the associated description of above method embodiment, herein not It repeats again.
As can be seen that deployment transmission assembly Ts and N number of business are inserted in the fringe node of source in the technical solution of the present embodiment Part, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts can be called Business plug-in unit corresponding with service identification carries out business logic processing to request message to obtain the request after business logic processing Message, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic and closes System, and the prior art is handled the service logic and transmission logic of the message of multiple business by a business processing transmission module, It is direct code coupled relation between its service logic and the code of transmission logic.The above scheme of the present embodiment passes through ingenious The code of releasing service logic and the code of transmission logic between code coupled relation so that being responsible for business logic processing Each business plug-in unit no longer can need to pay close attention to the specific implementation of transmission logic processing, and the design that this is advantageous for simplifying business plug-in unit is multiple Miscellaneous degree can only need newly-increased or modify related service plug-in unit, have little influence on when the business supported changes Other business, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation.Total For, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, is conducive to Reduce the cost and code implementation complexity under Supporting multi-services scene.
Referring to Fig. 6, the embodiment of the present invention also provides a kind of purpose fringe node, it may include:
Transmission assembly 610 and M business plug-in unit 620;
The transmission assembly 610 is used for, and receives the request message for carrying service identification si;The request message is carried out Head decapsulation in tunnel is handled to have been decapsulated the request message of tunnel head;Call business corresponding with the service identification si Plug-in unit dpi carries out business logic processing to the request message for having decapsulated tunnel head to obtain asking after business logic processing Seek message;
The business plug-in unit dpi, under the calling of the transmission assembly, to the request for having decapsulated tunnel head Message carries out business logic processing to obtain the request message after business logic processing, and the business plug-in unit dpi is the M industry The one of business plug-in unit being engaged in plug-in unit.
Optionally, in some possible embodiments of the present invention, the transmission assembly 610 is also used to send the business Request message after logical process.
Optionally, it in some possible embodiments of the present invention, carries and is based in the tunnel head of the request message The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of the request message obtains;
Wherein, the transmission assembly is also used to, and receives the response message of the request message;It calls and the business plug-in unit Dpi carries out business logic processing to the response message to obtain the response message after business logic processing;The business is patrolled Volume treated, and response message carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;To the transmission road The upper hop node of the purpose fringe node on diameter sends the response message after the progress tunnel head encapsulation.
Optionally, it in some possible embodiments of the present invention, carries and is based in the tunnel head of the request message The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of the request message obtains;
Wherein, the business plug-in unit dpi is also used to, and generates the response message of the request message;Call the transmission group Part carries out tunnel head encapsulation process to the response message to obtain encapsulating the response message of tunnel head;
The transmission assembly is also used to, and the upper hop node of the purpose fringe node in the transmission path is sent The response message carried out after the encapsulation of tunnel head.
Optionally, it in some possible embodiments of the present invention, also carries and virtually connects in the tunnel head of the request message Mark is connect, the transmission assembly 610 is also used to, and is recorded between the virtual connections mark and the path description of the transmission path Corresponding relationship.
Optionally, in some possible embodiments of the present invention, the response message carries the service identification si.
It is understood that the function of each functional module of the purpose fringe node 600 of the present embodiment can be according to above-mentioned side Method specific implementation in method embodiment, specific implementation process are referred to the associated description of above method embodiment, herein It repeats no more.
As can be seen that deployment transmission assembly Ts and N number of business are inserted in purpose fringe node in the technical solution of the present embodiment Part, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts can be called Business plug-in unit corresponding with service identification carries out business logic processing to request message to obtain the request after business logic processing Message, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic and closes System, and the prior art is handled the service logic and transmission logic of the message of multiple business by a business processing transmission module, It is direct code coupled relation between its service logic and the code of transmission logic.The above scheme of the present embodiment passes through ingenious The code of releasing service logic and the code of transmission logic between code coupled relation so that being responsible for business logic processing Each business plug-in unit no longer can need to pay close attention to the specific implementation of transmission logic processing, and the design that this is advantageous for simplifying business plug-in unit is multiple Miscellaneous degree can only need newly-increased or modify related service plug-in unit, have little influence on when the business supported changes Other business, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation.Total For, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, is conducive to Reduce the cost and code implementation complexity under Supporting multi-services scene.
Referring to Fig. 7, Fig. 7 be another embodiment of the present invention provides source fringe node 700 structural block diagram.
Wherein, source fringe node 700 may include: at least one processor 701, at least one network interface 704, memory 705, at least one communication bus 702.Communication bus 702 is for realizing the connection communication between these components.
Wherein, source fringe node 700 also may include user interface 703, can specifically include: display (such as touch screen, LCD, CRT, holographic imaging or projection etc.), pointing device (such as mouse, trace ball (trackball) touch-sensitive plate or touch screen Deng), camera and/or sound pick up equipment etc..
Wherein, memory 705 may include read-only memory and random access memory, and refer to the offer of processor 701 Order and data.A part of in memory 705 can also include nonvolatile RAM etc..
In some embodiments, memory 705 stores following element, executable modules or data structures, or Their subset of person or their superset: transmission assembly 710 and N number of business plug-in unit 720 etc..
Wherein, the transmission assembly 710 is for receiving the request message for carrying service identification si;It calls and the business It identifies si corresponding business plug-in unit spi and business logic processing is carried out to obtain asking after business logic processing to the request message Message is sought, the business plug-in unit spi is one of business plug-in unit in N number of business plug-in unit.
The business plug-in unit spi, for calling the transmission assembly 710 to the request message after the business logic processing Tunnel head encapsulation process is carried out to obtain encapsulating the request message of tunnel head, wherein the request report for encapsulating tunnel head The request message that the purpose iso-ip Internetworking protocol ISO-IP address based on the request message obtains is carried in the tunnel head of text The path description of transmission path.
The next-hop node that the transmission assembly 710 is also used to the source fringe node in the transmission path is sent The request message carried out after the encapsulation of tunnel head.
Optionally, in some possible embodiments of the present invention, the transmission assembly is also used to, and calls route agent's group Purpose iso-ip Internetworking protocol ISO-IP address of the part based on the request message obtains the request message from the router-level topology server Transmission path path description.
Optionally, in some possible embodiments of the present invention, the transmission assembly is also used to, and receives the request report The response message of text;Tunnel head decapsulation processing is carried out to have been decapsulated the response report of tunnel head to the response message Text;The business plug-in unit spi is called to carry out business logic processing to the response message for having decapsulated tunnel head to obtain industry Response message after logical process of being engaged in;Response message after sending the business logic processing.
Optionally, in some possible embodiments of the present invention, the tunnel head of the request message carries virtual connections Mark.
As can be seen that deployment transmission assembly Ts and N number of business are inserted in the fringe node of source in the technical solution of the present embodiment Part, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts can be called Business plug-in unit corresponding with service identification carries out business logic processing to request message to obtain the request after business logic processing Message, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic and closes System, and the prior art is handled the service logic and transmission logic of the message of multiple business by a business processing transmission module, It is direct code coupled relation between its service logic and the code of transmission logic.The above scheme of the present embodiment passes through ingenious The code of releasing service logic and the code of transmission logic between code coupled relation so that being responsible for business logic processing Each business plug-in unit no longer can need to pay close attention to the specific implementation of transmission logic processing, and the design that this is advantageous for simplifying business plug-in unit is multiple Miscellaneous degree can only need newly-increased or modify related service plug-in unit, have little influence on when the business supported changes Other business, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation.Total For, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, is conducive to Reduce the cost and code implementation complexity under Supporting multi-services scene.
Referring to Fig. 8, Fig. 8 be another embodiment of the present invention provides purpose fringe node 800 structural block diagram.
Wherein, purpose fringe node 800 may include: at least one processor 801, at least one network interface 804, storage Device 805, at least one communication bus 802.Communication bus 802 is for realizing the connection communication between these components.
Wherein, purpose fringe node 800 also may include user interface 803, can specifically include: display (such as touch Screen, LCD, CRT, holographic imaging or projection etc.), pointing device (such as mouse, trace ball (trackball) touch-sensitive plate or touching Touch screen etc.), camera and/or sound pick up equipment etc..
Wherein, memory 805 may include read-only memory and random access memory, and refer to the offer of processor 801 Order and data.A part of in memory 805 can also include nonvolatile RAM etc..
In some embodiments, memory 805 stores following element, executable modules or data structures, or Their subset of person or their superset: transmission assembly 810 and N number of business plug-in unit 820 etc..
The transmission assembly 810 is used for, and receives the request message for carrying service identification si;The request message is carried out Head decapsulation in tunnel is handled to have been decapsulated the request message of tunnel head;Call business corresponding with the service identification si Plug-in unit dpi carries out business logic processing to the request message for having decapsulated tunnel head to obtain asking after business logic processing Seek message;
The business plug-in unit dpi, under the calling of the transmission assembly, to the request for having decapsulated tunnel head Message carries out business logic processing to obtain the request message after business logic processing, and the business plug-in unit dpi is the M industry The one of business plug-in unit being engaged in plug-in unit.
Optionally, in some possible embodiments of the present invention, the transmission assembly 810 is also used to send the business Request message after logical process.
Optionally, it in some possible embodiments of the present invention, carries and is based in the tunnel head of the request message The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of the request message obtains;
Wherein, the transmission assembly is also used to, and receives the response message of the request message;It calls and the business plug-in unit Dpi carries out business logic processing to the response message to obtain the response message after business logic processing;The business is patrolled Volume treated, and response message carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;To the transmission road The upper hop node of the purpose fringe node on diameter sends the response message after the progress tunnel head encapsulation.
Optionally, it in some possible embodiments of the present invention, carries and is based in the tunnel head of the request message The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of the request message obtains;
Wherein, the business plug-in unit dpi is also used to, and generates the response message of the request message;Call the transmission group Part carries out tunnel head encapsulation process to the response message to obtain encapsulating the response message of tunnel head;
The transmission assembly is also used to, and the upper hop node of the purpose fringe node in the transmission path is sent The response message carried out after the encapsulation of tunnel head.
Optionally, it in some possible embodiments of the present invention, also carries and virtually connects in the tunnel head of the request message Mark is connect, the transmission assembly 810 is also used to, and is recorded between the virtual connections mark and the path description of the transmission path Corresponding relationship.
Optionally, in some possible embodiments of the present invention, the response message carries the service identification si.
As can be seen that deployment transmission assembly Ts and N number of business are inserted in purpose fringe node in the technical solution of the present embodiment Part, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts can be called Business plug-in unit corresponding with service identification carries out business logic processing to request message to obtain the request after business logic processing Message, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic and closes System, and the prior art is handled the service logic and transmission logic of the message of multiple business by a business processing transmission module, It is direct code coupled relation between its service logic and the code of transmission logic.The above scheme of the present embodiment passes through ingenious The code of releasing service logic and the code of transmission logic between code coupled relation so that being responsible for business logic processing Each business plug-in unit no longer can need to pay close attention to the specific implementation of transmission logic processing, and the design that this is advantageous for simplifying business plug-in unit is multiple Miscellaneous degree can only need newly-increased or modify related service plug-in unit, have little influence on when the business supported changes Other business, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation.Total For, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, is conducive to Reduce the cost and code implementation complexity under Supporting multi-services scene.
Referring to Fig. 9, the embodiment of the present invention also provides a kind of communication system, comprising:
Source fringe node 910, at least one transit node 920 and purpose fringe node 930.
The transmission assembly Ts disposed in the source fringe node 910, for receiving request message, the request message is carried There is service identification si, the transmission assembly Ts and N number of business plug-in unit are deployed in the source fringe node, the N is positive integer; The transmission assembly Ts is also used to, and business plug-in unit spi corresponding with the service identification si is called to carry out the request message For business logic processing to obtain the request message after business logic processing, the business plug-in unit spi is in N number of business plug-in unit One of them N number of business plug-in unit;Head encapsulation process in tunnel is carried out to obtain to the request message after the business logic processing Encapsulate the request message of tunnel head, wherein carry in the tunnel head of the request message for encapsulating tunnel head based on institute State the path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of request message obtains;To described The next-hop node of the source fringe node in transmission path sends the request message after the progress tunnel head encapsulation.
Wherein, the transmission assembly Tz disposed in the transit node 920 carries the service identification si's for receiving The next-hop node of request message, the transit node in the transmission path sends the request message;
The transmission assembly Td disposed in purpose fringe node 930, for receiving request message, the request message is carried Service identification si, wherein the transmission assembly Td and N number of business plug-in unit are deployed in the purpose fringe node, the N is positive Integer;The transmission assembly Td is also used to, and carries out the decapsulation processing of tunnel head to the request message to have been decapsulated tunnel The request message of trace header;Business plug-in unit dpi corresponding with the service identification si is to the request report for having decapsulated tunnel head Text carries out business logic processing to obtain the request message after business logic processing, wherein the business plug-in unit dpi is the N One of them N number of business plug-in unit in a business plug-in unit.
Optionally, it in some possible embodiments of the present invention, carries and is based in the tunnel head of the request message The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of the request message obtains;
Wherein, the transmission assembly Td, is also used to receive the response message of the request message;It calls and is inserted with the business Part dpi carries out business logic processing to the response message to obtain the response message after business logic processing;To the business Response message after logical process carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;To the transmission The upper hop node of the purpose fringe node on path sends the response message after the progress tunnel head encapsulation;
Alternatively, the business plug-in unit dpi is also used to generate the response message of the request message;The transmission assembly Td is also For carrying out tunnel head encapsulation process to the response message to obtain encapsulating the response message of tunnel head;To the transmission road The upper hop node of the purpose fringe node on diameter sends the response message after the progress tunnel head encapsulation.
As can be seen that disposing transmission assembly Ts and N number of industry in source/destination fringe node in the technical solution of the present embodiment Business plug-in unit, wherein business plug-in unit is responsible for business logic processing, and transmission assembly Ts is responsible for transmission logic processing, and transmission assembly Ts can After calling business plug-in unit corresponding with service identification to carry out business logic processing to request message to obtain business logic processing Request message, this is equivalent to relieve the code coupling between the code for realizing service logic and the code for realizing transmission logic Relationship, and the prior art is patrolled by a business processing transmission module come the service logic for handling the message of multiple business and transmission Volume, it is direct code coupled relation between service logic and the code of transmission logic.The above scheme of the present embodiment passes through The code coupled relation between the code of service logic and the code of transmission logic is cleverly released, so that being responsible at service logic Each business plug-in unit of reason no longer can need to pay close attention to the specific implementation of transmission logic processing, this is advantageous for simplifying setting for business plug-in unit Complexity is counted, when the business supported changes, only can need newly-increased or modify related service plug-in unit, hardly Other business are influenced, and the prior art carries out code update to unique business processing transmission module after then needing to suspend operation. Generally speaking, the node that the above scheme of the present embodiment is conducive to enhance in data transmission network supports multiple services ability, has Conducive to the cost and code implementation complexity under reduction Supporting multi-services scene.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include some or all of any message transmitting method recorded in above method embodiment step when executing Suddenly.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (30)

1. a kind of method of transmitting message characterized by comprising
The transmission assembly Ts disposed in the fringe node of source receives request message, and the request message carries service identification si, institute It states and deploys the transmission assembly Ts and N number of business plug-in unit in the fringe node of source, the N is the integer greater than 1;
The transmission assembly Ts calls business plug-in unit spi corresponding with the service identification si to carry out business to the request message For logical process to obtain the request message after business logic processing, the business plug-in unit spi is its in N number of business plug-in unit In a business plug-in unit;
The transmission assembly Ts carries out tunnel head encapsulation process to the request message after the business logic processing to be encapsulated The request message of tunnel head, wherein carry in the tunnel head of the request message for encapsulating tunnel head and to be asked based on described The path description of the transmission path for the request message for asking the purpose iso-ip Internetworking protocol ISO-IP address of message to obtain;
The next-hop node of the source fringe node of the transmission assembly Ts in the transmission path sends the carry out tunnel Request message after trace header encapsulation.
2. the method according to claim 1, wherein
The method also includes: the transmission assembly Ts calls the route agent's component being deployed in the source fringe node to be based on The purpose iso-ip Internetworking protocol ISO-IP address of the request message, the transmission path of the request message is obtained from router-level topology server Path description.
3. the method according to claim 1, wherein
The method also includes:
The transmission assembly Ts receives the response message of the request message;The transmission assembly Ts carries out the response message Head decapsulation in tunnel is handled to have been decapsulated the response message of tunnel head;The transmission assembly Ts calls the business plug-in unit Spi carries out business logic processing to the response message for having decapsulated tunnel head to obtain the response report after business logic processing Text;The transmission assembly Ts sends the response message after the business logic processing.
4. according to the method described in claim 2, it is characterized in that,
The method also includes:
The transmission assembly Ts receives the response message of the request message;The transmission assembly Ts carries out the response message Head decapsulation in tunnel is handled to have been decapsulated the response message of tunnel head;The transmission assembly Ts calls the business plug-in unit Spi carries out business logic processing to the response message for having decapsulated tunnel head to obtain the response report after business logic processing Text;The transmission assembly Ts sends the response message after the business logic processing.
5. method according to any one of claims 1 to 4, which is characterized in that the tunnel head of the request message carries Virtual connections mark.
6. a kind of method of transmitting message characterized by comprising
The transmission assembly Td disposed in purpose fringe node receives request message, and the request message carries service identification si, Wherein, the transmission assembly Td and M business plug-in unit are deployed in the purpose fringe node, the M is the integer greater than 1;
The transmission assembly Td carries out the decapsulation processing of tunnel head to the request message to be asked with having been decapsulated tunnel head Seek message;The transmission assembly Td calls business plug-in unit dpi corresponding with the service identification si to decapsulate tunnel to described The request message of head carries out business logic processing to obtain the request message after business logic processing, wherein the business plug-in unit Dpi is one of business plug-in unit in the M business plug-in unit.
7. according to the method described in claim 6, it is characterized in that,
The method also includes:
The transmission assembly Td sends the request message after the business logic processing.
8. according to the method described in claim 6, it is characterized in that, being carried in the tunnel head of the request message based on described The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of request message obtains;
Wherein, the method also includes:
The transmission assembly Td receives the response message of the request message;
The transmission assembly Td calls the business plug-in unit dpi to carry out business logic processing to the response message to obtain business Response message after logical process;
The transmission assembly Td carries out tunnel head encapsulation process to the response message after the business logic processing to be encapsulated The response message of tunnel head;
The upper hop node of the purpose fringe node of the transmission assembly Td in the transmission path sends the progress Response message after the encapsulation of tunnel head.
9. the method according to the description of claim 7 is characterized in that being carried in the tunnel head of the request message based on described The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of request message obtains;
Wherein, the method also includes:
The transmission assembly Td receives the response message of the request message;
The transmission assembly Td calls the business plug-in unit dpi to carry out business logic processing to the response message to obtain business Response message after logical process;
The transmission assembly Td carries out tunnel head encapsulation process to the response message after the business logic processing to be encapsulated The response message of tunnel head;
The upper hop node of the purpose fringe node of the transmission assembly Td in the transmission path sends the progress Response message after the encapsulation of tunnel head.
10. according to the method described in claim 6, it is characterized in that, being carried in the tunnel head of the request message based on institute State the path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of request message obtains;
Wherein, the method also includes:
The business plug-in unit dpi generates the response message of the request message;
The transmission assembly Td carries out tunnel head encapsulation process to the response message to obtain encapsulating the response report of tunnel head Text;
The upper hop node of the purpose fringe node of the transmission assembly Td in the transmission path sends the progress Response message after the encapsulation of tunnel head.
11. the method according to the description of claim 7 is characterized in that being carried in the tunnel head of the request message based on institute State the path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of request message obtains;
Wherein, the method also includes:
The business plug-in unit dpi generates the response message of the request message;
The transmission assembly Td carries out tunnel head encapsulation process to the response message to obtain encapsulating the response report of tunnel head Text;
The upper hop node of the purpose fringe node of the transmission assembly Td in the transmission path sends the progress Response message after the encapsulation of tunnel head.
12. method according to any one of claims 8 to 11, which is characterized in that in the tunnel head of the request message also Virtual connections mark is carried, the method also includes: the transmission assembly Td records the virtual connections mark and the transmission path Path description between corresponding relationship.
13. according to the method for claim 12, which is characterized in that the response message carries the service identification si.
14. a provenance fringe node characterized by comprising
Transmission assembly and N number of business plug-in unit, the N are the integer greater than 1;
Wherein, the transmission assembly is for receiving the request message for carrying service identification si;It calls and the service identification si Corresponding business plug-in unit spi carries out business logic processing to the request message to obtain the request report after business logic processing Text, the business plug-in unit spi are one of business plug-in unit in N number of business plug-in unit;
The business plug-in unit spi, for calling the transmission assembly to carry out tunnel to the request message after the business logic processing Trace header encapsulation process is to obtain encapsulating the request message of tunnel head, wherein the tunnel of the request message for encapsulating tunnel head The transmission road for the request message that the purpose iso-ip Internetworking protocol ISO-IP address based on the request message obtains is carried in trace header The path description of diameter;
The next-hop node that the transmission assembly is also used to the source fringe node in the transmission path send it is described into Request message after the encapsulation of row tunnel head.
15. source fringe node according to claim 14, which is characterized in that the transmission assembly is also used to, and calls routing Purpose iso-ip Internetworking protocol ISO-IP address of the Agent components based on the request message obtains the request report from router-level topology server The path description of the transmission path of text.
16. source fringe node according to claim 14, which is characterized in that
The transmission assembly is also used to, and receives the response message of the request message;Head solution in tunnel is carried out to the response message Encapsulation process is to have been decapsulated the response message of tunnel head;The business plug-in unit spi is called to decapsulate tunnel to described The response message of head carries out business logic processing to obtain the response message after business logic processing;It sends at the service logic Response message after reason.
17. source fringe node according to claim 15, which is characterized in that
The transmission assembly is also used to, and receives the response message of the request message;Head solution in tunnel is carried out to the response message Encapsulation process is to have been decapsulated the response message of tunnel head;The business plug-in unit spi is called to decapsulate tunnel to described The response message of head carries out business logic processing to obtain the response message after business logic processing;It sends at the service logic Response message after reason.
18. 4 to 17 described in any item source fringe nodes according to claim 1, which is characterized in that the tunnel of the request message Head carries virtual connections mark.
19. a kind of purpose fringe node characterized by comprising
Transmission assembly and M business plug-in unit, the M are the integer greater than 1;
The transmission assembly is used for, and receives the request message for carrying service identification si;Tunnel head is carried out to the request message Decapsulation is handled to have been decapsulated the request message of tunnel head;Call business plug-in unit corresponding with the service identification si Dpi carries out business logic processing to the request message for having decapsulated tunnel head to obtain the request report after business logic processing Text;
The business plug-in unit dpi, under the calling of the transmission assembly, to the request message for having decapsulated tunnel head Business logic processing is carried out to obtain the request message after business logic processing, the business plug-in unit dpi inserts for the M business One of business plug-in unit in part.
20. purpose fringe node according to claim 19, which is characterized in that the transmission assembly is also used to send described Request message after business logic processing.
21. purpose fringe node according to claim 19, which is characterized in that carried in the tunnel head of the request message It retouches in the path of the transmission path for the request message for thering is the purpose iso-ip Internetworking protocol ISO-IP address based on the request message to obtain It states;
Wherein, the transmission assembly is also used to, and receives the response message of the request message;Call described dpi pairs of business plug-in unit The response message carries out business logic processing to obtain the response message after business logic processing;To the business logic processing Response message afterwards carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;To in the transmission path The upper hop node of the purpose fringe node sends the response message after the progress tunnel head encapsulation.
22. purpose fringe node according to claim 20, which is characterized in that carried in the tunnel head of the request message It retouches in the path of the transmission path for the request message for thering is the purpose iso-ip Internetworking protocol ISO-IP address based on the request message to obtain It states;
Wherein, the transmission assembly is also used to, and receives the response message of the request message;Call described dpi pairs of business plug-in unit The response message carries out business logic processing to obtain the response message after business logic processing;To the business logic processing Response message afterwards carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;To in the transmission path The upper hop node of the purpose fringe node sends the response message after the progress tunnel head encapsulation.
23. purpose fringe node according to claim 19, which is characterized in that carried in the tunnel head of the request message It retouches in the path of the transmission path for the request message for thering is the purpose iso-ip Internetworking protocol ISO-IP address based on the request message to obtain It states;
Wherein, the business plug-in unit dpi is also used to, and generates the response message of the request message;Call the transmission assembly pair The response message carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;
The transmission assembly is also used to, described in the upper hop node transmission of the purpose fringe node in the transmission path Response message after carrying out the encapsulation of tunnel head.
24. purpose fringe node according to claim 20, which is characterized in that carried in the tunnel head of the request message It retouches in the path of the transmission path for the request message for thering is the purpose iso-ip Internetworking protocol ISO-IP address based on the request message to obtain It states;
Wherein, the business plug-in unit dpi is also used to, and generates the response message of the request message;Call the transmission assembly pair The response message carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;
The transmission assembly is also used to, described in the upper hop node transmission of the purpose fringe node in the transmission path Response message after carrying out the encapsulation of tunnel head.
25. according to purpose fringe node described in claim 21 to 24 any one, which is characterized in that the request message Virtual connections mark is also carried in tunnel head, the transmission assembly is also used to, and records the virtual connections mark and the transmission path Path description between corresponding relationship.
26. purpose fringe node according to claim 25, which is characterized in that the response message carries the business Identify si.
27. a kind of communication system characterized by comprising
Source fringe node, at least one transit node and purpose fringe node;
Wherein, the transmission assembly Ts disposed in the source fringe node, for receiving request message, the request message is carried Service identification si, the transmission assembly Ts and N number of business plug-in unit are deployed in the source fringe node, and the N is positive integer;Institute It states transmission assembly Ts to be also used to, business plug-in unit spi corresponding with the service identification si is called to carry out industry to the request message For business logical process to obtain the request message after business logic processing, the business plug-in unit spi is in N number of business plug-in unit One of business plug-in unit;Head encapsulation process in tunnel is carried out to be encapsulated to the request message after the business logic processing The request message of tunnel head, wherein carry in the tunnel head of the request message for encapsulating tunnel head based on the request The path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of message obtains;To the transmission road The next-hop node of the source fringe node on diameter sends the request message after the progress tunnel head encapsulation;
Wherein, the transmission assembly Tz disposed in the transit node, for receiving the request report for carrying the service identification si The next-hop node of text, the transit node in the transmission path sends the request message;
The transmission assembly Td disposed in the purpose fringe node, for receiving request message, the request message carries industry Business mark si, wherein the transmission assembly Td and M business plug-in unit are deployed in the purpose fringe node, the M is positive whole Number;The transmission assembly Td is also used to, and carries out the decapsulation processing of tunnel head to the request message to have been decapsulated tunnel The request message of head;Business plug-in unit dpi corresponding with the service identification si is to the request message for having decapsulated tunnel head Business logic processing is carried out to obtain the request message after business logic processing, wherein the business plug-in unit dpi is the M One of business plug-in unit in business plug-in unit.
28. communication system according to claim 27, which is characterized in that carry base in the tunnel head of the request message In the path description of the transmission path for the request message that the purpose iso-ip Internetworking protocol ISO-IP address of the request message obtains;
Wherein, the transmission assembly Td, is also used to receive the response message of the request message;Call the business plug-in unit dpi Business logic processing is carried out to obtain the response message after business logic processing to the response message;At the service logic Response message after reason carries out tunnel head encapsulation process to obtain encapsulating the response message of tunnel head;To in the transmission path The purpose fringe node upper hop node send it is described progress the encapsulation of tunnel head after response message;
Alternatively, the business plug-in unit dpi is also used to generate the response message of the request message;The transmission assembly Td is also used to Head encapsulation process in tunnel is carried out to obtain encapsulating the response message of tunnel head to the response message;To in the transmission path The purpose fringe node upper hop node send it is described progress the encapsulation of tunnel head after response message.
29. a kind of computer storage medium, which is characterized in that
The computer storage medium is stored with program, wherein include claim 1 when described program is executed by relevant device to Method described in 5 any one.
30. a kind of computer storage medium, which is characterized in that
The computer storage medium is stored with program, wherein include claim 6 when described program is executed by relevant device to Method described in 13 any one.
CN201510126208.2A 2015-03-20 2015-03-20 Message transmitting method and relevant apparatus and communication system Active CN104980488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510126208.2A CN104980488B (en) 2015-03-20 2015-03-20 Message transmitting method and relevant apparatus and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510126208.2A CN104980488B (en) 2015-03-20 2015-03-20 Message transmitting method and relevant apparatus and communication system

Publications (2)

Publication Number Publication Date
CN104980488A CN104980488A (en) 2015-10-14
CN104980488B true CN104980488B (en) 2019-01-29

Family

ID=54276585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510126208.2A Active CN104980488B (en) 2015-03-20 2015-03-20 Message transmitting method and relevant apparatus and communication system

Country Status (1)

Country Link
CN (1) CN104980488B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194495B (en) * 2018-06-29 2021-08-24 平安科技(深圳)有限公司 Server, message processing method, and computer-readable storage medium
CN111182551B (en) * 2020-01-07 2022-09-02 中国联合网络通信集团有限公司 Network security protection method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110772A (en) * 2007-08-13 2008-01-23 杭州华三通信技术有限公司 Device and method for handling message
CN103309674A (en) * 2013-06-25 2013-09-18 深圳中兴网信科技有限公司 Software architecture system
CN104009918A (en) * 2013-02-22 2014-08-27 华为技术有限公司 Service message processing method, devices and system
CN104202206A (en) * 2014-07-25 2014-12-10 汉柏科技有限公司 Message processing device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6556996B1 (en) * 1998-07-15 2003-04-29 Ameritech Corporation Service package application and a service activation manager for use with a service control point in an advanced intelligent network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110772A (en) * 2007-08-13 2008-01-23 杭州华三通信技术有限公司 Device and method for handling message
CN104009918A (en) * 2013-02-22 2014-08-27 华为技术有限公司 Service message processing method, devices and system
CN103309674A (en) * 2013-06-25 2013-09-18 深圳中兴网信科技有限公司 Software architecture system
CN104202206A (en) * 2014-07-25 2014-12-10 汉柏科技有限公司 Message processing device and method

Also Published As

Publication number Publication date
CN104980488A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104255046B (en) The method of customized mobile broadband network system and customization mobile broadband network
WO2017088501A1 (en) Charging method and device
CN104796849B (en) A kind of method and apparatus handled data packet
CN104067581B (en) Multiple gateway device, multiple line communication system, and multiple line communication method
CN109792788A (en) The method and apparatus that data for being related to tunnel within a wireless communication network are transmitted
CN104581652B (en) Message treatment method, the method and apparatus for selecting MME
CN105960781A (en) System and method for securing source routing using public key based digital signature
CN105847108B (en) Communication means and device between container
CN108781385A (en) V2X information communication methods and device
CN105357143B (en) A kind of retransmission method and service routing relay node
CN109818917A (en) A kind of communication means and its device
CN104753980A (en) Data transmission method and relevant device and communication system
EP3130133B1 (en) Multi tenancy in software defined networking
CN109196842B (en) Session keeping method, device and storage medium
CN109391502A (en) A kind of information configuring methods and administrative unit
CN110167092A (en) A kind of method and device of business migration
US20170222953A1 (en) User packet forwarding control method and processing node
CN104980488B (en) Message transmitting method and relevant apparatus and communication system
CN103380581B (en) The operating method of R-T unit and R-T unit
CN105812221B (en) The device and method of data transmission in virtual expansible Local Area Network
CN103560937B (en) Data access method and portal server
CN103973747B (en) A kind of method and apparatus for obtaining content
CN107277882A (en) A kind of data routing method, device and base station
CN102036304A (en) Method for providing maximum transmission unit length for terminal and packet switch gateway
WO2016004820A1 (en) Data flow forwarding method and device for switch system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant