WO2021179648A1 - Data forwarding method in optical fiber communication and related device - Google Patents

Data forwarding method in optical fiber communication and related device Download PDF

Info

Publication number
WO2021179648A1
WO2021179648A1 PCT/CN2020/127464 CN2020127464W WO2021179648A1 WO 2021179648 A1 WO2021179648 A1 WO 2021179648A1 CN 2020127464 W CN2020127464 W CN 2020127464W WO 2021179648 A1 WO2021179648 A1 WO 2021179648A1
Authority
WO
WIPO (PCT)
Prior art keywords
slice
target service
service
downlink message
target
Prior art date
Application number
PCT/CN2020/127464
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 WO2021179648A1 publication Critical patent/WO2021179648A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Definitions

  • This application relates to the field of communication technology, and in particular to a data forwarding method and related devices in optical fiber communication.
  • traffic classification technology needs to be used to classify traffic.
  • traffic and traffic resources are controlled to provide different levels of services.
  • One method of traffic identification is to classify the traffic according to the PRI field in the virtual local area network (VLAN) frame header.
  • the length of the PRI field is 3 bits, which can represent 8 priority levels, and the values are 7, 6, 5, 4, 3, 2, 1, and 0 in descending order of priority.
  • the priority identification of each service the corresponding level of service quality can be obtained, such as service delay, jitter, and available bandwidth.
  • one type of business may include multiple sub-types of business, and different sub-types of business have different requirements for service quality.
  • the eight levels of service quality can no longer meet the actual business's demand for service quality.
  • the present application provides a data forwarding method and related devices in optical fiber communication, which can create a network slice for a target service, and schedule service data through the network slice, so as to meet the service quality requirements of the target service.
  • the first aspect provides a data forwarding method in optical fiber communication.
  • a slice of a target service is created, and the target service is a virtual reality service or a high-definition video live broadcast service; a downlink message sent by a broadband network gateway is received; When one or more of the five-tuple information of the downlink message is found in the information table, the downlink message is added to the slice of the target service; after obtaining the downlink message from the slice of the target service, the downlink message is sent to the optical Network terminal.
  • slicing is also called network slicing.
  • the high-definition video live broadcast service is a live video service with a resolution greater than 2K, such as a 4K live broadcast service or an 8K live broadcast service or higher resolution live broadcast service.
  • the 4K resolution adopted by the 4K live broadcast service is 4K resolution, which means that the pixel value of each row in the horizontal direction reaches or is close to 4096.
  • a network slice can be created for the target business, and the data of the target business can be scheduled through the network slice, so as to meet the service quality requirements of the target business.
  • the above method can create network slices for virtual reality services, network slices for high-definition video live broadcast services, and network slices for two services, and then use the two network slices to forward virtual reality service packets or high-definition video live broadcast services. Message.
  • the order in which the network slices of the two services are created is not limited, and they can be created one after the other or at the same time.
  • the above data forwarding method further includes: receiving an uplink packet sent by an optical network terminal before creating a slice of the target service; when five of the uplink packets are found in the preset information table. When one or more of the tuple information is used, a slice of the target business is created. This provides a way to create a network slice of the target service. In addition, network slices can be pre-created for the target service without the need for uplink messages.
  • adding the message to the slice of the target service includes: determining the target queue corresponding to the priority of the message; adding the message to the target queue; and obtaining the message from the slice of the target service.
  • the text includes: getting a message from the target queue.
  • the slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one.
  • the number of queues included in the target service slice is not limited. When the target service slice includes 8 queues and the priority identifier is also 8, the message can be added to the corresponding queue according to the priority.
  • the data forwarding method further includes: when one or more of the five-tuple information of the downlink message is not found in the preset information table, indicating that the downlink message If it does not belong to the target service, add the downlink message to the slice of the non-target service; obtain the downlink message from the slice of the non-target service; and send the downlink message to the optical network terminal.
  • Non-target business refers to business other than the target business.
  • non-target services can be scheduled in a network slice according to priority.
  • the scheduling priority of the slice of the target service is higher than the scheduling priority of the slice of the non-target service.
  • the target business can be prioritized to meet the service quality requirements of the target business.
  • the scheduling priority of the network slicing of the virtual reality service may be higher than, equal to, or lower than the network slicing of the high-definition video live broadcast service.
  • a data forwarding device in a second aspect, includes a first interface, a processing unit, and a second interface processing unit, configured to create a slice of a target service, the target service being a virtual reality service or a high-definition video live broadcast service; the first interface , Is used to receive the downlink message sent by the broadband network gateway; the processing unit is used to add the downlink message to the target service when one or more of the five-tuple information of the downlink message is found in the preset information table The slicing of the target service; the downlink packet is obtained from the slicing of the target service; the second interface is used to send the downlink packet to the optical network terminal.
  • the data forwarding device may specifically be an optical line terminal.
  • the first interface may be an Ethernet interface.
  • the second interface may be a passive optical fiber network interface. The number of Ethernet interfaces and passive optical network interfaces can be one or more.
  • the second interface is also used to receive the uplink packet sent by the optical network terminal; the processing unit is specifically used to find the quintuple of the uplink packet in the preset information table When one or more items in the information, create a slice of the target business.
  • the slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one; the processing unit is specifically configured to determine the target queue corresponding to the priority of the downlink packet ; Add the downlink message to the target queue; obtain the downlink message from the target queue.
  • the processing unit is further configured to add one or more of the quintuple information of the downlink message in the preset information table, adding the downlink message Slices of non-target services; Obtain downlink messages from slices of non-target services; Send downlink messages to the optical network terminal.
  • the scheduling priority of the slice of the target service is higher than the scheduling priority of the non-target service.
  • a third aspect provides a computer-readable storage medium in which a computer program is stored, which when running on a computer, causes the computer to execute the data forwarding method described in the first aspect.
  • the fourth aspect provides a computer program, which when running on a computer, causes the computer to execute the data forwarding method described in the first aspect.
  • a fifth aspect provides a chip system that includes a processor for supporting an optical line terminal to implement the functions involved in the above aspects, for example, sending or processing data and/or information involved in the above methods.
  • the chip system further includes a memory, and the memory is used to store necessary program instructions and data for the optical line terminal.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a schematic diagram of the optical fiber communication system in this application.
  • FIG. 2 is a flow chart of the data forwarding method in this application.
  • FIG. 3 is another signaling interaction diagram of the data forwarding method in this application.
  • Figure 4 is a schematic structural diagram of the data forwarding device in this application.
  • FIG. 1 is a schematic diagram of an optical fiber communication system.
  • the optical fiber communication system may include a user terminal 101, an optical network terminal (optical network terminal, ONT) 20, an optical line terminal (OLT) 30, a broadband network gateway (broadband network gateway, BNG) 40, and services. Server 50 etc.
  • ONT optical network terminal
  • ONT optical line terminal
  • BNG broadband network gateway
  • the user terminal 10 sends information, such as service information or user information, to the ONT 20.
  • the ONT 20 sends the above information to the OLT 30, and the OLT 30 classifies the above information according to service types, and then sends the above information to various service servers 50 through the BNG 40.
  • the service server 50 may provide one or more services, such as a video service, an audio service, a real-time communication service, and a batch transmission service.
  • the service data is dispatched and sent to the ONT 20, and the ONT 20 will send it to the user terminal 10.
  • the OLT can also implement device-based network element management and service-based security management and configuration management. Not only can it monitor and manage devices and ports, but it can also perform service activation and user status monitoring, and it can also allocate bandwidth according to the quality of service (QoS) or service level agreement (SLA) requirements of different users , As well as management and ranging of the ONT.
  • QoS quality of service
  • SLA service level agreement
  • BNG40 can also be used for bandwidth control.
  • the user terminal 10 may also be referred to as a terminal device, terminal, user equipment, electronic device, and so on.
  • the user terminal 10 may specifically be a digital TV, a personal computer, a mobile phone, a tablet computer, a virtual reality (VR) device, and the like.
  • One method classifies traffic according to the PRI field in the 802.1p domain of the virtual local area network (VLAN) frame header.
  • the length of the PRI field is 3 bits (bit), which can indicate a total of 8 priority levels.
  • the values are 7, 6, 5, 4, 3, 2, 1, and 0 in the order of priority, with different priorities Identifies different levels of service quality requirements.
  • the service can obtain the corresponding delay, jitter and available bandwidth.
  • the correspondence between the service type and the Ethernet priority can be as shown in Table 1:
  • Another method of traffic classification is to classify traffic according to the type of service (Tos) field of the IP message.
  • the Tos field includes 3 bits and can only represent 8 priority levels, so that only 8 types of services can be distinguished.
  • Another method of traffic classification is to classify the traffic based on the TC value of the IPv6 packet.
  • Another method of traffic classification is to classify traffic based on the EXP domain value of a multi-protocol label switching (multiprotocol label switching, MPLS) message. All of the above traffic classification methods can only distinguish limited types of business traffic.
  • MPLS multi-protocol label switching
  • video services include sub-categories such as VR services, high-definition video live broadcast services, and interactive Internet TV (IPTV) services.
  • IPTV Internet TV
  • VR services require lower latency.
  • the VR service flow and the IPTV service flow are scheduled together.
  • the IPTV service quality requirement is met, and it is difficult to meet the service quality requirement of the VR service (for example, the delay requirement).
  • scheduling high-definition video live service traffic and IPTV service traffic together will also be difficult to meet the delay requirements of the high-definition video live service.
  • this application classifies traffic according to IP quintuples, and then creates network slices for VR services or HD video live broadcast services, and uses network slices to schedule VR services Or high-definition video live broadcast service traffic to meet its service quality requirements.
  • the method for data forwarding performed by an optical line terminal is described in detail below. Referring to FIG. 2, an embodiment of the data forwarding method in this application includes:
  • Step 201 Create a slice of the target service, where the target service is a virtual reality service or a high-definition video live broadcast service.
  • slices are also called network slices.
  • Network slicing can provide an end-to-end virtual network, including not only the network, but also computing and storage functions. Network slicing can not only achieve service isolation, but also isolate the services of different users. You can create network slices for virtual reality services, you can also create network slices for high-definition video live broadcast services, and you can also create network slices for two services separately. The order in which the network slices of the two services are created is not limited, and they can be created one after the other or at the same time.
  • Step 202 Receive a downlink message sent by the broadband network gateway.
  • the broadband network gateway can receive the downlink message sent by the service server, and then send the downlink message to the optical line terminal.
  • Step 203 When one or more of the quintuple information of the downlink message is found in the preset information table, the downlink message is added to the slice of the target service.
  • the quintuple information includes: source IP address, source port number, destination IP address, destination port number, and protocol identifier.
  • the preset information table stores the server IP address of the target service, and when the source IP address of the downlink message is the server IP address of the target service, it is determined that the downlink message belongs to the target service message.
  • the preset information table stores the IP address of the user terminal. When the destination IP address of the downlink message is the IP address of the aforementioned user terminal, it is determined that the downlink message belongs to the target service message.
  • the preset information table stores a protocol identifier corresponding to the target service. When the downlink message carries the protocol identifier, it is determined that the downlink message belongs to the target service message.
  • the preset information table stores the source port number corresponding to the target service. When the source port number of the downlink message is consistent with the source port number stored in the preset information table, it indicates that the downlink message belongs to the message of the target service. In another example, the preset information table stores the destination port number corresponding to the target object. When the destination port number of the downlink message is consistent with the destination port number stored in the preset information table, it indicates that the downlink message belongs to the message of the target service.
  • the above describes the method for judging whether the downlink message belongs to the target service message according to one item in the quintuple information.
  • This application can also judge whether the downlink message belongs to the target service message according to multiple items in the quintuple information.
  • the information contained in the preset information table can be set according to actual judgment conditions, which is not limited in this application.
  • Step 204 Obtain a downlink message from the slice of the target service.
  • Step 205 Send the downlink message to the optical network terminal.
  • a network slice is created for the target service, so that the target service is separated from the non-target service.
  • the data of the target service is scheduled through network slicing, so that when non-target services are scheduled, the transmission of the target service will not be affected, thereby meeting the service quality requirements of the target service.
  • the above data forwarding method further includes: receiving an uplink message sent by an optical network terminal;
  • Creating a slice of the target service includes: creating a slice of the target service when one or more of the quintuple information of the uplink message is found in the preset information table.
  • the uplink message may be a service request or service data.
  • the preset information table When one or more of the five-tuple information of the uplink message is found in the preset information table, it means that the uplink message belongs to the message of the target service. At this time, a slice of the target service is created to facilitate the transmission of the target service. Subsequent messages.
  • the preset information table stores the address of the server IP of the target service.
  • the destination IP address of the uplink message is the address of the server IP of the target service, it is determined that the uplink message belongs to the message of the target service.
  • the preset information table stores the IP address of the user terminal.
  • the source IP address of the uplink message is the IP address of the user terminal, it is determined that the uplink message belongs to the message of the target service.
  • the preset information table stores a protocol identifier corresponding to the target service. When the uplink message carries the protocol identifier, it is determined that the uplink message belongs to the message of the target service.
  • the preset information table stores the source port number corresponding to the target service.
  • the preset information table stores the destination port number corresponding to the target service.
  • the uplink message carries the destination port number, it is determined that the uplink message belongs to the message of the target service.
  • optical line terminal can pre-create network slices for the target service without the need for uplink messages.
  • Adding the downlink message to the target service slice includes: determining the target queue corresponding to the priority of the downlink message; adding the downlink message to the target queue;
  • Obtaining the message from the slice of the target service includes: obtaining the downlink message from the target queue.
  • the slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one.
  • the message can be added to the queue according to the priority.
  • a VR service may include multiple sub-category services, and the service quality requirements of each sub-category service are different from those of other sub-category services. In this way, its sub-category services can be scheduled through 8 priority levels to meet the service quality requirements of its sub-category services.
  • the methods for setting the queue, adding to the queue, and exiting the queue can refer to the relevant description of the VR service slicing, which will not be repeated here.
  • the slice of the target service includes a queue.
  • the packets of the target service are scheduled through a queue.
  • the slice of the target service includes multiple queues, and each queue corresponds to multiple priorities.
  • the priority identifiers can be divided into 4 groups, for example, the first group includes priority 0 and priority 1, and the second group includes priority 2 and Priority 3, the third group includes priority 4 and priority 5, and the second group includes priority 6 and priority 7, so that a group of priority packets are added to a queue.
  • the priority included in each group can also be set in other ways, which is not limited in this application.
  • the above data forwarding method further includes: receiving an uplink message sent by an optical network terminal; when the quintuple information of the uplink message is found in the preset information table, The uplink message is added to the slice of the target service, the uplink message is obtained from the slice, and the uplink message is sent to the broadband network gateway. In this way, the uplink message can be transmitted through the slice of the target service. In another example, the uplink message may not be forwarded through the slice of the target service, but is directly sent by the optical line terminal to the broadband network gateway.
  • the foregoing data forwarding method further includes: when one or more of the five-tuple information of the downlink message is not found in the preset information table, adding the downlink message to the non-target service Slicing; Obtain the downlink message from the slice of the non-target service; Send the downlink message to the optical network terminal.
  • non-target services refer to services other than the target services.
  • the quintuple information of the downlink message is not found in the preset information table, it means that the downlink message does not belong to the target service, so the downlink message is added to the slice of the non-target service.
  • the downlink message can be added to the corresponding queue in the slice of the non-target service according to the priority. In this way, the target service and the non-target service are scheduled through different slices, which can ensure the independence of scheduling, so as to meet the service quality requirements of different services.
  • the scheduling priority of the slice of the target service is higher than the scheduling priority of the slice of the non-target service. In this way, the target business can be prioritized to meet the service quality requirements of the target business.
  • the scheduling priority of the network slicing of the virtual reality service may be higher than, equal to, or lower than the network slicing of the high-definition video live broadcast service.
  • an embodiment of the data forwarding method in this application includes:
  • Step 301 The user terminal sends the virtual reality service request to the optical network terminal.
  • Step 302 The optical line terminal receives the virtual reality service request sent by the optical network terminal.
  • Step 303 When the destination IP address carried in the virtual reality service request is found in the preset information table, the optical line terminal creates a slice of the virtual reality service.
  • Step 304 The optical line terminal sends the virtual reality service request to the broadband network gateway.
  • Step 305 The broadband network gateway forwards the virtual reality service request to the service server.
  • the service server can handle virtual reality services.
  • Step 306 The service server obtains virtual reality service data according to the virtual reality service request.
  • Step 307 The service server sends the virtual reality service data to the broadband network gateway.
  • Step 308 The broadband network gateway sends the virtual reality service data to the optical line terminal.
  • Step 309 When the source IP address of the virtual reality service data is found in the preset information table, the optical line terminal adds the virtual reality service data to the slice of the virtual reality service.
  • Step 310 The optical line terminal obtains virtual reality service data from the slice of the virtual reality service.
  • Step 311 The optical line terminal sends the virtual reality service data to the optical network terminal.
  • Step 312 The optical network terminal sends the virtual reality service data to the user terminal.
  • This method can effectively guarantee the service quality requirements of virtual reality services through network slicing.
  • the virtual reality service request, the virtual reality service data, the source IP address, the destination IP address, etc. are all illustrative examples, and are not intended to limit the application.
  • the present application provides a data forwarding device capable of implementing the data forwarding method in the embodiment shown in FIG. 2 or FIG. 3.
  • the data forwarding device may be an optical line terminal.
  • the data forwarding apparatus 400 includes a first interface 401, a processing unit 402, and a second interface 403:
  • the processing unit 402 is configured to create a slice of a target service, where the target service is a virtual reality service or a high-definition video live broadcast service;
  • the first interface 401 is used to receive a downlink message sent by a broadband network gateway;
  • the processing unit 402 is configured to, when one or more of the five-tuple information of the downlink message is found in the preset information table, add the downlink message to the slice of the target service; obtain the downlink message from the slice of the target service ;
  • the second interface 403 is used to send downlink packets to the optical network terminal.
  • the first interface 401 may be an Ethernet (ethernet, ETH) interface
  • the second interface 403 may be a passive optical network (PON) interface
  • the number of PON interfaces and ETH interfaces may be one or Multiple.
  • the second interface 403 is also used to receive uplink packets sent by the optical network terminal;
  • the processing unit 402 is specifically configured to create a slice of the target service when one or more of the quintuple information of the uplink packet is found in the preset information table.
  • the slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one;
  • the processing unit 402 is specifically configured to determine the target queue corresponding to the priority of the downlink message; add the downlink message to the target queue; and obtain the downlink message from the target queue.
  • the processing unit 402 is further configured to, when one or more of the quintuple information of the downlink message is not found in the preset information table, add the downlink message to the slice of the non-target service; from the slice of the non-target service Obtain the downlink message in the process; send the downlink message to the optical network terminal.
  • the scheduling priority of the slice of the target service is higher than the scheduling priority of the non-target service.
  • the present application provides a computer-readable storage medium in which a computer program is stored. When it runs on a computer, the computer can execute what is executed by the optical line terminal in the embodiment shown in FIG. 2 or FIG. 3 step.
  • the present application also provides a product including a computer program, which when running on a computer, enables the computer to execute the steps performed by the optical line terminal in the embodiment shown in FIG. 2 or FIG. 3 above.
  • the data forwarding device in this application may specifically be a chip in an optical line terminal.
  • the chip includes a processing unit and a communication unit.
  • the processing unit may be a processor, for example, and the communication unit may be an input/output interface, or a pin. Or circuits, etc.
  • the processing unit can execute the computer-executed instructions stored in the storage unit, so that the optical line terminal executes the data forwarding method in the embodiment shown in FIG. 2 or FIG. 3.
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the wireless access device, such as Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • ROM Read-only memory
  • RAM random access memory
  • the processor mentioned in any of the above can be a general-purpose central processing unit, a microprocessor, an application specific integrated circuit (ASIC) or one or more programs used to control the execution of the method in the first aspect. integrated circuit.
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separate.
  • the physical unit can be located in one place or distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the connection relationship between the modules indicates that they have a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
  • this application can be implemented by means of software plus necessary general hardware.
  • it can also be implemented by dedicated hardware including dedicated integrated circuits, dedicated CPUs, dedicated memory, Dedicated components and so on to achieve.
  • all functions completed by computer programs can be easily implemented with corresponding hardware.
  • the specific hardware structures used to achieve the same function can also be diverse, such as analog circuits, digital circuits or special-purpose circuits. Circuit etc.
  • software program implementation is a better implementation in more cases.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a computer floppy disk. , U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute the methods described in each embodiment of this application .
  • a computer device which can be a personal computer, server, or network device, etc.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • wired such as coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

A data forwarding method in optical fiber communication, comprising: creating a slice of a target service, the target service being a virtual reality service or a high-definition live video broadcasting service; receiving a downlink packet sent by a broadband network gateway; when one or more items in quintuple information of the downlink packet is found from a preset information table, adding the downlink packet in the slice of the target service; obtaining the downlink packet from the slice of the target service; and sending the downlink packet to an optical network terminal. The method can create a network slice for the target service, and schedule service data by means of the network slice, so as to satisfy the quality of service requirements of the target service. The present application also provides a data forwarding device for implementing the data forwarding method.

Description

一种光纤通信中的数据转发方法以及相关装置Data forwarding method and related device in optical fiber communication
本申请要求于2020年3月11日提交中国国家知识产权局、申请号为202010165877.1、发明名称为“一种光纤通信中的数据转发方法以及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China, the application number is 202010165877.1, and the invention title is "A method and related device for data forwarding in optical fiber communication" on March 11, 2020, and its entire contents Incorporated in this application by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种光纤通信中的数据转发方法以及相关装置。This application relates to the field of communication technology, and in particular to a data forwarding method and related devices in optical fiber communication.
背景技术Background technique
为了保障光纤通信中的通信服务质量,需要采用流量分类技术对流量进行分类。对于不同类型的流量,根据其相应的优先级或者服务等级特征,对流量和流量资源实施控制,从而提供不同级别的服务。In order to ensure the quality of communication services in optical fiber communications, traffic classification technology needs to be used to classify traffic. For different types of traffic, according to their corresponding priority or service level characteristics, the traffic and traffic resources are controlled to provide different levels of services.
一种流量识别方法是根据虚拟局域网(virtual local area network,VLAN)帧头中的PRI字段对流量进行分类。PRI字段的长度为3个比特,可以表示8个优先级,按照优先级从高到低顺序取值为7、6、5、4、3、2、1和0。根据每种业务的优先级标识可以获得相应等级的服务质量,例如业务时延、抖动和可用带宽。One method of traffic identification is to classify the traffic according to the PRI field in the virtual local area network (VLAN) frame header. The length of the PRI field is 3 bits, which can represent 8 priority levels, and the values are 7, 6, 5, 4, 3, 2, 1, and 0 in descending order of priority. According to the priority identification of each service, the corresponding level of service quality can be obtained, such as service delay, jitter, and available bandwidth.
由于实际业务种类的增加,一类业务可能包括多个子类业务,并且不同子类业务对于服务质量的要求存在差异,8个等级的服务质量已经不能满足实际业务对服务质量的需求。Due to the increase in actual business types, one type of business may include multiple sub-types of business, and different sub-types of business have different requirements for service quality. The eight levels of service quality can no longer meet the actual business's demand for service quality.
发明内容Summary of the invention
有鉴于此,本申请提供一种光纤通信中的数据转发方法以及相关装置,能够为目标业务创建网络切片,通过网络切片调度业务数据,从而满足目标业务的服务质量要求。In view of this, the present application provides a data forwarding method and related devices in optical fiber communication, which can create a network slice for a target service, and schedule service data through the network slice, so as to meet the service quality requirements of the target service.
第一方面提供一种光纤通信中的数据转发方法,在该方法中,创建目标业务的切片,目标业务为虚拟现实业务或者高清视频直播业务;接收宽带网络网关发送的下行报文;在预设信息表中查找到下行报文的五元组信息中的一项或多项时,将下行报文加入目标业务的切片;从目标业务的切片获取下行报文后,将下行报文发送给光网络终端。其中,切片也称为网络切片。高清视频直播业务是大于2K分辨率的视频直播业务,例如4K直播业务或者8K直播业务或更高分辨率的直播业务。4K直播业务采用的分辨率为4K分辨率,4K分辨率是指在水平方向上每行像素值达到或者接近4096个。The first aspect provides a data forwarding method in optical fiber communication. In this method, a slice of a target service is created, and the target service is a virtual reality service or a high-definition video live broadcast service; a downlink message sent by a broadband network gateway is received; When one or more of the five-tuple information of the downlink message is found in the information table, the downlink message is added to the slice of the target service; after obtaining the downlink message from the slice of the target service, the downlink message is sent to the optical Network terminal. Among them, slicing is also called network slicing. The high-definition video live broadcast service is a live video service with a resolution greater than 2K, such as a 4K live broadcast service or an 8K live broadcast service or higher resolution live broadcast service. The 4K resolution adopted by the 4K live broadcast service is 4K resolution, which means that the pixel value of each row in the horizontal direction reaches or is close to 4096.
这样能够为目标业务创建网络切片,通过网络切片调度目标业务的数据,从而满足目标业务的服务质量要求。上述方法可以为虚拟现实业务创建网络切片,也可以为高清视频直播业务创建网络切片,还可以创建两个业务的网络切片,然后使用两个网络切片分别转发虚拟现实业务报文或者高清视频直播业务报文。创建两个业务的网络切片的先后顺序不作限定,可以是先后创建,也可以是同时创建。In this way, a network slice can be created for the target business, and the data of the target business can be scheduled through the network slice, so as to meet the service quality requirements of the target business. The above method can create network slices for virtual reality services, network slices for high-definition video live broadcast services, and network slices for two services, and then use the two network slices to forward virtual reality service packets or high-definition video live broadcast services. Message. The order in which the network slices of the two services are created is not limited, and they can be created one after the other or at the same time.
在第一方面的一种可能的实现方式中,上述数据转发方法还包括:在创建目标业务的切片之前接收光网络终端发送的上行报文;当预设信息表中查找到上行报文的五元组信息中的一项或多项时,创建目标业务的切片。这样提供了一种创建目标业务的网络切片的方法。另外,不需要上行报文也可以为目标业务预先创建网络切片。In a possible implementation of the first aspect, the above data forwarding method further includes: receiving an uplink packet sent by an optical network terminal before creating a slice of the target service; when five of the uplink packets are found in the preset information table. When one or more of the tuple information is used, a slice of the target business is created. This provides a way to create a network slice of the target service. In addition, network slices can be pre-created for the target service without the need for uplink messages.
在第一方面的另一种可能的实现方式中,将报文加入目标业务的切片包括:确定与报文 的优先级对应的目标队列;将报文加入目标队列;从目标业务的切片获取报文包括:从目标队列中获取报文。目标业务的切片包括多个队列,每个队列与优先级一一对应。目标业务切片包括的队列的数量不作限定。当目标业务切片包括8个队列且优先级标识也是8个时,可以根据优先级将报文加入相应队列。In another possible implementation of the first aspect, adding the message to the slice of the target service includes: determining the target queue corresponding to the priority of the message; adding the message to the target queue; and obtaining the message from the slice of the target service. The text includes: getting a message from the target queue. The slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one. The number of queues included in the target service slice is not limited. When the target service slice includes 8 queues and the priority identifier is also 8, the message can be added to the corresponding queue according to the priority.
在第一方面的另一种可能的实现方式中,数据转发方法还包括:在预设信息表中未查找到下行报文的五元组信息中的一项或多项时,表明下行报文不属于目标业务,将下行报文加入非目标业务的切片;从非目标业务的切片中获取下行报文;将下行报文发送给光网络终端。非目标业务是指除了目标业务之外的其他业务。在一种实现方式中,非目标业务可以在一个网络切片中按照优先级进行调度。In another possible implementation of the first aspect, the data forwarding method further includes: when one or more of the five-tuple information of the downlink message is not found in the preset information table, indicating that the downlink message If it does not belong to the target service, add the downlink message to the slice of the non-target service; obtain the downlink message from the slice of the non-target service; and send the downlink message to the optical network terminal. Non-target business refers to business other than the target business. In one implementation, non-target services can be scheduled in a network slice according to priority.
在第一方面的另一种可能的实现方式中,目标业务的切片的调度优先级高于非目标业务的切片的调度优先级。这样可以优先调度目标业务,从而满足目标业务的服务质量要求。同时存在虚拟现实业务的网络切片或者高清视频直播业务的网络切片的情况下,虚拟现实业务的网络切片的调度优先级可以高于、等于或低于高清视频直播业务的网络切片。In another possible implementation manner of the first aspect, the scheduling priority of the slice of the target service is higher than the scheduling priority of the slice of the non-target service. In this way, the target business can be prioritized to meet the service quality requirements of the target business. In the case where there are network slicing of the virtual reality service or the network slicing of the high-definition video live broadcast service at the same time, the scheduling priority of the network slicing of the virtual reality service may be higher than, equal to, or lower than the network slicing of the high-definition video live broadcast service.
第二方面提供一种数据转发装置,数据转发装置包括第一接口、处理单元和第二接口处理单元,用于创建目标业务的切片,目标业务为虚拟现实业务或者高清视频直播业务;第一接口,用于接收宽带网络网关发送的下行报文;处理单元,用于在预设信息表中查找到下行报文的五元组信息中的一项或多项时,将下行报文加入目标业务的切片;从目标业务的切片获取下行报文;第二接口,用于将下行报文发送给光网络终端。数据转发装置具体可以是光线路终端。第一接口可以是以太网接口。第二接口可以是无源光纤网络接口。以太网接口和无源光纤网络接口的数量可以是一个或多个。In a second aspect, a data forwarding device is provided. The data forwarding device includes a first interface, a processing unit, and a second interface processing unit, configured to create a slice of a target service, the target service being a virtual reality service or a high-definition video live broadcast service; the first interface , Is used to receive the downlink message sent by the broadband network gateway; the processing unit is used to add the downlink message to the target service when one or more of the five-tuple information of the downlink message is found in the preset information table The slicing of the target service; the downlink packet is obtained from the slicing of the target service; the second interface is used to send the downlink packet to the optical network terminal. The data forwarding device may specifically be an optical line terminal. The first interface may be an Ethernet interface. The second interface may be a passive optical fiber network interface. The number of Ethernet interfaces and passive optical network interfaces can be one or more.
在第二方面的一种可能实现方式中,第二接口,还用于接收光网络终端发送的上行报文;处理单元,具体用于当预设信息表中查找到上行报文的五元组信息中的一项或多项时,创建目标业务的切片。In a possible implementation of the second aspect, the second interface is also used to receive the uplink packet sent by the optical network terminal; the processing unit is specifically used to find the quintuple of the uplink packet in the preset information table When one or more items in the information, create a slice of the target business.
在第二方面的另一种可能实现方式中,目标业务的切片包括多个队列,每个队列与优先级一一对应;处理单元,具体用于确定与下行报文的优先级对应的目标队列;将下行报文加入目标队列;从目标队列中获取下行报文。In another possible implementation manner of the second aspect, the slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one; the processing unit is specifically configured to determine the target queue corresponding to the priority of the downlink packet ; Add the downlink message to the target queue; obtain the downlink message from the target queue.
在第二方面的另一种可能实现方式中,处理单元,还用于在预设信息表中未查找到下行报文的五元组信息中的一项或多项时,将下行报文加入非目标业务的切片;从非目标业务的切片中获取下行报文;将下行报文发送给光网络终端。In another possible implementation manner of the second aspect, the processing unit is further configured to add one or more of the quintuple information of the downlink message in the preset information table, adding the downlink message Slices of non-target services; Obtain downlink messages from slices of non-target services; Send downlink messages to the optical network terminal.
在第二方面的另一种可能实现方式中,目标业务的切片的调度优先级高于非目标业务的调度优先级。In another possible implementation manner of the second aspect, the scheduling priority of the slice of the target service is higher than the scheduling priority of the non-target service.
对于本申请第二方面提供的数据转发装置的组成模块执行第二方面以及第二方面的各种可能实现方式的具体实现步骤,以及每种实现方式所带来的有益效果,均可以参考第一方面以及第一方面中各种可能的实现方式中的描述,此处不再一一赘述。For the specific implementation steps of the component modules of the data forwarding device provided in the second aspect of the present application that execute the second aspect and various possible implementation manners of the second aspect, as well as the beneficial effects brought by each implementation manner, please refer to the first The descriptions of aspects and various possible implementation manners in the first aspect are not repeated here.
第三方面提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行第一方面所述的数据转发方法。A third aspect provides a computer-readable storage medium in which a computer program is stored, which when running on a computer, causes the computer to execute the data forwarding method described in the first aspect.
第四方面提供一种计算机程序,当其在计算机上运行时,使得计算机执行第一方面所述的数据转发方法。The fourth aspect provides a computer program, which when running on a computer, causes the computer to execute the data forwarding method described in the first aspect.
第五方面提供一种芯片系统,该芯片系统包括处理器,用于支持光线路终端实现上述方面中涉及的功能,例如,发送或处理上述方法中涉及的数据和/或信息。在一种可能的设计中, 所述芯片系统还包括存储器,所述存储器用于保存光线路终端必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。A fifth aspect provides a chip system that includes a processor for supporting an optical line terminal to implement the functions involved in the above aspects, for example, sending or processing data and/or information involved in the above methods. In a possible design, the chip system further includes a memory, and the memory is used to store necessary program instructions and data for the optical line terminal. The chip system can be composed of chips, and can also include chips and other discrete devices.
附图说明Description of the drawings
图1为本申请中光纤通信系统的一个示意图;Figure 1 is a schematic diagram of the optical fiber communication system in this application;
图2为本申请中数据转发方法的一个流程图;Figure 2 is a flow chart of the data forwarding method in this application;
图3为本申请中数据转发方法的另一个信令交互图;Figure 3 is another signaling interaction diagram of the data forwarding method in this application;
图4为本申请中数据转发装置的一个结构示意图。Figure 4 is a schematic structural diagram of the data forwarding device in this application.
具体实施方式Detailed ways
本申请的数据转发方法可以应用于光纤通信系统。图1为一种光纤通信系统的示意图。参阅图1,光纤通信系统可以包括用户终端101、光网络终端(optical network terminal,ONT)20、光线路终端(optical line terminal,OLT)30和宽带网络网关(broadband network gateway,BNG)40和业务服务器50等。The data forwarding method of this application can be applied to an optical fiber communication system. Figure 1 is a schematic diagram of an optical fiber communication system. Referring to Fig. 1, the optical fiber communication system may include a user terminal 101, an optical network terminal (optical network terminal, ONT) 20, an optical line terminal (OLT) 30, a broadband network gateway (broadband network gateway, BNG) 40, and services. Server 50 etc.
在上行方向上,用户终端10向ONT20发送信息,例如业务信息或用户信息。ONT20将上述信息发送给OLT30,OLT30将上述信息按照业务类型进行分类,然后通过BNG40分别送入各种业务服务器50。业务服务器50可以提供一种或多种业务,例如视频业务、音频业务、实时通信业务、批量传输业务等。在下行方向上,OLT30将各种业务数据汇聚后,对业务数据进行调度后发送至ONT20,ONT20将发送给用户终端10。In the upstream direction, the user terminal 10 sends information, such as service information or user information, to the ONT 20. The ONT 20 sends the above information to the OLT 30, and the OLT 30 classifies the above information according to service types, and then sends the above information to various service servers 50 through the BNG 40. The service server 50 may provide one or more services, such as a video service, an audio service, a real-time communication service, and a batch transmission service. In the downstream direction, after the OLT 30 aggregates various service data, the service data is dispatched and sent to the ONT 20, and the ONT 20 will send it to the user terminal 10.
除了对业务数据进行汇聚和转发之外,OLT还可以实现基于设备的网元管理和基于业务的安全管理和配置管理。不仅可以监测、管理设备及端口,还可以进行业务开通和用户状态监测,而且还能够针对不同用户的服务质量(quality of service,QoS)或服务等级协议(service level agreement,SLA)要求进行带宽分配,以及对ONT进行管理和测距等。除了OLT30进行带宽控制之外,BNG40也可以用于带宽控制。用户终端10也可以称为终端设备、终端、用户设备、电子设备等。用户终端10具体可以是数字电视、个人电脑、手机、平板电脑、虚拟现实(virtual reality,VR)设备等。In addition to converging and forwarding service data, the OLT can also implement device-based network element management and service-based security management and configuration management. Not only can it monitor and manage devices and ports, but it can also perform service activation and user status monitoring, and it can also allocate bandwidth according to the quality of service (QoS) or service level agreement (SLA) requirements of different users , As well as management and ranging of the ONT. In addition to OLT30 for bandwidth control, BNG40 can also be used for bandwidth control. The user terminal 10 may also be referred to as a terminal device, terminal, user equipment, electronic device, and so on. The user terminal 10 may specifically be a digital TV, a personal computer, a mobile phone, a tablet computer, a virtual reality (VR) device, and the like.
在上述光纤通信系统的数据转发过程中,目前有多种简单的流量分类方法。一种方法根据虚拟局域网(virtual local area network,VLAN)帧头的802.1p域中的PRI字段进行流量分类。PRI字段的长度为3比特(bit),一共可以表示8个优先级,按照优先级从高到低顺序取值为7、6、5、4、3、2、1和0,不同的优先级标识了不同等级的服务质量需求。每一种业务映射到对应优先级队列时,该业务可以获得相应的时延、抖动和可用带宽。在上述流量分类方法中,业务类型与以太网优先级的对应关系可以如表1所示:In the data forwarding process of the above-mentioned optical fiber communication system, there are currently a variety of simple traffic classification methods. One method classifies traffic according to the PRI field in the 802.1p domain of the virtual local area network (VLAN) frame header. The length of the PRI field is 3 bits (bit), which can indicate a total of 8 priority levels. The values are 7, 6, 5, 4, 3, 2, 1, and 0 in the order of priority, with different priorities Identifies different levels of service quality requirements. When each service is mapped to the corresponding priority queue, the service can obtain the corresponding delay, jitter and available bandwidth. In the above traffic classification method, the correspondence between the service type and the Ethernet priority can be as shown in Table 1:
Figure PCTCN2020127464-appb-000001
Figure PCTCN2020127464-appb-000001
Figure PCTCN2020127464-appb-000002
Figure PCTCN2020127464-appb-000002
表1Table 1
另一种流量分类方法是根据IP报文的服务类型(type of service,Tos)字段进行流量分类,Tos字段包括3比特,也只能表示8个优先级,这样只能区分8种业务。另一种流量分类方法是根据IPv6报文的TC值进行流量分类。另一种流量分类方法是根据多协议标签交换(multi protocol label switching,MPLS)报文的EXP域值进行流量分类。在以上流量分类方法都只能区分有限种类的业务流量。Another method of traffic classification is to classify traffic according to the type of service (Tos) field of the IP message. The Tos field includes 3 bits and can only represent 8 priority levels, so that only 8 types of services can be distinguished. Another method of traffic classification is to classify the traffic based on the TC value of the IPv6 packet. Another method of traffic classification is to classify traffic based on the EXP domain value of a multi-protocol label switching (multiprotocol label switching, MPLS) message. All of the above traffic classification methods can only distinguish limited types of business traffic.
以视频业务为例,视频业务包括VR业务、高清视频直播业务和交互式网络电视(IPTV)业务等子类业务。与IPTV业务相比,VR业务要求更低时延。按照上述方法将VR业务流量和IPTV业务流量一起进行调度,此时只满足了IPTV的服务质量要求,难以满足VR业务的服务质量要求(例如时延要求)。同理,将高清视频直播业务流量和IPTV业务流量一起进行调度,也难以满足高清视频直播业务的时延要求。Taking video services as an example, video services include sub-categories such as VR services, high-definition video live broadcast services, and interactive Internet TV (IPTV) services. Compared with IPTV services, VR services require lower latency. According to the above method, the VR service flow and the IPTV service flow are scheduled together. At this time, only the IPTV service quality requirement is met, and it is difficult to meet the service quality requirement of the VR service (for example, the delay requirement). In the same way, scheduling high-definition video live service traffic and IPTV service traffic together will also be difficult to meet the delay requirements of the high-definition video live service.
为了满足在光纤通信中VR业务或高清视频直播业务的服务质量要求,本申请按照IP五元组对流量进行分类,然后对VR业务或高清视频直播业务创建网络切片,使用网络切片来调度VR业务或高清视频直播业务的流量,从而满足其服务质量要求。下面以光线路终端执行数据转发方法进行详细介绍,参阅图2,本申请中数据转发方法的一个实施例包括:In order to meet the service quality requirements of VR services or HD video live broadcast services in optical fiber communication, this application classifies traffic according to IP quintuples, and then creates network slices for VR services or HD video live broadcast services, and uses network slices to schedule VR services Or high-definition video live broadcast service traffic to meet its service quality requirements. The method for data forwarding performed by an optical line terminal is described in detail below. Referring to FIG. 2, an embodiment of the data forwarding method in this application includes:
步骤201、创建目标业务的切片,目标业务为虚拟现实业务或者高清视频直播业务。Step 201: Create a slice of the target service, where the target service is a virtual reality service or a high-definition video live broadcast service.
本实施例中,切片也称为网络切片。网络切片可以提供一个端到端的虚拟网络,不仅包括网络,还包括计算和存储功能。网络切片不仅能够实现业务隔离,还可以隔离不同用户的业务。可以为虚拟现实业务创建网络切片,也可以为高清视频直播业务创建网络切片,还可以分别创建两个业务的网络切片。创建两个业务的网络切片的先后顺序不作限定,可以是先后创建,也可以是同时创建。In this embodiment, slices are also called network slices. Network slicing can provide an end-to-end virtual network, including not only the network, but also computing and storage functions. Network slicing can not only achieve service isolation, but also isolate the services of different users. You can create network slices for virtual reality services, you can also create network slices for high-definition video live broadcast services, and you can also create network slices for two services separately. The order in which the network slices of the two services are created is not limited, and they can be created one after the other or at the same time.
步骤202、接收宽带网络网关发送的下行报文。Step 202: Receive a downlink message sent by the broadband network gateway.
宽带网络网关可以接收业务服务器发送的下行报文,然后将下行报文发送给光线路终端。The broadband network gateway can receive the downlink message sent by the service server, and then send the downlink message to the optical line terminal.
步骤203、在预设信息表中查找到下行报文的五元组信息中的一项或多项时,将下行报文加入目标业务的切片。Step 203: When one or more of the quintuple information of the downlink message is found in the preset information table, the downlink message is added to the slice of the target service.
五元组信息包括:源IP地址、源端口号、目的IP地址、目的端口号和协议标识。例如,预设信息表存储有目标业务的服务器IP地址,当下行报文的源IP地址为目标业务的服务器IP地址时,确定下行报文属于目标业务报文。在另一个例子中,预设信息表存储有用户终端的IP地址。当下行报文的目的IP地址为上述用户终端的IP地址时,确定下行报文属于目标业务报文。在另一个例子中,预设信息表存储有与目标业务对应的协议标识。当下行报文携带有该协议标识时,确定下行报文属于目标业务报文。在另一个例子中,预设信息表存储有目标业务对应的源端口号。当下行报文的源端口号与预设信息表中存储的源端口号一致时,表示下行报文属于目标业务的报文。在另一个例子中,预设信息表存储有目标物对应的目的端口号。当下行报文的目的端口号与预设信息表中存储的目的端口号一致时,表示下行报文属于目标业务的报文。The quintuple information includes: source IP address, source port number, destination IP address, destination port number, and protocol identifier. For example, the preset information table stores the server IP address of the target service, and when the source IP address of the downlink message is the server IP address of the target service, it is determined that the downlink message belongs to the target service message. In another example, the preset information table stores the IP address of the user terminal. When the destination IP address of the downlink message is the IP address of the aforementioned user terminal, it is determined that the downlink message belongs to the target service message. In another example, the preset information table stores a protocol identifier corresponding to the target service. When the downlink message carries the protocol identifier, it is determined that the downlink message belongs to the target service message. In another example, the preset information table stores the source port number corresponding to the target service. When the source port number of the downlink message is consistent with the source port number stored in the preset information table, it indicates that the downlink message belongs to the message of the target service. In another example, the preset information table stores the destination port number corresponding to the target object. When the destination port number of the downlink message is consistent with the destination port number stored in the preset information table, it indicates that the downlink message belongs to the message of the target service.
以上介绍了根据五元组信息中的一项判断下行报文是否属于目标业务报文的方法,本申请还可以根据五元组信息中的多项判断下行报文是否属于目标业务的报文。预设信息表包含的信息可以根据实际判断条件进行设置,本申请不作限定。The above describes the method for judging whether the downlink message belongs to the target service message according to one item in the quintuple information. This application can also judge whether the downlink message belongs to the target service message according to multiple items in the quintuple information. The information contained in the preset information table can be set according to actual judgment conditions, which is not limited in this application.
步骤204、从目标业务的切片获取下行报文。Step 204: Obtain a downlink message from the slice of the target service.
步骤205、将下行报文发送给光网络终端。Step 205: Send the downlink message to the optical network terminal.
本实施例为目标业务创建网络切片,使得目标业务和非目标业务隔离。通过网络切片调度目标业务的数据,这样调度非目标业务时不会影响目标业务的传输,从而满足目标业务的服务质量要求。In this embodiment, a network slice is created for the target service, so that the target service is separated from the non-target service. The data of the target service is scheduled through network slicing, so that when non-target services are scheduled, the transmission of the target service will not be affected, thereby meeting the service quality requirements of the target service.
其次,通过目标业务的切片还可以实现对不同用户的相同业务进行隔离,从而能够更好的保障业务的服务质量。Secondly, through the slicing of the target business, it is also possible to isolate the same business of different users, so as to better guarantee the service quality of the business.
在一个可选实施例中,In an alternative embodiment,
上述数据转发方法还包括:接收光网络终端发送的上行报文;The above data forwarding method further includes: receiving an uplink message sent by an optical network terminal;
创建目标业务的切片包括:当预设信息表中查找到上行报文的五元组信息中的一项或多项时,创建目标业务的切片。Creating a slice of the target service includes: creating a slice of the target service when one or more of the quintuple information of the uplink message is found in the preset information table.
本实施例中,上行报文可以是业务请求或业务数据。当预设信息表中查找到上行报文的五元组信息中的一项或多项时,表示上行报文属于目标业务的报文,此时创建目标业务的切片,以便于传输目标业务的后续报文。In this embodiment, the uplink message may be a service request or service data. When one or more of the five-tuple information of the uplink message is found in the preset information table, it means that the uplink message belongs to the message of the target service. At this time, a slice of the target service is created to facilitate the transmission of the target service. Subsequent messages.
例如,预设信息表存储有目标业务的服务器IP的地址。当上行报文的目的IP地址为目标业务的服务器IP的地址时,确定上行报文属于目标业务的报文。在另一个例子中,预设信息表存储有用户终端的IP的地址。当上行报文的源IP地址为该用户终端的IP地址时,确定上行报文属于目标业务的报文。在另一个例子中,预设信息表存储有与目标业务对应的协议标识。当上行报文携带有该协议标识时,确定上行报文属于目标业务的报文。在另一个例子中,预设信息表存储有与目标业务对应的源端口号。当上行报文携带有该源端口号时,确定上行报文属于目标业务的报文。在另一个例子中,预设信息表存储有与目标业务对应的目的端口号。当上行报文携带有该目的端口号时,确定上行报文属于目标业务的报文。For example, the preset information table stores the address of the server IP of the target service. When the destination IP address of the uplink message is the address of the server IP of the target service, it is determined that the uplink message belongs to the message of the target service. In another example, the preset information table stores the IP address of the user terminal. When the source IP address of the uplink message is the IP address of the user terminal, it is determined that the uplink message belongs to the message of the target service. In another example, the preset information table stores a protocol identifier corresponding to the target service. When the uplink message carries the protocol identifier, it is determined that the uplink message belongs to the message of the target service. In another example, the preset information table stores the source port number corresponding to the target service. When the upstream message carries the source port number, it is determined that the upstream message belongs to the message of the target service. In another example, the preset information table stores the destination port number corresponding to the target service. When the uplink message carries the destination port number, it is determined that the uplink message belongs to the message of the target service.
这样提供了一种根据上行报文的五元组信息创建目标业务的切片的可行方法。另外,光线路终端不需要上行报文也可以为目标业务预先创建网络切片。This provides a feasible method for creating a slice of the target service based on the quintuple information of the uplink message. In addition, the optical line terminal can pre-create network slices for the target service without the need for uplink messages.
在另一个可选实施例中,In another alternative embodiment,
将下行报文加入目标业务的切片包括:确定与下行报文的优先级对应的目标队列;将下行报文加入目标队列;Adding the downlink message to the target service slice includes: determining the target queue corresponding to the priority of the downlink message; adding the downlink message to the target queue;
从目标业务的切片获取报文包括:从目标队列中获取下行报文。Obtaining the message from the slice of the target service includes: obtaining the downlink message from the target queue.
本实施例中,目标业务的切片包括多个队列,每个队列与优先级一一对应。In this embodiment, the slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one.
例如,当目标业务切片包括8个队列且优先级标识也是8个时,可以根据优先级将报文加入队列。具体的,VR业务可以包括多个子类业务,每个子类业务的服务质量要求不同于其他子类业务的服务质量要求。这样通过8个优先级可以对其子类业务进行调度,满足其子类业务的服务质量要求。对于高清视频直播业务的网络切片中的队列,设置队列、加入队列与退出队列的方法可参阅VR业务切片的相关描述,此处不再赘述。For example, when the target service slice includes 8 queues and the priority identifier is also 8, the message can be added to the queue according to the priority. Specifically, a VR service may include multiple sub-category services, and the service quality requirements of each sub-category service are different from those of other sub-category services. In this way, its sub-category services can be scheduled through 8 priority levels to meet the service quality requirements of its sub-category services. For the queues in the network slicing of the high-definition video live broadcast service, the methods for setting the queue, adding to the queue, and exiting the queue can refer to the relevant description of the VR service slicing, which will not be repeated here.
在另一个可选实施例中,目标业务的切片包括一个队列。目标业务的报文通过一个队列进行调度。In another optional embodiment, the slice of the target service includes a queue. The packets of the target service are scheduled through a queue.
在另一个可选实施例中,目标业务的切片包括多个队列,每个队列对应多个优先级。例 如,当目标业务切片包括4个队列且优先级标识是8个时,可以将优先级标识划分为4组,例如第一组包括优先级0和优先级1,第二组包括优先级2和优先级3,第三组包括优先级4和优先级5,第二组包括优先级6和优先级7,这样将一组优先级的报文加入一个队列。每组包括的优先级还可以按照其他方式设置,本申请不作限定。In another optional embodiment, the slice of the target service includes multiple queues, and each queue corresponds to multiple priorities. For example, when the target service slice includes 4 queues and priority identifiers are 8, the priority identifiers can be divided into 4 groups, for example, the first group includes priority 0 and priority 1, and the second group includes priority 2 and Priority 3, the third group includes priority 4 and priority 5, and the second group includes priority 6 and priority 7, so that a group of priority packets are added to a queue. The priority included in each group can also be set in other ways, which is not limited in this application.
在另一个例子中,在创建目标业务的切片之后,上述数据转发方法还包括:接收光网络终端发送的上行报文;在预设信息表中查找到上行报文的五元组信息时,将上行报文加入目标业务的切片,从切片获取上行报文,将上行报文发送给宽带网络网关。这样通过目标业务的切片可以传输上行报文。在另一个例子,上行报文也可以不通过该目标业务的切片转发,而是由光线路终端直接发送给宽带网络网关。In another example, after creating a slice of the target service, the above data forwarding method further includes: receiving an uplink message sent by an optical network terminal; when the quintuple information of the uplink message is found in the preset information table, The uplink message is added to the slice of the target service, the uplink message is obtained from the slice, and the uplink message is sent to the broadband network gateway. In this way, the uplink message can be transmitted through the slice of the target service. In another example, the uplink message may not be forwarded through the slice of the target service, but is directly sent by the optical line terminal to the broadband network gateway.
在另一个可选实施例中,上述数据转发方法还包括:在预设信息表中未查找到下行报文的五元组信息中的一项或多项时,将下行报文加入非目标业务的切片;从非目标业务的切片中获取下行报文;将下行报文发送给光网络终端。In another optional embodiment, the foregoing data forwarding method further includes: when one or more of the five-tuple information of the downlink message is not found in the preset information table, adding the downlink message to the non-target service Slicing; Obtain the downlink message from the slice of the non-target service; Send the downlink message to the optical network terminal.
本实施例中,非目标业务是指除了目标业务之外的其他业务。在预设信息表中未查找到下行报文的五元组信息中的一项或多项时,表示该下行报文不属于目标业务,因此将该下行报文加入非目标业务的切片。具体的,可以根据优先级将下行报文加入非目标业务的切片中的相应队列。这样目标业务和非目标业务通过不同的切片来调度,能够保证调度的独立性,从而满足不同业务的服务质量要求。In this embodiment, non-target services refer to services other than the target services. When one or more of the quintuple information of the downlink message is not found in the preset information table, it means that the downlink message does not belong to the target service, so the downlink message is added to the slice of the non-target service. Specifically, the downlink message can be added to the corresponding queue in the slice of the non-target service according to the priority. In this way, the target service and the non-target service are scheduled through different slices, which can ensure the independence of scheduling, so as to meet the service quality requirements of different services.
在另一个可选实施例中,目标业务的切片的调度优先级高于非目标业务的切片的调度优先级。这样可以优先调度目标业务,从而满足目标业务的服务质量要求。In another optional embodiment, the scheduling priority of the slice of the target service is higher than the scheduling priority of the slice of the non-target service. In this way, the target business can be prioritized to meet the service quality requirements of the target business.
对于同时存在虚拟现实业务的网络切片或者高清视频直播业务的网络切片的情况,虚拟现实业务的网络切片的调度优先级可以高于、等于或低于高清视频直播业务的网络切片。In the case where there are network slicing of the virtual reality service or the network slicing of the high-definition video live broadcast service at the same time, the scheduling priority of the network slicing of the virtual reality service may be higher than, equal to, or lower than the network slicing of the high-definition video live broadcast service.
为便于理解,下面以一个业务处理过程对本申请的数据转发方法进行介绍。参阅图3,本申请中数据转发方法的一个实施例包括:For ease of understanding, the following describes the data forwarding method of this application with a business processing process. Referring to FIG. 3, an embodiment of the data forwarding method in this application includes:
步骤301、用户终端将虚拟现实业务请求发送给光网络终端。Step 301: The user terminal sends the virtual reality service request to the optical network terminal.
步骤302、光线路终端接收光网络终端发送的虚拟现实业务请求。Step 302: The optical line terminal receives the virtual reality service request sent by the optical network terminal.
步骤303、当预设信息表中查找到虚拟现实业务请求携带的目的IP地址时,光线路终端创建虚拟现实业务的切片。Step 303: When the destination IP address carried in the virtual reality service request is found in the preset information table, the optical line terminal creates a slice of the virtual reality service.
步骤304、光线路终端将虚拟现实业务请求发送给宽带网络网关。Step 304: The optical line terminal sends the virtual reality service request to the broadband network gateway.
步骤305、宽带网络网关将虚拟现实业务请求转发给业务服务器。该业务服务器可以处理虚拟现实业务。Step 305: The broadband network gateway forwards the virtual reality service request to the service server. The service server can handle virtual reality services.
步骤306、业务服务器根据虚拟现实业务请求获取虚拟现实业务数据。Step 306: The service server obtains virtual reality service data according to the virtual reality service request.
步骤307、业务服务器将虚拟现实业务数据发送给宽带网络网关。Step 307: The service server sends the virtual reality service data to the broadband network gateway.
步骤308、宽带网络网关将虚拟现实业务数据发送给光线路终端。Step 308: The broadband network gateway sends the virtual reality service data to the optical line terminal.
步骤309、当预设信息表中查找到虚拟现实业务数据的源IP地址时,光线路终端将虚拟现实业务数据加入虚拟现实业务的切片。Step 309: When the source IP address of the virtual reality service data is found in the preset information table, the optical line terminal adds the virtual reality service data to the slice of the virtual reality service.
步骤310、光线路终端从虚拟现实业务的切片获取虚拟现实业务数据。Step 310: The optical line terminal obtains virtual reality service data from the slice of the virtual reality service.
步骤311、光线路终端将虚拟现实业务数据发送给光网络终端。Step 311: The optical line terminal sends the virtual reality service data to the optical network terminal.
步骤312、光网络终端将虚拟现实业务数据发送给用户终端。Step 312: The optical network terminal sends the virtual reality service data to the user terminal.
该方法通过网络切片能够有效保障虚拟现实业务的服务质量要求。其中,虚拟现实业务请求、虚拟现实业务数据、源IP地址、目的IP地址等均为示意性举例,并不作为对本申请 的限制。This method can effectively guarantee the service quality requirements of virtual reality services through network slicing. Among them, the virtual reality service request, the virtual reality service data, the source IP address, the destination IP address, etc. are all illustrative examples, and are not intended to limit the application.
本申请提供一种数据转发装置能够实现图2或图3所示实施例中的数据转发方法。数据转发装置可以是光线路终端。The present application provides a data forwarding device capable of implementing the data forwarding method in the embodiment shown in FIG. 2 or FIG. 3. The data forwarding device may be an optical line terminal.
参阅图4,在一个实施例中,该数据转发装置400包括第一接口401、处理单元402和第二接口403:Referring to FIG. 4, in an embodiment, the data forwarding apparatus 400 includes a first interface 401, a processing unit 402, and a second interface 403:
处理单元402,用于创建目标业务的切片,目标业务为虚拟现实业务或者高清视频直播业务;The processing unit 402 is configured to create a slice of a target service, where the target service is a virtual reality service or a high-definition video live broadcast service;
第一接口401,用于接收宽带网络网关发送的下行报文;The first interface 401 is used to receive a downlink message sent by a broadband network gateway;
处理单元402,用于在预设信息表中查找到下行报文的五元组信息中的一项或多项时,将下行报文加入目标业务的切片;从目标业务的切片获取下行报文;The processing unit 402 is configured to, when one or more of the five-tuple information of the downlink message is found in the preset information table, add the downlink message to the slice of the target service; obtain the downlink message from the slice of the target service ;
第二接口403,用于将下行报文发送给光网络终端。The second interface 403 is used to send downlink packets to the optical network terminal.
本实施例中,第一接口401可以是以太网(ethernet,ETH)接口,第二接口403可以是无源光纤网络(passive optical network,PON)接口,PON接口和ETH接口的数量可以是一个或多个。In this embodiment, the first interface 401 may be an Ethernet (ethernet, ETH) interface, the second interface 403 may be a passive optical network (PON) interface, and the number of PON interfaces and ETH interfaces may be one or Multiple.
在一个可选实施例中,第二接口403,还用于接收光网络终端发送的上行报文;In an optional embodiment, the second interface 403 is also used to receive uplink packets sent by the optical network terminal;
处理单元402,具体用于当预设信息表中查找到上行报文的五元组信息中的一项或多项时,创建目标业务的切片。The processing unit 402 is specifically configured to create a slice of the target service when one or more of the quintuple information of the uplink packet is found in the preset information table.
在另一个可选实施例中,In another alternative embodiment,
目标业务的切片包括多个队列,每个队列与优先级一一对应;The slice of the target service includes multiple queues, and each queue corresponds to a priority one-to-one;
处理单元402,具体用于确定与下行报文的优先级对应的目标队列;将下行报文加入目标队列;从目标队列中获取下行报文。The processing unit 402 is specifically configured to determine the target queue corresponding to the priority of the downlink message; add the downlink message to the target queue; and obtain the downlink message from the target queue.
在另一个可选实施例中,In another alternative embodiment,
处理单元402,还用于在预设信息表中未查找到下行报文的五元组信息中的一项或多项时,将下行报文加入非目标业务的切片;从非目标业务的切片中获取下行报文;将下行报文发送给光网络终端。The processing unit 402 is further configured to, when one or more of the quintuple information of the downlink message is not found in the preset information table, add the downlink message to the slice of the non-target service; from the slice of the non-target service Obtain the downlink message in the process; send the downlink message to the optical network terminal.
在另一个可选实施例中,目标业务的切片的调度优先级高于非目标业务的调度优先级。In another optional embodiment, the scheduling priority of the slice of the target service is higher than the scheduling priority of the non-target service.
需要说明的是,上述装置各模块/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其带来的技术效果与本申请方法实施例相同,具体内容可参见本申请前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information interaction and execution process among the various modules/units of the above-mentioned device are based on the same concept as the method embodiment of the present application, and the technical effects brought by it are the same as those of the method embodiment of the present application, and the specific content may be Please refer to the description in the method embodiment shown above in this application, which will not be repeated here.
本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行如图2或图3所示实施例中由光线路终端执行的步骤。The present application provides a computer-readable storage medium in which a computer program is stored. When it runs on a computer, the computer can execute what is executed by the optical line terminal in the embodiment shown in FIG. 2 or FIG. 3 step.
本申请还提供一种包括计算机程序产品,当其在计算机上运行时,使得计算机执行如前述图2或图3所示实施例中由光线路终端执行的步骤。The present application also provides a product including a computer program, which when running on a computer, enables the computer to execute the steps performed by the optical line terminal in the embodiment shown in FIG. 2 or FIG. 3 above.
本申请中的数据转发装置具体可以为光线路终端中的芯片,芯片包括:处理单元和通信单元,所述处理单元例如可以是处理器,所述通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使光线路终端执行图2或图3所示实施例中的数据转发方法。可选地,所述存储单元为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是所述无线接入设备端内的位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。上述任一处提到的处理器,可以是一个 通用中央处理器,微处理器,专用集成电路(application specific integrated circuit,ASIC)或一个或多个用于控制上述第一方面方法的程序执行的集成电路。The data forwarding device in this application may specifically be a chip in an optical line terminal. The chip includes a processing unit and a communication unit. The processing unit may be a processor, for example, and the communication unit may be an input/output interface, or a pin. Or circuits, etc. The processing unit can execute the computer-executed instructions stored in the storage unit, so that the optical line terminal executes the data forwarding method in the embodiment shown in FIG. 2 or FIG. 3. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc., and the storage unit may also be a storage unit located outside the chip in the wireless access device, such as Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc. The processor mentioned in any of the above can be a general-purpose central processing unit, a microprocessor, an application specific integrated circuit (ASIC) or one or more programs used to control the execution of the method in the first aspect. integrated circuit.
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。In addition, it should be noted that the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separate. The physical unit can be located in one place or distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments. In addition, in the drawings of the device embodiments provided in the present application, the connection relationship between the modules indicates that they have a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、ROM、RAM、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general hardware. Of course, it can also be implemented by dedicated hardware including dedicated integrated circuits, dedicated CPUs, dedicated memory, Dedicated components and so on to achieve. Under normal circumstances, all functions completed by computer programs can be easily implemented with corresponding hardware. Moreover, the specific hardware structures used to achieve the same function can also be diverse, such as analog circuits, digital circuits or special-purpose circuits. Circuit etc. However, for this application, software program implementation is a better implementation in more cases. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a computer floppy disk. , U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute the methods described in each embodiment of this application .
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例的技术方案的范围。The above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still record the foregoing embodiments. The technical solutions are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (12)

  1. 一种光纤通信中的数据转发方法,其特征在于,包括:A data forwarding method in optical fiber communication is characterized in that it includes:
    创建目标业务的切片,所述目标业务为虚拟现实业务或者高清视频直播业务;Creating a slice of the target service, where the target service is a virtual reality service or a high-definition video live broadcast service;
    接收宽带网络网关BNG发送的下行报文;Receive the downlink message sent by the broadband network gateway BNG;
    在预设信息表中查找到所述下行报文的五元组信息中的一项或多项时,将所述下行报文加入所述目标业务的切片;When one or more of the quintuple information of the downlink message is found in the preset information table, adding the downlink message to the slice of the target service;
    从所述目标业务的切片获取所述下行报文;Acquiring the downlink message from the slice of the target service;
    将所述下行报文发送给光网络终端ONT。Send the downlink message to the optical network terminal ONT.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述方法还包括:接收所述ONT发送的上行报文;The method further includes: receiving an uplink message sent by the ONT;
    所述创建目标业务的切片包括:当预设信息表中查找到所述上行报文的五元组信息中的一项或多项时,创建所述目标业务的切片。The creating the slice of the target service includes: creating the slice of the target service when one or more of the quintuple information of the uplink message is found in the preset information table.
  3. 根据权利要求1所述的方法,其特征在于,所述目标业务的切片包括多个队列,每个所述队列与优先级一一对应;The method according to claim 1, wherein the slice of the target service includes multiple queues, and each of the queues has a one-to-one correspondence with a priority;
    所述将所述下行报文加入目标业务的切片包括:确定与所述下行报文的优先级对应的目标队列;将所述下行报文加入所述目标队列;The adding the downlink message to the slice of the target service includes: determining a target queue corresponding to the priority of the downlink message; adding the downlink message to the target queue;
    所述从所述目标业务的切片获取所述报文包括:从所述目标队列中获取所述下行报文。The obtaining the message from the slice of the target service includes: obtaining the downlink message from the target queue.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    在所述预设信息表中未查找到所述下行报文的五元组信息中的一项或多项时,将所述下行报文加入非目标业务的切片;When one or more of the quintuple information of the downlink message is not found in the preset information table, adding the downlink message to a slice of a non-target service;
    从所述非目标业务的切片中获取所述下行报文;Acquiring the downlink message from the slice of the non-target service;
    将所述下行报文发送给所述ONT。Send the downlink message to the ONT.
  5. 根据权利要求4所述的方法,其特征在于,所述目标业务的切片的调度优先级高于所述非目标业务的切片的调度优先级。The method according to claim 4, wherein the scheduling priority of the slice of the target service is higher than the scheduling priority of the slice of the non-target service.
  6. 一种数据转发装置,其特征在于,包括:A data forwarding device, characterized in that it comprises:
    处理单元,用于创建目标业务的切片,所述目标业务为虚拟现实业务或者高清视频直播业务;A processing unit, configured to create a slice of a target service, where the target service is a virtual reality service or a high-definition video live broadcast service;
    第一接口,用于接收宽带网络网关BNG发送的下行报文;The first interface is used to receive the downlink message sent by the broadband network gateway BNG;
    所述处理单元,用于在预设信息表中查找到所述下行报文的五元组信息中的一项或多项时,将所述下行报文加入所述目标业务的切片;从所述目标业务的切片获取所述下行报文;The processing unit is configured to add the downlink message to the slice of the target service when one or more of the quintuple information of the downlink message is found in the preset information table; Acquiring the downlink message by the slice of the target service;
    第二接口,用于将所述下行报文发送给光网络终端ONT。The second interface is used to send the downlink message to the optical network terminal ONT.
  7. 根据权利要求6所述的装置,其特征在于,The device according to claim 6, wherein:
    所述第二接口,还用于接收所述ONT发送的上行报文;The second interface is also used to receive an uplink packet sent by the ONT;
    所述处理单元,具体用于当预设信息表中查找到所述上行报文的五元组信息中的一项或多项时,创建所述目标业务的切片。The processing unit is specifically configured to create a slice of the target service when one or more of the quintuple information of the uplink packet is found in the preset information table.
  8. 根据权利要求6所述的装置,其特征在于,The device according to claim 6, wherein:
    所述目标业务的切片包括多个队列,每个所述队列与优先级一一对应;The slice of the target service includes a plurality of queues, and each of the queues has a one-to-one correspondence with a priority;
    所述处理单元,具体用于确定与所述下行报文的优先级对应的目标队列;将所述下行报 文加入所述目标队列;从所述目标队列中获取所述下行报文。The processing unit is specifically configured to determine a target queue corresponding to the priority of the downlink message; add the downlink message to the target queue; and obtain the downlink message from the target queue.
  9. 根据权利要求6至8中任一项所述的装置,其特征在于,The device according to any one of claims 6 to 8, characterized in that:
    所述处理单元,还用于在所述预设信息表中未查找到所述下行报文的五元组信息中的一项或多项时,将所述下行报文加入非目标业务的切片;从所述非目标业务的切片中获取所述下行报文;将所述下行报文发送给所述ONT。The processing unit is further configured to add the downlink message to the slice of the non-target service when one or more of the quintuple information of the downlink message is not found in the preset information table ; Obtain the downlink message from the slice of the non-target service; send the downlink message to the ONT.
  10. 根据权利要求9所述的装置,其特征在于,所述目标业务的切片的调度优先级高于所述非目标业务的调度优先级。The apparatus according to claim 9, wherein the scheduling priority of the slice of the target service is higher than the scheduling priority of the non-target service.
  11. 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当其在计算机上运行时,使得计算机执行权利要求1至5中任一项所述的数据转发方法。A computer-readable storage medium in which a computer program is stored, which when running on a computer, causes the computer to execute the data forwarding method according to any one of claims 1 to 5.
  12. 一种芯片系统,该芯片系统包括处理器和存储器,,所述存储器用于保存光线路终端必要的程序指令和数据,当其在处理器上运行时,使得计算机执行权利要求1至5中任一项所述的数据转发方法。A chip system, the chip system includes a processor and a memory, the memory is used to store the necessary program instructions and data of the optical line terminal, when it runs on the processor, the computer executes any of claims 1 to 5 The data forwarding method described in one item.
PCT/CN2020/127464 2020-03-11 2020-11-09 Data forwarding method in optical fiber communication and related device WO2021179648A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010165877.1 2020-03-11
CN202010165877.1A CN113395612B (en) 2020-03-11 2020-03-11 Data forwarding method in optical fiber communication and related device

Publications (1)

Publication Number Publication Date
WO2021179648A1 true WO2021179648A1 (en) 2021-09-16

Family

ID=77615337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127464 WO2021179648A1 (en) 2020-03-11 2020-11-09 Data forwarding method in optical fiber communication and related device

Country Status (2)

Country Link
CN (1) CN113395612B (en)
WO (1) WO2021179648A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024011907A1 (en) * 2022-07-15 2024-01-18 中兴通讯股份有限公司 Data scheduling method, and electronic device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116419102A (en) * 2021-12-31 2023-07-11 华为技术有限公司 Service slicing processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111931A (en) * 2017-12-15 2018-06-01 国网辽宁省电力有限公司 The virtual resource section management method and device of a kind of power optical fiber access net
CN108989915A (en) * 2018-06-14 2018-12-11 烽火通信科技股份有限公司 A kind of method and system of the access net OLT slice based on ONU granularity
CN109600259A (en) * 2018-12-11 2019-04-09 浙江工商大学 A kind of real-time Transmission mechanism based on software definable
WO2019083841A1 (en) * 2017-10-23 2019-05-02 Nokia Solutions And Networks Oy Network slice management
CN110266664A (en) * 2019-06-05 2019-09-20 中国联合网络通信有限公司广州市分公司 A kind of Cloud VR video living transmission system based on 5G and MEC
CN110621045A (en) * 2018-06-20 2019-12-27 华为技术有限公司 Method for service routing of Internet of things

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659419B (en) * 2016-07-25 2021-01-01 华为技术有限公司 Network slicing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019083841A1 (en) * 2017-10-23 2019-05-02 Nokia Solutions And Networks Oy Network slice management
CN108111931A (en) * 2017-12-15 2018-06-01 国网辽宁省电力有限公司 The virtual resource section management method and device of a kind of power optical fiber access net
CN108989915A (en) * 2018-06-14 2018-12-11 烽火通信科技股份有限公司 A kind of method and system of the access net OLT slice based on ONU granularity
CN110621045A (en) * 2018-06-20 2019-12-27 华为技术有限公司 Method for service routing of Internet of things
CN109600259A (en) * 2018-12-11 2019-04-09 浙江工商大学 A kind of real-time Transmission mechanism based on software definable
CN110266664A (en) * 2019-06-05 2019-09-20 中国联合网络通信有限公司广州市分公司 A kind of Cloud VR video living transmission system based on 5G and MEC

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024011907A1 (en) * 2022-07-15 2024-01-18 中兴通讯股份有限公司 Data scheduling method, and electronic device and storage medium

Also Published As

Publication number Publication date
CN113395612B (en) 2022-11-22
CN113395612A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN109412964B (en) Message control method and network device
US10243865B2 (en) Combined hardware/software forwarding mechanism and method
CA2698255C (en) Intelligent collection and management of flow statistics
US8804509B2 (en) System and method of communicating a media stream
US8276203B2 (en) System and method for mitigating a denial of service attack in a subscriber network
JP5659125B2 (en) Relay device and relay method
US20070223470A1 (en) System and Method for Enhancing Network Quality of Service
WO2009146621A1 (en) Data processing method, broadband network gateway, policy controller and access device
WO2021120783A1 (en) Message processing method and apparatus
WO2021179648A1 (en) Data forwarding method in optical fiber communication and related device
US8787160B2 (en) Method, apparatus, and system for judging path congestion
US10069747B2 (en) Real-time analysis of quality of service for multimedia traffic in a local area network
US11165716B2 (en) Data flow processing method and device
JP2022532731A (en) Avoiding congestion in slice-based networks
JP2020522208A (en) Providing services in communication networks
US9942161B1 (en) Methods and systems for configuring and updating session-based quality of service for multimedia traffic in a local area network
WO2022028342A1 (en) Method for processing congestion flow and device
US9699113B2 (en) Method and apparatus for bandwidth adjustment in network virtualization system
WO2021098425A1 (en) Qos policy method, device, and computing device for service configuration
JP2013179678A (en) Router device
WO2021101610A1 (en) Latency guarantee for data packets in a network
CN114765585B (en) Service quality detection method, message processing method and device
WO2022160876A1 (en) Interface management method for accessed user equipment, and accessed user equipment
WO2022001581A1 (en) Network, and data transmission method and apparatus
WO2022253190A1 (en) Service flow performance testing method and apparatus, and communication network

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

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

Country of ref document: EP

Kind code of ref document: A1