CN103684957A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN103684957A
CN103684957A CN201210336395.3A CN201210336395A CN103684957A CN 103684957 A CN103684957 A CN 103684957A CN 201210336395 A CN201210336395 A CN 201210336395A CN 103684957 A CN103684957 A CN 103684957A
Authority
CN
China
Prior art keywords
message
value
network
sdh
switch
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
CN201210336395.3A
Other languages
Chinese (zh)
Other versions
CN103684957B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210336395.3A priority Critical patent/CN103684957B/en
Publication of CN103684957A publication Critical patent/CN103684957A/en
Application granted granted Critical
Publication of CN103684957B publication Critical patent/CN103684957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a message processing method and device. The method comprises the following steps: receiving a message from an exchange device in PTN (packet transport network) equipment; determining a transmission channel for transmitting the message to a SDH (synchronous digital hierarchy) network; transmitting the message to the SDH network through the transmission channel. The message processing method provided by the invention can realize message match between the PTN network and the SDH network by determining the message transmission channel and transmitting the message to the SDH network through the transmission channel, so that the PTN message can be transmitted to the SDH network smoothly to realize seamless link between a PTN domain and a SDH domain. Additionally, the method can be well suitable for services with different bandwidths provided by the exchange device, is flexible in processing manner, and can save bandwidth on the communication link between the message processing device and the SDH equipment, so that more services can be transmitted via a certain physical channel to reduce unnecessary bandwidth waste.

Description

Message processing method and device
Technical field
The present invention relates to the communications field, in particular to a kind of message processing method and device.
Background technology
Along with 3G(3rd-generation) mobile service development and Long Term Evolution (Long Term Evolution, referred to as LTE) the closing on of network design, build Packet Transport Network of new generation (Packet Transport Network, referred to as PTN) and become the main flow selection that operator reduces mobile broadband network operation cost, promotes network competition ability.
In view of the traditional SDH (Synchronous Digital Hierarchy) of existing network (Synchronous Digital Hierarchy, referred to as SDH) network will be within considerable time and Internet protocol (Internet Protocol, referred to as IP) change network coexisted, how PTN network links up transition smoothly with traditional SDH network, is related to the smooth evolution of whole transmission, bearer network.
Along with popularizing of PTN equipment, the network of PTN can get more and more, but SDH network has still occupied the key passage of core.PTN network and SDH network will inevitably coexist in long-time so, and the necessary energy of PTN equipment and SDH equipment interconnection make PTN message smoothly by SDH network transparent transmission, and proceed dissection process at the PTN of opposite end network.
For the problems referred to above, effective solution is not yet proposed at present.
Summary of the invention
The invention provides a kind of message processing method and device, at least to solve in correlation technique, for PTN equipment and SDH equipment interconnection, make PTN message smoothly by SDH network transparent transmission, and proceed to process at the PTN of opposite end network, the problem of effective solution is not also proposed.
According to an aspect of the present invention, provide a kind of message processing method, having comprised: received the message from the switch in PTN equipment; Determine the transmission channel that this message is sent to SDH network; This message is sent to SDH network by above-mentioned transmission channel.
Preferably, before the message receiving from the switch in PTN equipment, said method also comprises: with the ident value of switch negotiation packet, wherein, ident value comprises: (Medium Access Control, referred to as MAC) value, VLAN (Virtual Local Area Network, referred to as VLAN) value are controlled in media interviews, MAC value is for identify message process device when communicating with switch, and VLAN value is for identifying the transmission channel of message.
Preferably, comprise with the ident value of switch negotiation packet: receive the MAC value that switch distributes, wherein, MAC value is that switch distributes the position in PTN equipment according to message process device; The information of the one or more transmission channels for message transmission that notice switch message process device self is configured; Receive switch and according to the information of one or more transmission channels, be respectively the VLAN value of one or more channel allocations.
Preferably, determine that the transmission channel that message is sent to SDH network comprises: the ident value of analytic message; According to MAC value, judge whether message is the message that message process device need to be processed; If so, according to VLAN value, determine the transmission channel that message is sent to SDH network; If not, dropping packets.
Preferably, according to VLAN value, determine that the transmission channel that message is sent to SDH network comprises: VLAN value is mated with the VLAN value of pre-assigned one or more transmission channels; According to matching result, determine the transmission channel that message is sent to SDH network.
Preferably, before message is sent to SDH network by transmission channel, said method also comprises: message is carried out to general frame forming mode (Generic Framing Procedure, referred to as GFP) encapsulation, if message is operate/manage and safeguards (Operation/Administration and Maintenance, referred to as OAM) message, carries out GFP encapsulation after processing OAM message.
Preferably, transmission channel is virtual concatenation group (Virtual Concatenation Group, referred to as VCG) passage.
According to another aspect of the present invention, provide a kind of message processing method, having comprised: received the message from SDH network; Message is resolved, and according to the ident value of consulting in advance, the ident value of message is filled in message, wherein, ident value comprises: for PTN equipment in switch identify the ident value of message process device while communicating, for identifying the ident value of the transmission channel of message; Message after filling is sent to switch.
Preferably, before the message receiving from SDH network, said method also comprises: with the ident value of switch negotiation packet, wherein, ident value comprises: MAC value, VLAN value, MAC value is for identify message process device when communicating with switch, and VLAN value is for identifying the transmission channel of message.
Preferably, comprise with the ident value of switch negotiation packet: receive the MAC value that switch distributes, wherein, MAC value is that switch distributes the position in PTN equipment according to message process device; The information of the one or more transmission channels for message transmission that notice switch message process device self is configured; Receive switch and according to the information of one or more transmission channels, be respectively the VLAN value of one or more channel allocations.
Preferably, according to the ident value of consulting in advance, the ident value of message is filled into message and comprises: message is carried out to two layers of Ethernets encapsulation, if message is OAM message, carry out two layers of Ethernets encapsulation after processing OAM message.
Preferably, above-mentioned transmission channel is VCG passage.
According to an aspect of the present invention, provide a kind of message process device, be applied to PTN equipment, having comprised: receiver module, for receiving the message from the switch in PTN equipment; Passage determination module, for determining the transmission channel that this message is sent to SDH network; Sending module, for being sent to SDH network by this message by above-mentioned transmission channel.
Preferably, said apparatus also comprises: package module, for message is carried out to GFP encapsulation, if message is operation management maintain OAM message, carries out GFP encapsulation after processing OAM message.
According to another aspect of the present invention, provide a kind of message process device, be applied to PTN equipment, having comprised: receiver module, for receiving the message from SDH network; Parsing module, for resolving message; Packing module, for the ident value of message being filled into message according to the ident value of consulting in advance, wherein, ident value comprises: for PTN equipment in switch identify the ident value of message process device while communicating, for identifying the ident value of the transmission channel of message transmission; Sending module, for sending to switch by the message after filling.
The present invention, by determining the transmission channel of message, sends this message with this transmission channel to SDH network, and the message that can not only carry out PTN network and SDH network is adaptive, makes PTN message to cross SDH network by smooth transparent transmission, has realized the seamless link in PTN territory and SDH territory.And such processing can well adapt to the business of the various different bandwidths that switch provides, processing mode is comparatively flexible, also can save the bandwidth on message process device of the present invention and SDH communication between devices link, can on certain physical channel, transmit more business, reduce unnecessary bandwidth waste.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart one according to the message processing method of the embodiment of the present invention;
Fig. 2 is according to the flowchart 2 of the message processing method of the embodiment of the present invention;
Fig. 3 is the structured flowchart one according to the message process device of the embodiment of the present invention;
Fig. 4 is the structured flowchart two according to the message process device of the embodiment of the present invention;
Fig. 5 is according to the preferred embodiment of the invention with the structured flowchart of the PTN equipment of message process device;
Fig. 6 is the flow chart that PTN network is processed to the message of SDH network according to the preferred embodiment of the invention;
Fig. 7 is the device schematic diagram that PTN network is processed to the message of SDH network according to the preferred embodiment of the invention;
Fig. 8 is the flow chart that SDH network is processed to the message of PTN network according to the preferred embodiment of the invention;
Fig. 9 is the device schematic diagram that SDH network is processed to the message of PTN network according to the preferred embodiment of the invention.
Embodiment
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
The embodiment of the present invention provides a kind of message processing method, and Fig. 1 is the flow chart one according to the message processing method of the embodiment of the present invention, as shown in Figure 1, comprises that following step S102 is to step S106.
Step S102, receives the message from the switch in PTN equipment.
Step S104, determines the transmission channel that this message is sent to SDH network.
Step S106, is sent to SDH network by this message by above-mentioned transmission channel.
In correlation technique, PTN network and SDH network will inevitably long-term co-existence, for PTN equipment and SDH equipment interconnection, make PTN message smoothly by SDH network transparent transmission, and proceed to process at the PTN of opposite end network, also do not propose effective solution.In the embodiment of the present invention, by determining the transmission channel of message, with this transmission channel, to SDH network, send this message, the message that can not only carry out PTN network and SDH network is adaptive, make PTN message to cross SDH network by smooth transparent transmission, realized the seamless link in PTN territory and SDH territory.And such processing can well adapt to the business of the various different bandwidths that switch provides, processing mode is comparatively flexible, also can save the bandwidth on message process device of the present invention and SDH communication between devices link, can on certain physical channel, transmit more business, reduce unnecessary bandwidth waste.Above-mentioned transmission channel is VCG passage.
Before step S102, said method also comprises: with the ident value of switch negotiation packet, wherein, ident value comprises: MAC value, VLAN value, MAC value is for identify message process device when communicating with switch, and VLAN value is for identifying the transmission channel of message.In this preferred embodiment, by MAC value, can determine whether this message needs this message process device to process, can determine the passage of this message of transmission by VLAN value, implementation method is simple.
Comprise with the ident value of switch negotiation packet: receive the MAC value that switch distributes, wherein, MAC value is that switch distributes the position in PTN equipment according to message process device; The information of the one or more transmission channels for message transmission that notice switch message process device self is configured; Receive switch and according to the information of one or more transmission channels, be respectively the VLAN value of one or more channel allocations.
Determine that the transmission channel that message is sent to SDH network comprises: the ident value of analytic message; According to MAC value, judge whether message is the message that message process device need to be processed; If so, according to VLAN value, determine the transmission channel that message is sent to SDH network; If not, dropping packets.
According to VLAN value, determine that the transmission channel that message is sent to SDH network comprises: VLAN value is mated with the VLAN value of pre-assigned one or more transmission channels; According to matching result, determine the transmission channel that message is sent to SDH network.
Before message is sent to SDH network by transmission channel, said method also comprises: message is carried out to GFP encapsulation, if this message is OAM message, carry out GFP encapsulation after processing OAM message.Wherein, OAM message being processed can be that it is modified.In this preferred embodiment, because as network side interface arrangement, being requirement, PTN equipment have OAM to manage, so, for OAM message, need to identify and process.
The embodiment of the present invention also provides a kind of message processing method, and Fig. 2 is according to the flowchart 2 of the message processing method of the embodiment of the present invention, as shown in Figure 2, comprises that following step S202 is to step S206.
Step S202, receives the message from SDH network.
Step S204, message is resolved, and according to the ident value of consulting in advance, the ident value of message is filled in message, wherein, ident value comprises: for PTN equipment in switch identify the ident value of message process device while communicating, for identifying the ident value of the transmission channel of message.
Step S206, sends to switch by the message after filling.
In correlation technique, PTN network and SDH network will inevitably long-term co-existence, for PTN equipment and SDH equipment interconnection, make PTN message smoothly by SDH network transparent transmission, and proceed to process at the PTN of opposite end network, also do not propose effective solution.In the embodiment of the present invention, after message process device in PTN equipment is resolved the message receiving, the ident value of this message is filled in this message, and send to message switching device, make PTN message smoothly by SDH network transparent transmission, and proceed to process at the PTN of opposite end network, realized the seamless link in PTN territory and SDH territory.And such processing can well adapt to the business of the various different bandwidths that switch provides, processing mode is comparatively flexible, also can save the bandwidth on message process device of the present invention and SDH communication between devices link, can on certain physical channel, transmit more business, reduce unnecessary bandwidth waste.Above-mentioned transmission channel is VCG passage.
Before the message receiving from SDH network, said method also comprises: with the ident value of switch negotiation packet, wherein, ident value comprises: MAC value, VLAN value, MAC value is for identify message process device when communicating with switch, and VLAN value is for identifying the transmission channel of message.In this preferred embodiment, by MAC value, can determine whether this message needs this message process device to process, can determine the passage of this message of transmission by VLAN value, implementation method is simple.
Comprise with the ident value of switch negotiation packet: receive the MAC value that switch distributes, wherein, MAC value is that switch distributes the position in PTN equipment according to message process device; The information of the one or more transmission channels for message transmission that notice switch message process device self is configured; Receive switch and according to the information of one or more transmission channels, be respectively the VLAN value of one or more channel allocations.
Before in the ident value of message being filled into message according to the ident value of consulting in advance, said method also comprises: message is carried out to two layers of Ethernets encapsulation, if message is OAM message, carry out two layers of Ethernets encapsulation after processing OAM message.In this preferred embodiment, because as network side interface arrangement, being requirement, PTN equipment have OAM to manage, so, for OAM message, need to identify and process.
Corresponding to the message processing method shown in Fig. 1, the embodiment of the present invention provides a kind of message process device, is applied to PTN equipment, and this message process device can be for realizing the message processing method shown in Fig. 1.Fig. 3 is the structured flowchart one according to the message process device of the embodiment of the present invention, as shown in Figure 3, comprises receiver module 32, passage determination module 34 and sending module 36.Below its structure is described in detail.
Receiver module 32, for receiving the message from the switch in PTN equipment; Passage determination module 34, is connected to receiver module 32, for determining the transmission channel that this message is sent to SDH network; Sending module 36, is connected to passage determination module 34, for this message is sent to SDH network by the definite transmission channel of passage determination module 34.
Preferably, above-mentioned transmission channel is VCG passage.
Preferably, said apparatus also comprises: negotiation module, for the ident value with switch negotiation packet, wherein, ident value comprises: MAC value, VLAN value, and MAC value is for identify message process device when communicating with switch, and VLAN value is for identifying the transmission channel of message.
Negotiation module comprises: the first receiving element, and the MAC value of distributing for receiving switch, wherein, MAC value is that switch distributes the position in PTN equipment according to message process device; Notification unit, is connected to the first receiving element, for notifying the information of the one or more transmission channels for message transmission that switch message process device self is configured; The second receiving element, is connected to notification unit, for receiving switch, is respectively the VLAN value of one or more channel allocations according to the information of one or more transmission channels.
Determination module 34 comprises: resolution unit, for the ident value of analytic message; Judging unit, for judging according to MAC value whether message is the message that message process device need to be processed; Transmitting element, is connected to judging unit, for judgment result is that be in the situation that, determines the transmission channel that message is sent to SDH network according to VLAN value; Discarding unit, is connected to judging unit, in the situation that the determination result is NO, and dropping packets.
Transmitting element comprises: coupling subelement, for VLAN value is mated with the VLAN value of pre-assigned one or more transmission channels; Send subelement, be connected to coupling subelement, for determine the transmission channel that message is sent to SDH network according to matching result.
Preferably, said apparatus also comprises: package module, be connected to determination module 34, and for message is carried out to GFP encapsulation, if message is OAM message, carry out GFP encapsulation after processing OAM message.
Corresponding to the message processing method shown in Fig. 2, the embodiment of the present invention provides a kind of message process device, is applied to packet switching network PTN equipment, and this message process device can be for realizing the message processing method shown in Fig. 2.Fig. 4 is the structured flowchart two according to the message process device of the embodiment of the present invention, as shown in Figure 4, comprises receiver module 42, parsing module 44, packing module 46 and sending module 48.Below its structure is described in detail.
Receiver module 42, for receiving the message from SDH network; Parsing module 44, is connected to receiver module 42, for message is resolved; Packing module 46, be connected to parsing module 44, for the ident value of message being filled into message according to the ident value of consulting in advance, wherein, ident value comprises: for PTN equipment in switch identify the ident value of message process device while communicating, for identifying the ident value of the transmission channel of message transmission; Sending module 48, is connected to packing module 46, for the message after filling is sent to switch.
Preferably, above-mentioned transmission channel is VCG passage.
Said apparatus also comprises: negotiation module, for the ident value with switch negotiation packet, wherein, ident value comprises: MAC value, VLAN value, MAC value is for identify message process device when communicating with switch, and VLAN value is for identifying the transmission channel of message.
Negotiation module comprises: the first receiving element, and the MAC value of distributing for receiving switch, wherein, MAC value is that switch distributes the position in PTN equipment according to message process device; Notification unit, is connected to the first receiving element, for notifying the information of the one or more transmission channels for message transmission that switch message process device self is configured; The second receiving element, is connected to notification unit, for receiving switch, is respectively the VLAN value of one or more channel allocations according to the information of one or more transmission channels.
Said apparatus also comprises: package module, be connected to parsing module 44, and for message being carried out to the encapsulation of two layers of Ethernet, if message is OAM message, carry out two layers of Ethernets encapsulation after processing OAM message.
It should be noted that, the message process device of describing in device embodiment is corresponding to above-mentioned embodiment of the method, and its concrete implementation procedure had been carried out detailed description in embodiment of the method, did not repeat them here.
From above description, above-mentioned message processing method and device make PTN equipment energy and SDH equipment by the interconnected mixed networking that carries out of STM light mouth, the PTN network that the network that makes the message energy transparent transmission of PTN network cross SDH arrives opposite end continues to transmit, and the business granularity that makes this delivering path can adapt to well message in PTN network differs and the unfixed feature of required service bandwidth, can effectively utilize bandwidth, save unnecessary bandwidth waste.Fully save the bandwidth in each stage transmission, saveall is realized cost, improves the bandwidth availability ratio of overall network.
In order to make technical scheme of the present invention and implementation method clearer, below in conjunction with preferred embodiment, its implementation procedure is described in detail.
Fig. 5 is according to the preferred embodiment of the invention with the structured flowchart of the PTN equipment of message process device, as shown in Figure 5, PTN equipment comprises: the encapsulation of the frame of STM and de-encapsulating devices 502(are STM1-4 Framer), message process device 506, message switching device 508, tunnel processing unit 510, the customer service up/down PTN network processing device 512 of PTN network to the message process device 504 of SDH network, SDH network to PTN network.It should be noted that emphasis of the present invention is described in the message process device 506 of PTN network newly-increased in PTN equipment to the message process device 504 of SDH network and SDH network to PTN network, the remainder in PTN equipment is not that the present invention will describe.
Message process device 506 by above-mentioned PTN network to the message process device 504 of SDH network and SDH network to PTN network, the message that can not only carry out PTN network and SDH network is adaptive, make the message of PTN network to cross SDH network by smooth transparent transmission, and the using method based on said apparatus, communication bandwidth between the message process device that provides in message switching device 508 and the embodiment of the present invention (be PTN network message process device 506) to the message process device 504 of SDH network and/or SDH network to PTN network can be effectively provided, thereby saved unnecessary device.
It should be noted that, in practical application, the message process device 506 of PTN network to the message process device 504 of SDH network and SDH network to PTN network can be same device (hereinafter referred to as message process device), and the module that this device comprises (PTN network message transmissions to the message transmissions of SDH network and SDH network to PTN network) under different conditions is carried out different operations.
Above-mentioned message process device comprises: message processing module (MPM), OAM message processing module (MPM), GFP processing module, cascaded series processing module and SDH encapsulation/decapsulation module.Respectively modules is elaborated below.
(1) message processing module (MPM) (having realized the function of above-mentioned negotiation module)
Message switching device interface in message processing module (MPM) and PTN equipment, major function is as follows: (a) carry out needing in some message interaction the content of negotiation, comprise MAC value and VLAN value for differentiated service passage that message is walked; (b) to carrying out mutual message with message switching device, carry out certain processing, comprise the identification of MAC value and VLAN value, peel off and encapsulate.
(2) OAM message processing module (MPM)
OAM module, for the treatment of OAM message, is nonessential.Because as network side interface arrangement, in PTN equipment, be that requirement has OAM management, this device is identified and is processed OAM message by OAM module so.But OAM module not realizes the necessary module that heterogeneous networks of the present invention is realized service message intercommunication.
(3) GFP processing module (having realized the function of above-mentioned package module)
GFP(Generic Framing Procedure) processing module mainly realizes business payload is carried out to GFP encapsulation reconciliation encapsulation process.This processing is mainly in order to adapt to the difference in PTN network and SDH network.This module is in order to pass through synchronous transfer module (Synchronous Transfer Mode with SDH network, referred to as STM) light mouth is interconnected realizes service message intercommunication, SDH requires 8000 frames fixed rate frame per second, and PTN message be have paroxysmal, and bandwidth is fixing, by adaptive this species diversity of energy after GFP generic encapsulation.Can use the business type field sign in GFP and identify the business that this business is PTN.
(4) cascaded series processing module (also claiming VCG processing module)
The processing of cascaded series processing module has adopted virtual concatenation group (Virtual Concatenation Group, referred to as VCG) technology, and has used link capacity to adjust mechanism (Link Capacity Adjustment Scheme, referred to as LCAS) agreement.The function of this module is mainly the service channel that creates many logics, the business that can lead to different bandwidth.This module can be supported vc12 on the member of VCG, vc3, and the particle of the main flows such as vc4, can control the bandwidth granularity of logic business passage more accurately; And use LCAS agreement, can nondestructively adjust band width service, can adjust at any time better the demand of business like this, effective bandwidth is fully used.
(5) SDH encapsulation/decapsulation module
SDH encapsulation/decapsulation module is carried out SDH encapsulation by the service message of handling well, and is sent by light oral instructions.The message that also light mouth can be received carries out decapsulation processing.
Utilize above-mentioned message process device to realize the function that PTN network message transparent transmission is crossed SDH network, method is as follows:
(1) from PTN network toward SDH network side to
Step 1, above-mentioned message process device and switch in PTN equipment are held consultation, and decide through consultation MAC value and the VLAN value of inner Ethernet message while carrying out message interaction between the two, and with this, distinguishing is which this service message of bar channel transfer of which device.
Step 2, the MAC value in analytic message and VLAN value, determine that thus this message really belongs to this device need to be processed, and determine follow-up is by which bar passage to be transmitted.
Step 3, parses etype field, distinguishes OAM message or service message, and this field of corresponding service message is 8847, and this field corresponding to OAM message can configure.OAM message enters OAM message processing module (MPM) and processes, and general service message is from OAM message processing module (MPM) transparent transmission.
Step 4, GFP processing module is carried out GFP standard packaging to message, the member of the VCG passage then distributing according to this business by service message information distribution in each member's time slot.
Step 5, SDH frame sends.
The concrete negotiations process of above-mentioned steps one is as follows:
After powering on, above-mentioned message process device can send out hello packet to message switching device, so that this device of notice message switching device is available.After message switching device confirms that this device is online, a MAC value is distributed to this device in the position according to it in PTN equipment, for the sign of communicating by letter between message switching device and this device.
Message process device is configured the passage of the transport service of correspondence.In this device, be exactly VCG passage, can configure a plurality of VCG passages, and add corresponding member.Permission adopts default configuration when initial, follow-uply according to service traffics, adjusts.
Message process device notice message switching device, the data of the passage in this message process device and numbering, and the current service bandwidth situation that can carry that configures.
Message switching device can, according to the situation of passage in current registered device, be given the VLAN value of each channel allocation in message process device.Before subsequent packet switch sends service message to message process device, when the passage that can will use according to it determines to encapsulate two layers to it, the VLAN value of encapsulation is how many.
(2) from SDH network toward PTN network side to
Step 1 is MAC value between message process device and message switching device and the negotiation of VLAN value equally.Concrete negotiation step is asked for an interview " (1) from PTN network toward SDH network side to " negotiation step of step 1 is described in detail.
Step 2 separates payload from the signal of STM-1/STM-4.
Step 3, carries out the recovery of VCG, and resolves gfp frame, obtains real business information.Whether the validation of information by GFP is PTN message, and by the identification of message field (MFLD), determines whether OAM message, is that OAM message needs OAM processing module to process accordingly.
Step 4, the VLAN consulting according to step 1 before these information and MAC are filled to two layers of head, then the whole message switching device of issuing PTN equipment.
Instantiation below in conjunction with PTN network to the message handling process of SDH network and SDH network to the message handling process of PTN network is elaborated to the function of said apparatus.
(1) message process device to SDH network for PTN network, introduces PTN network is encapsulated to the method step being fitted in SDH network, and as shown in Figure 6, the method comprises that following step S602 is to step S626.
At initialization PTN network, during to the message process device of SDH network, carry out this device and the MAC of message switching device and the negotiation of VLAN.Negotiations process is if step S602 is to as shown in step S608.
Step S602, message process device power in certain groove position of PTN equipment (such as No. 3 groove positions).After power-up initializing completes, this device can send hello packet toward message switching device, represents that this device is online.
Step S604, message switching device can distribute a MAC value to message process device, the MAC value of oneself is issued just in the lump to the device powering on No. 3 groove positions.
Step S606, after MAC value is assigned, this message process device can be configured some for transmitting the VCG passage of PTN business.Message process device can send to message switching device by the data of these VCG passages and numbering.
Step S608, message switching device all distributes a unique VLAN value to each VCG passage in the message process device of reaching the standard grade in No. 3 groove positions according to existing passage situation in current system, and this value is notified to this message process device.
So far the negotiation of MAC and VLAN completes.Message process device can formally be processed PTN message, and concrete treatment step is as follows:
Step S610, judges whether the Ethernet message that message switching device is sent.If receive message, perform step S612, otherwise repeating step S610.
Step S612, judges that whether MAC value is correct, if incorrect, performs step S614, and gets back to step S610 and continue to carry out.If MAC value is correct, peels off MAC value, and continue follow-up step S616.
Step S614, dropping packets.
Step S616, is resolved to VLAN value, and according to this VLAN value, and the VLAN value of consulting in step S608 compares, thereby determines it is which bar passage (VCG passage) transmits this message value.Then peel off VLAN value, continue follow-up step S618.
Step S618, the value of two bytes of etype field in analytic message after VLAN field, field is judged service message or OAM message thus, if OAM message, execution step S620; Otherwise execution step S622.
Step S620, ensuing message can carry out the encapsulation of GFP, and PTN message is successfully encapsulated in follow-up STM signal.
Step S622, carries out special processing to OAM message, i.e. the handled content of above-mentioned OAM message processing module (MPM).
Which VCG step S624 is by assigning to corresponding VCG(through the message after GPF encapsulation definite by VLAN value) each member's time slot in, thereby adapt to neatly the business of various bandwidth.
Step S626, carries out the encapsulation process of STM signal.
The device that above-mentioned PTN network is processed to the message of SDH network as shown in Figure 7, description before and the flow process shown in Fig. 6 have clearly been introduced the function of modules, wherein, STM package module has been realized the encapsulation function in above-mentioned SDH encapsulation/decapsulation module, repeats no more herein.
(2) message process device to PTN network for SDH network, introduces and how to identify and to process the message that comes from SDH network, by PTN message normal process and be delivered in the message switching device of PTN equipment.As shown in Figure 8, comprise that following step S802 is to step S816.
At initialization PTN network, during to the message process device of SDH network, carry out this device and the MAC of message switching device and the negotiation of VLAN, if step S802 is to as shown in step S808.
Step S802, message process device powers on (such as No. 3 groove positions) in certain groove position of PTN equipment, and after power-up initializing completes, this device can send hello packet toward message switching device, represents that this device is online.
Step S804, message switching device can distribute a MAC value to message process device, the MAC value of oneself is issued just in the lump to the device powering on No. 3 groove positions.
Step S806, after MAC value is assigned, this message process device can be configured some for transmitting the VCG passage of PTN business, and this device can send to message switching device by the data of these VCG passages and numbering.
Step S808, message switching device all distributes a unique VLAN value to each VCG passage in the message process device of reaching the standard grade in No. 3 groove positions according to existing passage situation in current system, and this value is notified to message process device.
So far the negotiation of MAC and VLAN completes, and message process device can formally be processed PTN message, and concrete treatment step is as follows:
Step S810 parses payload from SDH frame.
Step S812, carries out the recovery of VCG, then from combine complete message, carries out the decapsulation of GFP.When decapsulation, whether the value of the user's payload sign (User Payload Identifier, referred to as UPI) in judgement Frame is 0x0d, if 0x0d just represents it is service message or the OAM message of PTN.
Step S814, carries out some special processings to the message of OAM, such as LM field etc.To these processing of OAM message, be to carry out in above-mentioned OAM message processing module (MPM).
Step S816, carries out two layers of Ethernet encapsulation to the message after above step process, adds VLAN field and MAC field.This value is consulted to step S808 at step S802, and VLAN value also depends on message derives from which passage (being VCG).
So far message processing finishes, and is passed to skewing mechanism carries out the processing in follow-up PTN equipment and in PTN network by the signal communication means between message switching device and message process device.
The device that above-mentioned PTN network is processed to the message of SDH network as shown in Figure 9, description before and the flow process shown in Fig. 8 have clearly been introduced the function of modules, wherein, STM decapsulation module has realized the decapsulation function in above-mentioned SDH encapsulation/decapsulation module, repeats no more herein.
It should be noted that, in the step shown in the flow chart of accompanying drawing, can in the computer system such as one group of computer executable instructions, carry out, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
In sum, according to the abovementioned embodiments of the present invention, a kind of message processing method and device are provided.The present invention, by determining the transmission channel of message, sends this message with this transmission channel to SDH network, and the message that can not only carry out PTN network and SDH network is adaptive, makes PTN message to cross SDH network by smooth transparent transmission, has realized the seamless link in PTN territory and SDH territory.And such processing can well adapt to the business of the various different bandwidths that switch provides, processing mode is comparatively flexible, also can save the bandwidth on message process device of the present invention and SDH communication between devices link, can on certain physical channel, transmit more business, reduce unnecessary bandwidth waste.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (15)

1. a message processing method, is characterized in that comprising:
Receive the message from the switch in packet switching network PTN equipment;
Determine the transmission channel that described message is sent to SDH (Synchronous Digital Hierarchy) SDH network;
Described message is sent to described SDH network by described transmission channel.
2. method according to claim 1, is characterized in that, before the message receiving from the switch in PTN equipment, described method also comprises:
Ident value with described switch negotiation packet, wherein, described ident value comprises: MAC value, virtual LAN VLAN value are controlled in media interviews, and described MAC value is for identify message process device when communicating with described switch, and described VLAN value is for identifying the transmission channel of message.
3. method according to claim 2, is characterized in that, comprises with the ident value of described switch negotiation packet:
Receive the MAC value that described switch distributes, wherein, described MAC value is that described switch distributes the position in described PTN equipment according to message process device;
Notify the information of the one or more transmission channels for message transmission that message process device self is configured described in described switch;
Receive described switch and according to the information of described one or more transmission channels, be respectively the VLAN value of described one or more channel allocations.
4. method according to claim 2, is characterized in that, determines that the transmission channel that described message is sent to SDH network comprises:
Resolve the ident value of described message;
According to described MAC value, judge whether described message is the message that message process device need to be processed;
If so, according to described VLAN value, determine the transmission channel that described message is sent to SDH network;
If not, abandon described message.
5. method according to claim 4, is characterized in that, according to described VLAN value, determines that the transmission channel that described message is sent to SDH network comprises:
Described VLAN value is mated with the VLAN value of pre-assigned one or more transmission channels;
According to matching result, determine the transmission channel that described message is sent to SDH network.
6. according to the method described in any one in claim 1 to 5, it is characterized in that, before described message is sent to described SDH network by described transmission channel, described method also comprises:
Described message is carried out to general frame forming mode GFP encapsulation, if described message is operation management maintain OAM message, carry out GFP encapsulation after processing described OAM message.
7. according to the method described in any one in claim 1 to 5, it is characterized in that, described transmission channel is virtual concatenation group VCG passage.
8. a message processing method, is characterized in that comprising:
Receive the message from SDH (Synchronous Digital Hierarchy) SDH network;
Described message is resolved, and according to the ident value of consulting in advance, the ident value of described message is filled in described message, wherein, described ident value comprises: for packet switching network PTN equipment in switch identify the ident value of message process device while communicating, for identifying the ident value of the transmission channel of message;
Message after filling is sent to described switch.
9. method according to claim 8, is characterized in that, before the message receiving from SDH network, described method also comprises:
With the ident value of described switch negotiation packet, wherein, described ident value comprises: MAC value, VLAN value, and described MAC value is for identify message process device when communicating with described switch, and described VLAN value is for identifying the transmission channel of message.
10. method according to claim 9, is characterized in that, comprises with the ident value of described switch negotiation packet:
Receive the MAC value that described switch distributes, wherein, described MAC value is that described switch distributes the position in described PTN equipment according to message process device;
Notify the information of the one or more transmission channels for message transmission that message process device self is configured described in described switch;
Receive described switch and according to the information of described one or more transmission channels, be respectively the VLAN value of described one or more channel allocations.
Method in 11. according to Claim 8 to 10 described in any one, is characterized in that, according to the ident value of consulting in advance, the ident value of described message is filled into described message and comprises:
Described message is carried out to the encapsulation of two layers of Ethernet, if described message is OAM message, carry out two layers of Ethernets encapsulation after processing described OAM message.
Method in 12. according to Claim 8 to 10 described in any one, is characterized in that, described transmission channel is virtual concatenation group VCG passage.
13. 1 kinds of message process devices, are applied to packet switching network PTN equipment, it is characterized in that comprising:
Receiver module, for receiving the message from the switch in PTN equipment;
Passage determination module, for determining the transmission channel that described message is sent to SDH (Synchronous Digital Hierarchy) SDH network;
Sending module, for being sent to described SDH network by described message by described transmission channel.
14. devices according to claim 13, is characterized in that, described device also comprises:
Package module, for described message being carried out to general frame forming mode GFP encapsulation, if described message is operation management maintain OAM message, carries out GFP encapsulation after processing described OAM message.
15. 1 kinds of message process devices, are applied to packet switching network PTN equipment, it is characterized in that comprising:
Receiver module, for receiving the message from SDH (Synchronous Digital Hierarchy) SDH network;
Parsing module, for resolving described message;
Packing module, for the ident value of described message being filled into described message according to the ident value of consulting in advance, wherein, described ident value comprises: for PTN equipment in switch identify the ident value of message process device while communicating, for identifying the ident value of the transmission channel of message transmission;
Sending module, for sending to described switch by the message after filling.
CN201210336395.3A 2012-09-12 2012-09-12 Message processing method and device Active CN103684957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210336395.3A CN103684957B (en) 2012-09-12 2012-09-12 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210336395.3A CN103684957B (en) 2012-09-12 2012-09-12 Message processing method and device

Publications (2)

Publication Number Publication Date
CN103684957A true CN103684957A (en) 2014-03-26
CN103684957B CN103684957B (en) 2018-08-10

Family

ID=50321333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210336395.3A Active CN103684957B (en) 2012-09-12 2012-09-12 Message processing method and device

Country Status (1)

Country Link
CN (1) CN103684957B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486041A (en) * 2002-09-27 2004-03-31 华为技术有限公司 Method for transmitting different user data in the same virtual container mapping channel of MAN
US20060126651A1 (en) * 2002-11-18 2006-06-15 Shaohua Yu Transmission apparatus and method of multi-service tributaries over rpr
CN101815024A (en) * 2010-03-24 2010-08-25 中兴通讯股份有限公司 Ethernet service intercommunication method and device
CN101924960A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Service transport system, equipment and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486041A (en) * 2002-09-27 2004-03-31 华为技术有限公司 Method for transmitting different user data in the same virtual container mapping channel of MAN
US20060126651A1 (en) * 2002-11-18 2006-06-15 Shaohua Yu Transmission apparatus and method of multi-service tributaries over rpr
CN101924960A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Service transport system, equipment and method
CN101815024A (en) * 2010-03-24 2010-08-25 中兴通讯股份有限公司 Ethernet service intercommunication method and device

Also Published As

Publication number Publication date
CN103684957B (en) 2018-08-10

Similar Documents

Publication Publication Date Title
US11165698B2 (en) Method for transmitting service signal by using ethernet channel and communications device
US8660430B2 (en) Method and a system for optimizing radio network layer to implement the network interconnection, and a method for interconnection between the radio network and the wired network
US10554542B2 (en) Label distribution method and device
EP3381219B1 (en) Switching data signals of at least two types for transmission over a transport network providing both backhaul and fronthaul (xhaul) connectivity
US20090003831A1 (en) Network Interconnection System And Method With Separated Controlling And Bearing
US10333644B2 (en) Encapsulating digital communications signals for transmission on an optical link
US11575439B1 (en) Apparatus and method for joint profile-based slicing of mobile access and optical backhaul
US20160127506A1 (en) Network control apparatus, network control method, program, and communication system
CN101883117B (en) Interface business focuses on method and system
US20200259734A1 (en) Method for obtaining target transmission route, related device, and system
CN109286864B (en) Registration-based information processing method and device and storage medium
Katsalis et al. Towards slicing for transport networks: The case of flex-ethernet in 5g
CN115914887A (en) Service data transmission method and related equipment
EP3139699B1 (en) Data transmission method and device, and network system
CN114128227B (en) Transmitting MTNC-ID on SRv 6-enabled data plane to enable 5G transmission
US10039032B2 (en) Method and device for processing data in a communication network
Xu et al. OpenFlow Protocol Extension in SDN-based Satellite Networks.
EP2341668A1 (en) Transport of a traffic flow in a mobile communication system
EP4195748A1 (en) Resource configuration method and communication device
CN103684957A (en) Message processing method and device
CN114124285B (en) PCM multiplexing equipment for bearing multiple services and communication system
CN113824660B (en) Transparent transmission method of code stream and router
CN100387025C (en) Method for realizing flow equitable transmission in MPLS looped network
CN100370778C (en) Resilient packet ring business transport method
Shamitha et al. DESIGN AND IMPLEMENTATION OF IEEE 802.16 MAC LAYER SIMULATOR

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180428

Address after: 210012 No. 68 Bauhinia Road, Yuhuatai District, Jiangsu, Nanjing

Applicant after: Nanjing Zhongxing New Software Co., Ltd.

Address before: No. 55, Nanshan District science and technology road, Nanshan District, Shenzhen, Guangdong

Applicant before: ZTE Corporation

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191122

Address after: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee after: ZTE Communications Co., Ltd.

Address before: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Patentee before: Nanjing Zhongxing New Software Co., Ltd.

TR01 Transfer of patent right