WO2023103563A1 - Message processing method, customer premise equipment (cpe) and computer readable storage medium - Google Patents

Message processing method, customer premise equipment (cpe) and computer readable storage medium Download PDF

Info

Publication number
WO2023103563A1
WO2023103563A1 PCT/CN2022/123748 CN2022123748W WO2023103563A1 WO 2023103563 A1 WO2023103563 A1 WO 2023103563A1 CN 2022123748 W CN2022123748 W CN 2022123748W WO 2023103563 A1 WO2023103563 A1 WO 2023103563A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
queue
priority
sub
network slice
Prior art date
Application number
PCT/CN2022/123748
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 中兴通讯股份有限公司
Publication of WO2023103563A1 publication Critical patent/WO2023103563A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0215Traffic management, e.g. flow control or congestion control based on user or device properties, e.g. MTC-capable devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel
    • H04W28/0263Traffic management, e.g. flow control or congestion control per individual bearer or channel involving mapping traffic to individual bearers or channels, e.g. traffic flow template [TFT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • H04W72/569Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient of the traffic information

Definitions

  • the present application relates to the technical field of communications, for example, to a message processing method, client front-end equipment, and a computer-readable storage medium.
  • the fifth-generation mobile communication technology (5th-Generation, 5G) system proposes the concept of network slicing.
  • Network slicing can provide different Quality of Service (QoS) according to different types of bearer services or different users.
  • QoS Quality of Service
  • 3GPP 3rd Generation Partnership Project
  • CPE Customer Premise Equipment
  • This application provides a message processing method, which is applied to CPE, including:
  • the present application also provides a client front-end device, including: a processor; the processor is configured to implement the above message processing method when executing a computer program.
  • the present application also provides a computer-readable storage medium storing a computer program, and implementing the above message processing method when the computer program is executed by a processor.
  • FIG. 1 is a schematic diagram of a network architecture in which network slicing meets different service requirements provided by an embodiment
  • Fig. 2 is a schematic flowchart of a message processing method provided by an embodiment
  • Fig. 3 is a schematic structural diagram of a message processing device provided by an embodiment
  • Fig. 4 is a schematic structural diagram of a client front-end device provided by an embodiment.
  • FIG. 1 shows a schematic diagram of a network architecture in which network slicing meets different service requirements provided by an embodiment.
  • 3GPP 3GPP’s typical 5G scenarios are summarized into the following three types: as shown in Figure 1, enhanced mobile broadband services (enhanced Mobile Broadband, eMBB), massive machine type connection services (massive Machine Type Communication, mMTC) and ultra-reliable low-latency Business (Ultra Reliable and Low Latency Communications, URLLC), URLLC can also be called a specific machine type connection business (Critical machine type communication).
  • eMBB enhanced Mobile Broadband
  • mMTC massive Machine Type Communication
  • URLLC ultra-reliable low-latency Business
  • URLLC can also be called a specific machine type connection business (Critical machine type communication).
  • eMBB refers to the improvement of user experience and other performance on the basis of mobile broadband service scenarios
  • mMTC is mainly aimed at application scenarios of the Internet of Things, suitable for large-scale, low-power, low-cost, and deep-coverage Internet of Things terminals
  • URLLC is oriented to services that have strict requirements on data transmission reliability and delay, such as Internet of Vehicles, industrial control and other scenarios.
  • the three major scenarios include diversified and differentiated services. Not all future use cases have strong requirements for speed and coverage. Therefore, 3GPP allows operators to build network slices through independent network function sets and parameter configurations for To serve the needs of multiple and virtual operators, at the same time, 3GPP requires that network slices can be dynamically generated according to different market scenarios.
  • Network slicing can realize QoS isolation, flexible network management and control, and improvement of network efficiency. It can provide multiple network slices for the same user, and different services are suitable for different network slices. For terminal equipment used by a single user, 3GPP has defined strategies for how local services are mapped to different network slices. But for CPE, the above mapping strategy is not applicable, because: first, CPE is a pipeline device, it is difficult to distinguish which services should use high-priority network slices, and which services should use ordinary network slices; secondly, The QoS function of the CPE is relatively simple and cannot be mapped to network slices. Even if the 5G network assigns a very high QoS to a service, the QoS of all services will be basically the same after reaching the CPE. In this way, even if the 5G network allocates higher QoS to high-priority services, the QoS cannot be guaranteed after passing through the CPE.
  • the embodiment of the present application provides a packet processing method, a client front-end device, and a computer-readable storage medium, which can realize mapping of network slices on the CPE side, and ensure that the QoS of the entire link meets service requirements.
  • Fig. 2 shows a schematic flowchart of a message processing method provided by an embodiment. As shown in Fig. 2, the method provided by this embodiment is applicable to a CPE, and the method includes:
  • the CPE can obtain packets from at least two connected network slices to implement QoS isolation. Each packet corresponds to a network slice. The number of messages is multiple.
  • the number of network slices accessed by the CPE is 2 (denoted as network slice 1 and network slice 2 respectively), and three messages are obtained from network slice 1 (denoted as message 1, message 2 and message 3 respectively). ), two packets (respectively denoted as packet 4 and packet 5) are obtained from network slice 2. Then, packet 1 corresponds to network slice 1, packet 2 corresponds to network slice 1, packet 3 corresponds to network slice 1, packet 4 corresponds to network slice 2, and packet 5 corresponds to network slice 5.
  • the priority parameter is a Differentiated Services Code Point (DSCP) value.
  • DSCP Differentiated Services Code Point
  • the DSCP value is located in the Class of Service (Type Of Service, TOS) identification byte of the Internet Protocol (Internet Protocol, IP) header of the message, using the used 6 bits and the unused 2 bits in the message, through Encoding value to distinguish the priority of the message.
  • DSCP values range from 0-63. The larger the DSCP value, the higher the priority of the packet; the smaller the DSCP value, the lower the priority of the packet.
  • the method of "determining the priority parameter of each message" in S120 may include any one of the following:
  • the DSCP value of the message is kept unchanged.
  • the set DSCP values of multiple packets corresponding to the same network slice are equal.
  • a message if a message does not have an available token, the message is discarded; if a message has an available token, traffic shaping is performed on the message.
  • the purpose of traffic shaping is to limit the rate of a type of packet, preventing the rate of this type of packet from being too high and affecting other types of packets.
  • the priority of the network slice is determined according to the QoS of the network slice.
  • the number of network slices accessed by the CPE is 2 (denoted as network slice 1 and network slice 2 respectively), and the priority of network slice 1 is higher than that of network slice 2.
  • the CPE obtained three packets from network slice 1 (denoted as packet 1, packet 2, and packet 3), and obtained two packets from network slice 2 (respectively recorded as packet 4 and packet 5). ). Then, the CPE puts packet 1, packet 2, and packet 3 into queue 1, puts packet 4 and packet 5 into queue 2, and then processes the three packets in queue 1 first, and then processes queue 2. two messages in .
  • the processing order of the multiple messages is determined according to the priority parameter of each message. Assuming that any queue is a preset queue, "sequentially processing the messages in the corresponding queue" in S130 includes processing the messages in the preset queue, and the corresponding method may include:
  • N is an integer greater than or equal to 2.
  • N the value of N is 4; the four sub-queues are: a voice access sub-queue, a video access sub-queue, a best-effort access sub-queue and a background access sub-queue.
  • the value of N is 4; according to the DSCP value of multiple messages in the preset queue, the method of putting the multiple messages into N sub-queues includes:
  • N the number of sub-queues
  • the four sub-queues are: voice access sub-queue, video access sub-queue, best-effort access sub-queue and background access sub-queue, among which the voice access sub-queue has the highest priority , followed by the priority of the video access sub-queue, then the priority of the best-effort access sub-queue, and the lowest priority of the background access sub-queue.
  • mapping of network slices can be realized on the CPE side, ensuring that the QoS of the entire link meets service requirements.
  • the CPE accesses network slice A and network slice B, the CPE obtains packet 1-packet 6 from the connected network slice A, and the CPE obtains packet 7-packet from the connected network slice B. 10.
  • Table 1 shows the correspondence between packets and network slices and the initial DSCP value of packets.
  • the CPE After obtaining the 10 messages, the CPE first determines the DSCP values of the 10 messages. As shown in Table 1, DSCP values are preset in message 2, message 3 and message 4, so keep the DSCP values of message 2, message 3 and message 4 unchanged; message 1, message 6 - There is no DSCP value preset in the message 10, therefore, the CPE needs to set the DSCP value for these messages.
  • the number of network slices accessed by the CPE is 2. At this time, two queues are created. According to the IP quintuple of the packet and which slice the packet comes from, the packets 1-6 are put into queue 1, and the packet 7-Packet 10 is put into queue 2. Since the priority of network slice A is higher than that of network slice B, the packets in queue 1 are first sent to the wifi layer of the CPE for processing. After the packets in queue 1 are all processed, they are sent to queue 2. The packets are sent to the wifi layer of the CPE for processing.
  • message DSCP value belongs to the subqueue message 1 60 AC_VO message 2 50 AC_VO message 3 45 AC_VI message 4 26 AC_BE message 5 2 AC_BG message 6 60 AC_VO
  • the DSCP value of message 1, message 2 and message 6 is greater than the third threshold 47, and the message 1, message 2 and message 6 are put into the voice access subqueue AC_VO;
  • the DSCP value of message 3 is greater than the third threshold Second threshold 31, and less than the third threshold 47, put message 3 into the video access sub-queue AC_VI;
  • the DSCP value of message 4 is greater than the first threshold 15, and less than the second threshold 31, put message 4 into Best-effort access to the sub-queue AC_BE;
  • the DSCP value of the packet 5 is less than the first threshold 15, and the packet 5 is put into the background access sub-queue AC_BG.
  • the packets in queue 2 are processed. Firstly, according to the DSCP values of the packets 7-10, put the packets 7-10 into 4 sub-queues. Table 4 shows the correspondence between the DSCP values of packets 7-10 and subqueues.
  • message DSCP value belongs to the subqueue message 7 10 AC_BG message 8 10 AC_BG message 9 10 AC_BG message 10 10 AC_BG
  • the DSCP values of the packets 7-10 are equal, and the DSCP values of the packets 7-10 are smaller than the first threshold 15, and the packets 7-10 are put into the background access sub-queue AC_BG.
  • the embodiment of the present application provides a message processing method, which is applied to a CPE, including: obtaining multiple messages from at least two network slices accessed by the CPE; determining the priority parameter of each message; All the packets acquired at the slice are put into the same queue, and the packets in the corresponding queue are processed sequentially according to the priority order of the network slice. If there are multiple packets in the same queue, each packet The priority parameter of the message determines the order in which the multiple messages are processed.
  • the mapping of network slices can be realized on the CPE side to ensure that the QoS of the entire link meets service requirements.
  • Fig. 3 shows a schematic structural diagram of a message processing device provided by an embodiment.
  • the message processing device can be configured in a CPE, and the message processing device includes: a message obtaining module 10, parameter determination Module 11, queue generation module 12 and message processing module 13.
  • the message acquisition module 10 is configured to obtain multiple messages from at least two network slices accessed by the CPE; the parameter determination module 11 is configured to determine the priority parameters of each message; the queue generation module 12 is configured to All messages obtained from the same network slice place are put into the same queue; the message processing module 13 is set to process the messages in the corresponding queues sequentially according to the priority order of the network slice, and there are multiple queues in the same queue. In the case of multiple messages, the sequence for processing the multiple messages is determined according to the priority parameter of each message.
  • the packet processing device provided in this embodiment implements the packet processing method in the foregoing embodiments.
  • the implementation principle and technical effect of the packet processing device provided in this embodiment are similar to those of the foregoing embodiments, and details are not repeated here.
  • the priority parameter is a DSCP value.
  • the parameter determination module 11 is configured to maintain the DSCP value of the message unchanged when the DSCP value of the message is preset in each message; If the DSCP value of the message is set, set the DSCP value of the message according to the priority of the network slice corresponding to the message.
  • the priority of the network slice is determined according to the quality of service (QoS) of the network slice.
  • QoS quality of service
  • any queue be a preset queue
  • the message processing module 13 is configured to put the multiple messages into N sub-queues according to the DSCP values of the multiple messages in the preset queue, N is an integer greater than or equal to 2; according to the priority order of the N sub-queues, the multiple messages in the N sub-queues are sequentially processed.
  • the value of N is 4; the message processing module 13 is configured to put the message into the first sub-queue when the DSCP value of a message is less than or equal to the first threshold ; When the DSCP value of a message is greater than the first threshold and less than or equal to the second threshold, put the message into the second subqueue; when the DSCP value of a message is greater than the second threshold, and If it is less than or equal to the third threshold, put the message into the third sub-queue; if the DSCP value of a message is greater than the third threshold, put the message into the fourth sub-queue .
  • the value of N is 4; the four sub-queues are: a voice access sub-queue, a video access sub-queue, a best-effort access sub-queue and a background access sub-queue.
  • the message acquisition module 10 is also configured to discard the message if a message does not have an available token; text to perform traffic shaping.
  • An embodiment of the present application also provides a client front-end device, including: a processor configured to implement the method provided in any embodiment of the present application when executing a computer program.
  • Fig. 4 shows a schematic structural diagram of a customer front-end device provided by an embodiment.
  • the customer front-end device includes a processor 60, a memory 61 and a communication interface 62;
  • the quantity of 60 can be one or more, take a processor 60 as an example among Fig. 4; Take the bus connection as an example.
  • Bus refers to one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures.
  • the memory 61 can be configured to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the methods in the embodiments of the present application.
  • the processor 60 executes at least one function application and data processing of the customer front-end equipment by running the software programs, instructions and modules stored in the memory 61, that is, implements the above-mentioned method.
  • the memory 61 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like.
  • the memory 61 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices.
  • the memory 61 may include a memory that is remotely located relative to the processor 60, and these remote memories may be connected to the customer front-end equipment through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, networks, mobile communication networks, and combinations thereof.
  • the communication interface 62 can be configured to receive and send data.
  • the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented.
  • the computer storage medium in the embodiments of the present application may use any combination of one or more computer-readable media.
  • the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
  • a computer-readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
  • Computer-readable storage media include (non-exhaustive list): electrical connections with one or more conductors, portable computer disks, hard disks, Random Access Memory (RAM), Read-Only Memory (Read-Only Memory) , ROM), erasable programmable read-only memory (Erasable, Programmable Read-Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage devices , a magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
  • the program code contained on the computer readable medium can be transmitted by any appropriate medium, including but not limited to wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • any appropriate medium including but not limited to wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination of programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, Ruby, Go), also includes conventional procedural programming languages (such as the "C" language or similar programming languages).
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer such as use an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a vehicle-mounted mobile station.
  • the various embodiments of the present application can be implemented in hardware or special purpose circuits, software, logic or any combination thereof.
  • some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
  • Embodiments of the present application may be realized by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware.
  • Computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages source or object code.
  • ISA Instruction Set Architecture
  • Any logic flow block diagrams in the drawings of this application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions.
  • Computer programs can be stored on memory.
  • the memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to ROM, RAM, optical memory devices and systems (Digital Video Disc (DVD) or CD) wait.
  • Computer readable media may include non-transitory storage media.
  • Data processors can be of any type suitable for the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC ), programmable logic devices (Field-Programmable Gate Array, FPGA) and processors based on multi-core processor architecture.
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array

Abstract

The present invention provides a message processing method, a customer premise equipment (CPE) and a computer readable storage medium. The message processing method is applied to the CPE, and comprises: acquiring a plurality of messages from at least two network slices accessed by the CPE; determining a priority parameter of each message; and putting all the messages acquired from the same network slice into the same queue, sequentially processing, according to a priority sequence of the network slices, the messages in the corresponding queues, and, when a plurality of messages exist in the same queue, determining, according to the priority parameter of each message, a sequence for processing the plurality of messages.

Description

报文处理方法、客户前置设备及计算机可读存储介质Message processing method, client front-end equipment and computer-readable storage medium 技术领域technical field
本申请涉及通信技术领域,例如涉及一种报文处理方法、客户前置设备及计算机可读存储介质。The present application relates to the technical field of communications, for example, to a message processing method, client front-end equipment, and a computer-readable storage medium.
背景技术Background technique
第五代移动通信技术(5th-Generation,5G)***提出网络切片概念,网络切片可以根据承载业务的不同类型或不同用户提供不同的服务质量(Quality of Service,QoS)。对于单一用户使用的终端设备,第三代合作伙伴项目(3rd Generation Partnership Project,3GPP)已经定义了本地业务如何映射到不同网络切片的策略。然而,对于客户前置设备(Customer Premise Equipment,CPE),映射策略并不适用。The fifth-generation mobile communication technology (5th-Generation, 5G) system proposes the concept of network slicing. Network slicing can provide different Quality of Service (QoS) according to different types of bearer services or different users. For terminal equipment used by a single user, the 3rd Generation Partnership Project (3GPP) has defined strategies for how local services are mapped to different network slices. However, for Customer Premise Equipment (CPE), the mapping strategy does not apply.
发明内容Contents of the invention
本申请提供一种报文处理方法,应用于CPE,包括:This application provides a message processing method, which is applied to CPE, including:
从CPE接入的至少两个网络切片处获取多条报文;确定每条报文的优先级参数;将从同一个网络切片处获取的所有报文放入同一个队列中,并按照网络切片的优先级顺序,依次处理对应队列中的报文,在同一个队列中存在多条报文的情况下,按照每条报文的优先级参数确定处理该多条报文的顺序。Obtain multiple messages from at least two network slices accessed by the CPE; determine the priority parameters of each message; put all the messages obtained from the same network slice into the same queue, and follow the network slice According to the priority order of each message, the messages in the corresponding queue are processed sequentially. If there are multiple messages in the same queue, the order of processing the multiple messages is determined according to the priority parameter of each message.
本申请还提供一种客户前置设备,包括:处理器;处理器设置为在执行计算机程序时实现上述的报文处理方法。The present application also provides a client front-end device, including: a processor; the processor is configured to implement the above message processing method when executing a computer program.
本申请还提供了一种计算机可读存储介质,存储有计算机程序,计算机程序被处理器执行时实现上述的报文处理方法。The present application also provides a computer-readable storage medium storing a computer program, and implementing the above message processing method when the computer program is executed by a processor.
附图说明Description of drawings
图1是一实施例提供的一种网络切片满足不同服务需求的网络架构示意图;FIG. 1 is a schematic diagram of a network architecture in which network slicing meets different service requirements provided by an embodiment;
图2是一实施例提供的一种报文处理方法的流程示意图;Fig. 2 is a schematic flowchart of a message processing method provided by an embodiment;
图3是一实施例提供的一种报文处理装置的结构示意图;Fig. 3 is a schematic structural diagram of a message processing device provided by an embodiment;
图4是一实施例提供的一种客户前置设备的结构示意图。Fig. 4 is a schematic structural diagram of a client front-end device provided by an embodiment.
具体实施方式Detailed ways
此处所描述的具体实施例仅仅用以解释本申请。The specific embodiments described here are only used to explain the present application.
5G***提出网络切片概念。图1示出了一实施例提供的一种网络切片满足不同服务需求的网络架构示意图。3GPP对5G的典型场景归纳为以下三种:如图1所示,增强的移动宽带业务(enhanced Mobile Broadband,eMBB),海量机器类型连接业务(massive Machine Type Communication,mMTC)以及超可靠低时延业务(Ultra Reliable and Low Latency Communications,URLLC),URLLC也可以称为特定机器类型连接业务(Critical machine type communication)。其中,eMBB是指在移动宽带业务场景的基础上,对于用户体验等性能的提升,mMTC则主要针对物联网的应用场景,适用于大规模,低功耗,低成本,深度覆盖的物联网终端提供网络接入服务,而URLLC则面向对数据传输可靠性以及时延要求苛刻的业务,如车联网,工业控制等场景。三大场景中包含了多样化,差异性的服务,并非所有未来的用例都对速率,覆盖有较强的需求,因此,3GPP允许运营商通过独立网络功能集合与参数配置构建网络切片,用来服务多个以及虚拟运营商的需求,同时,3GPP要求可以根据不同的市场场景动态生成网络切片。The 5G system proposes the concept of network slicing. FIG. 1 shows a schematic diagram of a network architecture in which network slicing meets different service requirements provided by an embodiment. 3GPP’s typical 5G scenarios are summarized into the following three types: as shown in Figure 1, enhanced mobile broadband services (enhanced Mobile Broadband, eMBB), massive machine type connection services (massive Machine Type Communication, mMTC) and ultra-reliable low-latency Business (Ultra Reliable and Low Latency Communications, URLLC), URLLC can also be called a specific machine type connection business (Critical machine type communication). Among them, eMBB refers to the improvement of user experience and other performance on the basis of mobile broadband service scenarios, and mMTC is mainly aimed at application scenarios of the Internet of Things, suitable for large-scale, low-power, low-cost, and deep-coverage Internet of Things terminals Provides network access services, while URLLC is oriented to services that have strict requirements on data transmission reliability and delay, such as Internet of Vehicles, industrial control and other scenarios. The three major scenarios include diversified and differentiated services. Not all future use cases have strong requirements for speed and coverage. Therefore, 3GPP allows operators to build network slices through independent network function sets and parameter configurations for To serve the needs of multiple and virtual operators, at the same time, 3GPP requires that network slices can be dynamically generated according to different market scenarios.
网络切片可以实现QoS的隔离,灵活的网络管控与网络效率的提升。即可以为同一用户提供多个网络切片,不同的业务适用不同的网络切片,对于单一用户使用的终端设备,3GPP已经定义了本地业务如何映射到不同网络切片的策略。但是对于CPE来说,上述映射策略并不适用,这是因为:首先,CPE是个管道设备,其很难分辨出哪些业务要使用高优先级的网络切片,哪些业务要使用普通网络切片;其次,CPE的QoS功能比较简单,无法映射到网络切片,即使5G网络分给一个业务非常高的QoS,但是到了CPE后,又会导致所有业务的QoS基本一致了。这样即使5G网络分给高优先级业务再高的QoS,通过CPE后,QoS还是无法得到保障。Network slicing can realize QoS isolation, flexible network management and control, and improvement of network efficiency. It can provide multiple network slices for the same user, and different services are suitable for different network slices. For terminal equipment used by a single user, 3GPP has defined strategies for how local services are mapped to different network slices. But for CPE, the above mapping strategy is not applicable, because: first, CPE is a pipeline device, it is difficult to distinguish which services should use high-priority network slices, and which services should use ordinary network slices; secondly, The QoS function of the CPE is relatively simple and cannot be mapped to network slices. Even if the 5G network assigns a very high QoS to a service, the QoS of all services will be basically the same after reaching the CPE. In this way, even if the 5G network allocates higher QoS to high-priority services, the QoS cannot be guaranteed after passing through the CPE.
本申请实施例提供了一种报文处理方法、客户前置设备及计算机可读存储介质,能够在CPE端实现网络切片的映射,保证整条链路的QoS都满足业务的需求。The embodiment of the present application provides a packet processing method, a client front-end device, and a computer-readable storage medium, which can realize mapping of network slices on the CPE side, and ensure that the QoS of the entire link meets service requirements.
下面对报文处理方法、客户前置设备及其技术效果进行描述。The message processing method, customer front-end equipment and technical effects thereof are described below.
图2示出了一实施例提供的一种报文处理方法的流程示意图,如图2所示,本实施例提供的方法适用于CPE,该方法包括:Fig. 2 shows a schematic flowchart of a message processing method provided by an embodiment. As shown in Fig. 2, the method provided by this embodiment is applicable to a CPE, and the method includes:
S110、从CPE接入的至少两个网络切片处获取多条报文。S110. Obtain multiple messages from at least two network slices accessed by the CPE.
CPE可以从接入的至少两个网络切片处获取报文,以实现QoS的隔离。每 条报文对应一个网络切片。报文的数量为多条。The CPE can obtain packets from at least two connected network slices to implement QoS isolation. Each packet corresponds to a network slice. The number of messages is multiple.
例如,CPE接入的网络切片的数量为2(分别记为网络切片1和网络切片2),从网络切片1处获取了三条报文(分别记为报文1、报文2和报文3),从网络切片2处获取了两条报文(分别记为报文4和报文5)。那么,报文1对应网络切片1,报文2对应网络切片1,报文3对应网络切片1,报文4对应网络切片2,报文5对应网络切片5。For example, the number of network slices accessed by the CPE is 2 (denoted as network slice 1 and network slice 2 respectively), and three messages are obtained from network slice 1 (denoted as message 1, message 2 and message 3 respectively). ), two packets (respectively denoted as packet 4 and packet 5) are obtained from network slice 2. Then, packet 1 corresponds to network slice 1, packet 2 corresponds to network slice 1, packet 3 corresponds to network slice 1, packet 4 corresponds to network slice 2, and packet 5 corresponds to network slice 5.
S120、确定每条报文的优先级参数。S120. Determine the priority parameter of each packet.
在一实施例中,优先级参数为差分服务代码点(Differentiated Services Code Point,DSCP)值。In one embodiment, the priority parameter is a Differentiated Services Code Point (DSCP) value.
DSCP值位于报文的网际互连协议(Internet Protocol,IP)头部的服务类别(Type Of Service,TOS)标识字节中,利用报文中已使用的6比特和未使用的2比特,通过编码值来区分报文的优先级。通常,DSCP值的范围为0-63。DSCP值越大,表示报文的优先级越高;DSCP值越小,表示报文的优先级越低。The DSCP value is located in the Class of Service (Type Of Service, TOS) identification byte of the Internet Protocol (Internet Protocol, IP) header of the message, using the used 6 bits and the unused 2 bits in the message, through Encoding value to distinguish the priority of the message. Typically, DSCP values range from 0-63. The larger the DSCP value, the higher the priority of the packet; the smaller the DSCP value, the lower the priority of the packet.
S120中“确定每条报文的优先级参数”的方法可以包括如下任意一个:The method of "determining the priority parameter of each message" in S120 may include any one of the following:
1.在每条报文中预置有该条报文的DSCP值的情况下,维持该条报文的DSCP值不变。1. In the case where the DSCP value of the message is preset in each message, the DSCP value of the message is kept unchanged.
2.在每条报文中未预置有该条报文的DSCP值的情况下,根据该条报文对应的网络切片的优先级,设置该条报文的DSCP值。2. If the DSCP value of the message is not preset in each message, set the DSCP value of the message according to the priority of the network slice corresponding to the message.
在根据每条报文对应的网络切片的优先级,设置该条报文的DSCP值时,该条报文对应的网络切片的优先级越高,设置的该条报文的DSCP值越大;该条报文对应的网络切片的优先级越低,设置的该条报文的DSCP值越小。When setting the DSCP value of the message according to the priority of the network slice corresponding to each message, the higher the priority of the network slice corresponding to the message, the larger the DSCP value of the message is set; The lower the priority of the network slice corresponding to the message, the smaller the DSCP value of the message is set.
对于未预置有DSCP值的多条报文,对应同一个网络切片的多条报文的设置后的DSCP值相等。For multiple packets without preset DSCP values, the set DSCP values of multiple packets corresponding to the same network slice are equal.
在一实施例中,若一条报文不具有可用令牌,则丢弃该条报文;若一条报文具有可用令牌,则对该条报文进行流量整形。In an embodiment, if a message does not have an available token, the message is discarded; if a message has an available token, traffic shaping is performed on the message.
在确定每条报文的优先级参数后,还可以根据每条报文的IP五元组,以及每条报文来自哪个切片,对多条报文进行分类,放入对应的令牌桶;当令牌桶中没有令牌,说明该类报文的速率过大,需要丢弃该类报文;若令牌桶中有令牌,说明该类报文可以正常处理,需要对该类报文进行流量整形(又称流量限速)。After determining the priority parameters of each message, multiple messages can be classified and put into the corresponding token bucket according to the IP quintuple of each message and which slice each message comes from; When there is no token in the token bucket, it means that the rate of this type of message is too high, and this type of message needs to be discarded; if there is a token in the token bucket, it means that this type of message can be processed normally, and this type of message needs to be Perform traffic shaping (also known as traffic rate limiting).
流量整形的目的是为了限制一类报文的速率,防止该类报文的速率过大,影响其他类型的报文。The purpose of traffic shaping is to limit the rate of a type of packet, preventing the rate of this type of packet from being too high and affecting other types of packets.
S130、将从同一个网络切片处获取的所有报文放入同一个队列中,并按照网络切片的优先级顺序,依次处理对应队列中的报文,在同一个队列中存在多条报文的情况下,按照每条报文的优先级参数确定该多条报文的处理顺序。S130. Put all the messages obtained from the same network slice into the same queue, and process the messages in the corresponding queues sequentially according to the priority order of the network slices, if there are multiple messages in the same queue In this case, the processing order of the multiple messages is determined according to the priority parameter of each message.
在一实施例中,网络切片的优先级根据网络切片的QoS确定。In one embodiment, the priority of the network slice is determined according to the QoS of the network slice.
例如,CPE接入的网络切片的数量为2(分别记为网络切片1和网络切片2),网络切片1的优先级高于网络切片2的优先级。CPE从网络切片1处获取了三条报文(分别记为报文1、报文2和报文3),从网络切片2处获取了两条报文(分别记为报文4和报文5)。那么,CPE将报文1、报文2和报文3放入队列1中,将报文4和报文5放入队列2中,然后先处理队列1中的三条报文,再处理队列2中的两条报文。For example, the number of network slices accessed by the CPE is 2 (denoted as network slice 1 and network slice 2 respectively), and the priority of network slice 1 is higher than that of network slice 2. The CPE obtained three packets from network slice 1 (denoted as packet 1, packet 2, and packet 3), and obtained two packets from network slice 2 (respectively recorded as packet 4 and packet 5). ). Then, the CPE puts packet 1, packet 2, and packet 3 into queue 1, puts packet 4 and packet 5 into queue 2, and then processes the three packets in queue 1 first, and then processes queue 2. two messages in .
针对同一个队列中的多条报文,按照每条报文的优先级参数确定该多条报文的处理顺序。假设任意一个队列为预设队列,S130中“依次处理对应队列中的报文”包括处理预设队列中的报文,对应的方法可以包括:For multiple messages in the same queue, the processing order of the multiple messages is determined according to the priority parameter of each message. Assuming that any queue is a preset queue, "sequentially processing the messages in the corresponding queue" in S130 includes processing the messages in the preset queue, and the corresponding method may include:
一.根据预设队列中的多条报文的DSCP值,将该多条报文放入N个子队列中,N为大于或者等于2的整数。1. Put the multiple messages into N subqueues according to the DSCP values of the multiple messages in the preset queue, where N is an integer greater than or equal to 2.
通常,N的取值为4;四个子队列分别为:语音接入子队列、视频接入子队列、尽力接入子队列和后台接入子队列。Usually, the value of N is 4; the four sub-queues are: a voice access sub-queue, a video access sub-queue, a best-effort access sub-queue and a background access sub-queue.
N的取值为4;根据预设队列中的多条报文的DSCP值,将该多条报文放入N个子队列中的方法包括:The value of N is 4; according to the DSCP value of multiple messages in the preset queue, the method of putting the multiple messages into N sub-queues includes:
1.在一条报文的DSCP值小于或者等于第一阈值的情况下,将该条报文放入第一子队列中;2.在一条报文的DSCP值大于第一阈值、且小于或者等于第二阈值的情况下,将该条报文放入第二子队列中;3.在一条报文的DSCP值大于第二阈值、且小于或者等于第三阈值的情况下,将该条报文放入第三子队列中;4.在一条报文的DSCP值大于第三阈值的情况下,将该条报文放入第四子队列中。1. When the DSCP value of a message is less than or equal to the first threshold, put the message into the first subqueue; 2. When the DSCP value of a message is greater than the first threshold and less than or equal to In the case of the second threshold, put the message into the second sub-queue; 3. When the DSCP value of a message is greater than the second threshold and less than or equal to the third threshold, put the message Put into the third sub-queue; 4. When the DSCP value of a message is greater than the third threshold, put the message into the fourth sub-queue.
二.按照N个子队列的优先级顺序,依次处理N个子队列中的多条报文。2. Process the multiple messages in the N sub-queues sequentially according to the priority order of the N sub-queues.
通常,N的取值为4;四个子队列分别为:语音接入子队列、视频接入子队列、尽力接入子队列和后台接入子队列,其中,语音接入子队列的优先级最高,其次是视频接入子队列的优先级,然后是尽力接入子队列的优先级,后台接入子队列的优先级最低。Usually, the value of N is 4; the four sub-queues are: voice access sub-queue, video access sub-queue, best-effort access sub-queue and background access sub-queue, among which the voice access sub-queue has the highest priority , followed by the priority of the video access sub-queue, then the priority of the best-effort access sub-queue, and the lowest priority of the background access sub-queue.
如此,能够在CPE端实现网络切片的映射,保证整条链路的QoS都满足业务的需求。In this way, the mapping of network slices can be realized on the CPE side, ensuring that the QoS of the entire link meets service requirements.
示例性的,假设CPE接入网络切片A和网络切片B,CPE从接入的网络切片A处获取报文1-报文6,CPE从接入的网络切片B处获取报文7-报文10。表1示出了报文和网络切片的对应关系及报文的初始DSCP值。Exemplarily, assuming that the CPE accesses network slice A and network slice B, the CPE obtains packet 1-packet 6 from the connected network slice A, and the CPE obtains packet 7-packet from the connected network slice B. 10. Table 1 shows the correspondence between packets and network slices and the initial DSCP value of packets.
表1Table 1
报文message 初始DSCP值initial DSCP value 所属网络切片Belonging network slice
报文1message 1 none 网络切片ANetwork slice A
报文2message 2 5050 网络切片ANetwork slice A
报文3message 3 4545 网络切片ANetwork slice A
报文4message 4 2626 网络切片ANetwork slice A
报文5message 5 22 网络切片ANetwork slice A
报文6message 6 none 网络切片ANetwork slice A
报文7message 7 none 网络切片BNetwork slice B
报文8message 8 none 网络切片BNetwork slice B
报文9message 9 none 网络切片BNetwork slice B
报文10message 10 none 网络切片BNetwork slice B
CPE获取到这10条报文后,首先在确定这10条报文的DSCP值。如表1所示,报文2、报文3和报文4中预置有DSCP值,因此保持报文2、报文3和报文4的DSCP值不变;报文1、报文6-报文10中未预置有DSCP值,因此,CPE要为这些报文设置DSCP值。After obtaining the 10 messages, the CPE first determines the DSCP values of the 10 messages. As shown in Table 1, DSCP values are preset in message 2, message 3 and message 4, so keep the DSCP values of message 2, message 3 and message 4 unchanged; message 1, message 6 - There is no DSCP value preset in the message 10, therefore, the CPE needs to set the DSCP value for these messages.
由于报文1和报文6对应的网络切片A,网络切片A的优先级高于网络切片B的优先级,因此,根据网络切片A的优先级,设置报文1和报文6的DSCP值为60;根据网络切片B的优先级,设置报文7-报文10的DSCP值为10。表2示出了报文和网络切片的对应关系及报文设置后的DSCP值。Since packet 1 and packet 6 correspond to network slice A, the priority of network slice A is higher than that of network slice B. Therefore, according to the priority of network slice A, set the DSCP value of packet 1 and packet 6. is 60; according to the priority of network slice B, set the DSCP value of packet 7-packet 10 to 10. Table 2 shows the correspondence between packets and network slices and the DSCP value after the packets are set.
表2Table 2
Figure PCTCN2022123748-appb-000001
Figure PCTCN2022123748-appb-000001
Figure PCTCN2022123748-appb-000002
Figure PCTCN2022123748-appb-000002
CPE接入的网络切片的数量为2,此时创建两个队列,根据报文的IP五元组以及报文来自哪个切片,将报文1-报文6放入队列1中、将报文7-报文10放入队列2中。由于网络切片A的优先级高于网络切片B的优先级,因此先发送队列1中的报文到CPE的wifi层进行处理,当队列1中的报文都处理完后,再发送队列2中的报文到CPE的wifi层进行处理。The number of network slices accessed by the CPE is 2. At this time, two queues are created. According to the IP quintuple of the packet and which slice the packet comes from, the packets 1-6 are put into queue 1, and the packet 7-Packet 10 is put into queue 2. Since the priority of network slice A is higher than that of network slice B, the packets in queue 1 are first sent to the wifi layer of the CPE for processing. After the packets in queue 1 are all processed, they are sent to queue 2. The packets are sent to the wifi layer of the CPE for processing.
在对队列1中的报文进行处理时,首先根据报文1-报文6的DSCP值,将报文1-报文6放入4个子队列中。表3示出了报文1-报文6的DSCP值与子队列的对应关系。When processing the packets in queue 1, firstly, according to the DSCP values of packets 1 to 6, put packets 1 to 6 into four subqueues. Table 3 shows the correspondence between the DSCP values of packets 1-6 and subqueues.
表3table 3
报文message DSCP值DSCP value 所属子队列belongs to the subqueue
报文1message 1 6060 AC_VOAC_VO
报文2message 2 5050 AC_VOAC_VO
报文3message 3 4545 AC_VIAC_VI
报文4message 4 2626 AC_BEAC_BE
报文5message 5 22 AC_BGAC_BG
报文6message 6 6060 AC_VOAC_VO
如表3所示,假设第一阈值为15,第二阈值为31,第三阈值为47。As shown in Table 3, assume that the first threshold is 15, the second threshold is 31, and the third threshold is 47.
报文1、报文2和报文6的DSCP值大于第三阈值47,将报文1、报文2和报文6放入语音接入子队列AC_VO中;报文3的DSCP值大于第二阈值31、且小于第三阈值47,将报文3放入视频接入子队列AC_VI中;报文4的DSCP 值大于第一阈值15、且小于第二阈值31,将报文4放入尽力接入子队列AC_BE中;报文5的DSCP值小于第一阈值15,将报文5放入后台接入子队列AC_BG中。The DSCP value of message 1, message 2 and message 6 is greater than the third threshold 47, and the message 1, message 2 and message 6 are put into the voice access subqueue AC_VO; the DSCP value of message 3 is greater than the third threshold Second threshold 31, and less than the third threshold 47, put message 3 into the video access sub-queue AC_VI; the DSCP value of message 4 is greater than the first threshold 15, and less than the second threshold 31, put message 4 into Best-effort access to the sub-queue AC_BE; the DSCP value of the packet 5 is less than the first threshold 15, and the packet 5 is put into the background access sub-queue AC_BG.
因此,在处理队列1中的报文时,首先处理语音接入子队列AC_VO中的报文1、报文2和报文6;然后处理视频接入子队列AC_VI中的报文3;再处理尽力接入子队列AC_BE中的报文4;最后处理后台接入子队列AC_BG中的报文5。Therefore, when processing the message in the queue 1, first process the message 1, message 2 and message 6 in the voice access sub-queue AC_VO; then process the message 3 in the video access sub-queue AC_VI; then process Best-effort access to message 4 in sub-queue AC_BE; finally process background access to message 5 in sub-queue AC_BG.
处理完队列1中的报文后,对队列2中的报文进行处理。首先根据报文7-报文10的DSCP值,将报文7-报文10放入4个子队列中。表4示出了报文7-报文10的DSCP值与子队列的对应关系。After the packets in queue 1 are processed, the packets in queue 2 are processed. Firstly, according to the DSCP values of the packets 7-10, put the packets 7-10 into 4 sub-queues. Table 4 shows the correspondence between the DSCP values of packets 7-10 and subqueues.
表4Table 4
报文message DSCP值DSCP value 所属子队列belongs to the subqueue
报文7message 7 1010 AC_BGAC_BG
报文8message 8 1010 AC_BGAC_BG
报文9message 9 1010 AC_BG AC_BG
报文10message 10 1010 AC_BGAC_BG
如表4所示,假设第一阈值为15,第二阈值为31,第三阈值为47。As shown in Table 4, assume that the first threshold is 15, the second threshold is 31, and the third threshold is 47.
报文7-报文10的DSCP值均相等,报文7-报文10的DSCP值小于第一阈值15,将报文7-报文10放入后台接入子队列AC_BG中。The DSCP values of the packets 7-10 are equal, and the DSCP values of the packets 7-10 are smaller than the first threshold 15, and the packets 7-10 are put into the background access sub-queue AC_BG.
因此,在处理队列2中的报文时,由于语音接入子队列AC_VO、视频接入子队列AC_VI和尽力接入子队列AC_BE中均没有报文,此时直接处理后台接入子队列AC_BG中的报文7-报文10即可。Therefore, when processing packets in queue 2, since there are no packets in the voice access sub-queue AC_VO, video access sub-queue AC_VI, and best-effort access sub-queue AC_BE, the background access sub-queue AC_BG is directly processed at this time. The message 7-message 10 is enough.
本申请实施例提供一种报文处理方法,应用于CPE,包括:从CPE接入的至少两个网络切片处获取多条报文;确定每条报文的优先级参数;将从同一个网络切片处获取的所有报文放入同一个队列中,并按照网络切片的优先级顺序,依次处理对应队列中的报文,在同一个队列中存在多条报文的情况下,按照每条报文的优先级参数确定处理该多条报文的顺序。能够在CPE端实现网络切片的映射,保证整条链路的QoS都满足业务的需求。The embodiment of the present application provides a message processing method, which is applied to a CPE, including: obtaining multiple messages from at least two network slices accessed by the CPE; determining the priority parameter of each message; All the packets acquired at the slice are put into the same queue, and the packets in the corresponding queue are processed sequentially according to the priority order of the network slice. If there are multiple packets in the same queue, each packet The priority parameter of the message determines the order in which the multiple messages are processed. The mapping of network slices can be realized on the CPE side to ensure that the QoS of the entire link meets service requirements.
图3示出了一实施例提供的一种报文处理装置的结构示意图,如图3所示,报文处理装置可以配置于CPE中,报文处理装置包括:报文获取模块10,参数 确定模块11,队列生成模块12和报文处理模块13。Fig. 3 shows a schematic structural diagram of a message processing device provided by an embodiment. As shown in Fig. 3, the message processing device can be configured in a CPE, and the message processing device includes: a message obtaining module 10, parameter determination Module 11, queue generation module 12 and message processing module 13.
报文获取模块10,设置为从CPE接入的至少两个网络切片处获取多条报文;参数确定模块11,设置为确定每条报文的优先级参数;队列生成模块12,设置为将从同一个网络切片处获取的所有报文放入同一个队列中;报文处理模块13,设置为按照网络切片的优先级顺序,依次处理对应队列中的报文,在同一个队列中存在多条报文的情况下,按照每条报文的优先级参数确定处理该多条报文的顺序。The message acquisition module 10 is configured to obtain multiple messages from at least two network slices accessed by the CPE; the parameter determination module 11 is configured to determine the priority parameters of each message; the queue generation module 12 is configured to All messages obtained from the same network slice place are put into the same queue; the message processing module 13 is set to process the messages in the corresponding queues sequentially according to the priority order of the network slice, and there are multiple queues in the same queue. In the case of multiple messages, the sequence for processing the multiple messages is determined according to the priority parameter of each message.
本实施例提供的报文处理装置为实现上述实施例的报文处理方法,本实施例提供的报文处理装置实现原理和技术效果与上述实施例类似,此处不再赘述。The packet processing device provided in this embodiment implements the packet processing method in the foregoing embodiments. The implementation principle and technical effect of the packet processing device provided in this embodiment are similar to those of the foregoing embodiments, and details are not repeated here.
在一实施例中,优先级参数为DSCP值。In one embodiment, the priority parameter is a DSCP value.
在一实施例中,参数确定模块11,设置为在每条报文中预置有报文的DSCP值的情况下,维持该条报文的DSCP值不变;在每条报文中未预置有报文的DSCP值的情况下,根据该条报文对应的网络切片的优先级,设置该条报文的DSCP值。In one embodiment, the parameter determination module 11 is configured to maintain the DSCP value of the message unchanged when the DSCP value of the message is preset in each message; If the DSCP value of the message is set, set the DSCP value of the message according to the priority of the network slice corresponding to the message.
在一实施例中,网络切片的优先级根据网络切片的业务质量QoS确定。In an embodiment, the priority of the network slice is determined according to the quality of service (QoS) of the network slice.
在一实施例中,令任意一个队列为预设队列,报文处理模块13,设置为根据预设队列中的多条报文的DSCP值,将该多条报文放入N个子队列中,N为大于或者等于2的整数;按照N个子队列的优先级顺序,依次处理N个子队列中的该多条报文。In one embodiment, let any queue be a preset queue, and the message processing module 13 is configured to put the multiple messages into N sub-queues according to the DSCP values of the multiple messages in the preset queue, N is an integer greater than or equal to 2; according to the priority order of the N sub-queues, the multiple messages in the N sub-queues are sequentially processed.
在一实施例中,N的取值为4;报文处理模块13,设置为在一条报文的DSCP值小于或者等于第一阈值的情况下,将该条报文放入第一子队列中;在一条报文的DSCP值大于第一阈值、且小于或者等于第二阈值的情况下,将该条报文放入第二子队列中;在一条报文的DSCP值大于第二阈值、且小于或者等于第三阈值的情况下,将该条报文放入第三子队列中;在一条报文的DSCP值大于第三阈值的情况下,将该条报文放入第四子队列中。In one embodiment, the value of N is 4; the message processing module 13 is configured to put the message into the first sub-queue when the DSCP value of a message is less than or equal to the first threshold ; When the DSCP value of a message is greater than the first threshold and less than or equal to the second threshold, put the message into the second subqueue; when the DSCP value of a message is greater than the second threshold, and If it is less than or equal to the third threshold, put the message into the third sub-queue; if the DSCP value of a message is greater than the third threshold, put the message into the fourth sub-queue .
在一实施例中,N的取值为4;四个子队列分别为:语音接入子队列、视频接入子队列、尽力接入子队列和后台接入子队列。In one embodiment, the value of N is 4; the four sub-queues are: a voice access sub-queue, a video access sub-queue, a best-effort access sub-queue and a background access sub-queue.
在一实施例中,报文获取模块10,还设置为在一条报文不具有可用令牌的情况下,丢弃该条报文;在一条报文具有可用令牌的情况下,对该条报文进行流量整形。In one embodiment, the message acquisition module 10 is also configured to discard the message if a message does not have an available token; text to perform traffic shaping.
本申请实施例还提供了一种客户前置设备,包括:处理器,处理器设置为 在执行计算机程序时实现如本申请任意实施例所提供的方法。An embodiment of the present application also provides a client front-end device, including: a processor configured to implement the method provided in any embodiment of the present application when executing a computer program.
图4示出了一实施例提供的一种客户前置设备的结构示意图,如图4所示,该客户前置设备包括处理器60、存储器61和通信接口62;客户前置设备中处理器60的数量可以是一个或多个,图4中以一个处理器60为例;客户前置设备中的处理器60、存储器61、通信接口62可以通过总线或其他方式连接,图4中以通过总线连接为例。总线表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,***总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。Fig. 4 shows a schematic structural diagram of a customer front-end device provided by an embodiment. As shown in Fig. 4, the customer front-end device includes a processor 60, a memory 61 and a communication interface 62; The quantity of 60 can be one or more, take a processor 60 as an example among Fig. 4; Take the bus connection as an example. Bus refers to one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus structures.
存储器61作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请实施例中的方法对应的程序指令/模块。处理器60通过运行存储在存储器61中的软件程序、指令以及模块,从而执行客户前置设备的至少一种功能应用以及数据处理,即实现上述的方法。As a computer-readable storage medium, the memory 61 can be configured to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the methods in the embodiments of the present application. The processor 60 executes at least one function application and data processing of the customer front-end equipment by running the software programs, instructions and modules stored in the memory 61, that is, implements the above-mentioned method.
存储器61可包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器61可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器61可包括相对于处理器60远程设置的存储器,这些远程存储器可以通过网络连接至客户前置设备。上述网络的实例包括但不限于互联网、企业内部网、网络、移动通信网及其组合。The memory 61 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like. In addition, the memory 61 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 61 may include a memory that is remotely located relative to the processor 60, and these remote memories may be connected to the customer front-end equipment through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, networks, mobile communication networks, and combinations thereof.
通信接口62可设置为数据的接收与发送。The communication interface 62 can be configured to receive and send data.
本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如本申请任意实施例所提供的方法。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented.
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于:电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质包括(非穷举的列表):具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦式可编程只读存储器(Erasable,Programmable Read-Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意 合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present application may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer-readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. Computer-readable storage media include (non-exhaustive list): electrical connections with one or more conductors, portable computer disks, hard disks, Random Access Memory (RAM), Read-Only Memory (Read-Only Memory) , ROM), erasable programmable read-only memory (Erasable, Programmable Read-Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage devices , a magnetic storage device, or any suitable combination of the above. In this application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,数据信号中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The program code contained on the computer readable medium can be transmitted by any appropriate medium, including but not limited to wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
可以以一种或多种程序设计语言或多种程序设计语言组合来编写用于执行本公开操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言(诸如Java、Smalltalk、C++、Ruby、Go),还包括常规的过程式程序设计语言(诸如“C”语言或类似的程序设计语言)。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络(包括网络(Local Area Network,LAN)或广域网(Wide Area Network,WAN))连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination of programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, Ruby, Go), also includes conventional procedural programming languages (such as the "C" language or similar programming languages). The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer such as use an Internet service provider to connect via the Internet).
本领域内的技术人员应明白,术语用户终端涵盖任何适合类型的无线用户设备,例如移动电话、便携数据处理装置、便携网络浏览器或车载移动台。Those skilled in the art will understand that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a vehicle-mounted mobile station.
一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。In general, the various embodiments of the present application can be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。Embodiments of the present application may be realized by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. Computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages source or object code.
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相 互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于ROM、RAM、光存储器装置和***(数码多功能光碟(Digital Video Disc,DVD)或CD)等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Field-Programmable Gate Array,FPGA)以及基于多核处理器架构的处理器。Any logic flow block diagrams in the drawings of this application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. Computer programs can be stored on memory. The memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to ROM, RAM, optical memory devices and systems (Digital Video Disc (DVD) or CD) wait. Computer readable media may include non-transitory storage media. Data processors can be of any type suitable for the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC ), programmable logic devices (Field-Programmable Gate Array, FPGA) and processors based on multi-core processor architecture.

Claims (10)

  1. 一种报文处理方法,应用于客户前置设备CPE,包括:A message processing method, applied to customer front-end equipment CPE, including:
    从所述CPE接入的至少两个网络切片处获取多条报文;Obtain multiple messages from at least two network slices accessed by the CPE;
    确定每条报文的优先级参数;Determine the priority parameters of each message;
    将从同一个网络切片处获取的所有报文放入同一个队列中,并按照网络切片的优先级顺序,依次处理对应队列中的报文,在同一个队列中存在多条报文的情况下,按照每条报文的优先级参数确定处理所述多条报文的顺序。Put all the packets obtained from the same network slice into the same queue, and process the packets in the corresponding queue sequentially according to the priority order of the network slice. If there are multiple packets in the same queue , determining an order for processing the multiple messages according to the priority parameter of each message.
  2. 根据权利要求1所述的方法,其中,所述优先级参数为差分服务代码点DSCP值。The method according to claim 1, wherein the priority parameter is a Differentiated Services Code Point (DSCP) value.
  3. 根据权利要求2所述的方法,其中,所述确定每条报文的优先级参数,包括:The method according to claim 2, wherein said determining the priority parameter of each message comprises:
    在每条报文中预置有所述每条报文的DSCP值的情况下,维持所述每条报文的DSCP值不变;In the case where the DSCP value of each message is preset in each message, keep the DSCP value of each message unchanged;
    在每条报文中未预置有所述每条报文的DSCP值的情况下,根据所述每条报文对应的网络切片的优先级,设置所述每条报文的DSCP值。If the DSCP value of each message is not preset in each message, the DSCP value of each message is set according to the priority of the network slice corresponding to each message.
  4. 根据权利要求3所述的方法,其中,所述网络切片的优先级根据所述网络切片的业务质量QoS确定。The method according to claim 3, wherein the priority of the network slice is determined according to the quality of service (QoS) of the network slice.
  5. 根据权利要求1-4中任一所述的方法,其中,令一个队列为预设队列,处理所述预设队列中的报文,包括:The method according to any one of claims 1-4, wherein making a queue a preset queue, and processing messages in the preset queue includes:
    根据所述预设队列中的多条报文的DSCP值,将所述多条报文放入N个子队列中,其中,N为大于或者等于2的整数;Put the multiple messages into N subqueues according to the DSCP values of the multiple messages in the preset queue, where N is an integer greater than or equal to 2;
    按照所述N个子队列的优先级顺序,依次处理所述N个子队列中的所述多条报文。Process the multiple messages in the N sub-queues sequentially according to the priority order of the N sub-queues.
  6. 根据权利要求5所述的方法,其中,N的取值为4;所述根据所述预设队列中的多条报文的DSCP值,将所述多条报文放入N个子队列中,包括:The method according to claim 5, wherein the value of N is 4; according to the DSCP values of the multiple messages in the preset queue, putting the multiple messages into N sub-queues, include:
    在一条报文的DSCP值小于或者等于第一阈值的情况下,将所述一条报文放入第一子队列中;When the DSCP value of a message is less than or equal to the first threshold, put the message into the first subqueue;
    在一条报文的DSCP值大于第一阈值、且小于或者等于第二阈值的情况下,将所述一条报文放入第二子队列中;When the DSCP value of a message is greater than the first threshold and less than or equal to the second threshold, putting the one message into the second subqueue;
    在一条报文的DSCP值大于第二阈值、且小于或者等于第三阈值的情况下,将所述一条报文放入第三子队列中;When the DSCP value of a message is greater than the second threshold and less than or equal to the third threshold, putting the message into a third subqueue;
    在一条报文的DSCP值大于第三阈值的情况下,将所述一条报文放入第四子队列中。If the DSCP value of a packet is greater than the third threshold, put the packet into the fourth sub-queue.
  7. 根据权利要求5或6所述的方法,其中,N的取值为4;The method according to claim 5 or 6, wherein the value of N is 4;
    四个子队列分别为:语音接入子队列、视频接入子队列、尽力接入子队列和后台接入子队列。The four sub-queues are: voice access sub-queue, video access sub-queue, best-effort access sub-queue and background access sub-queue.
  8. 根据权利要求1或2所述的方法,在所述确定每条报文的优先级参数后,还包括:According to the method according to claim 1 or 2, after said determining the priority parameter of each message, it also includes:
    在所述每条报文不具有可用令牌的情况下,丢弃所述每条报文;In the case that each message does not have an available token, discarding each message;
    在所述每条报文具有可用令牌的情况下,对所述每条报文进行流量整形。In the case that each message has an available token, perform traffic shaping on each message.
  9. 一种客户前置设备,包括:处理器;所述处理器设置为在执行计算机程序时实现如权利要求1-8中任一所述的报文处理方法。A client front-end device, comprising: a processor; the processor is configured to implement the message processing method according to any one of claims 1-8 when executing a computer program.
  10. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-8中任一所述的报文处理方法。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the message processing method according to any one of claims 1-8 is realized.
PCT/CN2022/123748 2021-12-06 2022-10-08 Message processing method, customer premise equipment (cpe) and computer readable storage medium WO2023103563A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111478352.4 2021-12-06
CN202111478352.4A CN114143831A (en) 2021-12-06 2021-12-06 Message processing method, client front-end equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2023103563A1 true WO2023103563A1 (en) 2023-06-15

Family

ID=80384368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/123748 WO2023103563A1 (en) 2021-12-06 2022-10-08 Message processing method, customer premise equipment (cpe) and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN114143831A (en)
WO (1) WO2023103563A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143831A (en) * 2021-12-06 2022-03-04 中兴通讯股份有限公司 Message processing method, client front-end equipment and computer readable storage medium
CN117439887A (en) * 2022-07-15 2024-01-23 中兴通讯股份有限公司 Data scheduling method, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990115A (en) * 2018-07-16 2018-12-11 鼎桥通信技术有限公司 A method of in trunked communication system multi-core network group guaranteed qos off the net
US10601724B1 (en) * 2018-11-01 2020-03-24 Cisco Technology, Inc. Scalable network slice based queuing using segment routing flexible algorithm
CN111082955A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Network slicing method, computer equipment and storage medium
US20200351756A1 (en) * 2019-05-01 2020-11-05 Verizon Patent And Licensing Inc. Method and system for application-based access control using network slicing
CN112468418A (en) * 2020-11-23 2021-03-09 盛科网络(苏州)有限公司 Multistage slice edge switching equipment and implementation method thereof
CN114143831A (en) * 2021-12-06 2022-03-04 中兴通讯股份有限公司 Message processing method, client front-end equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990115A (en) * 2018-07-16 2018-12-11 鼎桥通信技术有限公司 A method of in trunked communication system multi-core network group guaranteed qos off the net
CN111082955A (en) * 2018-10-22 2020-04-28 中兴通讯股份有限公司 Network slicing method, computer equipment and storage medium
US10601724B1 (en) * 2018-11-01 2020-03-24 Cisco Technology, Inc. Scalable network slice based queuing using segment routing flexible algorithm
US20200351756A1 (en) * 2019-05-01 2020-11-05 Verizon Patent And Licensing Inc. Method and system for application-based access control using network slicing
CN112468418A (en) * 2020-11-23 2021-03-09 盛科网络(苏州)有限公司 Multistage slice edge switching equipment and implementation method thereof
CN114143831A (en) * 2021-12-06 2022-03-04 中兴通讯股份有限公司 Message processing method, client front-end equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN114143831A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
WO2023103563A1 (en) Message processing method, customer premise equipment (cpe) and computer readable storage medium
US11422839B2 (en) Network policy implementation with multiple interfaces
US8780722B2 (en) Scheduling packet transmission on a client device using packet classifications including high priority network control packets
WO2020005276A1 (en) Technologies for cross-layer task distribution
WO2021238025A1 (en) Network congestion control method and related product
US11212230B2 (en) Quality of service control method, device, and system
CN109600248B (en) Method and device for determining quality of service and storage medium
CN113438108A (en) Communication acceleration method, device, base station and computer readable storage medium
EP2933963A1 (en) Offload method, device and system
WO2019192318A1 (en) Traffic smoothing method, server, and forwarding device
US20120120814A1 (en) Systems and methods for estimating processing workloads
CN114697387A (en) Data packet transmission method, device and storage medium
CN109729014B (en) Message storage method and device
WO2023241053A1 (en) Information processing method, and device and storage medium
WO2022247838A1 (en) Communication method, apparatus and system
WO2021013260A1 (en) Network transmission control method and apparatus
WO2021253964A1 (en) Microwave data processing method, apparatus, and device
WO2022225500A1 (en) Apparatus and method of multiple carrier slice-based uplink grant scheduling

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: 22902988

Country of ref document: EP

Kind code of ref document: A1