CN104040988A - Method, device and system for processing message - Google Patents

Method, device and system for processing message Download PDF

Info

Publication number
CN104040988A
CN104040988A CN201280017320.7A CN201280017320A CN104040988A CN 104040988 A CN104040988 A CN 104040988A CN 201280017320 A CN201280017320 A CN 201280017320A CN 104040988 A CN104040988 A CN 104040988A
Authority
CN
China
Prior art keywords
access device
remote equipment
configuration message
positional information
position configuration
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
CN201280017320.7A
Other languages
Chinese (zh)
Other versions
CN104040988B (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
Publication of CN104040988A publication Critical patent/CN104040988A/en
Application granted granted Critical
Publication of CN104040988B publication Critical patent/CN104040988B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • 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/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a method, device and system for processing a message, being applied to the technical field of communications. The method specifically comprises: in networking where the control plane of a remote-end device is separated from the forwarding plane thereof, an access device connected to the remote-end device receives a location configuration message from the remote-end device, and adds acquired location information thereof into the message, thereby solving the problem that corresponding location information cannot be added into a location configuration message when the control plane of a remote-end device is separated from the forwarding plane thereof in access networking.

Description

METHOD, DEVICE AND SYSTEM FOR PROCESSING MESSAGE
A kind of method, apparatus and system technical field for handling message
The present invention relates to communication technical field, and in particular to a kind of method, apparatus and system of processing message.
Background technology
As shown in Figure 1, in existing typical access network networking, user equipment (calls remote equipment in the following text by the customer premises equipment, CPE (customer premise equipment, CPE) and distant-end node (remote node) equipment in figure)With access node(Access node, AN) equipment(Call access device in the following text)It is connected, AN is connected to IP edge devices (IP edge device).User equipment or CPE generally require to set agreement (dynamic host configuration protocol by DynamicHost during access network, DHCP IP address) is obtained, server in network during user obtains IP address etc. is it should be understood that the positional information of user, server in network is only known after the positional information of user, IP address could be properly assigned to corresponding user.Positional information is generally carried by DHCP protocol, is added by the equipment in access network in corresponding DHCP message.It is similar, it is necessary to add the also blunt texts of Ι Ρ ν 6^ of the positional information of user in messages with this.
Wherein, remote equipment is required for the point of addition information in corresponding message with AN.The mode specifically added mainly has two kinds, and one kind is first added in messages by remote equipment, then forwards the packet to access device, then adds corresponding positional information by access device, and is transmitted to IP edge devices;Another is that corresponding positional information is first configured on remote equipment by access device, and corresponding positional information is disposably added in the blunt texts of corresponding ^ by remote equipment.
In the prior art, remote equipment typically at least has a forwarding surface and a chain of command, and chain of command is used to add corresponding positional information in corresponding message.Have in the remote equipment in a kind of access network of new control forwarding separation, access network and there was only forwarding surface, and moved on on its chain of command among access device, forward table of remote equipment etc. is controlled by access device.Because there is no chain of command in remote equipment, it is impossible to meet complicated calculations requirement required during insertion position information in messages, cause positional information not to be successfully added in message.The content of the invention
In view of there is no chain of command in segment distal equipment at present, and cause positional information can not be successfully added in message, the embodiment of the present invention provides a kind of method for handling message, apparatus and system.Specifically:First aspect according to embodiments of the present invention, a kind of method that message is handled in access network is provided, the access network includes terminal device, remote equipment and access device, and the terminal device is connected by the remote equipment with the access device, and methods described includes:
The access device receives the position configuration message from the remote equipment;If the position configuration Without carrying first position information in message, the access device obtains first position information, and the first position information is added in the position configuration message, the first position information includes the first port mark for the first port being connected on the remote equipment with the terminal device.
In the first possible implementation of first aspect, the access device adds second place information in the position configuration message, and the second place information includes the second port mark for the second port being connected on the access device with the remote equipment.
With reference to the first possible implementation of first aspect, further, the access device can send the 4 blunt texts of position configuration that with the addition of first position information and second place information to the IP edge devices being connected with the access device.
In the first possible implementation with reference to first aspect, further, the access device can also send the position configuration message that with the addition of first position information and second place information to the remote equipment, in order to which the remote equipment forwards the position configuration message that this with the addition of first position information and second place information after message is received by data channel, the data channel is the data channel between the access device and the remote equipment;The access device receives the position configuration message that with the addition of first position information and second place information of the remote equipment forwarding, and forwards the position configuration message that this with the addition of first position information and second place information to the IP edge devices being connected with the access device.Further, the access device can manage the forward table of the remote equipment, so that the remote equipment is received after the position configuration message that with the addition of first position information and second place information, the position that with the addition of first position information and second place information is forwarded to configure the blunt texts of ^ to the access device by the data channel.
With reference to more than in several possible implementations, specifically, first position configuration message of the access device reception from the remote equipment can be:The access device receives the first position configuration message sent by control passage from the remote equipment, and the control passage is the control passage between the access device and the remote equipment.Further, the access device obtains first position information and can specifically included:The access device obtains the first position information that the remote equipment is reported and submitted by the control passage.
With reference in all of above possible implementation, specifically, the first port identifies one or more of the frame number for including the first port, slot number, port numbers, VLAN ID.The position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or the blunt texts of sixth version Internet Protocol IPv6 router solicitations ^.
Second aspect, the embodiment of the present invention additionally provides a kind of method that message is handled in access network, the access network includes terminal device, remote equipment and access device, and the terminal device is connected by the remote equipment with the access device, and methods described includes:
The remote equipment receives the first position configuration message from the terminal device;The remote equipment sends the first position configuration message to the access device, and sends positional information or the label corresponding with the positional information to the access device by control passage, is easy to the access device to exist The positional information is added in the first position configuration message to form second place configuration message, the control passage is the control passage between the remote equipment and the access device, and the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;The remote equipment receives the second place configuration message from the access device;The remote equipment forwards the second place configuration message by data channel to the access device.
In the first possible implementation of second aspect, one or more of frame number of the port-mark including the port, slot number, port numbers, VLAN ID.The first position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
The third aspect, the embodiment of the present invention also provides a kind of access device, and applied in access network, the access network includes terminal device, remote equipment and the access device, the terminal device is connected by the remote equipment with the access device, and the access device includes:
Add module, during in the position configuration message that the first acquisition module is obtained without positional information is carried, the positional information that the second acquisition module is obtained is added in the position configuration message, the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;First acquisition module, for obtaining what is sent by the terminal device, and the position configuration message forwarded by the remote equipment;Second acquisition module, for obtaining the positional information.
In the first possible implementation of the third aspect, further, the second acquisition module specifically can be used for the label sent according to the remote equipment, the positional information obtained from memory module;The access device also includes memory module, the corresponding relation for storing the label and the positional information.
With reference to the implementation above mode of the third aspect, specifically, the port-mark can include one or more of the frame number of the port, slot number, port numbers, VLAN ID.The position configuration message can be the messages of 82 pattern DHCP OPTION of DHCP 82 or the blunt texts of sixth version Internet Protocol IPv6 router solicitations ^.
Fourth aspect, the embodiment of the present invention also provides a kind of remote equipment, and applied in access network, the access network includes terminal device, the remote equipment and access device, the terminal device is connected by the remote equipment with the access device, and the remote equipment includes:
Receiving module, is reported and submitted to sending module for receiving the first position configuration message from terminal device, and by the first position configuration message;Sending module, for sending the first position configuration message to the access device being connected with the remote equipment, and positional information or the label corresponding with the positional information are sent to the access device by control passage, the control passage is the control passage between the remote equipment and the access device, and the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;The receiving module is additionally operable to receive the second place configuration message from the access device;The sending module is additionally operable to forward the second place to configure text to the access device by data channel.Wherein, specifically, the port-mark can include the port Frame number, slot number, port numbers, one or more of VLAN ID.The position configuration message can be for the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
5th aspect, a kind of network system is also provided, the network system includes terminal device, remote equipment and access device, and the terminal device is connected by the remote equipment with the access device, the terminal device, for sending position configuration message;The remote equipment, for receiving the position configuration message, the position message is forwarded to the access device, and positional information or the label corresponding with the positional information are sent to the access device by control passage, the control passage is the control passage between the remote equipment and the access device, and the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;The access device, for receiving the position configuration message from the remote equipment, obtains the positional information, and add the positional information in the position configuration message.
In the first implementation of the 5th aspect, further, the access device is additionally operable to send the position configuration message that with the addition of the positional information to the remote equipment;The remote equipment is additionally operable to receive the position configuration message that with the addition of the positional information from the access device, and forwards the position configuration message that this with the addition of the positional information to the access device by data channel.
With reference to the implementation above mode of the 5th aspect, specifically, the positional information can include the port-mark for the port being connected on the remote equipment with the terminal device.According to more than second aspect several implementations, specifically, the first position configuration message can be the pattern message of DHCP 82 or IPv6 router solicitation messages.The position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
The method, apparatus and system of processing message disclosed in the embodiment of the present invention, added by the access device of upstream in corresponding position configuration message for characterizing the positional information that remote equipment is connected with terminal device, solve in access networking in chain of command and the forwarding surface separation of remote equipment, the problem of pieces of position information can not be added in the configuration message of position.
Brief description of the drawings
In order to illustrate more clearly of the present invention and related embodiment, there is provided the following drawings:
Fig. 1 is the networking diagram of access network in the prior art;
Fig. 2 is the method flow diagram of processing message in the embodiment of the present invention one;
Fig. 3 is the method flow diagram of processing message in the embodiment of the present invention two;
Fig. 4 is the structure chart of access device in the embodiment of the present invention three;
Fig. 5 is the structure chart of remote equipment in the embodiment of the present invention four;
Fig. 6 is the structure chart of the network equipment in the embodiment of the present invention five; Fig. 7 is the structure chart of the network equipment in the embodiment of the present invention six.
Specific embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, with reference to embodiment and accompanying drawing, the present invention is described in further details.Here, the schematic description and description of the present invention is used to explain the present invention, but it is not as a limitation of the invention.
Embodiment one:As shown in Fig. 2 the embodiment of the present invention provides a kind of processing message method, applied in communication network, the terminal device in the communication network is connected by remote equipment with access device.Wherein, terminal device can be subscriber terminal equipment or customer premises equipment, CPE (Customer Premise Equipment, CPE).Remote equipment can be optical network unit(Optical Network Unit, ONU), multitenant unit (Multi-Dwelling Unit, MDU), multi-lessee unit (Multi-Tenant Unit, MTU), digital subscriber line access multiplex(Digital Subscriber Line Access Multiplexer, DSLAM), interchanger, optical fiber to distributing point(Fiber to the drop point, FTTdp) the various equipment such as distribution dot element under scene.Access device can be digital subscriber line access multiplex(Digital Subscriber Line Access Multiplexer, DSLAM), interchanger or optical line terminal equipment (optical line terminal, OLT).Wherein, further, access device can be connected with IP edge devices.IP edge devices can be wideband network gateway(Broadband Network Gateway, BNG), broad band remote access gateway(Broadband Remote Access Server, BRAS), broad access network gate(Broadband Access Server, BAS) etc. equipment.Specifically, this method comprises the following steps.
Step S101, the access device obtains the position configuration message from the remote equipment.The position configuration message, can also be as transmitted by the other-end equipment being connected with remote equipment generally as transmitted by the terminal device.Accordingly, access device can be used for adding first position information in the position configuration message sent by the terminal device, and the first position information is used for the connection for characterizing the terminal device and the remote equipment;Under scene in need, access device can also add the first position information in the position configuration message still sent from the remote equipment by the other-end equipment.
The method wherein obtained, can receive, i.e., remote equipment receiving terminal apparatus send after the configuration message of position, the position configuration message is sent to the access device by data channel.Optionally, the position configuration message can also remote equipment forwarded by control passage, the control passage is control passage between the access device and the remote equipment.Control passage is used to transmit control message(Namely control signaling), there is specific mark, such as VLAN ID, IP address or MAC Address etc. by the message of the channel transfer, receiving terminal can recognize text by these marks, and determine that these blunt texts of ability are sent by control passage.Control passage can be set up by corresponding control protocol, control protocol can be Openflow agreements, can be Access Node Control Protocol (Access Node Control Protocol,) or optical network terminal/optical network unit management and control interface ANCP
( ONT/ONU Management and Control Interface, OMCI ).Access device is obtained by way of the position configuration message that control passage is sended over, and can receive and parse through corresponding control Message, therefrom obtains the position configuration message entrained by the control message.
Wherein position configuration message refers to the message for needing equipment to add corresponding positional information in the message, so, the equipment for obtaining these positional informations, can send the position of the transmission equipment of the position configuration message in a network according to these position information confirmings.Specifically, these positional informations can be used for the annexation for characterizing equipment in network.Specific in this programme, the position configuration message needs remote equipment, access device to add corresponding positional information in the message.The position configuration message can be the messages of 82 pattern DHCP OPTION of DHCP 82, can be IPv6 router solicitations(IPv6 Router Solicitation) message or other positions configuration message.The messages of DHCP OPTION 82 mentioned here refer to the DHCP message for carrying this option information of OPTION 82.
Step S102, if without carrying first position information in the position configuration message, the access device obtains first position information, and the first position information is added in the position configuration message, the first position information includes the first port mark for the first port being connected on the remote equipment with the terminal device.
If without first position information is carried in the position configuration message that access device is received, illustrating that remote equipment is not added in the message.The reason for this thing happens is probably that remote equipment is configured without chain of command, it is impossible to added, it is also possible to which chain of command function is limited, it is also possible to which remote equipment chain of command overloads, it is also possible to control surface damage, it is also possible to other reasonses.In a word, in this case, it is necessary to which access device adds first position information in the blunt texts of corresponding position configuration ^.Several situations above, can be configured in the blunt texts of ^ in corresponding position by the method for the embodiment of the present invention and add first position information.Optionally, it can be set in remote equipment, the position configuration message for not carrying first position information is unified by control passage transmission, so, then access device receives the position configuration message that remote equipment is sent by control passage, then it is assumed that without carrying first position information in the message.Or, optionally, access device can be by parsing and judging whether carry the first position information in its position configuration message from remote equipment received.Or, optionally, in the case where remote equipment does not have chain of command, the position configuration message from the remote equipment that access device can give tacit consent to received by it does not all carry the first position information.
The need for difference, first position information can include the port-mark that terminal device is connected with remote equipment, the link information for being used to connect terminal device and remote equipment can be included, the line identification that remote equipment is connected with terminal device can be included, other can be included to can be used for characterizing the information being connected between terminal device and remote equipment, can also including MAC Address etc. positional information.Specifically, the port-mark, two steps, one or more of the frame number of the first port mark including the first port, slot number, port numbers, VLAN ID.This first port mark can be understood as the line identification being connected on remote equipment with terminal device(Line ID), groove, the mark of port being connected on remote equipment with terminal device can be included, the VLAN ID of terminal device can also be included(Vlan ID), further, if remote equipment has one or more frames for being available for connecting, corresponding frame number on remote equipment can also be included. Obtaining first position information herein can refer to what is received, can also user be manually pre-configured with access device, can also read the first position information for receiving and storing before this, also the first position information that can be added in the position configuration message can be, the remote equipment is reported and submitted to the access device by the control passage, it can also be realized in the case where remote equipment does not have chain of command by the method, specifically, the position configuration message and first position information are sent to access device by control passage can together, can also separately send, specific mark or rule need to be equipped with during separately send, so that access device, which is received, can recognize corresponding corresponding relation after corresponding message and positional information, such as sending the control message of position configuration message and carrying identical mark for sending the control message of first position information.
First position information can also access device store in advance, such as first position information is stored in access device when networking, can also be, the first position information is handed down to access device by webmaster, can also be before this, remote equipment is sent to access device, it is also possible that other know what the equipment of the first position information was reported and submitted.In this case it is necessary to configure label and the mapping table of positional information on access device in advance, label can be multi-protocol label switching (T-MPLS) label, can be pseudo-wire(Pseudo wire, PW) label can be VLAN ID or other labels that can be used for distinguishing message source.Remote equipment is sent with the corresponding label of the positional information to access device, and label is corresponding with corresponding positional information, matched.Label can be sent by control passage, can also be sent by data channel, can be sent together with the configuration message of position, can also be with position configuration message separately send.Optionally, position configuration message and label also can separately send, specific mark or rule need to be equipped with during separately send so that access device, which is received, can recognize corresponding corresponding relation after corresponding message and label.Access device obtains the first position information according to the label in the mapping table being locally stored, and the mapping table is used to characterize label and the corresponding relation of positional information.
Step S103, optionally, the access device add second place information in the position configuration message, and the second place information includes the second port mark for the second port being connected on the access device with the remote equipment.Optionally, access device can be pre-established in the mapping table of label, first position information and second place information, and the label or first position information reported and submitted by remote equipment are locally searching the second place information.Optionally, access device also can obtain second place information by the port of local reception position configuration message, or when the position configuration message is sent by control passage, second place information can be obtained by the mark of the control passage.The particular content and its function of second place information are similar with first position information, repeat no more.
Optionally, the access device can send the position configuration message that with the addition of the first position information and the second place information to connected IP edge devices.
Or, the access device sends the position configuration message that with the addition of first position information and second place information to the remote equipment, in order to which the remote equipment forwards the position configuration message that this with the addition of first position information and second place information, the data channel after message is received by data channel For the data channel between the access device and the remote equipment;The access device receives the position configuration message that with the addition of first position information and second place information of the remote equipment forwarding, and forwards the position configuration message that this with the addition of first position information and second place information to the IP edge devices being connected with the access device.
Access device has been added after first position information and second place information, and position configuration message is returned and continued with to remote equipment.The mode of transmission can be sent by control passage, can also be sent by data channel.Remote equipment is received after message, it was found that the position configuration message with the addition of first position information, this article is continued with, for example, in the case where the text received is also not added with VLAN ID, corresponding VLAN ID can be added in the text, send the blunt texts of ^ to access device after having handled.Access device finds that the message with the addition of positional information, then is forwarded to the IP edge devices being connected with the access device.Optionally, it can be set in remote equipment, the position configuration message from terminal device is received to forward to access device by control passage, the position configuration message from access device is received to forward by data channel, so, access device can judge whether the position message is the message forwarded by its passage for receiving message, either access device can add the specific message identified to distinguish or be recognized using other means the forwarding in the position configuration message sent to remote equipment.
Optionally, the access device manages the forward table of the remote equipment, so that the remote equipment is received after the position configuration message that with the addition of first position information and second place information, the position configuration message that this with the addition of first position information and second place information is forwarded to the access device by the data channel.Management, which refers to create, safeguards, change etc., to be operated, if such as remote equipment is regular without forwarding accordingly, then create corresponding forward table, if corresponding forwarding-table item is existing but forwarding rule needs change, then change corresponding forward table, if corresponding forwarding-table item is existing and forwarding rule need not be changed, the forward table is maintained.It is preferred that, the forwarding rule of remote equipment can be received after the position configuration message for needing to add first position information, if without carrying first position information in the position configuration message, then the position configuration message is sent to access device by control passage, if having carried first position information in the position configuration message, the position configuration message that with the addition of first position information is sent to access device by data channel.Accordingly, access device is connected to the position configuration from the control passage>First position information is added in text, then at this " ^ texts(Also second place information can be added simultaneously)" second place information is added if the position configuration message from data channel is connected to, then it is assumed that the message with the addition of first position information, at this in ^ texts(This step is skipped over if it with the addition of second place information before this), forwarded by forwarding towards the IP edge devices.
Optionally, the forwarding rule of remote equipment can also be static, that is, be connected to corresponding position configuration message and just forwarded to access device.Accordingly, access device is after position configuration message is connected to, if it find that then adding first position information in messages without first position information is carried in the message(Also second place information can be added simultaneously), if it find that having carried first position information in message, second place information is added in the message(This step is skipped over if it with the addition of second place information before this), forwarded by forwarding towards the IP edge devices. In the method for processing message disclosed in the embodiment of the present invention, added by the access device of upstream in corresponding position configuration message for characterizing the positional information that remote equipment is connected with terminal device, solve in access networking in chain of command and the forwarding surface separation of remote equipment, the problem of corresponding positional information can not be added in the configuration message of position
Embodiment two:For the networking structure in embodiment one, as shown in figure 3, the embodiment of the present invention provides another processing blunt literary method of ^.
Step S201, the remote equipment receives the first position configuration message from the terminal device.Step S202, the remote equipment sends the first position configuration message to the access device, and positional information or the label corresponding with the positional information are sent to the access device by control passage, it is easy to the access device to add the positional information in the first position configuration message to form second place configuration message, the control passage is the control passage between the remote equipment and the access device, and the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device.
First position configuration message is identical with the position configuration message in embodiment one, repeats no more.Positional information is identical with the first position information in embodiment one.Remote equipment sends the first position to access device and configured>The mode of text can, by data channel, can also can individually be sent by control passage, can also be sent with the positional information or with positional information to together with corresponding label.Access device is received after the first position configuration message, and the positional information addition of acquisition is wherein formed into second place configuration message.Wherein, access device obtain the positional information method can the remote equipment directly report and submit or the label corresponding with positional information reported and submitted according to remote equipment of access device obtained in the label being locally stored with being inquired about in positional information mapping table.
Step 203, the remote equipment receives the second place configuration message from the access device;The remote equipment forwards the second place configuration message by data channel to the access device.
In the method for processing message disclosed in the embodiment of the present invention, the access device of remote equipment upstream is sent in the position configuration message received by it, and send positional information or label corresponding with the positional information to the access device, enable upstream access device according to the positional information or the label point of addition information in corresponding position configuration message, solve in access networking in chain of command and the forwarding surface separation of remote equipment, the problem of corresponding positional information can not be added in the configuration message of position.
Embodiment three, the embodiments of the invention provide a kind of access device, as shown in Figure 4.The access device can be used for serving as the access device in embodiment one and embodiment two, for realizing the method in embodiment one and embodiment two.
The access device includes:Add module, during in the position configuration message that the first acquisition module is obtained without positional information is carried, the positional information that the second acquisition module is obtained is added in the position configuration message, the positional information is used for the connection for characterizing terminal device and remote equipment;First acquisition module, for obtaining what is sent by terminal device, and the position configuration message forwarded by the remote equipment;Second acquisition module, for obtaining the positional information.The position configuration message and institute State positional information identical with the position configuration message and positional information in embodiment one, two.
Specifically, add module can determine the positional information whether is carried in the message by parsing the position configuration message;It can also be set at remote equipment:The positional information is added if desired for access device, the position configuration message is then sent by control passage, access device receives the position configuration message sent from remote equipment by control passage, then it is assumed that the message does not carry the positional information.
The mode that first acquisition module is obtained, can directly receive the position configuration message sent from remote equipment by data channel, the message that can also be sent by receiving and parsing through from remote equipment by control passage simultaneously analytically obtains the position configuration message in result.
Wherein, the positional information is identical with the positional information in embodiment one, two, can include the line identification that the remote equipment is connected with the terminal device.Described position configuration message is identical with the position configuration message in embodiment one, two, can be the pattern message of DHCP 82 or the blunt texts of IPv6 router solicitations ^
Optionally, the second acquisition module, specifically for receiving and obtaining the positional information that the remote equipment is sent.The concrete mode for the positional information that remote equipment is sent is identical with the mode that remote equipment in embodiment one, two sends positional information.
Optionally, the second acquisition module, specifically for the label corresponding with the positional information sent according to the remote equipment, the positional information is obtained from memory module;The access device also includes memory module, for the label and the corresponding relation of the positional information.The label is identical with the label in embodiment one, two.The positional information can access device store in advance, such as first position information is stored in access device when networking, can also be, the first position information is handed down to access device by webmaster, can also be before this, remote equipment is sent to access device, it is also possible that other know what the equipment of the first position information was reported and submitted.
Optionally, second acquisition module also obtains the positional information using other acquisition modes, such as by sending query messages, to the equipment query for knowing the message accordingly, or issue the location message by sending request message requests webmaster, or directly obtain described positional information that user is manually entered, etc..
Access device disclosed in the embodiment of the present invention, by in the position configuration message that remote equipment is sent, the positional information that addition remote equipment is reported and submitted, or add the positional information that the label reported and submitted according to remote equipment is obtained in local search, solve in access networking in chain of command and the forwarding surface separation of remote equipment, the problem of corresponding positional information can not be added in the configuration message of position.
Example IV, the embodiments of the invention provide a kind of remote equipment, as shown in Figure 5.The remote equipment can be used for serving as the remote equipment in embodiment one and embodiment two, for realizing the method in embodiment one and embodiment two.
Specifically, remote equipment includes:Receiving module, is reported and submitted to sending module for receiving the first position configuration message from terminal device, and by the first position configuration message;Sending module, for The access device being connected with the remote equipment sends the first position configuration message, and the positional information or the label corresponding with the positional information are sent to the access device by control passage, the control passage is the control passage between the remote equipment and the access device, and the positional information is used for the connection for characterizing the terminal device and the remote equipment.Optionally, the positional information may include the line identification that the remote equipment is connected with the terminal device.Optionally, the first position configuration message and the second place configuration message can be the pattern message of DHCP 82 or IPv6 router solicitation messages.
Optionally, the receiving module is additionally operable to receive the second place configuration message from the access device;The sending module is additionally operable to forward the second place configuration message to the access device by data channel.
Specifically, the mode that sending module sends position configuration message can also can be sent by data channel by control passage together with the positional information or the label, can also separately send.The access device of the position configuration message is received, the positional information is added in the position configuration message, or elder generation is added in the position configuration message according to the label lookup to the positional information, then the positional information.
Remote equipment disclosed in the embodiment of the present invention, by the access device of upstream in the position configuration message that remote equipment is sent, the positional information that addition remote equipment is reported and submitted, or add the positional information that the label reported and submitted according to remote equipment is obtained in local search, solve in access networking in chain of command and the forwarding surface separation of remote equipment, the problem of corresponding positional information can not be added in the configuration message of position.
Embodiment five, the embodiments of the invention provide a kind of network equipment, as shown in Figure 6.The network equipment can be used for serving as the access device in embodiment one and embodiment two, for realizing the method in embodiment one and embodiment two.
The network equipment includes:Receiver, for receiving message;Memory, for storage information, described information includes program and mapping table, and described program includes:When in the position configuration message from the first equipment received by the receiver without positional information is carried, obtain the positional information, and add the positional information in the position configuration message, wherein, obtaining the positional information is specially, obtain the positional information transmitted by first equipment, or the positional information is obtained specifically, the label corresponding with the positional information according to transmitted by first equipment obtains the positional information in the mapping table;The processor coupled with the receiver and the memory, for performing described program.Optionally, the receiver can also be coupled with the memory.
Specifically, described program, can be to determine the positional information whether is carried in the message by parsing the position configuration message;It can also be set at the first equipment:The positional information is added if desired for the network equipment, the position configuration message is then sent by control passage, at this moment, the network equipment receives the position configuration message sent from first equipment by control passage, then it is assumed that the message does not carry the positional information.
Optionally, described program can also include directly receiving sending by data channel from the first equipment The position configuration message, can also include by receiving and parsing through the message that is sent from the first equipment by control passage and the position configuration message analytically being obtained in result.
Wherein, the positional information is similar with the positional information in embodiment one, two, can include the line identification that first equipment is connected with subscriber terminal equipment or CPE." ^ texts are identical, can be the pattern message of DHCP 82 or IPv6 router solicitation messages with the position configuration in embodiment one, two for described position configuration message.
Label in the embodiment of the present invention is identical with the label in embodiment one, two.The positional information can the network equipment store in advance, such as positional information is stored in the network equipment when networking, can also be, the positional information is handed down to the network equipment by webmaster, can also be before this, first equipment is sent to the network equipment, it is also possible that other know what the equipment of the positional information was reported and submitted.
Optionally, the acquisition positional information in described program, can also be specifically, send query messages, to the equipment query for knowing the location message accordingly, either described positional information that the location message or direct acquisition user are manually entered, etc. is issued by sending request message requests webmaster.
The network equipment disclosed in the embodiment of the present invention, by in the position configuration message that the first equipment is sent, add the positional information that the first equipment is reported and submitted, or add the positional information that the label reported and submitted according to the first equipment is obtained in local search, solve in access networking in chain of command and the forwarding surface separation of the first equipment, the problem of corresponding positional information can not be added in the configuration message of position.
Embodiment six, the embodiments of the invention provide a kind of network equipment, as shown in Figure 7.The network equipment can be used for serving as the remote equipment in embodiment one and embodiment two, for realizing the method in embodiment one and embodiment two.
The network equipment includes:Receiver, for receiving message;Transmitter, for sending message;Memory, for storage information, described information includes program, and described program includes:The position configuration message received by the receiver is sent to the first equipment, and positional information or the label corresponding with the positional information are sent to first equipment by control passage, the control passage is the control passage between the network equipment and first equipment;The processor coupled with the receiver, the transmitter and the memory, for performing described program.Optionally, the memory can be coupled with the receiver and the transmitter.
The upstream device that first equipment is connected with first equipment is connected, and the positional information is used to characterize first equipment and the connection of the upstream device.Optionally, the positional information may include the line identification that first equipment is connected with the upstream device.Optionally, the first position configuration message and the second place configuration message can be the pattern message of DHCP 82 or IPv6 router solicitation messages.
Optionally, the receiver is additionally operable to receive the second place configuration message from first equipment;Described program also includes, and passes through second place configuration message described in data channel to first device forwards.
Specifically, the mode that transmitter sends position configuration message be able to can also be led to by data channel Control passage is crossed, can be sent together with the positional information or the label, can also separately send.The first equipment of the position configuration message is received, the positional information is added in the position configuration message, or elder generation is added in the position configuration message according to the label lookup to the positional information, then the positional information.
Wherein, the positional information is similar with the positional information in embodiment one, two, can include the line identification that the network equipment is connected with subscriber terminal equipment or CPE." ^ texts are identical, can be the pattern message of DHCP 82 or IPv6 router solicitation messages with the position configuration in embodiment one, two for described position configuration message.
The network equipment disclosed in the embodiment of the present invention, by the first equipment of upstream in the position configuration message that the network equipment is sent, the positional information that the addition network equipment is reported and submitted, or add the positional information that the label reported and submitted according to the network equipment is obtained in local search, solve in access networking in chain of command and the forwarding surface separation of the network equipment, the problem of corresponding positional information can not be added in the configuration message of position.
Embodiment seven, the embodiments of the invention provide a kind of network system.The networking of the network system is identical with the networking in embodiment one, two, the terminal device, remote equipment and access device in the network system and terminal device, remote equipment and the access device in embodiment one, two --- and it is corresponding.Remote equipment in the network system can be that the access device in the equipment in example IV, six, the network system can be with the equipment in embodiment three, five.
Specifically, the network system includes terminal device, remote equipment and access device, the terminal device is connected by the remote equipment with the access device.The terminal device, for sending position configuration message;The remote equipment, for receiving the position configuration message, the position message is forwarded to the access device, and positional information or the label corresponding with the positional information are sent to the access device by control passage, the control passage is the control passage between the remote equipment and the access device, and the positional information is used for the connection for characterizing the terminal device and the remote equipment;The access device, for receiving the position configuration message from the remote equipment, obtains the positional information, and adds in the position configuration message first position information.
Optionally, the positional information can include the line identification that the remote equipment is connected with the terminal device.
Optionally, the position configuration message can be the pattern message of DHCP 82 or IPv6 router solicitation messages.
Optionally, the position configuration message can the remote equipment sent by control passage, the control passage is control passage between the access device and the remote equipment.Position configuration message can also be sent by data channel, and position configuration message can be sent together with the positional information or label by control passage, can also separately send.
Optionally, the access device obtains positional information concretely:The access device obtains the positional information that the remote equipment is reported and submitted by the control passage.Or, the access device is obtained Positional information is concretely:The access device obtains the label corresponding with the positional information that the remote equipment is reported and submitted, the positional information is obtained in the mapping table being locally stored according to the label, the mapping table is used to characterize label and the corresponding relation of positional information.
Further, the access device can add second place information in the position configuration message, the second place information is used for the connection for characterizing the remote equipment and the access device, and the second place information includes the line identification that the access device is connected with the remote equipment.Further, the access device sends the position configuration message that with the addition of the positional information and the second place information to connected IP edge devices.Or, the access device can also send the position configuration message that with the addition of the positional information and the second place information to the remote equipment, the response position for receiving the remote equipment configures 4 blunt texts, and forwards response position configuration message to the IP edge devices being connected with the access device.At the same time, the access device can manage the forward table of the remote equipment, so that the remote equipment is received after the blunt text of position configuration ability that with the addition of the positional information and the second place information, the position configuration message received by it is forwarded to the access device by its data channel between the access device.How access device, specifically manage the forward table of the remote equipment, reference can be made to the relevant content in embodiment one.
In the method for processing message disclosed in the embodiment of the present invention, added by the access device of upstream in corresponding position configuration message for characterizing the positional information that remote equipment is connected with terminal device, solve in access networking in chain of command and the forwarding surface separation of remote equipment, the problem of corresponding positional information can not be added in the configuration message of position.The description of embodiment more than, it is apparent to those skilled in the art that the present invention can be realized with hardware, or firmware is realized, or combinations thereof mode is realized.When implemented in software, above-mentioned functions can be stored in computer-readable medium or be transmitted as one or more instructions on computer-readable medium or code.Computer-readable medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to any medium that computer program is transmitted from a place to another place.Storage medium can be any usable medium that computer can be accessed.As example but it is not limited to:Computer-readable medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with instruct or data structure form desired program code and can by computer access any other medium.In addition.Any connection can be suitably turn into computer-readable medium.If for example, software is to use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line() or such as wireless technology of infrared ray, radio and microwave etc is transmitted from website, server or other remote sources DSL, then the wireless technology of coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared ray, wireless and microwave etc be included in belonging to medium it is fixing in.As used in the present invention, disk() and dish Disk(Disc compression laser disc) is included(CD), laser disc, laser disc, Digital Versatile Disc(DVD), floppy disk and blue light Laser disc, the replicate data of the usual magnetic of which disk, and dish is then with laser come optical replicate data.Above combination above should also be as being included within the protection domain of computer-readable medium.
In a word, the preferred embodiment of technical solution of the present invention is the foregoing is only, is not intended to limit the scope of the present invention.Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection.

Claims (1)

  1. Claims
    1st, a kind of method that message is handled in access network, it is characterised in that the access network includes terminal device, remote equipment and access device, the terminal device is connected by the remote equipment with the access device, and methods described includes:
    The access device receives the position configuration message from the remote equipment;
    If without carrying first position information in the position configuration message, the access device obtains first position information, and the first position information is added in the position configuration message, the first position information includes the first port mark for the first port being connected on the remote equipment with the terminal device.
    2nd, method according to claim 1, it is characterised in that methods described also includes:
    The access device adds second place information in the position configuration message, and the second place information includes the second port mark for the second port being connected on the access device with the remote equipment.
    3rd, method according to claim 2, it is characterised in that methods described also includes:
    The access device sends the position configuration message that with the addition of first position information and second place information to the IP edge devices being connected with the access device.
    4th, method according to claim 2, it is characterised in that methods described also includes:
    The access device sends the position configuration message that with the addition of first position information and second place information to the remote equipment, in order to which the remote equipment forwards the position configuration message that this with the addition of first position information and second place information after message is received by data channel, the data channel is the data channel between the access device and the remote equipment;
    The access device receives the position configuration message that with the addition of first position information and second place information of the remote equipment forwarding, and forwards the position configuration message that this with the addition of first position information and second place information to the IP edge devices being connected with the access device.
    5th, method according to claim 4, it is characterised in that methods described also includes:
    The access device manages the forward table of the remote equipment, so that the remote equipment is received after the position configuration message that with the addition of first position information and second place information, the position configuration message that this with the addition of first position information and second place information is forwarded to the access device by the data channel.
    6th, the method according to claim 1 to 5 any one, it is characterised in that:
    The access device receives the first position configuration message from the remote equipment:The access device receives the first position configuration message sent by control passage from the remote equipment, and the control passage is the control passage between the access device and the remote equipment.
    7th, method according to claim 6, it is characterised in that the access device obtains first position information and specifically included:The access device obtains the remote equipment and passes through the blunt first position information sent of the control passage. 8th, the method according to claim 1 to 6 any one, it is characterised in that the access device obtains first position information and specifically included:The access device obtains the label that the remote equipment is reported and submitted, and obtains the corresponding relation of be stored with the first position information, the mapping table label and the first position information in the mapping table being locally stored according to the label.
    9th, the method according to claim 1 to 8 any one, it is characterised in that the first port identifies one or more of the frame number for including the first port, slot number, port numbers, VLAN ID.
    10th, the method according to claim 1 to 9 any one, it is characterised in that:
    The position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
    11st, a kind of method that message is handled in access network, it is characterised in that the access network includes terminal device, remote equipment and access device, the terminal device is connected by the remote equipment with the access device, and methods described includes:
    The remote equipment receives the first position configuration message from the terminal device;
    The remote equipment sends the first position configuration message to the access device, and positional information or the label corresponding with the positional information are sent to the access device by control passage, it is easy to the access device to add the positional information in the first position configuration message to form second place configuration message, the control passage is the control passage between the remote equipment and the access device, and the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;The remote equipment receives the second place configuration message from the access device;The remote equipment forwards the second place configuration message by data channel to the access device.
    12nd, according to claim 11 methods described, it is characterised in that one or more of frame number of the port-mark including the port, slot number, port numbers, VLAN ID.
    13rd, according to the methods described of claim 11 or 12, it is characterised in that
    The first position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
    14th, a kind of access device, characterized in that, applied in access network, the access network includes terminal device, remote equipment and the access device, the terminal device is connected by the remote equipment with the access device, and the access device includes:
    Add module, during in the position configuration message that the first acquisition module is obtained without positional information is carried, the positional information that the second acquisition module is obtained is added in the position configuration message, the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;First acquisition module, turns for obtaining what is sent by the terminal device, and by the remote equipment The position configuration message of hair;
    Second acquisition module, for obtaining the positional information.
    15th, the access device according to claim 14, it is characterised in that:
    Second acquisition module, specifically for the label sent according to the remote equipment, the positional information is obtained from memory module;
    The access device also includes memory module, the corresponding relation for storing the label and the positional information.
    16th, the access device according to claims 14 or 15, it is characterised in that:
    One or more of frame number of the port-mark including the port, slot number, port numbers, VLAN ID.
    17th, the access device according to claim 14 to 16 described in any one, characterized in that, the position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
    18th, a kind of remote equipment, characterized in that, applied in access network, the access network includes terminal device, the remote equipment and access device, the terminal device is connected by the remote equipment with the access device, and the remote equipment includes:
    Receiving module, is reported and submitted to sending module for receiving the first position configuration message from terminal device, and by the first position configuration message;
    Sending module, for sending the first position configuration message to the access device being connected with the remote equipment, and positional information or the label corresponding with the positional information are sent to the access device by control passage, the control passage is the control passage between the remote equipment and the access device, and the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;
    The receiving module is additionally operable to receive the second place configuration message from the access device;The sending module is additionally operable to forward the second place configuration message to the access device by data channel.
    19th, the remote equipment according to claim 18, it is characterised in that:One or more of frame number of the port-mark including the port, slot number, port numbers, VLAN ID.
    20th, the remote equipment according to claim 18 or 19, it is characterised in that
    The position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
    21st, a kind of network system, the network system includes terminal device, remote equipment and access device, and the terminal device is connected by the remote equipment with the access device, it is characterised in that: The terminal device, for sending position configuration message;
    The remote equipment, for receiving the position configuration message, the position message is forwarded to the access device, and positional information or the label corresponding with the positional information are sent to the access device by control passage, the control passage is the control passage between the remote equipment and the access device, and the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device;
    The access device, for receiving the position configuration message from the remote equipment, obtains the positional information, and add the positional information in the position configuration message.
    22nd, the network system according to claim 21, it is characterised in that:
    The access device is additionally operable to send the position configuration message that with the addition of the positional information to the remote equipment;
    The remote equipment is additionally operable to receive the position configuration message that with the addition of the positional information from the access device, and forwards the position configuration message that this with the addition of the positional information to the access device by data channel.
    23rd, the network system according to claim 22, it is characterised in that the positional information includes the port-mark for the port being connected on the remote equipment with the terminal device.
    24th, the network system according to claim 21 to 23 described in any one, the position configuration message is the messages of 82 pattern DHCP OPTION of DHCP 82 or sixth version Internet Protocol IPv6 router solicitation messages.
CN201280017320.7A 2012-12-26 2012-12-26 Method, device and system for processing message Active CN104040988B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087510 WO2014100998A1 (en) 2012-12-26 2012-12-26 Method, device and system for processing message

Publications (2)

Publication Number Publication Date
CN104040988A true CN104040988A (en) 2014-09-10
CN104040988B CN104040988B (en) 2017-02-22

Family

ID=51019667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280017320.7A Active CN104040988B (en) 2012-12-26 2012-12-26 Method, device and system for processing message

Country Status (2)

Country Link
CN (1) CN104040988B (en)
WO (1) WO2014100998A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019042225A1 (en) * 2017-08-29 2019-03-07 中兴通讯股份有限公司 User broadband access processing method, apparatus and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090034536A1 (en) * 2004-08-25 2009-02-05 Lionel Morand Method and system for localising users for services based on sip or h.323 protocols with dynamic ip address allocation
WO2009026843A1 (en) * 2007-08-23 2009-03-05 Huawei Technologies Co., Ltd. System, apparatus and method for updating the user equipment's location
CN101626330A (en) * 2008-07-09 2010-01-13 华为技术有限公司 Method, device and system for inquiring position and application equipment
EP2148521A1 (en) * 2007-05-11 2010-01-27 Huawei Technologies Co., Ltd. Method for acquiring and transmitting user location information and network device thereof
CN101730067A (en) * 2009-06-25 2010-06-09 中兴通讯股份有限公司 Method and device for controlling user equipment to report network discovery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090034536A1 (en) * 2004-08-25 2009-02-05 Lionel Morand Method and system for localising users for services based on sip or h.323 protocols with dynamic ip address allocation
EP2148521A1 (en) * 2007-05-11 2010-01-27 Huawei Technologies Co., Ltd. Method for acquiring and transmitting user location information and network device thereof
WO2009026843A1 (en) * 2007-08-23 2009-03-05 Huawei Technologies Co., Ltd. System, apparatus and method for updating the user equipment's location
CN101626330A (en) * 2008-07-09 2010-01-13 华为技术有限公司 Method, device and system for inquiring position and application equipment
CN101730067A (en) * 2009-06-25 2010-06-09 中兴通讯股份有限公司 Method and device for controlling user equipment to report network discovery

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019042225A1 (en) * 2017-08-29 2019-03-07 中兴通讯股份有限公司 User broadband access processing method, apparatus and device

Also Published As

Publication number Publication date
WO2014100998A1 (en) 2014-07-03
CN104040988B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US10728214B2 (en) Method for access network virtualization and proxy node
US8064442B2 (en) Method and apparatus for L3-aware switching in an ethernet passive optical network
US7428586B2 (en) System and method for discovering undiscovered nodes using a registry bit in a point-to-multipoint network
CN101631069B (en) Method, system and equipment for pseudo wire parameter negotiation
CN102006526B (en) A kind of broadcast packet/multicast controls message processing method and device
EP2763355B1 (en) Method for transmitting data in passive optical network, user-side equipment, and system
US20220060344A1 (en) Method for indicating multicast forwarding entry and device
WO2009127128A1 (en) Method for avoiding downstream data flooding in ethernet passive optical network
EP3148164B1 (en) Packet processing method and device
CN102098278B (en) Subscriber access method and system as well as access server and device
JP5774711B2 (en) Pseudowire routing propagation method and apparatus
CN109076019A (en) Addressing for customer rs premise LAN extension
KR101072461B1 (en) Data transmission system and method using switching information
CN111711555A (en) Message processing method and device
CN100435520C (en) Method for selecting services provided by different providers of network service
WO2016141818A1 (en) Service uplink forwarding and downlink forwarding methods and corresponding apparatus
CN104040988A (en) Method, device and system for processing message
WO2009156777A1 (en) Media access control (mac) address collision avoidance in ethernet switched networks
CN106357483B (en) Message transmission method, access node, access controller and access system
US20090232144A1 (en) Network intermediate apparatus and method for ubiquitous network and ubiquitous network system using the intermediary apparatus
KR100809438B1 (en) Apparatus and method for vlan frame management for terminal control in gigabit-capable pon system
JP2020155888A (en) Subscriber line aggregation device, pon station side device, pon system and subscriber line aggregation device control method
JP6107773B2 (en) Communication apparatus and communication system
KR20040047573A (en) Communication apparatus in ethernet passive optical network
JP5681658B2 (en) Distribution network system, filter control method, distribution node device, and reception node device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant