CN104660657A - Network service processing method, adapter and network service processing system - Google Patents

Network service processing method, adapter and network service processing system Download PDF

Info

Publication number
CN104660657A
CN104660657A CN201310607077.0A CN201310607077A CN104660657A CN 104660657 A CN104660657 A CN 104660657A CN 201310607077 A CN201310607077 A CN 201310607077A CN 104660657 A CN104660657 A CN 104660657A
Authority
CN
China
Prior art keywords
network service
message
service node
adapter
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310607077.0A
Other languages
Chinese (zh)
Other versions
CN104660657B (en
Inventor
周洪
李峰
殷悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310607077.0A priority Critical patent/CN104660657B/en
Priority to PCT/CN2014/091491 priority patent/WO2015074550A1/en
Publication of CN104660657A publication Critical patent/CN104660657A/en
Application granted granted Critical
Publication of CN104660657B publication Critical patent/CN104660657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a network service processing method, an adapter and a network service processing system, wherein the network service processing method comprises the following steps: receiving a first message sent from network equipment by the adapter; processing the first message by the adapter according to a first adapting rule to form a second message which can be processed by a network service node, wherein the first adapting rule comprises: a field which is not supported by the network service node in the first message or a field required to be shielded to the network service node can be deleted according to a performance of the network service node, or a field which is not required to be processed by the network service node in the first message is corrected, or a field which does not exist in the first message but must exist when the network service node processes a service is added; sending the second message to the network service node by the adapter for processing the service. By adopting the network service processing method, the network service node can be simplified, so that the network service node focuses on the service processing.

Description

A kind of Network processing method, adapter and Network treatment system
Technical field
The present invention relates to the communications field, particularly relate to a kind of Network processing method, adapter and Network treatment system.
Background technology
Network service is the process of network packet being carried out to packet parsing according to agreement, the message structure that different Network possibilities is corresponding different, in network communications for different Networks, such as load balancing traffic, firewall services or intrusion detection business etc., need special network service node to carry out Business Processing usually.Network service node, in order to adapt to different message, needs constantly to change, and makes network service node can not focus on business itself.
Summary of the invention
The embodiment of the present invention provides a kind of Network processing method, and the method can simplified network service node, makes it focus on Business Processing.
First aspect present invention provides a kind of Network processing method, comprising:
Adapter receives the first message sent from the network equipment;
Described adapter processes described first message according to the first adaptation rule, forms accessible second message of network service node; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing;
Described second message sends to described network service node to carry out Business Processing by described adapter.
In conjunction with first aspect, in the first possible implementation of first aspect, according to the first adaptation rule, described first message is processed at described adapter, before forming accessible second message of network service node, also comprises:
Described adapter receives the first adaptation rule sent from network service controlling device.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described Network processing method also comprises:
Described adapter receives the returned packet generated after network service node carries out Business Processing to described second message;
Described adapter processes described returned packet according to the second adaptation rule, forms the 3rd message being used for adapter and carrying out forwarding; Described second adaptation rule comprises: in returned packet, add field that the network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, process described returned packet according to the second adaptation rule at described adapter, formation also comprises before carrying out for adapter the 3rd message forwarded:
Described adapter receives the second adaptation rule sent from network service controlling device.
Second aspect present invention provides a kind of adapter, and described adapter comprises:
First receiver module, for receiving the first message sent from the network equipment;
First processing module, for processing described first message according to the first adaptation rule, forms accessible second message of network service node; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing;
First sending module, for sending to network service node to carry out Business Processing described second message.
In conjunction with second aspect, in the first possible implementation of second aspect, described adapter also comprises:
Second receiver module, for receiving the first adaptation rule sent from network service controlling device.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described adapter also comprises:
3rd receiver module, for receiving the returned packet generated after network service node carries out Business Processing to described second message;
Second processing module, for processing described returned packet according to the second adaptation rule, forms the 3rd message being used for adapter and carrying out forwarding; Described second adaptation rule comprises: in returned packet, add field that the described network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described second receiver module is also for receiving the second adaptation rule sent from network service controlling device.
Third aspect present invention provides a kind of Network treatment system, and described Network treatment system comprises: network service controlling device, the network equipment, adapter and network service node, wherein,
Described network service controlling device, for sending the first adaptation rule to described adapter; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing;
The described network equipment, for sending the first message to described adapter;
Described adapter, for receiving described first adaptation rule sent from network service controlling device and receiving the first message of sending from the network equipment and process described first message according to described first adaptation rule, form accessible second message of network service node, and send to network service node to carry out Business Processing described second message;
Described network service node, carries out Business Processing for the second message sent described adapter.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described network service node, also generates returned packet after carrying out Business Processing to the second message, and returned packet is sent to described adapter;
Described network service controlling device, also for sending the second adaptation rule to described adapter; Wherein, described second adaptation rule comprises: in returned packet, add field that the described network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing;
Described adapter, also for receiving described second adaptation rule sent from network service controlling device and the returned packet receiving network service node generation and processing described returned packet according to described second adaptation rule, form the 3rd message being used for adapter and carrying out forwarding.
Therefore, in feasible execution modes more of the present invention, by adapter, first message that will be sent to network service node is processed, form manageable second message of network service node, make network service node to focus on Business Processing.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of Network processing method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of Network processing method that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of adapter that Fig. 3 provides for the embodiment of the present invention;
The structural representation of the another kind of adapter that Fig. 4 provides for the embodiment of the present invention;
The structural representation of another adapter that Fig. 5 provides for the embodiment of the present invention;
The structural representation of a kind of Network treatment system that Fig. 6 provides for the embodiment of the present invention;
A kind of structural representation comprising the message of SR field that Fig. 7 provides for the embodiment of the present invention;
Fig. 8 is the interaction flow schematic diagram when treatment system of Network shown in Fig. 6 carries out Network process to the message of structure shown in Fig. 7;
The structural representation of the another kind of Network treatment system that Fig. 9 provides for the embodiment of the present invention;
A kind of structural representation comprising the message of source MAC field and object MAC field that Figure 10 provides for the embodiment of the present invention;
Figure 11 is the interaction flow schematic diagram when treatment system of Network shown in Fig. 9 carries out Network process to the message of structure shown in Figure 10;
The structural representation of another Network treatment system that Figure 12 provides for the embodiment of the present invention;
A kind of structural representation comprising the message of VLAN id field that Figure 13 provides for the embodiment of the present invention;
Figure 14 is the interaction flow schematic diagram when treatment system of Network shown in Figure 12 carries out Network process to the message of structure shown in Figure 13;
The structural representation of another Network treatment system that Figure 15 provides for the embodiment of the present invention;
Figure 16 is the interaction flow schematic diagram when treatment system of Network shown in Figure 15 carries out Network process to the message of structure shown in Figure 13;
Figure 17 for structure be the treatment system of Network shown in Fig. 6 carry out Network process time another interaction flow schematic diagram.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, is the schematic flow sheet of a kind of Network processing method that the embodiment of the present invention provides, and wherein, the network equipment described in the embodiment of the present invention is used for sending the first message to adapter, and the network equipment can be the equipment such as router or switch; Network service controlling device is used for sending according to the characteristic of network service node the adaptation rule processed the first message or returned packet to adapter, network service controlling device can be the equipment such as server, PC, virtual machine, virtual container (such as Linux Containers), adapter is used for processing the first message received or returned packet according to adaptation rule, and adapter can be router, switch, server or the equipment such as PC or virtual machine; Network service node is used for processing the message received or the result after process being generated returned packet forwarding, and network service node can be the equipment such as server, PC, virtual machine, virtual container (such as Linux Containers).Network processing method method comprises:
S101, adapter receives the first message sent from the network equipment;
In an embodiment of the present invention, field that field that network service node do not support or needs shield to network service node may be comprised or do not need to carry out may lacking in the field that processes and the first message by network service node the field that to must have when network service node carries out Business Processing in the first message.It should be noted that: it is manageable for not needing to comprise described field for network service node by the field of network service node process, but in order to simplified network service node, network service node does not process described field, is processed described field by other equipment such as adapter.
S102, described adapter processes described first message according to the first adaptation rule, forms accessible second message of network service node; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing.
It should be noted that: described first message is processed according to the first adaptation rule at described adapter, before forming accessible second message of network service node, also comprise: described adapter receives the first adaptation rule sent from network service controlling device.
S103, described second message sends to described network service node to carry out Business Processing by described adapter.
Therefore, by adapter, first message that will be sent to network service node is processed, form manageable second message of network service node, make network service node to focus on Business Processing, simplify network service node.
Further, refer to Fig. 2, be the schematic flow sheet of another kind of Network processing method provided by the invention, network service node generates returned packet after carrying out Business Processing to the second message in this embodiment, particularly, described Network processing method comprises the steps:
S201, adapter receive the first message sent from the network equipment;
In an embodiment of the present invention, field that field that network service node do not support or needs shield to network service node may be comprised or do not need to carry out may lacking in the field that processes and the first message by network service node the field that to must have when network service node carries out Business Processing in the first message.It should be noted that: it is manageable for not needing to comprise described field for network service node by the field of network service node process, but in order to simplified network service node, network service node does not process described field, is processed described field by other equipment such as adapter.
S202, described adapter process described first message according to the first adaptation rule, form accessible second message of network service node; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or according to the performance of network service node add in the first message do not have in the first message to must have field when but network service node carries out Business Processing.
It should be noted that: described first message is processed according to the first adaptation rule at described adapter, before forming accessible second message of network service node, also comprise: described adapter receives the first adaptation rule sent from network service controlling device.
Described second message sends to described network service node to carry out Business Processing by S203, described adapter.
Therefore, by adapter, first message that will be sent to network service node is processed, form manageable second message of network service node, make network service node to focus on Business Processing.
S204, described adapter receives the returned packet generated after network service node carries out Business Processing to described second message.
Particularly, network service node generates returned packet after carrying out Business Processing to the second message, and when returned packet returns by needs, returned packet is sent to described adapter by network service node.
S205, described adapter processes described returned packet according to the second adaptation rule, forms the 3rd message being used for adapter and carrying out forwarding; Described second adaptation rule comprises: in returned packet, add field that the described network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing.
It should be noted that: process described returned packet according to the second adaptation rule at described adapter, formation also comprises before carrying out for adapter the 3rd message forwarded:
Described adapter receives the second adaptation rule sent from network service controlling device.
It should be noted that, described adapter can also by described 3rd message repeating to the network equipment of transmission first message or other network equipments.
Understandably, when adapter message transmission or transmission returned packet, can use network transferring equipment such as switch, this second message is also forwarded to network service node by the second message after the first time process that reception adapter is sent; Or receive the 3rd message sent of adapter and by the 3rd message repeating to the network equipment.
Certainly, network transferring equipment also may be used for the message receiving network equipment transmission, this message is sent to adapter, or the returned packet sent by adapter is transmitted to the network equipment.
It should be noted that, when using network transferring equipment to forward the message received or returned packet, being not limited to above-mentioned forwarding form, can also be other forms, as long as can realize the forwarding of message or returned packet and passable.
Therefore, by adapter, the first message is processed, form manageable second message of network service node, make network service node to focus on Business Processing, simplify network service node.
Refer to Fig. 3, be the structural representation of the adapter 1 that the embodiment of the present invention provides, comprise:
First receiver module 11, for receiving the first message sent from the network equipment.
First processing module 12, for processing described first message according to the first adaptation rule, forms accessible second message of network service node.
First sending module 13, for sending to network service node to carry out Business Processing described second message.
It should be noted that, adapter can also comprise: the second receiver module 14, for receiving the first adaptation rule sent from network service controlling device.Described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing.
It should be noted that: it is manageable for not needing to comprise described field for network service node by the field of network service node process, but in order to simplified network service node, network service node does not process described field, is processed described field by other equipment such as adapter.
Therefore, after first message that will be sent to network service node being processed by adapter, form manageable second message of network service node, make network service node to focus on Business Processing, simplify network service node.
Refer to Fig. 4, be another structural representation of the adapter that the embodiment of the present invention provides, described adapter 2 comprises:
First receiver module 21, for receiving the first message sent from the network equipment;
First processing module 22, for processing described first message according to the first adaptation rule, forms accessible second message of network service node; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing;
First sending module 23, for sending to network service node to carry out Business Processing described second message;
Second receiver module 24, for receiving the first adaptation rule and the second adaptation rule sent from network service controlling device;
3rd receiver module 25, for receiving the returned packet generated after network service node carries out Business Processing to described second message;
Second processing module 26, for processing described returned packet according to the second adaptation rule, forms the 3rd message being used for adapter and carrying out forwarding; Described second adaptation rule comprises: in returned packet, add field that the network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing.
Be understandable that, adapter 2 can also comprise the second sending module 27, for by the 3rd message repeating to the network equipment of transmission first message or other network equipments.
Therefore, in feasible execution modes more of the present invention, by adapter, the message that will be sent to network service node is processed, form manageable second message of network service node, make network service node to focus on Business Processing, simplify network service node.
Refer to Fig. 5, Fig. 5 is the structure composition schematic diagram of another embodiment of adapter of the present invention.Described embodiment comprises at least one receiver, processor and transmitting element, and wherein said receiver is identical with the function of the 3rd receiver module 25 with the first receiver module 21, second receiver module 24, does not repeat at this.Processor is identical with the function of the second processing module 26 with the first processing module 22, does not repeat at this.Transmitting element in the present embodiment is identical with the function of the second transmitting element 27 with the first transmitting element 23, does not repeat at this.
Particularly, the first message that in the present embodiment, receiver sends for receiving the network equipment, and the adaptation rule that network service controlling device sends, processor processes according to adaptation rule the first message that receiver receives, and manageable for the network service node after processor process the second message is sent to network service node by transmitting element.When network service node produces returned packet, receiving element reception returned packet is dealt into processor and carries out processing the 3rd message obtaining forwarding for transmitting element, and the 3rd message is forwarded to the network equipment by transmitting element.
Therefore, by adapter, process is carried out to the message that will be sent to network service node and form manageable second message of network service node, make network service node to focus on Business Processing, simplify network service node.
The structural representation of a kind of Network treatment system that Fig. 6 provides for the embodiment of the present invention.This Network treatment system 3 comprises:
The network equipment 31, network service controlling device 32, network service node 33 and adapter 34, wherein,
The described network equipment 31, for sending the first message to described adapter 34;
Described network service controlling device 32, for sending adaptation rule to described adapter 34;
Described network service node 33, carries out Business Processing to the first message according to the second message formed after adaptation rule process for what send described adapter 34;
Described adapter 34, for receive send from the network equipment 31 the first message, receive send from network service controlling device 32 adaptation rule, according to described adaptation rule, process is carried out to the first message and forms network service node 33 accessible second message, and send to network service node 33 to carry out Business Processing described second message.
Further, described network service node 33, also generates returned packet after carrying out Business Processing to the second message, and returned packet is sent to described adapter 34;
Described adapter 34, also for receive generate after network service node 33 carries out Business Processing returned packet, described returned packet carried out process form the 3rd message that forwards for adapter and by the 3rd message repeating to the network equipment 31, it should be noted that the network equipment that the 3rd message repeating arrives can be the same network equipment with the network equipment of transmission the first message, also can be the different network equipments.
Further, described Network treatment system can also comprise network transferring equipment:
Described network transferring equipment, for receiving the second message after the first time process of described adapter, and is transmitted to described network service node by this second message.
Described adapter is also for sending to network transferring equipment by accessible first message of network service node after described first time process.
Further, described adapter, also for the 3rd message after second time process is sent to network transferring equipment;
Described network transferring equipment, also for receiving the 3rd message that described adapter sends, and by the 3rd message repeating to the network equipment.
Therefore, by adapter, first time process is carried out to the message that will be sent to network service node and form the manageable message of network service node, make network service node to focus on Business Processing, simplify network service node.
In another embodiment, message as shown in Figure 7, comprises field SR, and wherein SR is a data structure, specific as follows:
Struc service_routing_header{
Uint16id;
Uint16resv;
}_packed;
Fig. 8 for the treatment system of Network shown in Fig. 6 Network process is carried out to the message of structure shown in Fig. 7 time, the interaction flow schematic diagram of the network equipment 31, network service controlling device 32, adapter 34 and network service node 33, comprises the steps:
S301, network service controlling device 32 send adaptation rule to adapter 34;
Particularly, in this embodiment, suppose the field that SR field belongs to needs and shields to network service node that is: to make network service node can't see SR field.Described adaptation rule comprises the first adaptation rule and the second adaptation rule.First adaptation rule comprises the SR field in deletion first message; Second adaptation rule is included in returned packet and adds SR field.
S302, the network equipment 31 are to the first message of adapter 34 transmit band service identification;
Particularly, as described in Figure 7, to described first message SR field wherein need the field to network service node shielding.
S303, adapter 34 carry out process according to described adaptation rule to the first message and form accessible second message of network service node;
Particularly, adapter 34 deletes the SR field in message according to the first adaptation rule, and the message deleted after SR field is manageable second message of network service node 33.
Described second message sends to described network service node 33 to carry out Business Processing by S304, adapter 34.
S305, network service node 33 carry out Business Processing to the second message received, and generate returned packet;
Returned packet is sent to adapter 34 by S306, network service node 33;
S307, adapter 34 process returned packet according to adaptation rule, generate the 3rd message being used for adapter and carrying out forwarding;
Particularly, SR field is added in returned packet according to the second adaptation rule by adapter 34.
3rd message is sent to the network equipment 31 by S308, adapter 34.
It should be noted that, when above steps carries out transfer of data, go to step in can also comprising further, such as network service controlling device 32 sends the step of adaptation rule to adapter 34, adaptation rule wherein can not be that network service controlling device 32 is directly sent to adapter 34, but network service controlling device 32 first issues transferring device, such as a network controller adaptation rule, then by network controller, adaptation rule is forwarded to adapter 34.Network controller can be network management system or Openflow controller etc.
Therefore, by adapter, first time process is carried out to first message that will be sent to network service node and form manageable second message of network service node, make network service node to focus on Business Processing, simplify network service node.
Referring to Figure 10, is the structural representation of the first message in another embodiment, and in this embodiment, supposing that source MAC field and object MAC field belong to does not need to carry out by network service node the field that processes.
It should be noted that: do not need by the field of network service node process, it is manageable for comprising described field for network service node, but in order to simplified network service node, network service node does not process described field, is processed described field by other equipment such as adapter.
In this embodiment, described source MAC field and object MAC field are manageable for network service node, but in order to simplified network service node, have been come to the process of source MAC field and object MAC field by adapter.
Figure 11 for the treatment system of Network shown in Fig. 9 Network process is carried out to the message of structure shown in Figure 10 time, the interaction flow schematic diagram of the network equipment 41, network service controlling device 42, network service node 43, adapter 44 and network transferring equipment 45, mainly comprises:
S401, network service controlling device 42 send adaptation rule to adapter 44;
Particularly, described adaptation rule comprises the first adaptation rule and the second adaptation rule.The value that first adaptation rule comprises as source MAC is certain value, such as when the value of source MAC is 11-22-33-44-55-66, the value of the object MAC of the first message is revised as the MAC Address value of network service node, when the MAC value of such as network service node is 22-33-44-55-66-77, first adaptation rule is exactly: when the value of source MAC is 11-22-33-44-55-66, change the object MAC value of message into 22-33-44-55-66-77;
Second adaptation rule comprises, and the object MAC value of returned packet is revised as 11-22-33-44-55-66.
S402, the network equipment 41 send the first message to adapter 44;
Particularly, the structure of the first message as described in Figure 10.
S403, according to adaptation rule, the first message to be processed, form the second message;
Adapter 44 carries out process according to described adaptation rule to described first message and forms accessible second message of network service node;
Particularly, the object MAC value in message, according to the first adaptation rule, when the value of source MAC is 11-22-33-44-55-66, is revised as 22-33-44-55-66-77 by adapter 44, and the message after process is manageable second message of network service node 33.
Institute second message is sent to described network transferring equipment 45 by S404, adapter 44;
Second message is transmitted to network service node 43 by S405, network transferring equipment 45;
S406, network service node 43 carry out Business Processing to the second message received, and generate returned packet;
Returned packet is sent to adapter 44 by S407, network service node 43;
S408, adapter 44 process returned packet according to adaptation rule, generate the 3rd message being used for adapter 44 and carrying out forwarding;
Particularly, the object MAC value of returned packet is revised as 11-22-33-44-55-66 according to the second adaptation rule by adapter 44.
3rd message is sent to network transferring equipment 45 by S409, adapter 44;
S410, by network transferring equipment 45 according to object MAC value by the 3rd message repeating to the network equipment 41.
It should be noted that, when above steps carries out transfer of data, go to step in can also comprising further, such as network service controlling device 42 sends the step of adaptation rule to adapter 44, adaptation rule wherein can not be that network service controlling device 42 is directly sent to adapter 44, but network service controlling device 42 first issues transferring device, such as a network controller adaptation rule, then by network controller, adaptation rule is forwarded to adapter 44.Network controller can be network management system or Openflow controller etc.
Therefore, by adapter, first time process is carried out to the message that will be sent to network service node and form the manageable message of network service node, make network service node to focus on Business Processing, simplify network service node.
Referring to Figure 13, is the structural representation of the first message in another embodiment, in this embodiment, supposes that VLAN id field belongs to field that network service node do not support or the field that needs shield to network service node.
Figure 14 for first message of the treatment system of Network shown in Figure 12 to structure shown in Figure 13 carry out Network process time, the interaction flow schematic diagram of the network equipment 51, network service controlling device 52, network service node 53, adapter 54 and network transferring equipment 55, mainly comprises:
S501, network service controlling device 52 send to network transferring equipment 55 and forward rule;
Particularly, in the present embodiment, described forwarding rule comprises: the value of the VLAN ID sent by the network equipment 51 is that the message repeating of 100 is to adapter 54;
S502, network service controlling device 52 send adaptation rule to adapter 54;
Described adaptation rule comprises the first adaptation rule and the second adaptation rule particularly.Wherein, the first adaptation rule comprises, and when the value of VLAN ID is 100, deletes the VLAN id field in message; Second adaptation rule comprises: adapter adds VLAN id field in the returned packet received, and the value of VLAN ID is set to 100.
S503, the network equipment 51 will comprise VLAN id field and the first message that the value of VLAN ID is 100 is sent to network transferring equipment 55;
The first message received is sent to adapter 54 by S504, network transferring equipment 55;
S505, adapter 54 process the first message according to adaptation rule, generate the second message;
Particularly, according to first time adaptation rule, delete the VLAN id field in the first message;
Second message is sent to network service node 53 by S506, adapter 54;
S507, network service node 53 carry out Business Processing to the second message received, and generate returned packet;
Returned packet is sent to adapter 54 by S508, network service node 53;
S509, adapter 54 carry out second time process according to adaptation rule to returned packet, generate the 3rd message;
Particularly, in returned packet, add VLAN id field, and the value of VLAN ID is set to 100;
Returned packet after second time process is sent to network transferring equipment 55 by S510, adapter 54;
S511, network transferring equipment 55 by the 3rd message repeating that receives to the network equipment 51.
It should be noted that, when above steps carries out transfer of data, go to step in can also comprising further, such as network service controlling device 52 sends the step of adaptation rule to adapter 54, adaptation rule wherein can be that network service controlling device 52 is not directly sent to adapter 54, but network service controlling device 52 first issues transferring device, such as a network controller adaptation rule, then by network controller, adaptation rule is forwarded to adapter 54.Network controller can be network management system or Openflow controller etc.
Therefore, by adapter, process is carried out to first message that will be sent to network service node and form manageable second message of network service node, make network service node to focus on Business Processing, simplify network service node.
In another embodiment, the structure of the first message as shown in figure 13, in this embodiment, the field that VLAN id field is the field do not supported of network service node or needs to network service node shielding.
Figure 16 for the treatment system of Network shown in Figure 15 Network process is carried out to the message of structure shown in Figure 13 time, the interaction flow schematic diagram of the network equipment 61, network service controlling device 62, network transferring equipment 63, adapter 64 and network service node 65, mainly comprises:
S601, network service controlling device 62 send to network transferring equipment 63 and forward rule;
Particularly, in the present embodiment, described forwarding rule comprises: the value of the VLAN ID that the network equipment 61 is sent be 100 message repeating to adapter 64, adapter 64 is sent and do not have the message repeating of VLAN id field to network service node 65, the returned packet sent from network service node 65 is forwarded to adapter 64, by sent by adapter 64 and the value of VLAN ID is that the message repeating of 100 is to the network equipment 61;
S602, network service controlling device 62 send adaptation rule to adapter 64;
Described adaptation rule comprises the first adaptation rule and the second adaptation rule particularly.Wherein, the first adaptation rule comprises, and when the value of VLAN ID is 100, deletes the VLAN id field in message; Second adaptation rule comprises: adapter adds VLAN id field in the returned packet received, and the value of VLAN ID is set to 100.
S603, the network equipment 61 will comprise VLAN id field and the first message that the value of VLAN ID is 100 is sent to network transferring equipment 63;
The first message received is sent to adapter 64 by S604, network transferring equipment 63;
S605, adapter 64 process the first message according to adaptation rule, generate the second message;
Particularly, according to first time adaptation rule, delete the VLAN id field in message;
Second message is sent to network transferring equipment 63 by S606, adapter 64;
Second message is forwarded to network service node 65 by S607, network transferring equipment 63;
S608, network service node 65 carry out Business Processing to the second message received, and generate returned packet;
Returned packet is sent to network transferring equipment 63 by S609, network service node 65;
Returned packet is sent to adapter 64 by S610, network transferring equipment 63;
S611, adapter 64 carry out second time process according to adaptation rule to returned packet, generate the 3rd message;
Particularly, in returned packet, add VLAN id field, and the value of VLAN ID is set to 100;
3rd message is sent to network transferring equipment 63 by S612, adapter 64;
3rd message is sent to the network equipment 61 by S613, network transferring equipment 63.
It should be noted that, when above steps carries out transfer of data, go to step in can also comprising further, such as network service controlling device 62 sends the step of adaptation rule to adapter 64, adaptation rule wherein can not be that network service controlling device 62 is directly sent to adapter 64, but network service controlling device 62 first issues transferring device, such as a network controller adaptation rule, then by network controller, adaptation rule is forwarded to adapter 64.Network controller can be network management system or Openflow controller etc.
Therefore, by adapter, process is carried out to first message that will be sent to network service node and form manageable second message of network service node, make network service node to focus on Business Processing.
Refer to Figure 17, Figure 17 is another interaction flow schematic diagram when treatment system of Network shown in Fig. 6 carries out Network process.In this embodiment, network service node 33 has following features: when network service node 33 carries out Business Processing, must have VLAN id field in message, and network service node 33 just can carry out Business Processing.VLAN id field is not comprised in the first message sent by the network equipment 31 in this embodiment.Idiographic flow comprises the steps:
S701, network service controlling device 32 send adaptation rule to adapter 34;
Described adaptation rule comprises, the first adaptation rule and the second adaptation rule.Wherein the first adaptation rule comprises: according to the characteristic of network service node 33, when the network equipment 31 sends to the first message of adapter 34 not comprise VLAN id field, adds VLAN id field in the first message; Second adaptation rule comprises: in returned packet, delete the VLAN id field of adding in the first adaptation rule.
S702, the network equipment 31 send the first message to adapter 34; Field in described first message does not report VLAN id field;
S703, adapter 34 add VLAN id field according to the first adaptation rule in the first message, generate the second message;
Described second message is sent to network service node 33 by S704, adapter 34;
S705, network service node 33 carry out Business Processing to the second message, generate returned packet;
Returned packet is sent to adapter 34 by S706, network service node 33;
The VLAN id field of adding in the first adaptation rule deleted by S707, adapter 34 in returned packet according to the second adaptation rule, generate the 3rd message;
3rd message is sent to the network equipment 31 by S708, adapter 34.
The present embodiment by add in the first message lack in the first message and network service node carries out Business Processing time to must have field, make the second message after treatment become the manageable message of network service node, make network service node to focus on Business Processing.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a Network processing method, is characterized in that, comprising:
Adapter receives the first message sent from the network equipment;
Described adapter processes described first message according to the first adaptation rule, forms accessible second message of network service node; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing;
Described second message sends to described network service node to carry out Business Processing by described adapter.
2. Network processing method as claimed in claim 1, is characterized in that, process at described adapter according to the first adaptation rule to described first message, before forming accessible second message of network service node, also comprises:
Described adapter receives the first adaptation rule sent from network service controlling device.
3. Network processing method as claimed in claim 1, it is characterized in that, described Network processing method also comprises:
Described adapter receives the returned packet generated after network service node carries out Business Processing to described second message;
Described adapter processes described returned packet according to the second adaptation rule, forms the 3rd message being used for adapter and carrying out forwarding; Described second adaptation rule comprises: in returned packet, add field that the network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing.
4. Network processing method as claimed in claim 3, is characterized in that, process at described adapter according to the second adaptation rule to described returned packet, and formation also comprises before carrying out for adapter the 3rd message forwarded:
Described adapter receives the second adaptation rule sent from network service controlling device.
5. an adapter, is characterized in that, comprising:
First receiver module, for receiving the first message sent from the network equipment;
First processing module, for processing described first message according to the first adaptation rule, forms accessible second message of network service node; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing;
First sending module, for sending to network service node to carry out Business Processing described second message.
6. adapter as claimed in claim 5, it is characterized in that, described adapter also comprises
Second receiver module, for receiving the first adaptation rule sent from network service controlling device.
7. adapter as claimed in claim 5, it is characterized in that, described adapter also comprises:
3rd receiver module, for receiving the returned packet generated after network service node carries out Business Processing to described second message;
Second processing module, for processing described returned packet according to the second adaptation rule, forms the 3rd message being used for adapter and carrying out forwarding; Described second adaptation rule comprises: in returned packet, add field that the described network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing.
8. adapter as claimed in claim 7, is characterized in that,
Described second receiver module is also for receiving the second adaptation rule sent from network service controlling device.
9. a Network treatment system, is characterized in that, comprising: network service controlling device, the network equipment, adapter and network service node, wherein,
Described network service controlling device, for sending the first adaptation rule to described adapter; Wherein, described first adaptation rule comprises: delete field that in the first message, network service node is not supported or the field that needs shield to network service node according to the performance of network service node, or do not need network service node to carry out the field processed in amendment the first message, or add in the first message do not have must have field when but network service node carries out Business Processing;
The described network equipment, for sending the first message to described adapter;
Described adapter, for receiving described first adaptation rule sent from network service controlling device and receiving the first message of sending from the network equipment and process described first message according to described first adaptation rule, form accessible second message of network service node, and send to network service node to carry out Business Processing described second message;
Described network service node, carries out Business Processing for the second message sent described adapter.
10. Network treatment system as claimed in claim 9, is characterized in that,
Described network service node, also generates returned packet after carrying out Business Processing to the second message, and returned packet is sent to described adapter;
Described network service controlling device, also for sending the second adaptation rule to described adapter; Wherein, described second adaptation rule comprises: in returned packet, add field that the described network service node deleted in described first adaptation rule do not support or in returned packet, be added on the field that the needs deleted in the first adaptation rule shield to network service node, or do not need network service node to carry out the field processed in amendment the first message, or delete do not have in the first message of adding in the first adaptation rule must have field when but network service node carries out Business Processing;
Described adapter, also for receiving described second adaptation rule sent from network service controlling device and the returned packet receiving network service node generation and processing described returned packet according to described second adaptation rule, form the 3rd message being used for adapter and carrying out forwarding.
CN201310607077.0A 2013-11-25 2013-11-25 A kind of network service processing method, adapter and network service processing system Active CN104660657B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310607077.0A CN104660657B (en) 2013-11-25 2013-11-25 A kind of network service processing method, adapter and network service processing system
PCT/CN2014/091491 WO2015074550A1 (en) 2013-11-25 2014-11-19 Network service processing method, adapter, and network service processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310607077.0A CN104660657B (en) 2013-11-25 2013-11-25 A kind of network service processing method, adapter and network service processing system

Publications (2)

Publication Number Publication Date
CN104660657A true CN104660657A (en) 2015-05-27
CN104660657B CN104660657B (en) 2018-05-18

Family

ID=53178949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310607077.0A Active CN104660657B (en) 2013-11-25 2013-11-25 A kind of network service processing method, adapter and network service processing system

Country Status (2)

Country Link
CN (1) CN104660657B (en)
WO (1) WO2015074550A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818905A (en) * 2017-11-21 2019-05-28 中国移动通信有限公司研究院 A kind of method, network element device and the system of transport layer protocol adaptation
CN112991023A (en) * 2021-04-22 2021-06-18 深圳华锐金融技术股份有限公司 Order data processing method and device, computer equipment and storage medium
GB2592850A (en) * 2019-08-20 2021-09-15 Metaswitch Networks Ltd Processing signalling messages in a network node

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399475A (en) * 2001-07-25 2003-02-26 华为技术有限公司 Quick flow-searching method
CN101023420A (en) * 2004-11-17 2007-08-22 思科技术公司 Performing message and transformation adapter functions in a network element on behalf of an application
CN101335759A (en) * 2007-06-22 2008-12-31 埃森哲环球服务有限公司 Session initiation protocol adaptor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1399475A (en) * 2001-07-25 2003-02-26 华为技术有限公司 Quick flow-searching method
CN101023420A (en) * 2004-11-17 2007-08-22 思科技术公司 Performing message and transformation adapter functions in a network element on behalf of an application
CN101335759A (en) * 2007-06-22 2008-12-31 埃森哲环球服务有限公司 Session initiation protocol adaptor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818905A (en) * 2017-11-21 2019-05-28 中国移动通信有限公司研究院 A kind of method, network element device and the system of transport layer protocol adaptation
CN109818905B (en) * 2017-11-21 2022-06-03 中国移动通信有限公司研究院 Method, network element equipment and system for adapting transport layer protocol
GB2592850A (en) * 2019-08-20 2021-09-15 Metaswitch Networks Ltd Processing signalling messages in a network node
US11159920B2 (en) 2019-08-20 2021-10-26 Metaswitch Networks Ltd Processing signalling messages in a network node
GB2592850B (en) * 2019-08-20 2024-02-21 Metaswitch Networks Ltd Processing signalling messages in a network node
CN112991023A (en) * 2021-04-22 2021-06-18 深圳华锐金融技术股份有限公司 Order data processing method and device, computer equipment and storage medium
CN112991023B (en) * 2021-04-22 2021-11-02 深圳华锐金融技术股份有限公司 Order data processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104660657B (en) 2018-05-18
WO2015074550A1 (en) 2015-05-28

Similar Documents

Publication Publication Date Title
JP2017518710A (en) Service flow processing method, apparatus, and device
CN107005834B (en) Data processing method and device
CN104185192B (en) The access method and relevant device of a kind of management equipment
CN111382114B (en) Data transmission method and device for network on chip and electronic equipment
CN105450585B (en) A kind of information transferring method and device
US20120096136A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN105281942A (en) Network equipment sending BGP information and methods for sending BGP information
CN107370839A (en) The addressing method and relevant apparatus of industrial field device, system
CN105163062B (en) A kind of system and method that social resources are linked into common platform
CN103313308A (en) Data transmission method and device
CN108512714B (en) Message transmission method, related equipment and system
CN104753789A (en) Message forwarding method and system
CN105099803A (en) Traffic identification method, application server, and network element equipment
CN104301229B (en) Data packet forwarding method, route table generating method and device
CN105530159B (en) A kind of method and system realizing the VPN across IPv6 and IPv4 and exchanging visits
CN104811383A (en) Message forwarding method and equipment
CN104994022A (en) Message transmission method and service board
CN104660657A (en) Network service processing method, adapter and network service processing system
CN104363084A (en) Link status synchronization method and device
CN105471742A (en) Message processing method and message processing equipment
CN103281205B (en) A kind of method of configured port isolation information and the network equipment
US20160065536A1 (en) Home gateway apparatus and packet transfer method
CN105099802A (en) Traffic identification method, terminal, and network element equipment
CN103460675A (en) Cluster and forwarding method
JPWO2009110445A1 (en) Address search method and packet processing apparatus

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