[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2017024571A1 - Packet processing method, apparatus and system - Google Patents

Packet processing method, apparatus and system Download PDF

Info

Publication number
WO2017024571A1
WO2017024571A1 PCT/CN2015/086810 CN2015086810W WO2017024571A1 WO 2017024571 A1 WO2017024571 A1 WO 2017024571A1 CN 2015086810 W CN2015086810 W CN 2015086810W WO 2017024571 A1 WO2017024571 A1 WO 2017024571A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
address
packets
service
traffic
Prior art date
Application number
PCT/CN2015/086810
Other languages
French (fr)
Chinese (zh)
Inventor
李勇
徐进
李晓刚
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580075115.XA priority Critical patent/CN107210973B/en
Priority to PCT/CN2015/086810 priority patent/WO2017024571A1/en
Publication of WO2017024571A1 publication Critical patent/WO2017024571A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Landscapes

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

Abstract

An embodiment of the present invention provides a packet processing method. The method comprises: receiving packets from a user end terminal; when it is identified that the received packets are IP packets, performing flow classification on the packets according to source IP addresses in packet headers; and when it is identified that the received packets are ARP packets, performing flow classification on the packets according to sender IP addresses in packet payloads; and sending, by means of corresponding service flows, the packets on which flow classification has been performed. An embodiment of the present invention further provides a cable modem. By means of the embodiments provided in the present invention, service packets in a hybrid fiber coaxial network can be accurately corresponded to corresponding service flows.

Description

一种报文处理方法、装置及系统Message processing method, device and system 技术领域Technical field
本发明涉及数据通讯领域,具体地说,涉及一种报文处理方法、装置及系统。The present invention relates to the field of data communications, and in particular to a message processing method, apparatus and system.
背景技术Background technique
电缆承载数据业务接口规范(Data Over Cable Service Interface Specification,DOCSIS)是一种在混合光纤同轴网(Hybrid Fiber Coaxial,HFC)进行双向传输的技术标准,图1描述了同轴网络的架构。在该标准中,电缆调制解调终端系统(Cable Modem Termination System,CMTS)属于局端设备,将同轴电缆(Cable)网络接入上层网络。电缆调制解调器(Cable Modem,CM)是终端设备,用于将用户端设备(Customer Premises Equipment,CPE)接入到同轴电缆网络;CMTS和CM完成数据信号在模拟信道上交互传输的过程。其中,从CMTS到CM的数据链路被称为下行链路,从CM到CMTS的数据链路被称为上行链路。The Data Over Cable Service Interface Specification (DOCSIS) is a technical standard for bidirectional transmission in Hybrid Fiber Coaxial (HFC). Figure 1 depicts the architecture of a coaxial network. In this standard, a Cable Modem Termination System (CMTS) belongs to a central office device and connects a coaxial cable network to an upper layer network. Cable Modem (CM) is a terminal device used to connect Customer Premises Equipment (CPE) to the coaxial cable network; the CMTS and CM complete the process of interactive transmission of data signals on the analog channel. Among them, the data link from the CMTS to the CM is called the downlink, and the data link from the CM to the CMTS is called the uplink.
CMTS和CM之间通过多条业务流来传输多种业务,如宽带业务、语音业务或视频业务等,其中每条业务流来表示支持的一种业务。具体的,不同业务的IP报文由CM根据基于IP地址(如源IP地址)进行流分类后通过不同的业务流到达CMTS;而网络中有一种CMTS,要给不同业务流分配不同的虚拟本地局域网(Virtual Local Area Network,VLAN)标识以进行区分。The CMTS and the CM transmit multiple services, such as a broadband service, a voice service, or a video service, through multiple service flows, where each service flow represents a supported service. Specifically, the IP packets of different services are classified by the CM according to the IP address (such as the source IP address) and then reach the CMTS through different service flows; and the network has a CMTS, and different virtual locals are allocated to different service flows. A Local Area Network (VLAN) identifier is used for distinguishing.
对于非IP报文,如地址解析协议(Address Resolution Protocol,ARP)报文,CM不能匹配到任何流分类,会将其匹配到缺省流,而这个缺省流在CMTS会被分配的VLAN标识,其自然不同于业务流的VLAN标识;就会导致一个CPE发出的携带有IP报文在CMTS处,会根据其属于的业务流类别分配一个 VLAN标识,而非IP报文,在CMTS处,会分配一个与缺省流对应的VLAN标识;两个VLAN标识不一样,就会导致上层设备无法正常处理。For non-IP packets, such as Address Resolution Protocol (ARP) packets, the CM cannot match any traffic classifier and match it to the default stream. The default stream is assigned the VLAN ID in the CMTS. It is different from the VLAN ID of the service flow; it will cause a CPE to carry IP packets at the CMTS, and will assign one according to the service flow category to which it belongs. The VLAN ID, not the IP packet, is assigned a VLAN ID corresponding to the default stream. The two VLANs are not the same.
发明内容Summary of the invention
本发明实施例提供一种报文处理方法、装置及系统,以实现提高线路速率和通信质量的同时,还能降低能耗。The embodiment of the invention provides a packet processing method, device and system, which can improve the line rate and the communication quality while reducing the energy consumption.
第一方面,本发明实施例提供一种报文处理方法,包括,接收来自用户端设备的报文;当识别出接收到的所述报文是IP报文时,根据报文头中的源IP地址对所述报文进行流分类;当识别出接收到的所述报文是ARP报文时,根据报文净荷中的发送方IP地址对所述报文进行流分类;将进行了流分类的报文通过对应的业务流发送。In a first aspect, the embodiment of the present invention provides a packet processing method, including: receiving a packet from a user equipment; and when identifying that the received packet is an IP packet, according to a source in the packet header The IP address is used to perform traffic classification on the packet. When the received packet is an ARP packet, the packet is classified according to the IP address of the sender in the payload of the packet. The packets classified by the traffic are sent through the corresponding service flows.
在第一方面的第一种可能的实现方式中,所述根据报文头中的源IP地址对所述报文进行流分类包括,将所述报文匹配到与所述报文头中的源IP地址所在的IP地址段对应的业务流上。In a first possible implementation manner of the first aspect, the performing traffic classification on the packet according to the source IP address in the packet header includes: matching the packet to the packet header The service flow corresponding to the IP address segment where the source IP address is located.
在第一方面的第二种可能的实现方式中,所述方法还包括,将通过不同业务流发送的报文用不同VLAN标记;将通过相同业务流发送的报文用同一个VLAN标记In a second possible implementation manner of the first aspect, the method further includes: marking packets sent by different service flows with different VLANs; and marking packets sent by using the same service flow with the same VLAN
在第一方面的第三种可能的实现方式中,在将进行了流分类的报文通过对应的业务流发送前,所述方法还包括,当不能识别报文类型时,将报文对应到缺省流。In a third possible implementation manner of the first aspect, before the packet that performs the traffic classification is sent by using the corresponding service flow, the method further includes: when the packet type cannot be identified, the packet is corresponding to The default stream.
结合第一方面、第一方面的第一种可能实现的方式、第一方面的第二种可能实现的方式或第一方面的第三种可能实现的方式,在第四种可能实现的方式中,所述业务流为混合光纤同轴网中用来传输业务的业务流。In combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, or the third possible implementation of the first aspect, in a fourth possible implementation The service flow is a service flow used to transmit a service in a hybrid optical fiber coaxial network.
第二方面,本发明实施例提供一种电缆调制解调器,其特征在于,包括接收器、流分类器和发送器,其中In a second aspect, an embodiment of the present invention provides a cable modem, including a receiver, a stream classifier, and a transmitter, where
所述接收器用于接收来自用户端设备的报文; The receiver is configured to receive a message from a user equipment;
所述流分类器用于当识别出接收到的所述报文是IP报文时,根据报文头中的源IP地址对所述报文进行流分类;当识别出接收到的所述报文是ARP报文时,根据报文净荷中的发送方IP地址对所述报文进行流分类;The flow classifier is configured to: when the received packet is an IP packet, perform flow classification on the packet according to a source IP address in the packet header; and identify the received packet. When the ARP packet is an ARP packet, the packet is classified according to the IP address of the sender in the payload of the packet.
所述发送器将进行了流分类的报文通过对应的业务流发送。The sender sends the packet that has been classified by the traffic through the corresponding service flow.
在第二方面的第一种可能的实现方式中,所述流分类器进一步用于将所述报文匹配到与所述报文头中的源IP地址所在的IP地址段对应的业务流上。In a first possible implementation manner of the second aspect, the flow classifier is further configured to match the packet to a service flow corresponding to an IP address segment where the source IP address in the packet header is located. .
在第二方面的第二种可能的实现方式中,所述发送器将通过不同业务流发送的报文用不同VLAN标记;将通过相同业务流发送的报文用同一个VLAN标记。In a second possible implementation manner of the second aspect, the sender marks the packets sent by using different service flows with different VLANs; and the packets sent by the same service flow are marked with the same VLAN.
在第二方面的第三种可能的实现方式中,所述流分类器当不能识别报文类型时,将报文对应到缺省流。In a third possible implementation manner of the second aspect, the traffic classifier, when the packet type cannot be identified, corresponds to the default flow.
结合第二方面、第二方面的第一种可能实现的方式、第二方面的第二种可能实现的方式或第二方面的第三种可能实现的方式,在第四种可能实现的方式中,所述业务流为混合光纤同轴网中用来传输业务的业务流。In combination with the second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect, or the third possible implementation of the second aspect, in a fourth possible implementation manner The service flow is a service flow used to transmit a service in a hybrid optical fiber coaxial network.
第三方面,本发明实施例提供一种报文处理系统,所述系统包括上述的电缆调制解调器和多个用户端设备;所述电缆调制解调器和所述多个用户端设备相连。In a third aspect, an embodiment of the present invention provides a message processing system, where the system includes the cable modem and a plurality of client devices, and the cable modem is connected to the plurality of client devices.
采用本实施例所述的方案,从同一个用户端设备发送出来的具体业务报文和ARP报文能通过同一个业务流发送,就能保证混合光纤同轴网中的业务能正常处理。With the solution described in this embodiment, the specific service packets and ARP packets sent from the same user equipment can be sent through the same service flow, so that services in the hybrid fiber coaxial network can be processed normally.
附图说明DRAWINGS
图1为在混合光纤同轴网络的架构示意图;1 is a schematic diagram of an architecture of a hybrid optical fiber coaxial network;
图2为本发明实施例的一种报文处理方法的流程示意图;2 is a schematic flowchart of a packet processing method according to an embodiment of the present invention;
图3为ARP报文的结构示意图;3 is a schematic structural diagram of an ARP packet;
图4为本发明实施例的具体报文处理的流程示意图; 4 is a schematic flowchart of a specific packet processing according to an embodiment of the present invention;
图5为本发明实施例的又一具体报文处理的流程示意图;FIG. 5 is a schematic flowchart of still another specific packet processing according to an embodiment of the present invention;
图6为本发明实施例的一种电缆调制解调器的结构示意图;6 is a schematic structural diagram of a cable modem according to an embodiment of the present invention;
图7为本发明实施例的通用网络部件结构示意图。FIG. 7 is a schematic structural diagram of a general network component according to an embodiment of the present invention.
图8为本发明实施例的一种报文处理系统的结构示意图;FIG. 8 is a schematic structural diagram of a message processing system according to an embodiment of the present invention;
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种报文处理方法,包括The embodiment of the invention provides a packet processing method, including
步骤201,接收来自用户端设备的报文;Step 201: Receive a packet from a user equipment.
步骤203,当识别出接收到的所述报文是IP报文时,根据报文头中的源IP地址对所述报文进行流分类;当识别出接收到的所述报文是ARP报文时,根据报文净荷中的发送方IP地址对所述报文进行流分类;Step 203: When it is identified that the received packet is an IP packet, the packet is classified according to the source IP address in the packet header; and the received packet is identified as an ARP packet. In the text, the packet is classified according to the sender IP address in the payload of the packet;
进一步地,所述根据报文头中的源IP地址对所述报文进行流分类包括,将所述报文匹配到与所述报文头中的源IP地址所在的IP地址段对应的业务流上;Further, the classifying the packet according to the source IP address in the packet header includes: matching the packet to a service corresponding to the IP address segment where the source IP address in the packet header is located. Flow on
步骤205,将进行了流分类的报文通过对应的业务流发送。Step 205: The packet that has been classified by the traffic is sent through the corresponding service flow.
具体地,ARP报文格式如图3所示,其中在ARP报文中,硬件类型、协议类、硬件地址长度、协议长度和操作类型等内容是在报文头中,发送方硬件地址、发送方IP地址、目标硬件地址和目标IP地址是在净荷中。Specifically, the ARP packet format is as shown in Figure 3. In the ARP packet, the hardware type, protocol class, hardware address length, protocol length, and operation type are in the packet header, and the sender hardware address is sent. The party IP address, the target hardware address, and the destination IP address are in the payload.
进一步地,所述业务流为混合光纤同轴网中用来传输业务的业务流。Further, the service flow is a service flow used to transmit a service in a hybrid optical fiber coaxial network.
进一步地,本方法还包括,步骤207(未示出),将通过不同业务流发送的报文用不同VLAN标记;将通过相同业务流发送的报文用同一个VLAN标 记。Further, the method further includes, in step 207 (not shown), marking the packets sent by different service flows with different VLANs; using the same VLAN tag for the packets sent by the same service flow Remember.
进一步地,步骤203还包括,当不能识别报文类型时,将报文对应到缺省流。Further, step 203 further includes: when the message type cannot be identified, the message is corresponding to the default stream.
采用本实施例所述的方案,从同一个用户端设备发送出来的具体业务报文和ARP报文能通过同一个业务流发送,就能保证混合光纤同轴网中的业务能正常处理。With the solution described in this embodiment, the specific service packets and ARP packets sent from the same user equipment can be sent through the same service flow, so that services in the hybrid fiber coaxial network can be processed normally.
下面对具体的场景进行举例说明,假定CM上行有两条业务流(service-flow),缺省流和视频业务流。The following describes the specific scenario. It is assumed that there are two service flows (service-flow), default flows, and video service flows on the CM uplink.
如果不采用本发明实例方案,如图4所示,CM按照现有技术中的使用IP地址来做流分类。一个源IP地址是1.1.1.2的CPE,将视频业务报文发送给CM;CM收到该视频业务报文,识别出该视频业务报文是IP报文,就会根据该视频业务报文中携带的源IP地址1.1.1.2进行流分类;所述源IP地址能匹配到与视频业务流对应的IP地址段,就会将所述视频业务报文通过视频业务流发送;但当所述CPE将ARP报文发送给CM的时候,CM收到该ARP报文后,识别出该ARP报文不是IP报文,没有携带源IP地址,自然不能匹配到视频业务流中,就会将所述ARP报文通过缺省流发送;由于CMTS会将不同业务流用不同VLAN标识,这样就导致从同一个CPE发送的不同报文被打上了不用VLAN标识。If the example scheme of the present invention is not adopted, as shown in FIG. 4, the CM performs traffic classification according to the prior art using the IP address. A CPE with a source IP address of 1.1.1.2 sends a video service packet to the CM. The CM receives the video service packet and identifies that the video service packet is an IP packet. The source IP address of the source IP address is 1.1.1.2, and the source IP address can be matched to the IP address segment corresponding to the video service flow, and the video service packet is sent through the video service flow; When the ARP packet is sent to the CM, the CM, after receiving the ARP packet, recognizes that the ARP packet is not an IP packet, and does not carry the source IP address, and naturally cannot match the video service stream. ARP packets are sent through the default stream. Because the CMTS identifies different service flows with different VLANs, different packets sent from the same CPE are marked without VLAN identification.
如果采用本发明实施方案,如图5所示,这个源IP地址是1.1.1.2的CPE,将视频业务报文发送给CM;CM收到该视频业务报文,判断出该视频业务报文是IP报文,就会根据该视频业务报文中携带的源IP地址1.1.1.2进行流分类,所述源IP地址能匹配到与视频业务流对应的IP地址段,就会将所述视频业务报文通过视频业务流发送;当所述CPE将ARP报文发送给CM的时候,CM收到该ARP报文后,识别出该ARP报文不是IP报文,会根据该ARP报文净荷中的发送方IP地址对所述报文进行流分类;由于所述发送方就是所述源IP地址是1.1.1.2的CPE,发送方IP地址就是1.1.1.2,能匹配到与视频业务流对应的IP 地址段,CM就会将所述ARP报文通过视频业务流发送。这样,从同一个CPE发送出来的视频业务报文和ARP报文都是通过视频业务流发送,在CMTS处,也会用同一个VLAN标识,避免了现有技术出现的问题。If the embodiment of the present invention is used, as shown in FIG. 5, the CPE whose source IP address is 1.1.1.2 sends a video service packet to the CM; the CM receives the video service packet and determines that the video service packet is The IP packet is classified according to the source IP address 1.1.1.2 carried in the video service packet, and the source IP address can be matched to the IP address segment corresponding to the video service stream, and the video service is obtained. The packet is sent through the video service stream. When the CPE sends the ARP packet to the CM, the CM receives the ARP packet and identifies that the ARP packet is not an IP packet. The sender IP address is used to classify the packet. The sender is the CPE whose source IP address is 1.1.1.2, and the sender IP address is 1.1.1.2, which can match the video service flow. IP In the address segment, the CM sends the ARP packet through the video service stream. In this way, video service packets and ARP packets sent from the same CPE are sent through the video service stream. At the CMTS, the same VLAN is also used to avoid the problems in the prior art.
本发明实施例还提供一种电缆调制解调器600,包括接收器601、流分类器602和发送器603,其中The embodiment of the present invention further provides a cable modem 600, including a receiver 601, a stream classifier 602, and a transmitter 603, wherein
所述接收器601用于接收来自用户端设备的报文;The receiver 601 is configured to receive a message from a user equipment.
所述流分类器602用于当识别出接收到的所述报文是IP报文时,根据报文头中的源IP地址对所述报文进行流分类;当识别出接收到的所述报文是ARP报文时,根据报文净荷中的发送方IP地址对所述报文进行流分类;The flow classifier 602 is configured to: when the received packet is an IP packet, perform flow classification on the packet according to a source IP address in the packet header; when the received identifier is identified When the packet is an ARP packet, the packet is classified according to the sender IP address in the payload of the packet.
所述发送器603将进行了流分类的报文通过对应的业务流发送。The transmitter 603 sends the packet subjected to the traffic classification through the corresponding service flow.
其中所述流分类器602进一步用于将所述报文匹配到与所述报文头中的源IP地址所在的IP地址段对应的业务流上。The traffic classifier 602 is further configured to match the packet to a service flow corresponding to an IP address segment where the source IP address in the packet header is located.
进一步地,所述业务流为混合光纤同轴网中用来传输业务的业务流。Further, the service flow is a service flow used to transmit a service in a hybrid optical fiber coaxial network.
进一步地,所述发送器603将通过不同业务流发送的报文用不同VLAN标记;将通过相同业务流发送的报文用同一个VLAN标记。Further, the sender 603 marks the packets sent by different service flows with different VLANs; the packets sent by the same service flow are marked with the same VLAN.
进一步地,所述流分类器602当不能识别报文类型时,将报文对应到缺省流。Further, when the traffic classifier 602 cannot identify the packet type, the traffic classifier 602 corresponds to the default flow.
需要进一步说明的是,所述电缆调制解调器各个单元所执行的具体动作就是上文方法实施例中的方法,取得的效果也类似,具体步骤不再赘述。It should be further noted that the specific actions performed by the various units of the cable modem are the methods in the foregoing method embodiments, and the effects obtained are similar, and specific steps are not described again.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。具体为以上所述的网络处理过程可以在诸如具有足够的处理能力、存储器资源和网络吞吐量能力的计算机或网络部件的通用部件上实施。图7示意性地表示适于实施本文中公开的部件的一个或多个实施例的电性的通用网络部 件700。该网络部件700包括处理器702(可被称为中央处理单元或CPU),该处理器702与包括第二存储器704、只读存储器(ROM)706、随即存取存储器(RAM)708、输入/输出(I/O)设备710和网络连接性设备712在内的存储器设备通信。该处理器702可被实施为一个或多个CPU芯片,或是被实施为一个或多个专用集成电路的一部分。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk. The network processing described in detail above may be implemented on a general purpose component such as a computer or network component having sufficient processing power, memory resources, and network throughput capabilities. Figure 7 is a schematic representation of an electrical universal network portion suitable for implementing one or more embodiments of the components disclosed herein. Piece 700. The network component 700 includes a processor 702 (which may be referred to as a central processing unit or CPU) that includes a second memory 704, a read only memory (ROM) 706, a random access memory (RAM) 708, input/ The output (I/O) device 710 and the network connectivity device 712 communicate with the memory device. The processor 702 can be implemented as one or more CPU chips or as part of one or more application specific integrated circuits.
该第二存储器704典型地由一个或多个盘驱动器或碟驱动器构成,并用于数据的非易失性存储,以及如果RAM 708没有达到足以容纳所有工作数据则用作溢出数据存储设备。第二存储器704可用于存储那些当被选择用于执行时被装入RAM 708的程序。ROM 706被用于存储指令以及或者在程序执行期间读取的数据。ROM 706是一种非易失性存储器设备,其典型地具有相对于第二存储器704的较大存储器容量较小的存储器容量。RAM 708用于存储易失性数据,并可能存储指令。对ROM 706和RAM 708的访问通常比对第二存储器704的访问快。The second memory 704 is typically comprised of one or more disk drives or disk drives and is used for non-volatile storage of data and as an overflow data storage device if the RAM 708 is not large enough to accommodate all of the operational data. The second memory 704 can be used to store programs that are loaded into the RAM 708 when selected for execution. ROM 706 is used to store instructions and data that is read during program execution. ROM 706 is a non-volatile memory device that typically has a smaller memory capacity relative to the larger memory capacity of second memory 704. RAM 708 is used to store volatile data and possibly store instructions. Access to ROM 706 and RAM 708 is typically faster than access to second memory 704.
本发明实施例提供了一种报文处理系统,如图8所示,包括图6所示的电缆调制解调器801,和多个用户端设备802;所述电缆调制解调器801和所述多个用户端设备802相连。An embodiment of the present invention provides a message processing system, as shown in FIG. 8, including a cable modem 801 shown in FIG. 6, and a plurality of client devices 802; the cable modem 801 and the plurality of client devices. 802 connected.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (11)

  1. 一种报文处理方法,其特征在于,包括:A packet processing method, comprising:
    接收来自用户端设备的报文;Receiving a message from the client device;
    当识别出接收到的所述报文是IP报文时,根据报文头中的源IP地址对所述报文进行流分类;当识别出接收到的所述报文是ARP报文时,根据报文净荷中的发送方IP地址对所述报文进行流分类;When the received packet is an IP packet, the packet is classified according to the source IP address in the packet header; when the received packet is an ARP packet, And classifying the packet according to the sender IP address in the packet payload;
    将进行了流分类的报文通过对应的业务流发送。The packets that have been classified by the traffic are sent through the corresponding service flows.
  2. 如权利要求1所述的报文处理方法,其特征在于,所述根据报文头中的源IP地址对所述报文进行流分类包括,将所述报文匹配到与所述报文头中的源IP地址所在的IP地址段对应的业务流上。The packet processing method according to claim 1, wherein the classifying the packet according to the source IP address in the packet header comprises: matching the packet to the packet header The service flow corresponding to the IP address segment where the source IP address is located.
  3. 如权利要求1所述的报文处理方法,其特征在于,所述方法还包括,将通过不同业务流发送的报文用不同VLAN标记;将通过相同业务流发送的报文用同一个VLAN标记The packet processing method according to claim 1, wherein the method further comprises: marking packets sent by different service flows with different VLANs; and marking packets sent by the same service flow with the same VLAN.
  4. 如权利要求3所述的报文处理方法,其特征在于,在将进行了流分类的报文通过对应的业务流发送前,所述方法还包括,当不能识别报文类型时,将报文对应到缺省流。The packet processing method according to claim 3, wherein before the packet subjected to the traffic classification is sent through the corresponding service flow, the method further includes: when the packet type cannot be identified, the packet is processed. Corresponds to the default stream.
  5. 如权利要求1-4任一所述的报文处理方法,其特征在于,所述业务流为混合光纤同轴网中用来传输业务的业务流。The packet processing method according to any one of claims 1 to 4, wherein the service flow is a service flow for transmitting a service in a hybrid optical fiber coaxial network.
  6. 一种电缆调制解调器,其特征在于,包括接收器601、流分类器602和发送器603,其中A cable modem, comprising a receiver 601, a stream classifier 602, and a transmitter 603, wherein
    所述接收器601用于接收来自用户端设备的报文;The receiver 601 is configured to receive a message from a user equipment.
    所述流分类器602用于当识别出接收到的所述报文是IP报文时,根据报文头中的源IP地址对所述报文进行流分类;当识别出接收到的所述报文是ARP报文时,根据报文净荷中的发送方IP地址对所述报文进行流分类;The flow classifier 602 is configured to: when the received packet is an IP packet, perform flow classification on the packet according to a source IP address in the packet header; when the received identifier is identified When the packet is an ARP packet, the packet is classified according to the sender IP address in the payload of the packet.
    所述发送器603将进行了流分类的报文通过对应的业务流发送。The transmitter 603 sends the packet subjected to the traffic classification through the corresponding service flow.
  7. 如权利要求6所述的电缆调制解调器,其特征在于,所述流分类器602 进一步用于将所述报文匹配到与所述报文头中的源IP地址所在的IP地址段对应的业务流上。The cable modem of claim 6 wherein said stream classifier 602 Further, the packet is matched to a service flow corresponding to an IP address segment where the source IP address in the packet header is located.
  8. 如权利要求6所述的电缆调制解调器,其特征在于,所述发送器603将通过不同业务流发送的报文用不同VLAN标记;将通过相同业务流发送的报文用同一个VLAN标记。The cable modem of claim 6 wherein said transmitter 603 marks packets transmitted over different traffic flows with different VLANs; packets transmitted over the same traffic flow are tagged with the same VLAN.
  9. 如权利要求6所述的电缆调制解调器,其特征在于,所述流分类器602当不能识别报文类型时,将报文对应到缺省流。The cable modem of claim 6 wherein said flow classifier 602 maps the message to a default stream when the message type is not identifiable.
  10. 如权利要求6-9任一所述的电缆调制解调器,其特征在于,所述业务流为混合光纤同轴网中用来传输业务的业务流。A cable modem according to any of claims 6-9, wherein said traffic stream is a traffic stream used to transport traffic in a hybrid fiber coax network.
  11. 一种报文处理系统,其特征在于,所述系统包括权利要求6-10任一所述的电缆调制解调器801,和多个用户端设备802;所述电缆调制解调器801和所述多个用户端设备802相连。 A message processing system, comprising: the cable modem 801 of any of claims 6-10, and a plurality of client devices 802; the cable modem 801 and the plurality of client devices 802 connected.
PCT/CN2015/086810 2015-08-12 2015-08-12 Packet processing method, apparatus and system WO2017024571A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580075115.XA CN107210973B (en) 2015-08-12 2015-08-12 Message processing method, device and system
PCT/CN2015/086810 WO2017024571A1 (en) 2015-08-12 2015-08-12 Packet processing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/086810 WO2017024571A1 (en) 2015-08-12 2015-08-12 Packet processing method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2017024571A1 true WO2017024571A1 (en) 2017-02-16

Family

ID=57984009

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086810 WO2017024571A1 (en) 2015-08-12 2015-08-12 Packet processing method, apparatus and system

Country Status (2)

Country Link
CN (1) CN107210973B (en)
WO (1) WO2017024571A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037727A (en) * 2021-02-26 2021-06-25 北京北信源信息安全技术有限公司 Message information processing method and device, electronic equipment and storage medium
US11251984B2 (en) 2017-10-24 2022-02-15 Interdigital Ce Patent Holdings Cable modem interface mask based virtual local area network mapping

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1977494A (en) * 2004-02-11 2007-06-06 方案有限公司 A server, system and method for providing access to a public network through an internal network of a multi-system operator
CN102203766A (en) * 2008-09-05 2011-09-28 思科技术公司 Qos on bonded channels of a shared access cable network
US20120076130A1 (en) * 2010-09-27 2012-03-29 Hon Hai Precision Industry Co., Ltd. Cable modem and priority setting method thereof
CN103581059A (en) * 2012-07-23 2014-02-12 华为技术有限公司 Two-layer access method, device and system in HFC network
CN104348716A (en) * 2013-07-23 2015-02-11 杭州华三通信技术有限公司 Message processing method and equipment
CN104754423A (en) * 2013-12-30 2015-07-01 深圳键桥通讯技术股份有限公司 MINI CMTS (Cable Modem Termination System) of integrating IPQAM (Internet Protocol Quadrature Amplitude Modulation) and DOCSIS (Data Over Cable System Interface Specification)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8990431B2 (en) * 2009-05-05 2015-03-24 Citrix Systems, Inc. Systems and methods for identifying a processor from a plurality of processors to provide symmetrical request and response processing
CN102882781B (en) * 2012-10-11 2015-03-18 华为技术有限公司 Method, route bridge and system for transmitting message
CN103414730A (en) * 2013-08-29 2013-11-27 迈普通信技术股份有限公司 Method and device for processing ARP messages

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1977494A (en) * 2004-02-11 2007-06-06 方案有限公司 A server, system and method for providing access to a public network through an internal network of a multi-system operator
CN102203766A (en) * 2008-09-05 2011-09-28 思科技术公司 Qos on bonded channels of a shared access cable network
US20120076130A1 (en) * 2010-09-27 2012-03-29 Hon Hai Precision Industry Co., Ltd. Cable modem and priority setting method thereof
CN103581059A (en) * 2012-07-23 2014-02-12 华为技术有限公司 Two-layer access method, device and system in HFC network
CN104348716A (en) * 2013-07-23 2015-02-11 杭州华三通信技术有限公司 Message processing method and equipment
CN104754423A (en) * 2013-12-30 2015-07-01 深圳键桥通讯技术股份有限公司 MINI CMTS (Cable Modem Termination System) of integrating IPQAM (Internet Protocol Quadrature Amplitude Modulation) and DOCSIS (Data Over Cable System Interface Specification)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11251984B2 (en) 2017-10-24 2022-02-15 Interdigital Ce Patent Holdings Cable modem interface mask based virtual local area network mapping
CN113037727A (en) * 2021-02-26 2021-06-25 北京北信源信息安全技术有限公司 Message information processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107210973A (en) 2017-09-26
CN107210973B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
US9843539B2 (en) Per port ethernet packet processing mode by device type
US9825856B2 (en) Service function chaining in a packet network
EP3328004A1 (en) Broadband access
CN110519119B (en) Bandwidth management method and device based on video network and storage medium
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN110198345B (en) Data request method, system and device and storage medium
CN109547163B (en) Method and device for controlling data transmission rate
CN110381119B (en) Method, system and device for acquiring log information and storage medium
CN110049341B (en) Video processing method and device
WO2014015786A1 (en) Two-layer access method, device and system in hfc network
US10243884B2 (en) Packet transmission method and apparatus
WO2017024571A1 (en) Packet processing method, apparatus and system
CN105323159B (en) The processing method and processing device of data message
CN110049009B (en) Identity information acquisition system and method
CN111478880B (en) Data processing method and device
CN110493149B (en) Message processing method and device
CN109889516B (en) Method and device for establishing session channel
CN109842630B (en) Video processing method and device
CN109640194B (en) Method and device for acquiring terminal permission through two-dimensional code based on video network
US8305920B2 (en) Method, system and terminal for determining QoS level
CN108881148B (en) Data acquisition method and device
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium
CN109327729B (en) Wireless recording and broadcasting method and system for multimedia data
CN110493191B (en) Windows platform data forwarding method and device, electronic equipment and readable storage medium
US9461924B2 (en) Maintaining end-to-end quality of service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15900769

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15900769

Country of ref document: EP

Kind code of ref document: A1