CN117793583A - Message forwarding method and device, electronic equipment and computer readable storage medium - Google Patents

Message forwarding method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN117793583A
CN117793583A CN202311771240.7A CN202311771240A CN117793583A CN 117793583 A CN117793583 A CN 117793583A CN 202311771240 A CN202311771240 A CN 202311771240A CN 117793583 A CN117793583 A CN 117793583A
Authority
CN
China
Prior art keywords
message
slice
tag
service
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311771240.7A
Other languages
Chinese (zh)
Inventor
张司宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202311771240.7A priority Critical patent/CN117793583A/en
Publication of CN117793583A publication Critical patent/CN117793583A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a message forwarding method, a message forwarding device, electronic equipment and a computer readable storage medium. In this embodiment, the FTTR network is divided into a plurality of service sub-slices according to service priorities, and the network is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance, when a message of a target data stream belonging to a target service is forwarded to the network, a tag corresponding to the target service is added to the message, the message is cached in a service sub-slice corresponding to the tag of the corresponding slice, and the message is forwarded based on the tag. Based on the method, when the message is forwarded to the networking, the message is directly identified, the corresponding service sub-slice is determined, and the label corresponding to the target service is marked, so that the message can be forwarded in the whole networking according to the label, and a unified service priority guarantee mechanism is established in the FTTR networking.

Description

Message forwarding method and device, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of optical communications technologies, and in particular, to a method and apparatus for forwarding a message, an electronic device, and a computer readable storage medium.
Background
Fiber to the room (FTTR: fiber To The Room) networking is widely used at present, and different users may have different service priority demands under different scenes, for example, some users require online office or conference not to be blocked, some users require smooth game running, and some users need to ensure live broadcast effects.
However, the existing FTTR networking still lacks a mature service priority guarantee mechanism, and when a message is forwarded, a passive optical network (PON: passive Optical Network), an ethernet and a wireless multiplexing traditional quality of service (QoS: quality of Service) method respectively cannot establish a uniform service priority guarantee mechanism in the whole FTTR networking architecture.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, an electronic device, and a computer readable storage medium for forwarding a message, so as to solve the problem that a unified service priority guarantee mechanism cannot be established in the FTTR whole networking architecture in the related art.
The technical scheme provided by the application is as follows:
according to an embodiment of the first aspect of the present application, a method for forwarding a message is provided, where the method is applied to any network device in an optical fiber to room FTTR network; the network equipment is master equipment or slave equipment in the FTTR networking; the FTTR networking is divided into a plurality of service sub-slices according to service priority, and the FTTR networking is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance; the gateway slice is deployed on the master device, the wired slice is deployed on the slave device, and the Wi-Fi slice is deployed on the slave device and on the master device when the master device has Wi-Fi functions; the method comprises the following steps:
When the device is used as a main device, if a message of a target data stream belonging to a target service, which is sent by an Optical Line Terminal (OLT), is received through an uplink optical port, a label corresponding to the target service is added to the message, the labeled message is cached in a service sub-slice corresponding to the label in a gateway slice, and the labeled message is forwarded depending on the label;
when the device is used as slave equipment, if a message of a target data stream belonging to a target service, which is sent by a terminal, is received through a radio frequency port, a label corresponding to the target service is added to the message, the labeled message is cached into a service sub-slice corresponding to the label in a Wi-Fi slice, and the labeled message is forwarded depending on the label.
Optionally, when the device is used as a master device and the master device has a Wi-Fi function, if the destination end of the message is a terminal accessed by a radio frequency port of the master device, the caching the tagged message into a service sub-slice corresponding to the tag in a gateway slice, and forwarding the tagged message depending on the tag includes:
after the tagged message is processed based on the wired QoS flow, the processed message is cached into a business sub-slice corresponding to the tag in the Wi-Fi slice, and then the message in the business sub-slice is sent to the terminal.
Optionally, when the device is used as a master device, if the destination end of the message is a terminal accessed by a radio frequency port of the slave device, the caching the tagged message into a service sub-slice corresponding to the tag in a gateway slice, and forwarding the tagged message depending on the tag includes:
after the tagged message is processed based on the wired QoS flow, the processed message is cached in a queue corresponding to a virtual interface GEM port of a passive optical network PON, the processed message is sent to the slave device based on the PON downlink broadcast scheduling flow, so that the slave device caches the processed message into a service sub-slice corresponding to the tag in the wired slice according to the tag, reprocesses the processed message based on the wired QoS flow, caches the reprocessed message into the service sub-slice corresponding to the tag in the Wi-Fi slice, and then sends the message in the service sub-slice to the terminal.
Optionally, the method further comprises:
when the device is used as a main device and the main device has a Wi-Fi function, if a message of a target data stream belonging to a target service, which is sent by a terminal accessed by a radio frequency port of the main device, is received, and a destination terminal is an OLT connected with an uplink optical port of the main device, a label corresponding to the target service is added to the message, the labeled message is cached in a service sub-slice corresponding to the label in a Wi-Fi slice, the labeled message is cached in the service sub-slice corresponding to the label in a gateway slice, and after the labeled message is processed based on a wired QoS flow, the processed message is forwarded to the OLT through the uplink optical port of the main device.
Optionally, when the device is a slave device, if the message is sent by a terminal accessed by a radio frequency port of the slave device, the caching the tagged message into a service sub-slice corresponding to the tag in the Wi-Fi slice, and forwarding the tagged message depending on the tag includes:
caching the tagged message into a service sub-slice corresponding to the tag in a wired slice, processing the tagged message based on a wired QoS flow, caching the processed message into a queue corresponding to a GEM port and a transmission container T-CONT of a PON, and forwarding the processed message to a downlink optical port of a main device based on a scheduling flow of dynamic bandwidth allocation DBA of the main device.
Optionally, the message destination end is an OLT connected to an upstream optical port of the main device, and after the processed message is forwarded to a downstream optical port of the main device, the method further includes:
when the device is a master device, if the processed message is received by a downlink optical port connected with a slave device, after the master device receives the processed message, the processed message is cached in a service sub-slice corresponding to the tag in a gateway slice, and after the processed message is reprocessed based on a wired QoS flow, the reprocessed message is forwarded to the OLT through an uplink optical port of the master device.
According to an embodiment of the second aspect of the present application, a message forwarding apparatus is provided, which is applied to any network device in an optical fiber to room FTTR network; the network equipment is master equipment or slave equipment in the FTTR networking; the FTTR networking is divided into a plurality of service sub-slices according to service priority, and the FTTR networking is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance; the gateway slice is deployed on the master device, the wired slice is deployed on the slave device, and the Wi-Fi slice is deployed on the slave device and on the master device when the master device has Wi-Fi functions; the device comprises:
the first forwarding unit is configured to, when the device is used as a master device, if a packet of a target data stream belonging to a target service sent by an optical line terminal OLT is received through an uplink optical port, add a tag corresponding to the target service to the packet, cache the tagged packet into a service sub-slice corresponding to the tag in a gateway slice, and forward the tagged packet depending on the tag;
and the second forwarding unit is used for when the equipment is used as slave equipment, if a message of a target data stream belonging to a target service, which is sent by the terminal, is received through the radio frequency port, adding a label corresponding to the target service to the message, caching the labeled message into a service sub-slice corresponding to the label in the Wi-Fi slice, and forwarding the labeled message according to the label.
Optionally, when the device is used as a master device and the master device has a Wi-Fi function, if the destination end of the message is a terminal to which a radio frequency port of the master device is connected, the first forwarding unit is specifically configured to:
after the tagged message is processed based on a wired QoS flow, the processed message is cached into a business sub-slice corresponding to the tag in a Wi-Fi slice, and then the message in the business sub-slice is sent to the terminal;
and/or when the device is used as a master device, if the message destination end is a terminal accessed by a radio frequency port of the slave device, the first forwarding unit is specifically configured to:
after processing the tagged message based on the wired QoS flow, caching the processed message into a queue corresponding to a virtual interface GEM port of a passive optical network PON, sending the processed message to the slave device based on a PON downlink broadcast scheduling flow, so that the slave device caches the processed message into a service sub-slice corresponding to the tag in a wired slice according to the tag, reprocessing the processed message based on the wired QoS flow, caching the reprocessed message into the service sub-slice corresponding to the tag in a Wi-Fi slice, and sending the message in the service sub-slice to the terminal;
And/or, the first forwarding unit is further configured to:
when the device is used as a main device and the main device has a Wi-Fi function, if a message of a target data stream belonging to a target service, which is sent by a terminal accessed by a radio frequency port of the main device, is received, and a destination terminal is an OLT connected with an uplink optical port of the main device, a label corresponding to the target service is added to the message, the labeled message is cached in a service sub-slice corresponding to the label in a Wi-Fi slice, the labeled message is cached in the service sub-slice corresponding to the label in a gateway slice, after the labeled message is processed based on a wired QoS flow, the processed message is forwarded to the OLT through the uplink optical port of the main device;
and/or when the device is a slave device, if the message is sent by a terminal accessed by a radio frequency port of the slave device, the second forwarding unit is specifically configured to:
caching the tagged message into a service sub-slice corresponding to the tag in a wired slice, processing the tagged message based on a wired QoS flow, caching the processed message into a queue corresponding to a GEM port and a transmission container T-CONT of a PON, and forwarding the processed message to a downlink optical port of a main device based on a scheduling flow of dynamic bandwidth allocation DBA of the main device;
And/or, the message destination end is an OLT connected to an upstream optical port of the main device, and after the processed message is forwarded to a downstream optical port of the main device, the first forwarding unit is further configured to:
when the device is a master device, if the processed message is received by a downlink optical port connected with a slave device, after the master device receives the processed message, the processed message is cached in a service sub-slice corresponding to the tag in a gateway slice, and after the processed message is reprocessed based on a wired QoS flow, the reprocessed message is forwarded to the OLT through an uplink optical port of the master device.
According to an embodiment of a third aspect of the present application, an electronic device is presented, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method according to the first aspect when executing the program.
According to an embodiment of a fourth aspect of the present application, a computer readable storage medium is presented, on which a program is stored which, when being executed by a processor, implements a method as described in the first aspect.
As can be seen from the above technical solutions, in the embodiments of the present application, the FTTR network is divided into a plurality of service sub-slices according to service priorities, and the FTTR network is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance, when a message of a target data flow belonging to a target service is forwarded to the FTTR network, a tag corresponding to the target service is added to the message, the message is cached into a service sub-slice corresponding to the tag of the corresponding slice, and the message is forwarded depending on the tag. By the method, the message is directly identified when the message is forwarded to the FTTR networking, the corresponding service sub-slice is determined, and the label corresponding to the target service is marked on the message, so that the message can be forwarded in the whole FTTR networking according to the label, and a unified service priority guarantee mechanism is established in the FTTR networking.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of FTTR networking provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a message forwarding method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of FTTR network slice provided in an embodiment of the present application;
fig. 4 is one of downlink message processing schematic diagrams provided in the embodiments of the present application;
FIG. 5 is a second diagram of a downlink message processing scheme according to an embodiment of the present disclosure;
fig. 6 is one of the uplink message processing schematic diagrams provided in the embodiment of the present application;
FIG. 7 is a second diagram of uplink message processing according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a block diagram of a message transmission device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Before describing the technical solutions in the embodiments of the present application in detail, a brief description will be first provided for fiber to the room (FTTR: fiber To The Room) networking.
Referring to fig. 1, fig. 1 is a schematic diagram of FTTR networking provided in an embodiment of the present application.
As shown in fig. 1, the FTTR network is composed of a plurality of network devices including a master device and a plurality of slave devices; the uplink optical port of the main equipment is used as an optical network unit (ONU: optical Network Unit) to be connected with local optical line terminal (OLT: optical Line Terminal) equipment of the uplink network, is used as a main entrance of a local network, and is used as the OLT to form a passive optical network (PON: passive Optical Network) with the slave equipment through the downlink optical port; the slave device forms a PON network with the master device through the uplink optical port as the ONU; the slave device comprises an optical port and a radio frequency port, and can provide Wi-Fi service; the main device at least comprises an uplink optical port and a downlink optical port, optionally, the main device also comprises a radio frequency port, and the main device with the radio frequency port can also provide Wi-Fi service.
The technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a schematic diagram of a message forwarding method according to an embodiment of the present application. The method is applied to any network equipment in the fiber-to-room FTTR networking; the network equipment is master equipment or slave equipment in the FTTR networking; the FTTR networking is divided into a plurality of service sub-slices according to service priority, and the FTTR networking is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance; the gateway slice is deployed on the master device, the wired slice is deployed on the slave device, and the Wi-Fi slice is deployed on the slave device and on the master device when the master device has Wi-Fi functions. In this embodiment, a gateway slice, a wired slice, and a Wi-Fi slice are pre-deployed in the FTTR network, where the gateway slice is deployed on the master device, the wired slice is deployed on the slave device, and the Wi-Fi slice may be deployed on the slave device and the master device with Wi-Fi functions. Meanwhile, the FTTR networking is divided into a plurality of service sub-slices according to the service priority, and the slices can be used as the service sub-slices under gateway slices, wired slices and Wi-Fi slices.
In other words, the pre-partitioned gateway slice, wire slice, and Wi-Fi slice are actually set names of service sub-slices, one service sub-slice being one message reception queue. The same service sub-slice keeps the same priority and PON, ethernet and wireless QoS policies on each master-slave device, the priorities of the slices can be ordered according to a certain principle, and the priorities can be specified by a user so as to meet the personalized requirements of the user, and the application is not limited to the priorities. It is to be understood that a service sub-slice, i.e. a message receiving queue, may include only a data stream of the same application, or may include a plurality of data streams of different applications, which is not limited in this application.
In this embodiment, after slicing division of the FTTR network is completed, a corresponding relationship between a slice deployed on the network device and a service is recorded on each network device, so that a packet is cached to a service sub-slice corresponding to a tag corresponding to the service in the corresponding slice through the tag added to the packet.
To more clearly describe the slice division described above, FTTR network slices provided in an embodiment of the present application are first described with reference to fig. 3.
Referring to fig. 3, fig. 3 is a schematic diagram of FTTR network slice according to an embodiment of the present application.
As shown in fig. 3, in this embodiment, taking an example that a user needs to use an instant messaging application as a high priority service (i.e., a target service), when dividing, the traffic of the instant messaging application (i.e., a target data stream) may be separately used as an instant messaging slice (i.e., a service sub-slice), so that the traffic of the application may be used as a separate forwarding queue in a packet forwarding process, where the instant messaging slice is used as a service sub-slice of the instant messaging application in a gateway slice deployed by a master device, and is used as a service sub-slice of the instant messaging application in a wired slice deployed by a slave device, and is used as a service sub-slice of the instant messaging application in a Wi-Fi slice deployed by the slave device or the master device.
After the slicing is completed, the main network device records the instant messaging slices (sub-service slices) and the corresponding services (instant messaging applications) thereof, so as to cache the message into the service sub-slices corresponding to the labels in the corresponding slices (gateway slices or Wi-Fi slices) through the labels corresponding to the services to which the message is added; the slave network device records the instant messaging slice (sub-service slice) and the corresponding service (instant messaging application) thereof, so as to buffer the message to the service sub-slice corresponding to the tag in the corresponding slice (wired slice or Wi-Fi slice) through the tag corresponding to the service to which the message is added.
In this embodiment, traffic of an instant messaging application is used as one service sub-slice alone, and traffic generated by other applications, such as a video playing application, is used as other service sub-slices. It is to be understood that this partitioning method is merely exemplary, and in practical application, the traffic of the same or multiple terminals may be regarded as one service sub-slice, which is not limited in this application.
This concludes the description of FTTR network slices in fig. 3, and the description of the message forwarding method in fig. 2 is continued.
As shown in fig. 2, the message forwarding method applied to the fiber to room FTTR networking set forth in the embodiment is described below from two aspects of the present network device serving as a master device and the present network device serving as a slave device, respectively:
as shown in S201 in fig. 2, when the present device is used as a master device, if a packet of a target data stream belonging to a target service sent by an optical line terminal OLT is received through an uplink optical port, a tag corresponding to the target service is added to the packet, and the tagged packet is forwarded and cached to a service sub-slice corresponding to the tag in a gateway slice, and the tagged packet is forwarded depending on the tag.
In this embodiment, when the device is used as a master device, if a message sent by the OLT is received through the upstream optical port, it indicates that a downstream message sent by the OLT is received.
The method for judging whether the message is a message belonging to a target data stream of a target service is an edge application identification technology in the related art, through the edge application identification technology, the service to which the message belongs is directly identified in a network device which receives the message after the message enters the FTTR networking, the message is not required to be concentrated into a specific device in the FTTR networking for uniform identification, and a specific process for identifying the message by using the edge application identification technology is not repeated.
Meanwhile, the device adds the label corresponding to the target service to the message, and caches the message into the service sub-slice corresponding to the label in the gateway slice.
In this embodiment, the target service refers to a set of one or more services that are pre-classified into the same priority, and the labels added to the services classified into the same priority are the same, and the labels are used to indicate the correspondence between the services and the service sub-slices.
As an example, the tag added to the data stream may be a differentiated services code point (DSCP: differentiated Services Code Point), which is not limited by the present application.
It is easy to understand that, when the main device receives the downlink message sent by the OLT at the local side, the destination end of the downlink message may be a terminal accessed by the radio frequency port of the slave device, and when the main device has a Wi-Fi function, the destination end of the downlink message may also be a terminal accessed by the radio frequency port of the main device.
In this embodiment, when the present device is used as a master device, if the destination end of the packet is a terminal accessed by a radio frequency port of the slave device, the caching the tagged packet into a service sub-slice corresponding to the tag in a gateway slice, and forwarding the tagged packet depending on the tag includes:
after the tagged message is processed based on the wired QoS flow, the processed message is cached in a queue corresponding to a virtual interface GEM port of a passive optical network PON, the processed message is sent to the slave device based on the PON downlink broadcast scheduling flow, so that the slave device caches the processed message into a service sub-slice corresponding to the tag in the wired slice according to the tag, reprocesses the processed message based on the wired QoS flow, caches the reprocessed message into the service sub-slice corresponding to the tag in the Wi-Fi slice, and then sends the message in the service sub-slice to the terminal.
The process of forwarding the downlink message from the OLT device to the terminal accessed from the radio frequency port of the device will be described in detail below with reference to fig. 4, which is not repeated here.
In this embodiment, when the device is used as a master device and the master device has a Wi-Fi function, if the message destination end is a terminal accessed by a radio frequency port of the master device, buffering the tagged message in a service sub-slice corresponding to the tag in a gateway slice, and forwarding the tagged message depending on the tag, where the forwarding includes:
after the tagged message is processed based on the wired QoS flow, the processed message is cached into a business sub-slice corresponding to the tag in the Wi-Fi slice, and then the message in the business sub-slice is sent to the terminal.
The process of forwarding the downlink message from the OLT device to the terminal accessed by the radio frequency port of the main device will be described in detail below with reference to fig. 5, which is not repeated here.
Thus, the description of the method for forwarding the message in S201 in fig. 2, i.e. when the network device is used as the master device, and the description of the method for forwarding the message in S202 in fig. 2, i.e. when the network device is used as the slave device, will be described.
As shown in S202 in fig. 2, when the present device is used as a slave device, if a packet belonging to a target data stream of a target service sent by a terminal is received through a radio frequency port, a tag corresponding to the target service is added to the packet, the tagged packet is cached in a service sub-slice corresponding to the tag in a Wi-Fi slice, and the tagged packet is forwarded depending on the tag.
In this embodiment, when the present device is used as the slave device, if a packet of a target data stream belonging to a target service sent by a terminal is received through a radio frequency port, and the destination terminal is an OLT connected to an uplink optical port of the master device, similar to the method set forth in S201, the present device adds a tag corresponding to the target service to the packet, where the tag is used to indicate a correspondence between a service and a sub-service slice, so that the packet is forwarded to a service sub-slice corresponding to the tag in the divided corresponding slice according to the tag.
The method for judging whether the message is the message of the target data stream belonging to the target service is an edge application identification technology in the related technology, and in this embodiment, when the radio frequency port of the slave device receives the message, the message is directly identified in the slave device through the edge application identification technology, so as to judge whether the message is the message of the target data stream belonging to the target service, and the message does not need to be concentrated into a specific device in the FTTR network for unified identification.
As an example, the tag added to the data stream may be a differentiated services code point (DSCP: differentiated Services Code Point), which is not limited by the present application.
It is easy to understand that the uplink message received at the slave device is an uplink message sent by the terminal accessed by the radio frequency port of the slave device. For the master device, the received uplink message of the OLT, where the destination end is connected to the uplink optical port of the master device, may be an uplink message sent by the terminal, where the radio frequency port of the slave device is connected to the uplink optical port of the master device, and if the master device has a Wi-Fi function, the received uplink message of the OLT, where the destination end is connected to the uplink optical port of the master device, may also be an uplink message sent by the terminal, where the radio frequency port of the master device is connected to the uplink message of the OLT.
In this embodiment, when the present device is used as a master device and the master device has a Wi-Fi function, if a packet of a target data stream belonging to a target service sent by a terminal accessed by a radio frequency port of the master device is received, and a destination terminal is an OLT connected to an uplink optical port of the master device, a tag corresponding to the target service is added to the packet, the tagged packet is cached in a service sub-slice corresponding to the tag in a Wi-Fi slice, the tagged packet is cached in the service sub-slice corresponding to the tag in a gateway slice, and after the tagged packet is processed based on a wired QoS flow, the processed packet is forwarded to the OLT through the uplink optical port of the master device.
The process of forwarding the uplink message from the terminal accessed by the radio frequency port of the main device to the OLT will be described in detail below with reference to fig. 6, which is not repeated here.
In this embodiment, when the device is a slave device, if the packet is sent by a terminal accessed by a radio frequency port of the slave device, the buffering the tagged packet into a service sub-slice corresponding to the tag in a Wi-Fi slice, and forwarding the tagged packet depending on the tag includes:
caching the tagged message into a service sub-slice corresponding to the tag in a wired slice, processing the message based on a wired QoS flow, caching the processed message into a queue corresponding to a GEM port of a PON and a transmission container T-CONT (T-CONT: transmission CONT), and forwarding the processed message to a downlink optical port of a main device based on a scheduling flow of dynamic bandwidth allocation DBA of the main device.
After the processed message is forwarded to the downlink optical port of the master device, the method further comprises:
when the device is a master device, if the processed message is received by a downlink optical port connected with a slave device, after the master device receives the processed message, the processed message is cached in a service sub-slice corresponding to the tag in a gateway slice, and after the processed message is reprocessed based on a wired QoS flow, the reprocessed message is forwarded to the OLT through an uplink optical port of the master device.
The process of forwarding the uplink message from the terminal accessed from the radio frequency port of the device to the OLT will be described in detail below with reference to fig. 7, which is not repeated here.
This concludes the description of the message forwarding method schematic diagram of fig. 2.
In this embodiment, the FTTR network is divided into a plurality of service sub-slices according to service priorities, and the FTTR network is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance, when a message of a target data stream belonging to a target service is forwarded to the FTTR network, a tag corresponding to the target service is added to the message, the message is cached in a service sub-slice corresponding to the tag of the corresponding slice, and the message is forwarded depending on the tag. By the method, when the message is forwarded to the FTTR networking, the message is directly identified by the edge application identification technology, the corresponding service sub-slice is determined, and the label corresponding to the service is marked on the message, wherein the label is used for indicating the corresponding relation between the service and the service sub-slice, so that the message can be forwarded in the whole FTTR networking according to the label, and a unified service priority guarantee mechanism is established in the FTTR networking.
In other words, in this embodiment, after an uplink packet or a downlink packet of a target data flow belonging to a target service enters the FTTR network, a label corresponding to the target service is added to the packet, and the label is forwarded until the packet is sent to the terminal to be effective in the whole flow, and then the packet is forwarded according to the service priority configured or defaulted by the user, so that the bandwidth and the time delay of the high-priority service can be ensured, the consistency and the effectiveness of the QoS policy of the whole network are ensured, and the effect of guaranteeing the whole flow of the user service is achieved.
The message forwarding method proposed in the present application is further described below based on uplink and downlink messages by four specific embodiments.
Example 1
Referring to fig. 4, fig. 4 is a schematic diagram of downlink message processing according to an embodiment of the present application. Specifically, in fig. 4, the master device determines, through an edge application identification technique, that the received packet is a downlink packet of a target data flow belonging to a target service. The downlink message of the target data stream belonging to the target service is sent by the local side OLT equipment, and the destination side is a terminal accessed from the radio frequency port of the equipment.
As shown in fig. 4, in this embodiment, if the destination end of the downlink packet of the target data stream belonging to the target service is a terminal accessed from the radio frequency port of the slave device, after receiving the downlink packet, the master device adds a tag corresponding to the target service to the packet, and caches the packet into a service sub-slice (such as slice 1 of the network management slice in fig. 4) corresponding to the tag in the gateway slice.
After the master device processes the tagged message based on the wired QoS flow, the processed message is mapped to a queue corresponding to the GEM port of the PON (that is, the processed message is cached in the queue corresponding to the GEM port of the PON), and the processed message is sent to the slave device based on the PON downlink broadcast scheduling flow. After receiving the processed message, the slave device maps the processed message into a queue of the wired slice according to the tag (i.e. caches the processed message into a service sub-slice corresponding to the tag in the wired slice, such as the queue 1 of the wired slice in fig. 4), reprocesses the processed message based on the wired QoS flow, maps the processed message into a Wi-Fi slice queue through the queue (i.e. caches the reprocessed message into the service sub-slice corresponding to the tag in the Wi-Fi slice, such as the queue 1 of the Wi-Fi slice in fig. 4), and sends the message in the Wi-Fi slice queue (i.e. the service sub-slice corresponding to the tag in the Wi-Fi slice) to the terminal, thereby completing the forwarding of the downlink message. The method for sending the message in the service sub-slice to the terminal may be that the slave device sends the message in the service sub-slice to the terminal based on Wi-Fi Multimedia (WMM) access class based on an air interface mapping procedure.
The WMM provides a wireless QoS protocol standard for Wi-Fi organization to divide the packets into 4 access classes AC (Access Category) according to priority from high to low in order to provide different quality of service for different applications: ac_vo (voice), ac_vi (video), ac_be (best effort), ac_bk (background), the chance that a high priority AC occupies the channel is greater than a low priority AC.
In this embodiment, the wired QoS flow, the GEM port mapped to the PON (i.e. the QoS flow of the optical network), and the sending of the packet in the service sub-slice to the terminal are all methods in the related art, which are not described herein again.
This concludes the description of one of the downstream message processing schemes in fig. 4.
Example 2
Referring to fig. 5, fig. 5 is a second schematic diagram of downlink message processing according to an embodiment of the present disclosure. Specifically, in fig. 5, the master device determines, through an edge application identification technique, that the received packet is a downlink packet of a target data flow belonging to the target service. The downlink message of the target data stream belonging to the target service is sent by the local side OLT equipment, and the destination side is a terminal accessed by the radio frequency port of the main equipment.
As shown in fig. 5, in this embodiment, the main device has a Wi-Fi function, if a destination end of a downlink packet of a target data stream belonging to a target service is a terminal accessed by a radio frequency port of the main device, after receiving the downlink packet, the main device adds a tag corresponding to the target service to the packet, and caches the packet in a service sub-slice (such as slice 1 of the gateway slice in fig. 5) corresponding to the tag in the gateway slice.
After the master device processes the tagged message based on the wired QoS flow, the processed message is mapped to a Wi-Fi slice queue (that is, the processed message is cached in a service sub-slice corresponding to the tag in the Wi-Fi slice, such as a Wi-Fi slice queue 1 in fig. 5), and then the message in the Wi-Fi slice queue (that is, the service sub-slice corresponding to the tag in the Wi-Fi slice) is sent to the terminal, so that forwarding of the downlink message is completed. The method for sending the message in the service sub-slice to the terminal may be that the slave device sends the message in the service sub-slice to the terminal based on Wi-Fi Multimedia (WMM) access class based on an air interface mapping procedure, which is not described herein.
This concludes the description of the second downstream processing diagram of fig. 5.
Example 3
Referring to fig. 6, fig. 6 is a schematic diagram of uplink message processing according to an embodiment of the present application. Specifically, in fig. 6, the master device determines, through an edge application identification technique, that the received packet is an uplink packet of a target data flow belonging to the target service. The uplink message of the target data stream belonging to the target service is sent by the terminal accessed by the radio frequency port of the main equipment, and the target terminal is the local terminal OLT.
As shown in fig. 6, in this embodiment, the main device has a Wi-Fi function, if an uplink packet of a target data stream belonging to a target service is sent by a terminal accessed by a radio frequency port of the main device, after receiving the uplink packet, the main device adds a tag corresponding to the target service to the packet, and caches the packet in a service sub-slice corresponding to the tag in a Wi-Fi slice (such as slice 1 of the Wi-Fi slice in fig. 6).
The tagged message is mapped into a gateway slice queue (that is, the tagged message is cached in a service sub-slice corresponding to the tag in the gateway slice, such as a queue 1 of the gateway slice in fig. 6), the tagged message is processed based on a wired QoS flow, and the processed message is forwarded to the OLT through an uplink optical port of the main device, so that forwarding of the uplink message is completed.
This concludes the description of one of the message processing schematics shown in fig. 6.
Example 4
Referring to fig. 7, fig. 7 is a second schematic diagram of uplink message processing according to an embodiment of the present application. Specifically, in fig. 7, the slave determines, through the edge application identification technology, that the received packet is an uplink packet of the target data flow belonging to the target service. The uplink message of the target data stream belonging to the target service is sent by a terminal accessed from a radio frequency port of the equipment, and the target terminal is a local terminal OLT.
As shown in fig. 7, in this embodiment, if an uplink packet of a target data stream belonging to a target service is sent by a terminal accessed from a radio frequency port of a slave device, after receiving the uplink packet, the slave device adds a tag corresponding to the target service to the packet, and forwards the packet to a service sub-slice corresponding to the tag in a Wi-Fi slice (for example, slice 1 of the Wi-Fi slice in fig. 7).
The slave device maps the tagged message to a wired slice queue (that is, caches the tagged message in a service sub-slice corresponding to the tag in the wired slice, such as a queue 1 of the wired slice in fig. 7), processes the tagged message based on a wired QoS flow, caches the processed message in a queue corresponding to a gemport and a T-CONT of the PON, and forwards the processed message to a downlink optical port of the master device based on a scheduling flow of dynamic bandwidth allocation DBA of the master device. After receiving the processed message, the master device caches the processed message in a service sub-slice (such as a queue 1 of the gateway slice in fig. 7) corresponding to the tag in the gateway slice, reprocesses the processed message based on the wired QoS flow, and sends the reprocessed message to the OLT through an uplink optical port for forwarding, thereby completing forwarding of the uplink message.
The dynamic bandwidth allocation (DBA: dynamically Bandwidth Assignment) is to monitor the congestion of the PON in real time, and the OLT dynamically adjusts the bandwidth according to the congestion, the current bandwidth utilization condition and the configuration condition.
In this embodiment, the wired QoS flow, GEM port and T-CONT mapped to PON (i.e. QoS flow of the optical network), and DBA scheduling are all methods in the related art, and are not described herein.
This concludes the description of the second diagram of the uplink message processing in fig. 7.
In the four embodiments, the forwarding of the uplink and downlink messages in the FTTR networking is realized, meanwhile, the labels corresponding to the target services are added after the messages of the target data flows belonging to the target services enter the network, the labels are valid until the messages are sent to the terminal in the whole flow, the consistency and the validity of the QoS policies of the whole network are ensured, the effect of guaranteeing the whole flow of the user services is achieved, and the unified service priority guaranteeing mechanism of the whole network is provided in the whole flow of the messages from entering the network to leaving the network.
Fig. 8 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application. Referring to fig. 8, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a nonvolatile memory, and may include hardware required by other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the terminal interaction device on the logic level. Of course, other implementations, such as logic devices or combinations of hardware and software, are not excluded from the present application, that is, the execution subject of the following processing flows is not limited to each logic unit, but may be hardware or logic devices.
Referring to fig. 9, fig. 9 is a block diagram of a packet forwarding device according to an embodiment of the present application. The device is applied to any network equipment in the fiber-to-the-room FTTR networking; the network equipment is master equipment or slave equipment in the FTTR networking; the FTTR networking is divided into a plurality of service sub-slices according to service priority, and the FTTR networking is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance; the gateway slice is deployed on the master device, the wired slice is deployed on the slave device, and the Wi-Fi slice is deployed on the slave device and on the master device when the master device has Wi-Fi functions. As shown in fig. 9, the packet forwarding device may include a first forwarding unit 901 and a second forwarding unit 902. Specifically, the device comprises:
a first forwarding unit 901, configured to, when the present device is used as a master device, if a packet of a target data stream belonging to a target service sent by an optical line terminal OLT is received through an uplink optical port, add a tag corresponding to the target service to the packet, cache the tagged packet into a service sub-slice corresponding to the tag in a gateway slice, and forward the tagged packet depending on the tag;
And the second forwarding unit 902 is configured to, when the device is used as a slave device, if a packet of a target data stream belonging to a target service sent by a terminal is received through a radio frequency port, add a tag corresponding to the target service to the packet, cache the tagged packet into a service sub-slice corresponding to the tag in a Wi-Fi slice, and forward the tagged packet depending on the tag.
Optionally, when the present device is used as a master device and the master device has a Wi-Fi function, if the destination end of the message is a terminal to which a radio frequency port of the master device is connected, the first forwarding unit 901 is specifically configured to:
after the tagged message is processed based on a wired QoS flow, the processed message is cached into a business sub-slice corresponding to the tag in a Wi-Fi slice, and then the message in the business sub-slice is sent to the terminal;
and/or when the present device is used as a master device, if the destination end of the message is a terminal accessed by a radio frequency port of the slave device, the first forwarding unit 901 is specifically configured to:
after processing the tagged message based on the wired QoS flow, caching the processed message into a queue corresponding to a virtual interface GEM port of a passive optical network PON, sending the processed message to the slave device based on a PON downlink broadcast scheduling flow, so that the slave device caches the processed message into a service sub-slice corresponding to the tag in a wired slice according to the tag, reprocessing the processed message based on the wired QoS flow, caching the reprocessed message into the service sub-slice corresponding to the tag in a Wi-Fi slice, and sending the message in the service sub-slice to the terminal;
And/or, the first forwarding unit 901 is further configured to:
when the device is used as a main device and the main device has a Wi-Fi function, if a message of a target data stream belonging to a target service, which is sent by a terminal accessed by a radio frequency port of the main device, is received, and a destination terminal is an OLT connected with an uplink optical port of the main device, a label corresponding to the target service is added to the message, the labeled message is cached in a service sub-slice corresponding to the label in a Wi-Fi slice, the labeled message is cached in the service sub-slice corresponding to the label in a gateway slice, after the labeled message is processed based on a wired QoS flow, the processed message is forwarded to the OLT through the uplink optical port of the main device;
and/or when the device is a slave device, if the message is sent by a terminal accessed by a radio frequency port of the slave device, the second forwarding unit 902 is specifically configured to:
caching the tagged message into a service sub-slice corresponding to the tag in a wired slice, processing the tagged message based on a wired QoS flow, caching the processed message into a queue corresponding to a GEM port and a transmission container T-CONT of a PON, and forwarding the processed message to a downlink optical port of a main device based on a scheduling flow of dynamic bandwidth allocation DBA of the main device;
And/or, the message destination end is an OLT connected to an upstream optical port of the main device, and after the processed message is forwarded to a downstream optical port of the main device, the first forwarding unit 901 is further configured to:
when the device is a master device, if the processed message is received by a downlink optical port connected with a slave device, after the master device receives the processed message, the processed message is cached in a service sub-slice corresponding to the tag in a gateway slice, and after the processed message is reprocessed based on a wired QoS flow, the reprocessed message is forwarded to the OLT through an uplink optical port of the master device.
Thus, the description of the message forwarding apparatus in fig. 9 is completed.
Correspondingly, in the present embodiment, the present application further provides a computer readable storage medium, where a plurality of computer instructions are stored on the computer readable storage medium, where the computer instructions can implement a method disclosed in the foregoing examples of the present application when the computer instructions are executed.
By way of example, the above-described computer-readable storage media may be any electronic, magnetic, optical, or other physical storage device that can contain or store information, such as executable instructions, data, and the like. For example, the computer readable storage medium may be: RAM (Radom Access Memory, random access memory), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., hard drive), a solid state drive, any type of storage disk (e.g., optical disk, dvd, etc.), or a similar storage medium, or a combination thereof.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. The message forwarding method is characterized by being applied to any network equipment in the fiber-to-room FTTR networking; the network equipment is master equipment or slave equipment in the FTTR networking; the FTTR networking is divided into a plurality of service sub-slices according to service priority, and the FTTR networking is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance; the gateway slice is deployed on the master device, the wired slice is deployed on the slave device, and the Wi-Fi slice is deployed on the slave device and on the master device when the master device has Wi-Fi functions; the method comprises the following steps:
When the device is used as a main device, if a message of a target data stream belonging to a target service, which is sent by an Optical Line Terminal (OLT), is received through an uplink optical port, a label corresponding to the target service is added to the message, the labeled message is cached in a service sub-slice corresponding to the label in a gateway slice, and the labeled message is forwarded depending on the label;
when the device is used as slave equipment, if a message of a target data stream belonging to a target service, which is sent by a terminal, is received through a radio frequency port, a label corresponding to the target service is added to the message, the labeled message is cached into a service sub-slice corresponding to the label in a Wi-Fi slice, and the labeled message is forwarded depending on the label.
2. The method of claim 1, wherein when the device is a master device and the master device has a Wi-Fi function, if the destination end of the packet is a terminal accessed by a radio frequency port of the master device, the buffering the tagged packet into a service sub-slice corresponding to the tag in a gateway slice, and forwarding the tagged packet depending on the tag, includes:
After the tagged message is processed based on the wired QoS flow, the processed message is cached into a business sub-slice corresponding to the tag in the Wi-Fi slice, and then the message in the business sub-slice is sent to the terminal.
3. The method of claim 1, wherein when the device is used as a master device, if the destination end of the message is a terminal accessed by a radio frequency port of the slave device, the buffering the tagged message into a service sub-slice corresponding to the tag in a gateway slice, and forwarding the tagged message depending on the tag, includes:
after the tagged message is processed based on the wired QoS flow, the processed message is cached in a queue corresponding to a virtual interface GEM port of a passive optical network PON, the processed message is sent to the slave device based on the PON downlink broadcast scheduling flow, so that the slave device caches the processed message into a service sub-slice corresponding to the tag in the wired slice according to the tag, reprocesses the processed message based on the wired QoS flow, caches the reprocessed message into the service sub-slice corresponding to the tag in the Wi-Fi slice, and then sends the message in the service sub-slice to the terminal.
4. The method according to claim 1, characterized in that the method further comprises:
when the device is used as a main device and the main device has a Wi-Fi function, if a message of a target data stream belonging to a target service, which is sent by a terminal accessed by a radio frequency port of the main device, is received, and a destination terminal is an OLT connected with an uplink optical port of the main device, a label corresponding to the target service is added to the message, the labeled message is cached in a service sub-slice corresponding to the label in a Wi-Fi slice, the labeled message is cached in the service sub-slice corresponding to the label in a gateway slice, and after the labeled message is processed based on a wired QoS flow, the processed message is forwarded to the OLT through the uplink optical port of the main device.
5. The method of claim 1, wherein when the device is a slave device, if the packet is sent by a terminal accessed from a radio frequency port of the slave device, the buffering the tagged packet into a service sub-slice corresponding to the tag in a Wi-Fi slice, and forwarding the tagged packet depending on the tag, includes:
Caching the tagged message into a service sub-slice corresponding to the tag in a wired slice, processing the tagged message based on a wired QoS flow, caching the processed message into a queue corresponding to a GEM port and a transmission container T-CONT of a PON, and forwarding the processed message to a downlink optical port of a main device based on a scheduling flow of dynamic bandwidth allocation DBA of the main device.
6. The method of claim 5, wherein the message destination is an OLT connected to an upstream optical port of a host device, and after the processed message is forwarded to a downstream optical port of the host device, the method further comprises:
when the device is a master device, if the processed message is received by a downlink optical port connected with a slave device, after the master device receives the processed message, the processed message is cached in a service sub-slice corresponding to the tag in a gateway slice, and after the processed message is reprocessed based on a wired QoS flow, the reprocessed message is forwarded to the OLT through an uplink optical port of the master device.
7. The message forwarding device is characterized by being applied to any network equipment in the fiber-to-room FTTR networking; the network equipment is master equipment or slave equipment in the FTTR networking; the FTTR networking is divided into a plurality of service sub-slices according to service priority, and the FTTR networking is divided into a gateway slice, a wired slice and a Wi-Fi slice in advance; the gateway slice is deployed on the master device, the wired slice is deployed on the slave device, and the Wi-Fi slice is deployed on the slave device and on the master device when the master device has Wi-Fi functions; the device comprises:
The first forwarding unit is configured to, when the device is used as a master device, if a packet of a target data stream belonging to a target service sent by an optical line terminal OLT is received through an uplink optical port, add a tag corresponding to the target service to the packet, cache the tagged packet into a service sub-slice corresponding to the tag in a gateway slice, and forward the tagged packet depending on the tag;
and the second forwarding unit is used for when the equipment is used as slave equipment, if a message of a target data stream belonging to a target service, which is sent by the terminal, is received through the radio frequency port, adding a label corresponding to the target service to the message, caching the labeled message into a service sub-slice corresponding to the label in the Wi-Fi slice, and forwarding the labeled message according to the label.
8. The apparatus of claim 7, wherein when the device is a master device and the master device has a Wi-Fi function, if the message destination is a terminal accessed by a radio frequency port of the master device, the first forwarding unit is specifically configured to:
after the tagged message is processed based on a wired QoS flow, the processed message is cached into a business sub-slice corresponding to the tag in a Wi-Fi slice, and then the message in the business sub-slice is sent to the terminal;
And/or when the device is used as a master device, if the message destination end is a terminal accessed by a radio frequency port of the slave device, the first forwarding unit is specifically configured to:
after processing the tagged message based on the wired QoS flow, caching the processed message into a queue corresponding to a virtual interface GEM port of a passive optical network PON, sending the processed message to the slave device based on a PON downlink broadcast scheduling flow, so that the slave device caches the processed message into a service sub-slice corresponding to the tag in a wired slice according to the tag, reprocessing the processed message based on the wired QoS flow, caching the reprocessed message into the service sub-slice corresponding to the tag in a Wi-Fi slice, and sending the message in the service sub-slice to the terminal;
and/or, the first forwarding unit is further configured to:
when the device is used as a main device and the main device has a Wi-Fi function, if a message of a target data stream belonging to a target service, which is sent by a terminal accessed by a radio frequency port of the main device, is received, and a destination terminal is an OLT connected with an uplink optical port of the main device, a label corresponding to the target service is added to the message, the labeled message is cached in a service sub-slice corresponding to the label in a Wi-Fi slice, the labeled message is cached in the service sub-slice corresponding to the label in a gateway slice, after the labeled message is processed based on a wired QoS flow, the processed message is forwarded to the OLT through the uplink optical port of the main device;
And/or when the device is a slave device, if the message is sent by a terminal accessed by a radio frequency port of the slave device, the second forwarding unit is specifically configured to:
caching the tagged message into a service sub-slice corresponding to the tag in a wired slice, processing the tagged message based on a wired QoS flow, caching the processed message into a queue corresponding to a GEM port and a transmission container T-CONT of a PON, and forwarding the processed message to a downlink optical port of a main device based on a scheduling flow of dynamic bandwidth allocation DBA of the main device;
and/or, the message destination end is an OLT connected to an upstream optical port of the main device, and after the processed message is forwarded to a downstream optical port of the main device, the first forwarding unit is further configured to:
when the device is a master device, if the processed message is received by a downlink optical port connected with a slave device, after the master device receives the processed message, the processed message is cached in a service sub-slice corresponding to the tag in a gateway slice, and after the processed message is reprocessed based on a wired QoS flow, the reprocessed message is forwarded to the OLT through an uplink optical port of the master device.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 6 when the program is executed by the processor.
10. A computer readable storage medium, having stored thereon a program which, when executed by a processor, implements the method of any of claims 1 to 6.
CN202311771240.7A 2023-12-20 2023-12-20 Message forwarding method and device, electronic equipment and computer readable storage medium Pending CN117793583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311771240.7A CN117793583A (en) 2023-12-20 2023-12-20 Message forwarding method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311771240.7A CN117793583A (en) 2023-12-20 2023-12-20 Message forwarding method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117793583A true CN117793583A (en) 2024-03-29

Family

ID=90386177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311771240.7A Pending CN117793583A (en) 2023-12-20 2023-12-20 Message forwarding method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117793583A (en)

Similar Documents

Publication Publication Date Title
CN106789729B (en) Cache management method and device in network equipment
US9185047B2 (en) Hierarchical profiled scheduling and shaping
CN112585914B (en) Message forwarding method and device and electronic equipment
US11968111B2 (en) Packet scheduling method, scheduler, network device, and network system
EP3605975A1 (en) Client service transmission method and device
US10911364B2 (en) Packet processing method and router
EP3188419A2 (en) Packet storing and forwarding method and circuit, and device
CN110267276A (en) Network splitting and disposing method and device
WO2019029704A1 (en) Network object management method and apparatus therefor
CN109922003A (en) A kind of data transmission method for uplink, system and associated component
JP2000069548A (en) Communication band assignment method
CN116318554A (en) Network transmission method and device
CN117793583A (en) Message forwarding method and device, electronic equipment and computer readable storage medium
CN113453285B (en) Resource adjusting method, device and storage medium
US11012378B2 (en) Methods and apparatus for shared buffer allocation in a transport node
US11516145B2 (en) Packet control method, flow table update method, and node device
CN116074784A (en) Vehicle-mounted data transmission method and device and storage medium
CN110708255B (en) Message control method and node equipment
CN111756557B (en) Data transmission method and device
CN114448903A (en) Message processing method, device and communication equipment
CN114866488A (en) Information flow identification method, network chip and network equipment
CN112311678B (en) Method and device for realizing message distribution
CN114070776B (en) Improved time-sensitive network data transmission method, device and equipment
KR102519838B1 (en) Apparatus and method for switching converged data
CN115914123A (en) Traffic scheduling method, device, equipment, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination