






技术领域technical field
本发明涉及在通信网络中转发报文的技术,特别涉及一种在接入终端上实现业务分流的方法及系统。 The invention relates to the technology of forwarding messages in a communication network, in particular to a method and system for realizing service distribution on an access terminal. the
背景技术Background technique
图1为通信网络的组网逻辑示意图,该通信网络包括依次连接的用户设备、接入终端、局端接入设备以及局端业务处理功能单元或核心骨干网。 Fig. 1 is a schematic diagram of a networking logic of a communication network, which includes user equipment, access terminals, central office access equipment, and central office service processing functional units or a core backbone network connected in sequence. the
其中,接入终端,如家庭网关,包括多个下行端口和一个上行端口,下行端口为以太网(LAN,Local Area Network)端口,具备交换机的桥转发功能,可以挂接不同的用户设备,各个物理端口又可以划分为多个逻辑业务接口。上行端口为以太网端口或数字用户线(DSL,Digital Subscriber Line)端口,比如,可以是高比特率数字用户线(VDSL,Very High Rate DigitalSubscriber Line),分别和下行端口以及局端接入设备进行各种报文的转发。 Among them, an access terminal, such as a home gateway, includes multiple downlink ports and an uplink port. The downlink port is an Ethernet (LAN, Local Area Network) port, which has the bridge forwarding function of the switch and can be connected to different user equipment. A physical port can be divided into multiple logical service interfaces. The uplink port is an Ethernet port or a digital subscriber line (DSL, Digital Subscriber Line) port, for example, it can be a high bit rate digital subscriber line (VDSL, Very High Rate Digital Subscriber Line), which is connected with the downlink port and the central office access device respectively. Forwarding of various messages. the
局端接入设备,其可以对自身下行端口从接入终端的上行端口接收来的报文,根据报文携带的不同信息结合自己本身配置的不同规则进行不同的处理后发送给局端业务处理功能单元或核心骨干网。 The central office access device can process the messages received by its downlink port from the uplink port of the access terminal, according to the different information carried in the message and the different rules configured by itself, and then send it to the central office for business processing Functional unit or core backbone. the
局端业务处理功能单元或核心骨干网,用于接收局端接入设备发送的报文,进行转发或其他操作处理。 The business processing functional unit at the central office or the core backbone network is used to receive packets sent by the access device at the central office, and perform forwarding or other operations and processing. the
为了使不同网络的不同业务的报文可以发送给不同网络的局端业务功能单元或核心骨干网进行不同的处理,就需要区分不同运营商所管辖的网络的用户设备:接入终端通过多个下行端口接入有多个用户设备,而且可以属于不同的运营商所管辖的网络,对这多个用户设备发出的报文在接入终端、局端接入设备以及局端业务处理功能单元或核心骨干网各环节进行不同运 营商所管辖的网络中的报文处理,如用户设备和局端接入设备不是属于同一个运营商所管辖的网络时,局端接入设备就将该用户设备发送的报文进行透传,而不做任何处理。另外,还需要区分不同业务的报文,针对用户设备发送的不同业务的报文,在接入终端、局端接入设备以及局端业务处理功能单元或核心骨干网各环节进行不同业务的报文处理,如文件传输协议(FTP,File Transfer Protocol)业务的报文,在经过局端接入设备后需要进行限速处理等。 In order to enable packets of different services in different networks to be sent to central office service functional units or core backbone networks of different networks for different processing, it is necessary to distinguish user equipment of networks under the jurisdiction of different operators: access terminals through multiple There are multiple user equipments connected to the downlink port, and they may belong to networks under the jurisdiction of different operators. The packets sent by these multiple user equipments are transmitted between the access terminal, the central office access equipment, and the central office service processing functional unit or Each link of the core backbone network processes packets in networks under the jurisdiction of different operators. If the user equipment and the access device at the central office do not belong to the network under the jurisdiction of the same operator, the access device at the central office will The packets sent by the device are transparently transmitted without any processing. In addition, it is also necessary to distinguish the packets of different services. For the packets of different services sent by the user equipment, the packets of different services are carried out in the access terminal, the central office access device, the central office service processing functional unit or the core backbone network. File processing, such as the file transfer protocol (FTP, File Transfer Protocol) business message, after passing through the central office access device, speed limit processing is required. the
为了区分不同运营商所管辖的网络的用户设备发送的报文,就需要在接入终端、局端接入设备以及局端业务处理功能单元或核心骨干网各环节中标识不同运营商所管辖的网络的用户设备的标识,目前还没有方法进行这样的处理,不同运营商所管辖的网络的报文都没有携带标识不同运营商所管辖的网络的标识发送,这样到局端接入设备上无法区分来自不同运营商所管辖的网络的报文。 In order to distinguish the packets sent by the user equipment of the network under the jurisdiction of different operators, it is necessary to identify the information of the network under the jurisdiction of different operators in the access terminal, the access device of the central office, and the service processing function unit of the central office or each link of the core backbone network. Currently, there is no way to handle the identification of user equipment in the network. The packets of networks under the jurisdiction of different operators do not carry the identification of the network under the jurisdiction of different operators. In this way, the access equipment at the central office cannot Differentiate packets from networks under the jurisdiction of different operators. the
为了区分不同业务的报文,对于采用异步传输模式(ATM,AsynchronousTransfer Mode)封装的报文,可以使用虚通道连接(VCC,Virtual ChannelConnection)来为每一种业务类型建立虚拟通道,然后局端接入设备就可以使用VCC进行区别判断每一种业务类型的报文。但是,为每种业务类型建立一条VCC,这会导致浪费较大资源。而且,目前采用包传输模式(PTM,Packet Transfer Mode)封装的报文也很多,由于在PTM下,没有VCC的定义,一条用户线上只有一条通道,所以在局端接入设备上也就无法区分不同业务的报文。 In order to distinguish messages of different services, for messages encapsulated in ATM (Asynchronous Transfer Mode), a virtual channel connection (VCC, Virtual Channel Connection) can be used to establish a virtual channel for each service type, and then the office terminal The input device can use the VCC to distinguish and judge the packets of each service type. However, establishing a VCC for each service type will result in a large waste of resources. Moreover, there are currently many packets encapsulated in Packet Transfer Mode (PTM, Packet Transfer Mode). Since under PTM, there is no definition of VCC, and there is only one channel for a subscriber line, so it cannot be used on the access device at the central office. Distinguish packets of different services. the
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种在接入终端上实现业务分流的方法,该方法能够在接入终端上实现业务分流。 In view of this, the main purpose of the present invention is to provide a method for realizing service offloading on an access terminal, which can realize service offloading on the access terminal. the
本发明还提供一种在接入终端上实现业务分流的系统,该系统能够在具有接入终端的网络中实现业务分流。 The invention also provides a system for realizing service distribution on the access terminal, which can realize service distribution in the network with the access terminal. the
根据上述目的,本发明的技术方案是这样实现的: According to above-mentioned purpose, technical scheme of the present invention is achieved like this:
一种在接入终端上实现业务分流的方法,该方法包括: A method for realizing service distribution on an access terminal, the method comprising:
在用户设备和局端接入设备之间的接入终端接收到报文后,根据报文所属运营商所管辖的网络或/和报文的业务类型,为报文标识或剥离所属运营商所管辖的网络的虚拟局域网VLAN标签或/和业务类型的VLAN标签后,进行分流; After the access terminal between the user equipment and the access device at the central office receives the message, it identifies or strips the information of the operator for the message according to the network under the jurisdiction of the operator to which the message belongs or/and the service type of the message. After the VLAN tag of the virtual local area network or/and the VLAN tag of the service type under the jurisdiction of the network, the traffic is divided;
所述根据报文所属运营商所管辖的网络或/和报文的业务类型为报文标识或剥离VLAN标签是通过设置的为报文标识或剥离VLAN标签的功能进行,在接入终端设置为报文标识VLAN标签的功能的过程为: According to the network under the jurisdiction of the operator to which the message belongs or/and the service type of the message, the message identification or the stripping of the VLAN label is carried out by setting the function of the message identification or stripping the VLAN label, and the access terminal is set to The process of the message identifying the function of the VLAN tag is:
在接入终端设置上行接口和下行接口对应的VLAN标签、所属VLAN组以及VLAN端口类型,在接入终端上设置VLAN标签与业务类型的对应关系; Set the VLAN tags corresponding to the uplink interface and downlink interface, the VLAN group they belong to, and the VLAN port type on the access terminal, and set the corresponding relationship between the VLAN tag and the service type on the access terminal;
所述报文所属运营商所管辖的网络是根据发送报文的用户设备连接的下行接口的VLAN标签确定的。 The network under the jurisdiction of the operator to which the message belongs is determined according to the VLAN tag of the downlink interface connected to the user equipment sending the message. the
报文当从接入终端的下行接口接收到时,所述根据报文所属运营商所管辖的网络或/和报文的业务类型,采用所述功能为报文标识或剥离VLAN标签的过程为: When the message is received from the downlink interface of the access terminal, according to the network or/and the service type of the message under the jurisdiction of the operator to which the message belongs, the process of using the function to identify the message or strip the VLAN tag is as follows :
接入终端的下行接口接收到报文,根据下行接口的VLAN端口类型以及对应的VLAN标签为报文标识所属运营商所管辖的网络的VLAN标签,或/和根据VLAN标签与业务类型的对应关系为报文标识业务类型的VLAN标签,再转发给同一VLAN组中的上行接口,上行接口接收到该报文后,根据自身的VLAN端口类型以及对应的VLAN标签确定是直接分流该报文还是重新标识或剥离VLAN标签后再分流; The downlink interface of the access terminal receives the message, according to the VLAN port type of the downlink interface and the corresponding VLAN tag, the VLAN tag of the network under the jurisdiction of the operator is identified for the message, or/and according to the correspondence between the VLAN tag and the service type The VLAN tag that identifies the service type of the message is forwarded to the uplink interface in the same VLAN group. After the uplink interface receives the message, it determines whether to directly distribute the message or re-distribute the message according to its own VLAN port type and corresponding VLAN tag. Identify or strip the VLAN tag before diverting;
报文当从接入终端的上行接口接收到时,所述根据报文所属运营商所管辖的网络或/和报文的业务类型,采用所述功能为报文标识或剥离VLAN标签的过程为: When the message is received from the uplink interface of the access terminal, according to the network or/and service type of the message under the jurisdiction of the operator to which the message belongs, the process of using the function to identify the message or strip the VLAN tag is as follows :
接入终端的上行接口接收到报文,根据自身的VLAN端口类型以及对应的VLAN标签确定是直接分流该报文还是重新标识或剥离VLAN标签后再分流,再转发给同一VLAN组中的下行接口,下行接口接收到该报文后,根据下行接口的VLAN端口类型以及对应的VLAN标签为报文剥离所属运营商所管辖的网络的VLAN标签,或/和根据VLAN标签与业务类型的对应关系为报文剥离业务类型的VLAN标签。 The uplink interface of the access terminal receives the packet, and according to its own VLAN port type and the corresponding VLAN tag, determines whether to directly distribute the packet or re-identify or strip the VLAN tag and then distribute the packet, and then forward it to the downstream interface in the same VLAN group , after the downlink interface receives the message, according to the VLAN port type of the downlink interface and the corresponding VLAN tag, the VLAN tag of the network under the jurisdiction of the operator is stripped for the message, or/and according to the corresponding relationship between the VLAN tag and the service type is The VLAN tag of the service type is stripped from the packet. the
该方法进一步包括: The method further includes:
将标识有VLAN标签的报文转发给局端接入设备,该局端接入设备根据该报文的VLAN标签确定是否是自身所属运营商所管辖的网络的报文,如果是,则根据该报文的VLAN标签确定该报文的业务类型,按照业务类型处理了该报文后,再传送给核心骨干网或与自身所属运营商所管辖的网络相同的局端业务处理功能单元;如果否,则将该报文透传到核心骨干网或该报文的VLAN标签对应的运营商所管辖的网络中的局端业务处理功能单元。 Forward the message marked with the VLAN tag to the access device at the central office, and the access device at the central office determines whether it is a message of the network under the jurisdiction of the operator it belongs to according to the VLAN tag of the message, and if so, according to the The VLAN tag of the message determines the service type of the message, and after the message is processed according to the service type, it is sent to the core backbone network or the same central office service processing functional unit as the network under the jurisdiction of the operator to which it belongs; if not , then transparently transmit the message to the core backbone network or the central office service processing functional unit in the network under the jurisdiction of the operator corresponding to the VLAN tag of the message. the
该方法进一步包括: The method further includes:
将剥离了VLAN标签的报文分流给用户设备。 Distribute the packet with the VLAN tag stripped to the user equipment. the
所述报文为异步传输模式ATM封装的报文或为包传输模式PTM的报文。 The message is a message encapsulated in an asynchronous transfer mode ATM or a message in a packet transfer mode PTM. the
一种在接入终端上实现业务分流的系统,该系统包括用户设备、具有为报文标识或剥离VLAN标签功能的接入终端和具有识别报文携带的VLAN标签功能的局端接入设备,其中, A system for realizing service distribution on an access terminal, the system includes user equipment, an access terminal with the function of identifying or stripping a VLAN tag for a message, and a central office access device with the function of identifying the VLAN tag carried by the message, in,
用户设备发送报文给接入终端,接入终端根据报文所属运营商所管辖的网络以及报文的业务类型采用具有为报文标识或剥离VLAN标签功能,为报文标识VLAN标签后发送给局端接入设备,局端接入设备根据具有识别报文携带的VLAN标签功能识别报文标识的VLAN标签; The user equipment sends a packet to the access terminal, and the access terminal adopts the function of identifying the packet or stripping the VLAN tag according to the network under the jurisdiction of the operator to which the packet belongs and the service type of the packet, and then sends the packet to the The central office access device, the central office access device identifies the VLAN tag identified by the message according to the function of identifying the VLAN tag carried by the message;
或者局端接入设备将标识VLAN标签的报文发送给接入终端,接入终端根据报文标识的VLAN标签采用具有为报文标识或剥离VLAN标签功能,为报文剥离VLAN标签后发送给用户设备。 Or the access device at the central office sends the packet identifying the VLAN tag to the access terminal, and the access terminal adopts the function of identifying or stripping the VLAN tag for the packet according to the VLAN tag identified by the packet, and sends the packet to the user equipment. the
该系统还包括核心骨干网或局端业务处理功能单元,用于接收局端接入设备发送的标识VLAN标签的报文后,根据所标识的VLAN标签进行处理。 The system also includes a core backbone network or a business processing function unit at the central office, which is used for processing according to the identified VLAN label after receiving the message identifying the VLAN tag sent by the access device at the central office. the
一种在接入终端上实现业务分流的方法,在接入终端中的上行端口上通过VLAN标签设置不同逻辑业务上行接口,该方法还包括: A method for realizing service offloading on an access terminal, setting different logical service uplink interfaces through VLAN tags on an uplink port in the access terminal, the method also includes:
当接入终端接收到报文后,确定报文携带的VLAN标签对应的逻辑业务上行接口,通过对应的逻辑业务上行接口将报文进行分流。 After receiving the message, the access terminal determines the logical service uplink interface corresponding to the VLAN tag carried in the message, and distributes the message through the corresponding logical service uplink interface. the
所述不同逻辑业务上行接口设置了不同的报文封装方式,该不同的报文封装方式为ATM承载PPP协议PPPoA、以太网承载PPP协议PPPoE、ATM承载IP协议IPoA、以太网承载IP协议IPoE或桥接Bridge方式,所述通过对应的逻辑业务上行接口将报文进行分流的过程为: The different logical service uplink interfaces are provided with different message encapsulation modes, the different message encapsulation modes are ATM carrying PPP protocol PPPoA, Ethernet carrying PPP protocol PPPoE, ATM carrying IP protocol IPoA, Ethernet carrying IP protocol IPoE or In Bridge mode, the process of distributing packets through the corresponding logical service uplink interface is as follows:
根据逻辑业务上行接口设置的报文封装方式封装报文后,进行分流。 After the packet is encapsulated according to the packet encapsulation mode set on the uplink interface of the logical service, the packets are distributed. the
所述报文为用PTM封装的报文或ATM的报文。 The message is a message encapsulated by PTM or an ATM message. the
所述报文携带的VLAN标签是接入终端在接收到报文后,由接入终端的下行接口根据报文所属运营商所管辖的网络的VLAN标签进行标识的; The VLAN tag carried by the message is identified by the downlink interface of the access terminal after the access terminal receives the message according to the VLAN tag of the network under the jurisdiction of the operator to which the message belongs;
或是该报文自身发送到接入终端时携带的。 Or it is carried when the message itself is sent to the access terminal. the
从上述方案可以看出,本发明在接入终端上设置为报文标识或剥离一层或多层虚拟局域网(VLAN,Virtual Local AreaNetwork)标签的功能,当接收到报文后,根据报文所属运营商所管辖的网络以及报文的业务类型采用设置的功能为报文标识或剥离VLAN标签后,进行业务分流,发送给局端接入设备或用户设备处理,当局端接入设备进行处理时,局端接入设备根据报文标识的VLAN标签确定报文所属运营商所管辖的网络以及报文的业务类型,进行相应的处理。由于在ATM封装报文的情况下,本发明不像现有技术那样需要为每条业务类型都建立一条VCC,而是直接通过加入标签业务类型的VLAN标签,就可以实现一条VCC上承载多种业务类型的报文;由于在PTM封装报文的情况下,本发明不像现有技术那样一条用户线上只有一条通道,导致在局端接入设备上无法区分出不同业务类型的报文,而是能够在PTM封装报文的情况下,为业务分流决策提供一种有效的途径。因此,本发明提供的方法及系统可以在接入终端上实现业务分流,可以实现区分报文所属不同运营商所管辖的网络或/和不同业务类型,从而加强业务分流。 As can be seen from the above scheme, the present invention is set on the access terminal as a message identification or a function of stripping one or more layers of virtual local area network (VLAN, Virtual Local Area Network) labels. The network under the jurisdiction of the operator and the business type of the message use the set function to identify the message or strip the VLAN tag, then perform business distribution and send it to the central office access device or user equipment for processing. The central office access device determines the network under the jurisdiction of the operator to which the message belongs and the service type of the message according to the VLAN tag identified by the message, and performs corresponding processing. Because in the case of ATM encapsulated messages, the present invention does not need to set up a VCC for each service type as in the prior art, but directly by adding the VLAN tag of the label service type, it can realize that one VCC carries multiple Messages of service types; because in the case of PTM encapsulated messages, the present invention does not have only one channel on a user line as in the prior art, resulting in the inability to distinguish messages of different service types on the central office access device, Instead, it can provide an effective way for service distribution decision-making under the condition of PTM encapsulating packets. Therefore, the method and system provided by the present invention can implement service distribution on the access terminal, and can distinguish networks or/and different service types under the jurisdiction of different operators to which messages belong, thereby strengthening service distribution. the
更进一步地,本发明还可以在接入终端上的上行接口设置不同的封装报文方式,即设置对应于不同的封装报文方式的不同的逻辑业务上行接口,从而建 立接入终端上的上行接口与局端接入设备之间的不同逻辑业务虚拟通道,该方法可以在分流用PTM封装的报文或用ATM封装的报文时应用。 Furthermore, the present invention can also set different encapsulation message modes on the uplink interface of the access terminal, that is, set up different logic service uplink interfaces corresponding to different encapsulation message modes, thereby establishing the uplink interface on the access terminal. Different logical service virtual channels between the uplink interface and the central office access device, this method can be applied when distributing packets encapsulated with PTM or packets encapsulated with ATM. the
附图说明Description of drawings
图1为通信网络的组网逻辑示意图; Fig. 1 is the networking logic diagram of communication network;
图2为本发明在接入终端上实现业务分流的方法流程图; Fig. 2 is the flow chart of the method for realizing business distribution on the access terminal of the present invention;
图3a为在接入终端中设置的上行接口、下行接口和端口类型以及标识所属运营商所管辖网络的VLAN标签的对应关系示意图; Figure 3a is a schematic diagram of the corresponding relationship between the uplink interface, downlink interface and port type set in the access terminal and the VLAN tag identifying the network under the jurisdiction of the operator;
图3b为在接入终端上把接入终端的上行接口和下行接口绑定到一个VLAN组的示意图; Figure 3b is a schematic diagram of binding the uplink interface and downlink interface of the access terminal to a VLAN group on the access terminal;
图3c为在接入终端上配置不同业务类型和VLAN标签的对应关系的示意图; Figure 3c is a schematic diagram of configuring the corresponding relationship between different service types and VLAN tags on the access terminal;
图4为本发明在接入终端上实现业务分流实施例示意图; Fig. 4 is a schematic diagram of an embodiment of realizing service distribution on an access terminal in the present invention;
图5为本发明在接入终端上实现业务分流的系统示意图。 FIG. 5 is a schematic diagram of a system for implementing service distribution on an access terminal according to the present invention. the
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚明白,以下举具体实施例并参照附图,对本发明进行进一步详细的说明。 In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail by giving specific embodiments and referring to the accompanying drawings. the
为了使局端接入设备可以区分来自接入终端的不同运营商所管辖的网络的不同业务的报文,本发明在接入终端中设置给报文标识或剥离VLAN标签的功能,从而使接入终端可以将从用户设备接收到的报文标识运营商所管辖的网络或/和业务类型的VLAN标签后发送给局端接入设备,局端接入设备根据报文的VLAN标签确定报文所属的运营商所管辖的网络以及所属的业务类型。相反的,接入终端可以从局端接入设备中接收到标识有运营商所管辖的网络或/和业务类型的VLAN标签的报文后,采用设置的功能进行VLAN标签的剥离之后,发送给用户设备进行处理。 In order to enable the central office access device to distinguish the messages of different services from the network under the jurisdiction of different operators of the access terminal, the present invention sets the function of identifying the message or stripping the VLAN label in the access terminal, so that the access terminal The ingress terminal can identify the VLAN tag of the network or/and service type of the message received from the user equipment to the central office access device, and the central office access device determines the packet according to the VLAN tag of the message. The network under the jurisdiction of the operator to which it belongs and the type of business it belongs to. On the contrary, after the access terminal receives a packet with a VLAN tag identifying the network or/and service type under the jurisdiction of the operator from the access device at the central office, it uses the set function to strip the VLAN tag and then sends it to the User equipment for processing. the
接入终端为了实现给报文标识或剥离VLAN标签的功能,可以将自身 的上行接口和下行接口配置为VLAN端口,如配置为VLAN端口类型中的接入(Access)端口或主干线(Trunk)端口,且将两个或两个以上的接口划分到一个VLAN组中,形成一个独立的广播域。如将上行接口1和下行接口1划分到一个VLAN组中,下行接口1接收的报文就会通过上行接口1转发给局端接入设备。另外,在接入终端中设置接口与VLAN标签的对应关系,VLAN标签可以标识所属的运营商所管辖的网络。当接口接收到报文后,就会根据自身设置的VLAN端口类型以及接口的VLAN标签确定是为报文标识该接口对应的VLAN标签还是直接透传转发出去。 In order to realize the function of marking packets or stripping VLAN tags, access terminals can configure their own uplink and downlink interfaces as VLAN ports, such as access (Access) ports or trunk lines (Trunk) in the VLAN port type. port, and divide two or more interfaces into a VLAN group to form an independent broadcast domain. If the
报文当从接入终端的下行接口接收到时,具体过程为: When the message is received from the downlink interface of the access terminal, the specific process is:
接入终端的下行接口接收到报文,根据下行接口的VLAN端口类型以及对应的VLAN标签为报文标识所属运营商所管辖的网络的VLAN标签,或/和根据VLAN标签与业务类型的对应关系为报文标识业务类型的VLAN标签,再转发给同一VLAN组中的上行接口,上行接口接收到该报文后,根据自身的VLAN端口类型以及对应的VLAN标签确定是直接分流该报文还是重新标识或剥离VLAN标签后再分流。 The downlink interface of the access terminal receives the message, according to the VLAN port type of the downlink interface and the corresponding VLAN tag, the VLAN tag of the network under the jurisdiction of the operator is identified for the message, or/and according to the correspondence between the VLAN tag and the service type The VLAN tag that identifies the service type of the message is forwarded to the uplink interface in the same VLAN group. After the uplink interface receives the message, it determines whether to directly distribute the message or re-distribute the message according to its own VLAN port type and corresponding VLAN tag. Identify or strip the VLAN tag before diverting. the
当报文当从接入终端的上行接口接收到时,具体过程为: When the message is received from the uplink interface of the access terminal, the specific process is:
接入终端的上行接口接收到报文,根据自身的VLAN端口类型以及对应的VLAN标签确定是直接分流该报文还是重新标识或剥离VLAN标签后再分流,再转发给同一VLAN组中的下行接口,下行接口接收到该报文后,根据下行接口的VLAN端口类型以及对应的VLAN标签为报文剥离所属运营商所管辖的网络的VLAN标签,或/和根据VLAN标签与业务类型的对应关系为报文剥离业务类型的VLAN标签。 The uplink interface of the access terminal receives the packet, and according to its own VLAN port type and the corresponding VLAN tag, determines whether to directly distribute the packet or re-identify or strip the VLAN tag and then distribute the packet, and then forward it to the downstream interface in the same VLAN group , after the downlink interface receives the message, according to the VLAN port type of the downlink interface and the corresponding VLAN tag, the VLAN tag of the network under the jurisdiction of the operator is stripped for the message, or/and according to the corresponding relationship between the VLAN tag and the service type is The VLAN tag of the service type is stripped from the packet. the
在接入终端中,还设置有不同业务与VLAN标签的对应关系,当接口接收到报文后,会根据对应关系确定报文业务类型对应的VLAN标签,将所对应的VLAN标签标识报文中发送给局端接入设备。 In the access terminal, there is also a corresponding relationship between different services and VLAN tags. When the interface receives a message, it will determine the VLAN tag corresponding to the service type of the message according to the corresponding relationship, and identify the corresponding VLAN tag in the message. Send it to the central office access device. the
相应地,本发明在局端接入设备中也设置VLAN标签与不同运营商所管辖的网络的对应关系,根据该对应关系确定从接入终端接收到的报文携带 的VLAN标签对应的运营商所管辖的网络:如果与自身所属的运营商所管辖的网络相同,则解析报文并按照该报文的业务类型处理该报文(如何处理,见下面的详细叙述);如果与自身所属的运营商所管辖的网络不相同,则将该报文进行透传,透传到其他局端业务功能单元或核心骨干网中。 Correspondingly, the present invention also sets the corresponding relationship between the VLAN tag and the network under the jurisdiction of different operators in the central office access device, and determines the operator corresponding to the VLAN tag carried in the message received from the access terminal according to the corresponding relationship. Administered network: If it is the same as the network under the jurisdiction of the operator to which it belongs, then parse the message and process the message according to the business type of the message (how to deal with it, see the detailed description below); If the networks under the jurisdiction of the operator are different, the message is transparently transmitted to other central office service functional units or the core backbone network. the
本发明还在局端接入设备中也设置VLAN标签与不同业务的对应关系,当解析出从接入终端接收到的报文携带的VLAN标签对应的业务类型(这时,必须报文与局端接入设备局端接入设备都属于一个运营商所管辖的网络),根据该对应关系和报文的业务类型对报文进行处理,处理的过程为:根据该报文的VLAN标签确定该报文的业务类型,按照业务类型处理了该报文后,再传送给核心骨干网或与自身所属运营商所管辖的网络相同的局端业务处理功能单元。 The present invention also sets the corresponding relationship between VLAN tags and different services in the central office access equipment. end access device and the central office access device all belong to a network under the jurisdiction of an operator), the message is processed according to the corresponding relationship and the service type of the message, and the processing process is: determine the VLAN tag of the message according to the According to the service type of the message, the message is processed according to the service type, and then sent to the core backbone network or the same central office service processing functional unit as the network under the jurisdiction of the operator to which it belongs. the
针对本发明提供的方法的需求,对现有不同的端口类型的接口处理VLAN标签的过程如下: For the requirements of the method provided by the present invention, the process of processing VLAN tags to existing interfaces of different port types is as follows:
本发明常常将接入终端的下行接口设置为Access端口,对于从Access端口接收到的报文,不管是否本身带有VLAN标签,都强制打上该接口已经配置好的标识所属运营商所管辖的网络的VLAN标签,对于从Access端口发送出去的报文,都强制把VLAN标签剥离,再把报文发送出去。 In the present invention, the downlink interface of the access terminal is often set as the Access port, and the message received from the Access port, no matter whether it has a VLAN tag or not, is forcibly marked with the configured identifier of the network under the jurisdiction of the operator. VLAN tag, for the message sent from the Access port, the VLAN tag is forcibly stripped, and then the message is sent out. the
本发明中常常将接入终端的上行接口设置为Trunk端口,使其与接入终端的多个下行接口属于不同的VLAN组。需要设置Trunk端口的VLAN标签,在缺省端口标识的情况下,默认端口标识为VLAN 1。当Trunk端口接收到报文后,判断是否有VLAN标签,如果没有,则将自身的VLAN标签后,发送出去;如果有VLAN标签且与自身的VLAN标签不相同,则确定该Trunk端口是否运行该报文进入(在本发明中,设置为允许该报文进入),如果是,则直接透传该报文(该报文携带有VLAN标签);否则,则丢弃该报文;如果有VLAN标签且与自身的VLAN标签相同,则剥离该VLAN标签后发送出去。 In the present invention, the uplink interface of the access terminal is often set as a Trunk port, so that it belongs to different VLAN groups from multiple downlink interfaces of the access terminal. The VLAN tag of the trunk port needs to be set. In the case of the default port ID, the default port ID is
在本发明中,为了给报文打上标识的VLAN标签(该VLAN标签是在 用户设备发送报文时携带的或是在经过接入终端时添加上的),可以将VLAN标签设置在报文的帧头中,如设置在现有技术中帧头的原来的以太网帧的源地址后。 In the present invention, in order to label the message with an identified VLAN tag (the VLAN tag is carried when the user equipment sends the message or is added when passing through the access terminal), the VLAN tag can be set on the message. In the frame header, for example, it is set after the source address of the original Ethernet frame in the frame header in the prior art. the
在本发明中,为了标识报文所属的运营商所管辖的网络以及业务类型,常常需要两层VLAN标签,一层VLAN标签(外层VLAN标签)用于指示该报文所属的运营商所管辖的网络;另一层VLAN标签(内层VLAN标签)用于指示该报文的业务类型。 In the present invention, in order to identify the network and service type under the jurisdiction of the operator to which the message belongs, two layers of VLAN tags are often required, and one layer of VLAN tags (outer layer VLAN tags) is used to indicate the jurisdiction of the operator to which the message belongs. network; another layer of VLAN tags (inner layer VLAN tags) is used to indicate the service type of the message. the
图2为本发明在接入设备上实现业务分流的方法流程图,在接入终端中设置给报文标识或剥离VLAN标签的功能,该功能能够针对发送报文的用户设备所属运营商所管辖的网络以及该报文的业务类型给报文标识或剥离相应的VLAN标签,这里只是采用用户设备通过接入终端进行业务分流的过程进行说明,其具体步骤为: Fig. 2 is a flow chart of the method for realizing service offloading on the access device in the present invention, the function of identifying the message or stripping the VLAN tag is set in the access terminal, and this function can be under the jurisdiction of the operator to which the user equipment that sends the message belongs The network and the service type of the message are used to identify the message or strip the corresponding VLAN tag. Here, we only use the process of user equipment to perform service distribution through the access terminal to illustrate. The specific steps are:
步骤201、接入终端接收到报文,针对发送该报文的用户设备所属运营商所管辖的网络或/和该报文的业务类型,采用设置的功能给该报文标识VLAN标签(可能具有一层标签或两层标签)后分流给局端接入设备。 Step 201, the access terminal receives the message, and for the network under the jurisdiction of the operator of the user equipment that sends the message or/and the service type of the message, use the set function to identify the VLAN tag (possibly with One-layer label or two-layer label) and then distributed to the central office access device. the
步骤202、局端接入设备根据从接入终端接收到的该报文携带的VLAN标签确定是否是自身所属运营商所管辖的网络的报文,如果是,则执行步骤203;如果否,则执行步骤204。
步骤203、局端接入设备先剥离掉外层的标识用户设备所属运营商所管辖的网络的VLAN标签,然后再根据里面的标识业务类型的VLAN标签确定该报文的业务类型,按照业务类型处理了该报文后,再传送给核心骨干网或与自身所属运营商所管辖的网络相同的局端业务处理功能单元。
步骤204、局端接入设备将该报文透传到该报文携带的VLAN标签对应的运营商所管辖的网络中的局端业务处理功能单元或核心骨干网。
在本发明中,当接入终端从局端接入设备接收到携带报文时,也可以采用给报文标识或剥离VLAN标签的功能,对该报文进行处理:如果该报文携带有VLAN标签的,可以剥离VLAN标签后发送;如果该报文没有携带 VLAN标签的,也可以将VLAN标签附加上再发送。 In the present invention, when the access terminal receives the carrying message from the central office access device, it can also use the function of marking the message or stripping the VLAN tag to process the message: if the message carries a VLAN If the packet is tagged, the VLAN tag can be stripped and sent; if the message does not carry a VLAN tag, the VLAN tag can also be attached before sending. the
当然,本发明提供的方法也可以由局端接入设备通过接入终端向用户设备发送报文,这时,局端接入设备会将报文标识VLAN标签,当该报文发送到接入终端时,接入终端根据设置的为报文标识或剥离VLAN标签的功能,剥离VLAN标签后,发送给相应的用户设备进行处理。 Of course, in the method provided by the present invention, the central office access device can also send a message to the user equipment through the access terminal. At this time, the central office access device will mark the message with a VLAN tag. When the message is sent to the access terminal When accessing the terminal, according to the set function of identifying the message or stripping the VLAN tag, the VLAN tag is stripped and sent to the corresponding user equipment for processing. the
以下具体实施例说明本发明。 The following specific examples illustrate the invention. the
图3a为上行接口、下行接口和端口类型以及标识所属运营商所管辖网络的VLAN标签(图中所示为PVID)的对应关系示意图,如图所示:该接入终端将下行接口LAN-1和下行接口LAN-2设置为Access端口,分别标识VLAN标签为100和200;将下行接口LAN-3和下行接口LAN-4设置为Trunk端口,分别标识VLAN标签为1和1;将上行接口nas_0_32_3设置为Trunk端口,分别标识VLAN标签为1。 Figure 3a is a schematic diagram of the corresponding relationship between the uplink interface, downlink interface and port type, and the VLAN label (PVID shown in the figure) that identifies the network under the jurisdiction of the operator, as shown in the figure: the access terminal uses the downlink interface LAN-1 and the downlink interface LAN-2 are set as Access ports, and the VLAN tags are 100 and 200 respectively; the downlink interface LAN-3 and the downlink interface LAN-4 are set as Trunk ports, and the VLAN tags are 1 and 1 respectively; the uplink interface nas_0_32_3 Set it as a Trunk port, and identify the VLAN tag as 1 respectively. the
图3b为在接入终端上把接入终端的上行接口和下行接口绑定到一个VLAN组的示意图,如图所示:该实施例将下行接口LAN-2和上行nas_0_32_3设置在VLAN标识为200的VLAN组中,将下行接口LAN-1和上行接口nas_0_32_3设置在VLAN标识为100的VLAN组中。 Figure 3b is a schematic diagram of binding the uplink interface and downlink interface of the access terminal to a VLAN group on the access terminal, as shown in the figure: in this embodiment, the downlink interface LAN-2 and uplink nas_0_32_3 are set in the
图3c为在接入终端上配置不同业务类型和VLAN标签的对应关系的示意图,如图所示:FTP对应的VLAN标签为8、组播、网页浏览和语音对应的VLAN标签为1,且状态是使能开启业务类型FTP和VLAN标签绑定功能,而组播、网页浏览和语音业务类型和VLAN标签绑定功能没有开启。 Figure 3c is a schematic diagram of configuring the corresponding relationship between different service types and VLAN tags on the access terminal, as shown in the figure: the VLAN tag corresponding to FTP is 8, the VLAN tag corresponding to multicast, web browsing and voice is 1, and the status Yes, the service type FTP and VLAN tag binding function are enabled, but the multicast, web browsing, and voice service type and VLAN tag binding functions are not enabled. the
第一个实施例 first embodiment
如图4的第一行所示(在图中,接入设备用家庭网关(HGW,HomeGateway)表示,局端接入设备用数字用户线接入复接器(DSLAM,DigitalSubscriber Line Access Multiplexer)表示),假设用户设备和局端接入设备所属一个运营商所管辖的网络,用户设备与接入终端的下行接口LAN-1相连,该下行接口LAN-1与接入终端的上行接口nas_0_32_3划分为同一个VLAN组,该VLAN组的标识为100,该下行接口LAN-1设置为Access端 口,其VLAN标签为100(由于局端接入设备所属运营商所管辖的网络的VLAN标签就是为100),该上行接口nas_0_32_3设置为Trunk端口,设置的VLAN标签为1。 As shown in the first line of Figure 4 (in the figure, the access device is represented by a Home Gateway (HGW, HomeGateway), and the central office access device is represented by a Digital Subscriber Line Access Multiplexer (DSLAM, Digital Subscriber Line Access Multiplexer) ), assuming that the user equipment and the central office access equipment belong to a network under the jurisdiction of an operator, the user equipment is connected to the downlink interface LAN-1 of the access terminal, and the downlink interface LAN-1 and the uplink interface nas_0_32_3 of the access terminal are divided into In the same VLAN group, the ID of the VLAN group is 100, the downlink interface LAN-1 is set as an Access port, and its VLAN tag is 100 (because the VLAN tag of the network under the jurisdiction of the operator to which the central office access device belongs is 100 ), the uplink interface nas_0_32_3 is set as a Trunk port, and the set VLAN tag is 1. the
当用户设备发送报文时,用户设备通过以太网承载PPP协议(PPPoE,Point to Point Protocol over Ethernet)拨号来获取网际协议(IP)地址,首先,用户设备发送携带VLAN ID为3的有效发现初始(PADI,PPPoE ActiveDiscovery Initiation)报文到接入设备的下行接口,由于该下行接口设置为Access端口,且其VLAN标签为100,所以该下行接口给该报文增加一个VLAN标签为100,发送给接入终端的上行接口nas_0_32_3;其次,由于该上行接口nas_0_32_3为Trunk端口且VLAN标签为1,则直接透传增加了VLAN标签为100的报文到局端接入设备;最后,局端接入设备接收该报文,且根据该报文的VLAN标签100确定该报文为与自己属于同一个运营商所管辖的网络的用户设备发送的报文,则将该报文的VLAN标签进行剥离后进行处理,该报文经过宽带远程接入服务(BRAS,Broadband Remote AccessServer)认证后就会给用户设备回应一个有效发现提供(PADO,PPPoE ActiveDiscovery Offer)报文,由BRAS回应的PADO报文经过局端接入设备后会打上一个VLAN100的标签,标识是属于自己运营商所管辖的网络的报文,再由局端接入设备发送一个标识VLAN标签100的报文发送给接入设备的上行接口nas_0_32_3,由于该上行接口nas_0_32_3为Trunk端口且VLAN标签为1,则直接透传到下行端口LAN-1上,下行端口LAN-1由于设置为Access端口,且其VLAN标签为100,则剥离该报文的VLAN标签100后发送给用户设备,后续的报文都如同上面所述的报文收发处理过程,这样用户设备就可以分配到一个IP地址,并且进行正常的业务运行。 When the user equipment sends a message, the user equipment dials through the PPP protocol over Ethernet (PPPoE, Point to Point Protocol over Ethernet) to obtain the Internet Protocol (IP) address. First, the user equipment sends a valid discovery initial packet with a VLAN ID of 3. (PADI, PPPoE ActiveDiscovery Initiation) message to the downlink interface of the access device, since the downlink interface is set as an Access port, and its VLAN tag is 100, so the downlink interface adds a VLAN tag of 100 to the message and sends it to The uplink interface nas_0_32_3 of the access terminal; secondly, since the uplink interface nas_0_32_3 is a trunk port and the VLAN tag is 1, the packet with the added VLAN tag of 100 is directly transparently transmitted to the central office access device; finally, the central office access The device receives the message, and according to the VLAN tag 100 of the message, determines that the message is sent by a user equipment that belongs to the network under the same operator as itself, then strips the VLAN tag of the message After the message is authenticated by the Broadband Remote Access Service (BRAS, Broadband Remote Access Server), it will respond to the user equipment with a valid discovery offer (PADO, PPPoE ActiveDiscovery Offer) message, and the PADO message responded by the BRAS passes through the office After accessing the device at the end, it will be tagged with a VLAN100 tag to identify the message belonging to the network under the jurisdiction of its own operator, and then the access device at the central office will send a message with the VLAN tag 100 to the uplink interface of the access device nas_0_32_3, since the uplink interface nas_0_32_3 is a Trunk port and the VLAN tag is 1, it will be directly transparently transmitted to the downlink port LAN-1, and since the downlink port LAN-1 is set as an Access port, and its VLAN tag is 100, the packet will be stripped. After the
第二个实施例 second embodiment
如图4的第二行所示,假设用户设备和局端接入设备不属于同一个运营商所管辖的网络,用户设备与接入终端的下行接口LAN-2相连,该下行接口LAN-2与接入设备的上行接口nas_0_32_3划分为同一个VLAN组,该 VLAN组的标识为200,该下行接口LAN-2设置为Access端口,其VLAN标签为200(由于架设局端接入设备所属运营商所管辖的网络的VLAN标签是100,则表示用户设备所属运营商所管辖的网络和局端接入设备不相同),该上行接口nas_0_32_3设置为Trunk端口,设置的VLAN标签为1。 As shown in the second line of Figure 4, assuming that the user equipment and the central office access device do not belong to the network under the jurisdiction of the same operator, the user equipment is connected to the downlink interface LAN-2 of the access terminal, and the downlink interface LAN-2 It is divided into the same VLAN group as the uplink interface nas_0_32_3 of the access device. The ID of this VLAN group is 200. The downlink interface LAN-2 is set as an Access port, and its VLAN tag is 200 (due to The VLAN tag of the network under its jurisdiction is 100, which means that the network under the jurisdiction of the operator to which the user equipment belongs is different from the central office access device), the uplink interface nas_0_32_3 is set as a Trunk port, and the VLAN tag set is 1. the
当用户设备发送报文时,用户设备通过PPPoE拨号来获取网际协议(IP)地址,首先,用户设备发送携带VLAN ID为6的PADI报文到接入终端的下行接口,由于该下行接口设置为Access端口,且其VLAN标签为200,所以该下行接口给该报文增加一个VLAN标签为200,发送给接入终端的上行接口nas_0_32_3;其次,由于该上行接口nas_0_32_3为Trunk端口且VLAN标签为1,则直接透传增加了VLAN标签为200的报文到局端接入设备;最后,局端接入设备接收该报文,且根据该报文的VLAN标签200确定该报文为与自己不属于同一个运营商所管辖的网络的用户设备发送的报文,则将该报文直接透传到核心骨干网或根据该报文的VLAN标签200透传到对应运营商所管辖的网络的局端业务处理功能单元(在局端接入设备中设置有VLAN标签与所对应运营商所管辖的网络的对应关系)。 When the user equipment sends a message, the user equipment obtains an Internet Protocol (IP) address through PPPoE dialing. First, the user equipment sends a PADI message carrying a VLAN ID of 6 to the downlink interface of the access terminal. Since the downlink interface is set to Access port, and its VLAN tag is 200, so the downlink interface adds a VLAN tag of 200 to the message and sends it to the uplink interface nas_0_32_3 of the access terminal; secondly, because the uplink interface nas_0_32_3 is a trunk port and the VLAN tag is 1 , then directly transparently transmit the message with added
第三个实施例 third embodiment
如图4的第三行所示,假设用户设备发送FTP业务的报文,该报文采用PTM或ATM进行封装,用户设备与接入终端的下行接口LAN-1相连,该下行接口LAN-1与接入终端的上行接口nas_0_32_3划分为同一个VLAN组,该VLAN组的标识为100,该下行接口LAN-1设置为Access端口,其VLAN标签为100(由于局端接入设备在运营商所管辖的网络的VLAN标签就是为100),该上行接口nas_0_32_3设置为Trunk端口,设置的VLAN标签为1。在接入设备中,可以设置下行接口LAN-1针对FTP业务的报文与VLAN标签8的对应关系,则当接入设备的下行接口LAN-1接收到用户设备发送的采用PTM封装的FTP业务报文时,就会增加VLAN标签为8(指示该报文携带的是FTP业务)后,就可以把报文转发到和它下行接口属于同一个VLAN组的上行接口nas_0_32_3,上行接口nas_0_32_3将该报文透 传到局端接入设备上。局端接入设备再根据该报文携带的VLAN标签为8确定该报文为FTP业务类型(这时,局端接入设备必须与用户设备属于同一运营商所管辖的网络,可以按照实施例一的方法确定),按照FTP业务类型处理流程进行限速处理。 As shown in the third row of Figure 4, it is assumed that the user equipment sends an FTP service message, the message is encapsulated by PTM or ATM, the user equipment is connected to the downlink interface LAN-1 of the access terminal, and the downlink interface LAN-1 It is divided into the same VLAN group as the uplink interface nas_0_32_3 of the access terminal. The ID of this VLAN group is 100. The downlink interface LAN-1 is set as an Access port, and its VLAN tag is 100 (because the access The VLAN tag of the managed network is 100), the uplink interface nas_0_32_3 is set as a Trunk port, and the VLAN tag set is 1. In the access device, you can set the corresponding relationship between the downlink interface LAN-1 for FTP service packets and
当然,在本发明中,也可以在上行接口nas_0_32_3给报文标识VLAN标签为8,而不在下行接口LAN-1上标识。 Certainly, in the present invention, it is also possible to mark the VLAN tag as 8 on the uplink interface nas_0_32_3 instead of marking it on the downlink interface LAN-1. the
从实施例三可以看出,对于采用PTM或ATM封装的不同业务的报文,可以通过VLAN标签进行分类,从而增强业务分流。 It can be seen from the third embodiment that packets of different services encapsulated by PTM or ATM can be classified by VLAN tags, thereby enhancing service distribution. the
为了实现转发不同网络中不同业务的报文,本发明还提供了一种系统,如图5所示,该系统包括用户设备、具有为报文标识或剥离VLAN标签功能的接入终端和具有识别报文携带的VLAN标签功能的局端接入设备。 In order to realize the forwarding of messages of different services in different networks, the present invention also provides a system, as shown in Figure 5, the system includes user equipment, an access terminal with the function of identifying or stripping VLAN tags for messages, and an identification The central office access device with the VLAN tag function carried in the packet. the
其中,用户设备发送报文给接入终端,接入终端根据发送报文的用户设备所属运营商所管辖的网络以及报文的业务类型采用具有为报文标识或剥离VLAN标签功能,为报文标识VLAN标签后发送给局端接入设备,局端接入设备根据具有识别报文携带的VLAN标签功能识别报文标识的VLAN标签后,进行相应的处理:如果与自身属于同一运营商所管辖的网络,则按照该报文的业务类型处理该报文;如果与自身不属于同一运营商所管辖的网络,则直接将该报文透传到核心骨干网或根据该报文的VLAN标签透传到对应运营商所管辖的网络的局端业务处理功能单元,进行处理。 Wherein, the user equipment sends a message to the access terminal, and the access terminal adopts the function of identifying the message or stripping the VLAN tag according to the network under the jurisdiction of the operator to which the user equipment that sends the message belongs and the service type of the message, and the After identifying the VLAN tag, send it to the access device at the central office. The access device at the central office identifies the VLAN tag identified by the message according to the function of identifying the VLAN tag carried by the message, and then performs corresponding processing: if it belongs to the same operator as itself If the network does not belong to the network under the jurisdiction of the same operator, the message will be transparently transmitted to the core backbone network or transparently transmitted according to the VLAN tag of the message. It is transmitted to the central office service processing function unit of the network under the jurisdiction of the corresponding operator for processing. the
或者局端接入设备将标识VLAN标签的报文发送给接入设备,接入设备根据报文标识的VLAN标签采用具有为报文标识或剥离VLAN标签功能,为报文剥离VLAN标签后发送给用户设备。 Or the access device at the central office sends the packet identifying the VLAN tag to the access device, and the access device adopts the function of identifying or stripping the VLAN tag for the packet according to the VLAN tag identified by the packet, and sends the packet to the user equipment. the
在本发明中,还可以在骨干网或局端业务处理功能单元中设置识别报文携带的VLAN标签功能,这样,就可以标识VLAN标签的报文按照报文的业务类型进行相应的处理了。 In the present invention, the function of identifying the VLAN tag carried by the message can also be set in the backbone network or the central office service processing functional unit, so that the message with the VLAN tag can be processed accordingly according to the service type of the message. the
从上述方案可以看出,本发明可以给不同运营商所管辖的网络的报文在接入终端上标识VLAN标签来区分,从而使局端接入设备和后续的局端业 务处理单元或核心骨干网根据VLAN标签来区分来自不同运营商所管辖的网络的报文,进行相应处理。本发明通过给不同运营商所管辖的网络的报文在接入终端上标识VLAN标签,从而为接入终端下挂不同运营商所管辖的网络的用户设备成为可能。 It can be seen from the above scheme that the present invention can identify packets of networks under the jurisdiction of different operators with VLAN tags on the access terminals to distinguish them, so that the central office access equipment and subsequent central office service processing units or cores The backbone network distinguishes packets from networks under the jurisdiction of different operators according to the VLAN tags, and processes them accordingly. The present invention marks the VLAN tag on the access terminal for the messages of the networks under the jurisdiction of different operators, so that it is possible for the access terminal to connect to the user equipment of the networks under the jurisdiction of different operators. the
当报文用ATM或PTM封装时,接入终端给不同业务类型的报文标识不同VLAN标签,从而使局端接入设备和后续的局端业务处理单元或核心骨干网根据VLAN标签来区分报文的类型,进行分流处理。 When the packets are encapsulated with ATM or PTM, the access terminal identifies different VLAN tags for the packets of different service types, so that the central office access device and the subsequent central office service processing unit or core backbone network can distinguish the packets according to the VLAN tags. The type of the document is divided into streams. the
本发明提供的接入终端可以采用ATM或PTM封装报文,给不同业务类型的报文标识VLAN标签,从而使局端接入设备或区域各个业务处理单元根据VLAN标签区分报文的业务类型。 The access terminal provided by the present invention can use ATM or PTM to encapsulate messages, and label VLAN tags for messages of different service types, so that each service processing unit of the central office access device or the area can distinguish the service types of the messages according to the VLAN tags. the
在本发明中,还提供一种方法,该方法应用在用PTM或ATM封装报文的情况下,在接入终端的上行端口上通过设置不同的VLAN标签来划分出多个逻辑业务通道,如将nas_0_32设置为两个逻辑业务上行接口nas_0_32_1和nas_0_32_2,分别对应于第一个建立的逻辑业务通道和第二个逻辑业务通道。 In the present invention, a method is also provided, which is applied in the case of encapsulating packets with PTM or ATM, and divides multiple logical service channels by setting different VLAN tags on the uplink port of the access terminal, such as Set nas_0_32 as two logical service uplink interfaces nas_0_32_1 and nas_0_32_2, corresponding to the first established logical service channel and the second logical service channel respectively. the
当接入终端接收到报文后,确定报文携带的VLAN标签(VLAN标签是接入终端在接收到报文后,由接入终端的下行接口根据报文所属运营商所管辖的网络的VLAN标签进行标识的,或是该报文自身发送到接入终端时携带的)对应的逻辑业务上行接口,通过对应的逻辑业务上行接口将报文进行分流。 After the access terminal receives the message, determine the VLAN tag carried by the message (the VLAN tag is the VLAN tag of the network under the jurisdiction of the operator to which the message belongs by the downlink interface of the access terminal after receiving the message. label, or carried by the message itself when it is sent to the access terminal) to the corresponding logical service uplink interface, and the message is distributed through the corresponding logical service uplink interface. the
在本发明中,不同逻辑业务上行接口设置了不同的报文封装方式,该不同的报文封装方式为ATM承载PPP协议(PPPoA,Point to Point Protocol over ATMAdaptation Layer 5)、PPPoE、ATM承载IP协议(IPoA,Internet Protocol overATM)、以太网承载IP协议(IPoE,Internet Protocol over Ethernet)或桥接(Bridge)方式等,通过对应的逻辑业务上行接口将报文进行分流的过程为:根据逻辑业务上行接口设置的报文封装方式封装报文后,进行分流。 In the present invention, different logical service uplink interfaces are provided with different message encapsulation modes, and the different message encapsulation modes are ATM carrying PPP protocol (PPPoA, Point to Point Protocol over ATMAdaptation Layer 5), PPPoE, ATM carrying IP protocol (IPoA, Internet Protocol over ATM), IP protocol over Ethernet (IPoE, Internet Protocol over Ethernet) or bridge (Bridge) mode, etc., the process of distributing packets through the corresponding logical service uplink interface is as follows: according to the logic service uplink interface After the packet is encapsulated by the set packet encapsulation method, the packets are distributed. the
因此,本发明可以在接入终端上的上行接口设置不同的封装报文方式,即设置对应于不同的封装报文方式的不同的逻辑业务上行接口,从而建立接入终端上的上行接口与局端接入设备之间的不同逻辑业务虚拟通道。 Therefore, the present invention can set different encapsulation message modes on the uplink interface of the access terminal, that is, set up different logical service uplink interfaces corresponding to different encapsulation message modes, thereby establishing the connection between the uplink interface on the access terminal and the central office. Different logical service virtual channels between terminal access devices. the
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所做的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention. within the scope of protection. the
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101278289ACN101150493B (en) | 2006-09-20 | 2006-09-20 | A method and system for distributing service at access terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101278289ACN101150493B (en) | 2006-09-20 | 2006-09-20 | A method and system for distributing service at access terminal |
| Publication Number | Publication Date |
|---|---|
| CN101150493A CN101150493A (en) | 2008-03-26 |
| CN101150493Btrue CN101150493B (en) | 2012-06-27 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2006101278289AActiveCN101150493B (en) | 2006-09-20 | 2006-09-20 | A method and system for distributing service at access terminal |
| Country | Link |
|---|---|
| CN (1) | CN101150493B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101626596B (en)* | 2008-07-09 | 2011-08-31 | 中国移动通信集团公司 | Method, device and system for generating service distributing strategy |
| CN101605099B (en)* | 2009-07-01 | 2013-03-20 | 中兴通讯股份有限公司 | Service binding method and device |
| CN102377640B (en)* | 2010-08-11 | 2014-12-31 | 杭州华三通信技术有限公司 | Message processing apparatus, message processing method and preprocessor |
| CN102118855B (en)* | 2011-01-17 | 2013-10-02 | 华为技术有限公司 | Method and system for distributing service, and base station equipment |
| CN102710468A (en)* | 2011-03-28 | 2012-10-03 | 华为技术有限公司 | Customer service access method and system and access equipment |
| CN102918922B (en) | 2011-05-31 | 2016-12-07 | 华为技术有限公司 | Data transmission method, separation point device, subscriber equipment and system |
| CN103004145B (en)* | 2011-07-21 | 2015-04-08 | 华为技术有限公司 | Flow distribution method, flow distribution device and flow distribution system for virtual private network |
| CN103535003A (en)* | 2011-09-30 | 2014-01-22 | 华为技术有限公司 | Method and device for network dialing |
| CN104349393A (en)* | 2013-07-31 | 2015-02-11 | 华为技术有限公司 | Network redirecting method and device |
| CN103684940A (en)* | 2013-11-27 | 2014-03-26 | 国家电网公司 | TD-LTE (time division long term evolution) based power distribution and utilization network business management system |
| CN104717150B (en)* | 2013-12-13 | 2019-06-11 | 中兴通讯股份有限公司 | Switching device and packet loss method |
| CN104734947B (en)* | 2015-03-20 | 2019-05-24 | 武汉兴火源科技有限责任公司 | One fine general formula home gateway |
| CN104901855B (en)* | 2015-05-19 | 2018-09-18 | 烽火通信科技股份有限公司 | The method and system of DSL and the double uplinks of Ethernet are realized in VDSL terminals |
| CN105847105A (en)* | 2016-01-26 | 2016-08-10 | 鼎点视讯科技有限公司 | Method for implementing discrimination on service flows of subnet |
| CN106973053B (en)* | 2017-03-29 | 2019-10-11 | 网宿科技股份有限公司 | Acceleration method and system for broadband access server |
| CN108011932B (en)* | 2017-11-22 | 2020-11-27 | 新华三技术有限公司 | Access processing method and device |
| CN110768884B (en) | 2018-07-25 | 2021-10-15 | 华为技术有限公司 | VXLAN packet encapsulation and policy execution method, device, and system |
| CN110753135A (en)* | 2019-10-10 | 2020-02-04 | 深圳震有科技股份有限公司 | IP address configuration method, configuration equipment and storage medium |
| CN114301736B (en)* | 2021-12-29 | 2023-08-29 | 凯通科技股份有限公司 | Service configuration method of asymmetric tag under hybrid networking and related equipment |
| CN115426326B (en)* | 2022-08-09 | 2024-11-19 | 中国电信股份有限公司 | Method, device, equipment, medium and program product for identifying uplink relay port |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1536833A (en)* | 2003-04-07 | 2004-10-13 | 华为技术有限公司 | Implementation method of virtual local area network access for digital subscriber line user terminal |
| CN1708957A (en)* | 2002-10-29 | 2005-12-14 | 思科技术公司 | Multi-layer virtual local area network (VLAN) domain mapping mechanism |
| CN1773949A (en)* | 2005-10-28 | 2006-05-17 | 杭州华为三康技术有限公司 | Switching in method for virtual special network and realizing apparatus |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1708957A (en)* | 2002-10-29 | 2005-12-14 | 思科技术公司 | Multi-layer virtual local area network (VLAN) domain mapping mechanism |
| CN1536833A (en)* | 2003-04-07 | 2004-10-13 | 华为技术有限公司 | Implementation method of virtual local area network access for digital subscriber line user terminal |
| CN1773949A (en)* | 2005-10-28 | 2006-05-17 | 杭州华为三康技术有限公司 | Switching in method for virtual special network and realizing apparatus |
| Publication number | Publication date |
|---|---|
| CN101150493A (en) | 2008-03-26 |
| Publication | Publication Date | Title |
|---|---|---|
| CN101150493B (en) | A method and system for distributing service at access terminal | |
| US7835370B2 (en) | System and method for DSL subscriber identification over ethernet network | |
| AU761431B2 (en) | Point-to-point protocol with a signaling channel | |
| EP1875668B1 (en) | Scalable system method for dsl subscriber traffic over an ethernet network | |
| US6097720A (en) | Enabling multicast distribution efficiencies in a dialup access environment | |
| US7920556B2 (en) | Method for improving subscriber access capacity, broadband access device and network | |
| US20080075111A1 (en) | Data stream bonding device and method for bonding data streams | |
| CN101132365B (en) | Message transparent transmission method | |
| CN100525227C (en) | Method for realizing integrated service access by access network | |
| US8964768B2 (en) | VLAN numbering in access networks | |
| CN101790870A (en) | Framing and transmission of VLAN data | |
| CN100450080C (en) | Method and device for converging layer 2 MAC address | |
| KR20060059877A (en) | Apparatus and method for Ethernet access system | |
| EP1298844B1 (en) | Telecommunication system with distributed broadband remote access servers | |
| CN101087299A (en) | Service stream classification processing method and its device | |
| CN101098289A (en) | Dual-VLAN based method for transmitting user port information | |
| WO2008125603A1 (en) | Method for forwarding data packets in an access network and device | |
| CN100563244C (en) | Method for Automatically Recognizing AAL5 Frame Encapsulation Format | |
| KR100462896B1 (en) | Dsl access multiplexor and network system using it | |
| CN101741676A (en) | Method and device for converting user multi-service virtual local area network (VLAN) | |
| CN108882065A (en) | The system and method for card insert type MSAN equipment realization IPOA | |
| CN101119375A (en) | Two-layer user Ethernet point-to-point protocol isolating method and apparatus |
| 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 | ||
| TR01 | Transfer of patent right | Effective date of registration:20210426 Address after:Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after:Shenzhen Zhixin new information technology Co.,Ltd. Address before:518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before:HUAWEI TECHNOLOGIES Co.,Ltd. | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20211021 Address after:Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after:Honor Device Co.,Ltd. Address before:Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee before:Shenzhen Zhixin new information technology Co.,Ltd. | |
| TR01 | Transfer of patent right | ||
| CP03 | Change of name, title or address | Address after:Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after:Honor Terminal Co.,Ltd. Country or region after:China Address before:3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before:Honor Device Co.,Ltd. Country or region before:China | |
| CP03 | Change of name, title or address |