CN115460704A - Flow data processing method and device, storage medium and electronic equipment - Google Patents

Flow data processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115460704A
CN115460704A CN202211111553.5A CN202211111553A CN115460704A CN 115460704 A CN115460704 A CN 115460704A CN 202211111553 A CN202211111553 A CN 202211111553A CN 115460704 A CN115460704 A CN 115460704A
Authority
CN
China
Prior art keywords
target
time slot
original
transmitted
flexible ethernet
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
CN202211111553.5A
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202211111553.5A priority Critical patent/CN115460704A/en
Publication of CN115460704A publication Critical patent/CN115460704A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames

Abstract

The disclosure relates to a method and a device for processing flow data, a storage medium and an electronic device, and relates to the field of network technology and security technology, wherein the method comprises the following steps: acquiring traffic data to be transmitted and a target program identifier of a target client generating the traffic data to be transmitted; matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client; generating a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible Ethernet group, the target program identifier, the target time slot and the target sub-time slot; and transmitting the traffic message to be transmitted to opposite-end network equipment based on the target time slot and the target sub-time slot. The present disclosure improves bandwidth utilization.

Description

Flow data processing method and device, storage medium and electronic equipment
Technical Field
The embodiment of the disclosure relates to the field of network technologies and security technologies, and in particular, to a method and a device for processing traffic data, a computer-readable storage medium, and an electronic device.
Background
With the construction of 5G, network development puts higher demands on mobile bearer bandwidth. Currently, when the standard ethernet interface is used as a telecommunication network interface, the following problems may exist: the same interface is not supported to bear various services, so that the utilization rate of the bandwidth is low.
It is to be noted that the information invented in the background section above is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a method for processing traffic data, a device for processing traffic data, a computer-readable storage medium, and an electronic device, which overcome, at least to some extent, the problem of low bandwidth utilization due to the limitations and disadvantages of the related art.
According to an aspect of the present disclosure, a method for processing traffic data is provided, where the method is configured in a home network device, and the method for processing traffic data includes:
acquiring traffic data to be transmitted and a target program identifier of a target client generating the traffic data to be transmitted;
matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client;
generating a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible Ethernet group, the target program identifier, the target time slot and the target sub-time slot;
and transmitting the traffic message to be transmitted to opposite-end network equipment based on the target time slot and the target sub-time slot, so that the opposite-end network equipment forwards the traffic data to be transmitted to a target client where the opposite-end network equipment is located according to the coding sequence number and the target program identifier included in the traffic message to be transmitted.
In an exemplary embodiment of the disclosure, the method for processing traffic data further includes:
building the flexible Ethernet group on the home terminal network equipment, and binding one or more original physical flexible Ethernet interfaces in the flexible Ethernet group;
creating one or more original clients with original program identifications, and associating each original client with a program identification into the flexible Ethernet group;
according to the service category of an original client included in the flexible Ethernet group, distributing an original time slot and an original sub-time slot of the original physical flexible Ethernet interface for the original client, and establishing a mapping relation between the original time slot and the original sub-time slot and the original program identifier;
configuring a logical interface service corresponding to the original client in a logical interface included in an original physical flexible Ethernet interface allocated to the original client, and creating an original logical sub-interface corresponding to the original client in the logical interface.
In an exemplary embodiment of the present disclosure, the method for processing traffic data further includes:
distributing original time slots for the original physical flexible Ethernet interfaces according to a time slot distribution mechanism included in a preset time slot distributor, and dividing the original time slots distributed for the original physical flexible Ethernet interfaces into a plurality of original sub-time slots based on the time slot distribution mechanism; the time slot granularity of the original physical flexible ethernet interface is 5G, and the time slot granularity of the original sub-time slot is 1G.
In an exemplary embodiment of the present disclosure, the flexible ethernet group is an interface having a preset bandwidth;
the bandwidth of the flexible ethernet group is the sum of the bandwidths of all the original physical flexible ethernet interfaces bound in the flexible ethernet group.
In an exemplary embodiment of the disclosure, matching a target timeslot and a target sub-timeslot corresponding to the target client in a flexible ethernet group according to the target program identifier includes:
and matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier based on the original time slot and the mapping relation between the original sub-time slot and the original program identifier.
In an exemplary embodiment of the present disclosure, transmitting the traffic packet to be transmitted to the peer network device based on the target timeslot and the target sub timeslot includes:
and forwarding the traffic message to be transmitted to the target logic subinterface based on the target time slot, and transmitting the traffic message to be transmitted to the opposite-end network equipment through the target logic subinterface based on the target subinterface.
In an exemplary embodiment of the present disclosure, forwarding, by an opposite end network device, traffic data to be transmitted to a target client where the opposite end network device is located according to a coding sequence number and a target program identifier included in the traffic message to be transmitted, includes:
the opposite terminal network equipment acquires a target time slot and a target sub-time slot which are included in the traffic message to be transmitted, and determines a target physical flexible Ethernet interface and a target logic sub-interface which correspond to the target time slot and the target sub-time slot according to a time slot scheduling rule;
the opposite-end network equipment determines a flexible Ethernet group corresponding to a coding sequence number included in the traffic message to be transmitted based on a binding relationship between the flexible Ethernet group and an original physical flexible Ethernet interface;
and the opposite-end network equipment determines a target client corresponding to the target program identifier included in the traffic message to be transmitted in the flexible Ethernet group based on the mapping relation between the original physical flexible Ethernet interface and the original program identifier, and transmits the traffic message to be transmitted to the target client.
According to an aspect of the present disclosure, there is provided a traffic data processing apparatus configured in a home network device, the traffic data processing apparatus including:
the flow data acquisition module is used for acquiring flow data to be transmitted and a target program identifier of a target client which generates the flow data to be transmitted;
the time slot matching module is used for matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client;
a traffic message generation module, configured to generate a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible ethernet group, the target program identifier, the target timeslot, and the target sub-timeslot;
and the traffic message transmission module is used for transmitting the traffic message to be transmitted to the opposite-end network device based on the target time slot and the target sub-time slot, so that the opposite-end network device forwards the traffic data to be transmitted to a target client where the opposite-end network device is located according to the coding sequence number and the target program identifier included in the traffic message to be transmitted.
According to an aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of processing flow data as described in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the processing method of the traffic data according to any one of the above items via executing the executable instructions.
On one hand, according to the method for processing traffic data provided by the embodiment of the present disclosure, a target time slot and a target sub-time slot corresponding to a target client may be matched in a flexible ethernet group according to a target program identifier; generating a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible Ethernet group, the target program identifier, the target time slot and the target sub-time slot; finally, the traffic message to be transmitted is transmitted to the opposite-end network equipment based on the target time slot and the target sub-time slot, so that the opposite-end network equipment forwards the traffic data to be transmitted to a target client where the opposite-end network equipment is located according to the code sequence number and the target program identification included in the traffic message to be transmitted, and further the problem that the utilization rate of the bandwidth is low because the same interface is not supported in the prior art is solved, and the utilization rate of the bandwidth is improved; on the other hand, the target time slot and the target sub-time slot corresponding to the target client can be matched in the flexible Ethernet group according to the target program identifier, and the target time slot and the target sub-time slot are configured according to the service type of the target client, so that different target clients can use different target time slots and different target sub-time slots, service isolation is realized, and service access efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure. It should be apparent that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived by those of ordinary skill in the art without inventive effort.
Fig. 1 schematically shows a flow chart of a method of processing traffic data according to an example embodiment of the present disclosure.
Fig. 2 schematically illustrates a FlexE generic architecture diagram based on a flexible ethernet protocol according to an example embodiment of the present disclosure.
Fig. 3 is a diagram schematically illustrating a timeslot allocation situation of a FlexE Group according to an exemplary embodiment of the present disclosure.
Fig. 4 schematically illustrates an application scenario of a FlexE communication system according to an exemplary embodiment of the present disclosure.
Fig. 5 schematically illustrates a flowchart of a time slot allocation method of a Client according to an exemplary embodiment of the present disclosure.
Fig. 6 is a diagram schematically illustrating an example of an allocation scenario of an original physical flexible ethernet interface and an original client included in a flexible ethernet group according to an example embodiment of the present disclosure.
Fig. 7 is a diagram schematically illustrating an example of a configuration scenario of a logical interface service and a logical subinterface service according to an example embodiment of the present disclosure.
Fig. 8 is a diagram schematically illustrating an example of a transmission scenario of traffic data according to an example embodiment of the present disclosure.
Fig. 9 schematically shows a block diagram of a traffic data processing apparatus according to an example embodiment of the present disclosure.
Fig. 10 schematically illustrates an electronic device for implementing the above-described traffic data processing method according to an example embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
With the construction of 5G (5 th Generation Mobile Communication Technology, fifth Generation Mobile Communication Technology), networks are developing higher demands on Mobile bearer bandwidth. Currently, when a standard Ethernet (Ethernet) interface is used as a telecommunication network interface, the following problems exist: on the one hand, more flexible bandwidth granularity is not supported; on the other hand, the same interface is not supported to carry various different services.
Based on this, in this example embodiment, a method for processing traffic data is first provided, where the method may be executed in a home network device, and the home network device may be a routing device or a gateway device where a data sending end is located; of course, those skilled in the art may also operate the method of the present disclosure on other platforms as needed, which is not particularly limited in the exemplary embodiment. Specifically, referring to fig. 1, the method for processing the flow data may include the following steps:
s110, obtaining flow data to be transmitted and a target program identifier of a target client generating the flow data to be transmitted;
s120, matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client;
s130, generating a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible Ethernet group, the target program identifier, the target time slot and the target sub-time slot;
step S140, the traffic message to be transmitted is transmitted to the opposite-end network device based on the target time slot and the target sub-time slot, so that the opposite-end network device forwards the traffic data to be transmitted to the target client where the opposite-end network device is located according to the coding sequence number and the target program identifier included in the traffic message to be transmitted.
In the method for processing traffic data, on one hand, the target time slot and the target sub-time slot corresponding to the target client can be matched in the flexible Ethernet group according to the target program identifier; generating a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible Ethernet group, the target program identifier, the target time slot and the target sub-time slot; finally, the traffic message to be transmitted is transmitted to the opposite-end network equipment based on the target time slot and the target sub-time slot, so that the opposite-end network equipment forwards the traffic data to be transmitted to a target client side where the opposite-end network equipment is located according to the coding sequence number and the target program identification which are included in the traffic message to be transmitted, and further the problem that the utilization rate of bandwidth is low because the same interface is not supported to bear various different services in the prior art is solved, and the utilization rate of the bandwidth is improved; on the other hand, the target time slot and the target sub-time slot corresponding to the target client can be matched in the flexible Ethernet group according to the target program identifier, and the target time slot and the target sub-time slot are configured according to the service type of the target client, so that different target clients can use different target time slots and different target sub-time slots, service isolation is realized, and service access efficiency is improved.
Hereinafter, a method for processing traffic data according to an exemplary embodiment of the present disclosure will be explained and explained in detail with reference to the drawings.
First, terms to which exemplary embodiments of the present disclosure relate are explained and explained.
FlexE group: a flexible ethernet group, which may also be referred to as a bonding group. Each FlexE group includes a plurality of PHYs (Physical ports) having a logically binding relationship. By logically bundled, it is meant that there may be no physical connection between different PHYs, and thus, multiple PHYs in a FlexE group may be physically independent. The network device in the FlexE can identify which PHYs are contained in one FlexE group by the numbers of the PHYs, so as to realize the logical binding of a plurality of PHYs. For example, the number of each PHY may be identified by a number between 1 and 254, with 0 and 255 being reserved numbers. The number of one PHY may correspond to one interface on the network device. The same number is used between two adjacent network devices to identify the same PHY. The numbers of the respective PHYs included in one flexgroup do not have to be consecutive. Normally, there is one FlexE group between two network devices, but the application does not limit that there is only one FlexE group between two network devices, that is, there may be multiple FlexE groups between two network devices. One PHY may be used to carry at least one client, and one client may be transmitted on at least one PHY.
Flexe client corresponds to various user interfaces or bandwidths of the network. The FlexE client can be flexibly configured according to the bandwidth requirement, and supports ethernet MAC data streams of various rates (such as 10G, 40G, n × 25G data streams, even non-standard rate data streams), for example, the data streams can be delivered to the FlexE shim layer by means of 64B/66B coding. Clients transmitting through the same FlexE group need to share the same clock and these clients need to adapt according to the allocated slot rate. The FlexeE client interface is used for transmitting the corresponding service data stream of the FlexeE client. The FlexEclient interface is a logical interface. Each FlexE interface can be logically divided into one or more FlexEclient interfaces, each FlexE interface can be divided into a plurality of time slots in the time domain, and each FlexE client interface occupies at least one time slot of the plurality of time slots.
Flexe shim is a core framework for realizing Flexe technology based on a calendar time slot distribution mechanism as an additional logic layer inserted between MAC and PHY (PCS sublayer) of a traditional Ethernet framework. The main role of FlexE shim is to slice data according to the same clock and encapsulate the sliced data into pre-divided slots (slots). And then, mapping each divided time slot to a PHY in a Flexe group for transmission according to a pre-configured time slot allocation table. Where each slot is mapped to one PHY in a FlexE group.
And (4) Calender: the slot allocation table may also be referred to as a slot table. A FlexE Group corresponds to a calendar, and a slot mapping table corresponding to a single physical link (PHY) included in one FlexE Group may be referred to as a sub-slot allocation table (english: sub-calendar). The FlexE calendar may consist of one or more sub-calendars. Each subcalendar may indicate how 20 slots (which may be written as slots in english) on the single physical link are allocated to the corresponding FlexE client. That is, each sub-calendar may indicate a corresponding relationship of a timeslot on the single physical link to FlexEclient. As defined in the current standard, two callers are specified in each FlexE overhead frame, which are the current primary slot table (calller a) and the standby slot table (calller B).
The FlexE constructs a fixed frame format for physical interface transmission and performs TDM time slot division. As described above, the FlexEshim layer embodies the slot mapping relationship between the client and the FlexE group and the CALENDAR working mechanism by defining the overhead frame and the overhead multiframe. It should be noted that the overhead frame may also be referred to as a flexible ethernet overhead frame (hereinafter, referred to as a FlexE overhead frame), and the overhead Multiframe may also be referred to as a flexible ethernet overhead Multiframe (hereinafter, referred to as a FlexE overhead Multiframe). The Flexe shim layer provides an in-band management channel through overhead, supports the transmission of configuration and management information between two butted Flexe interfaces, and realizes the automatic negotiation establishment of a link.
The data on each PHY of the FlexE is aligned by periodically inserting code blocks of FlexE Overhead (OH) frames, such as 1 overhead code block FlexE OH of 66B every 1023x 20 payload data code blocks of 66B. According to the Flexe Implementation agent protocol, a Flexe Group sends 64B/66B code blocks of a Flexe overhead frame to a remote PHY at preset time intervals on each PHY, and the 64B/66B code blocks of 8 sequentially sent Flexe overhead frames form a Flexe overhead frame. The FlexE defines some fields on the overhead frame to carry the timeslot allocation table, and synchronizes the timeslot allocation table to the PHY on the remote communication device through the FlexE overhead frame, so as to ensure that the dual-end communication device receives and transmits the data stream corresponding to the FlexE client by using the same timeslot allocation table.
Sub-slot: the sub-slots may also be referred to as low order slots. Compared with the time slot (also called as a large time slot or a high-order time slot) configured by the existing FlexE Client interface or the large bandwidth of the common ETH interface. For a standard Flexe Client interface or a common ETH interface, each Flexe Client interface or ETH interface is divided into M sub-time slots in the time domain, and each sub-user interface occupies the bandwidth of at least one sub-time slot for data transmission.
Based on a sub-slot distribution mechanism, the Flexe sub-shim slices the same sub-client data, and encapsulates the switched data serving as a sub-slot payload in a pre-divided sub-slot (sub-slot). And then mapping each divided sub-time slot to a corresponding Flexe Client interface according to a pre-acquired sub-Client sub-time slot mapping table. Wherein each subslot is mapped to a FlexE client interface.
Next, an application scenario of the exemplary embodiment of the present disclosure is explained and explained. In particular, fig. 2 illustrates a FlexE generic architecture diagram based on the flexible ethernet protocol. As shown in fig. 2, the FlexE Group includes 4 PHYs. The FlexE Client represents a Client data stream transmitted in a specified time slot (one time slot or a plurality of time slots) on a FlexE Group, one FlexE Group can carry a plurality of FlexE clients, one FlexE Client can correspond to one to a plurality of user service data streams (also called MAC clients), and the FlexE Shim layer provides data adaptation and conversion from the FlexE Client to the MAC clients. The Flexe can support the mapping and transmission of any plurality of different FlexeClients on any group of PHYs, thereby realizing the functions of PHY binding, channelization, subrate and the like; the multiple PHYs are combined together to form a FlexE Group (also called FlexE Group in english) for carrying one or multiple FlexE client data streams distributed and mapped through a FlexE Shim layer. Taking 100GE PHYs as an example, the FlexE Shim layer may divide each 100GE PHY in the FlexE Group into data carrying channels of 20 slots (slots), where a bandwidth corresponding to each Slot is 5Gbps.
Fig. 3 schematically shows a schematic diagram of the slot allocation case of the FlexE Group across 4 physical link interfaces (aggregating 4 PHYs). As shown in fig. 3, each PHY has 20 slots, and thus the FlexE Group has 20 × 4 slots. As shown in fig. 3, the FlexE Group in fig. 2 includes 4 PHYs, which are PHYA1201, PHYB1202, PHYC1203 and PHYD1204, respectively. FlexEGroup corresponds to a timeslot allocation table (english may also be referred to as "caledar"); the timeslot mapping table corresponding to a single physical link included in one FlexE Group may be referred to as a sub-timeslot allocation table (english may be referred to as sub-calendar). The FlexE calendar may consist of one or more sub-calendars. Each sub-calendar may indicate how 20 slots (slots) on the single physical link are allocated to a respective FlexE client. That is, each sub-calendar may indicate a correspondence of a time slot on the single physical link to FlexEclient. As shown in fig. 3, each PHY may correspond to 20 slots, which are indicated by slots 0 through 19, respectively. Fig. 3 shows a schematic diagram of 20 slots corresponding to each PHY in PHY a1201, PHY B1202, PHY C1203, and PHY D1204, respectively.
Fig. 4 shows a schematic application scenario of the FlexE communication system according to the present application. As shown in fig. 4, the FlexE communication system 400 includes a network device 1, a network device 2, a user device 1, and a user device 2. The network device 1 may be an intermediate node, in which case the network device 1 is connected to the user equipment 1 via other network devices. The network device 1 may be an edge node, in which case the network device 1 is directly connected to the user equipment 1. The network device 1 may be an intermediate node, in which case the network device 1 is connected to the user equipment 1 via other network devices. The network device 1 may also be an edge node, in which case the network device 1 is directly connected to the user equipment 1. The network device 2 may be an intermediate node, in which case the network device 2 is connected to the user equipment 2 via other network devices. The network device 2 may also be an edge node, in which case the network device 2 is directly connected to the user device 2. The network device 1 comprises a FlexE interface 1 and the network device 2 comprises a FlexE interface 2. The FlexE interface 1 is adjacent to the FlexE interface 2. Each FlexE interface comprises a sending port and a receiving port, and is different from a traditional ethernet interface in that one FlexE interface can bear a plurality of clients, and the FlexE interface serving as a logical interface can be formed by combining a plurality of physical interfaces. The flow of traffic data in the forward channel shown in fig. 4 is shown by solid arrows in fig. 4, and the flow of traffic data in the reverse channel is shown by dashed arrows in fig. 4. The transmission channel in the embodiment of the present invention takes a forward channel as an example, and the flow direction of the service data in the transmission channel is user equipment 1 → network equipment 2 → user equipment 2.
It should be understood that fig. 4 only shows 2 network devices and 2 user devices by way of example, and the network may include any other number of network devices and user devices, which is not limited in this application. The FlexE communication system shown in fig. 4 is only an example, and the application scenario of the FlexE communication system provided by the present application is not limited to the scenario shown in fig. 4. The technical scheme provided by the application is suitable for all network scenes using the Flexe technology for data transmission.
Further, the purpose of the disclosed example embodiments is explained and illustrated. Specifically, to solve the problem that the current standard Ethernet (Ethernet) interface does not support more flexible bandwidth granularity and does not support service isolation, an exemplary embodiment of the present disclosure provides a method for processing traffic data based on time slot scheduling; the management method of the flow data mainly comprises the implementation of a group/client architecture and a time slot scheduling; wherein, the group is mainly used for binding the actual physical interface and building the ultra-large bandwidth interface; the client is mainly used for creating a logic service port and realizing service isolation; the time slot scheduling is mainly used for dividing the time slots of physical interfaces in a group, configuring the time slots of client bandwidth and scheduling the traffic of a service port, so that the bandwidth utilization rate reaches 100%.
Further, the sub-slot allocation method involved in the exemplary embodiments of the present disclosure is explained and illustrated. Specifically, referring to fig. 5, the method for allocating a sub-slot may specifically include the following steps:
step S510, building the flexible ethernet group on the home network device, and binding one or more original physical flexible ethernet interfaces in the flexible ethernet group; the flexible Ethernet group is an interface with a preset bandwidth; the bandwidth of the flexible Ethernet group is the sum of the bandwidths of all the original physical flexible Ethernet interfaces bound in the flexible Ethernet group;
step S520, creating one or more original clients with original program identifiers, and associating each original client with a program identifier to the flexible ethernet group;
step S530, according to the service category of the original client included in the flexible Ethernet group, allocating the original time slot and the original sub-time slot of the original physical flexible Ethernet interface to the original client, and establishing the mapping relationship between the original time slot and the original sub-time slot and the original program identifier;
step S540, configuring a logical interface service corresponding to the original client in a logical interface included in the original physically flexible ethernet interface allocated to the original client, and creating an original logical subinterface corresponding to the original client in the logical interface.
In an example embodiment, the method for processing traffic data may further include: distributing original time slots for the original physical flexible Ethernet interfaces according to a time slot distribution mechanism included in a preset time slot distributor, and dividing the original time slots distributed for the original physical flexible Ethernet interfaces into a plurality of original sub-time slots based on the time slot distribution mechanism; the time slot granularity of the original physical flexible Ethernet interface is 5G, and the time slot granularity of the original sub-time slot is 1G.
Hereinafter, steps S510 to S540 will be explained and explained. Specifically, referring to fig. 6, that is, in a specific application process, a Client/Group architecture is built, a command line is designed, and multiple physical interfaces (that is, original physical flexible ethernet interfaces) are bound to a Group (flexible ethernet Group) to work together through command line configuration, and the Group is regarded as an ultra-large bandwidth interface; meanwhile, a Slot distribution mechanism of a Slot distributor Calendar is utilized, and the time slots are divided for the physical interfaces bound in the Group according to the time Slot granularity; in a specific application process, according to the service bandwidth requirement, a time slot of a physical interface in a Group can be directly configured for a Client, then interface-related services are issued to the Client, and a data stream is distributed to the physical interface based on time slot scheduling. Specifically, as shown in fig. 6, a plurality of connected physical interfaces are added to the groups at both ends, and time slots are allocated to different clients.
In some example embodiments, referring to fig. 7, first, group (flexible ethernet group) is created respectively at two end devices (a home network device and an opposite end network device), and the same group number (code sequence number) is marked; the coding sequence number may include G1 or G2, and the like, and may be set according to actual needs, which is not particularly limited in this example; then, marking the same phy number (interface serial number) of an interface (original physical flexible Ethernet interface) of the two devices which are physically connected, and binding the original physical flexible Ethernet interface into a group; the group (flexible ethernet group) can be regarded as an ultra-large bandwidth interface, and the bandwidth value is equal to the sum of the bandwidths of the original physical flexible ethernet interfaces bound in the group; further, distributing an original time Slot according to a Slot (time Slot) distribution mechanism of the Slot distributor Calendar and an original physical flexible Ethernet interface; the time slot granularity of the original physical flexible Ethernet interface is 5G under the default condition; for example, 50GE (50 Gbps) interface slots are 0-9, 100GE (100 Gbps) interface slots are 0-19; furthermore, the original time slot of each original physical flexible ethernet interface is divided into 5 sub-time slots, and the granularity of the sub-time slots is 1G.
In some example embodiments, after obtaining an original time slot and an original sub-time slot, a client (original client) may be created at two ends of a local network device and an opposite network device, and the client is associated with a group according to a service class of the original client, and a corresponding logical interface is allocated to the client (i.e., a sub-logical interface is allocated to the original client from an original physical flexible ethernet interface), and meanwhile, a client _ id (original program identifier) of a target client to be communicated, which is respectively located at the local network device and the opposite network device, is marked with the same client _ id, and then the original time slot and the original sub-time slot of a physical interface in the group (flexible ethernet group) are configured to the client; when the original time slot and the original sub-time slot are completely distributed, the client logic interface can be accessed, and the service of the interface is configured; and meanwhile, a subinterface of the client logical interface is created, the subinterface is accessed, and the service is configured.
In the method shown in fig. 5, on one hand, the interface is bundled, and ultra-large bandwidth can be realized; on the other hand, an original time slot and an original sub-time slot are set, so that the bandwidth utilization rate reaches 100%; on the other hand, a logical interface and a sub-interface can be created according to the service category of the original client, so that different services can be isolated.
Hereinafter, a processing method of the traffic data shown in fig. 1 will be explained and explained with reference to fig. 5 to 7. Specifically, the method comprises the following steps:
in step S110, traffic data to be transmitted and a target program identifier of a target client that generates the traffic data to be transmitted are obtained.
Specifically, the home terminal network device may receive traffic data to be transmitted, which is sent by a client disposed at the home terminal network device side, and further obtain a target program identifier, which is included in the traffic data to be transmitted and is possessed by a target client that generates the traffic data to be transmitted; the target client described herein may include an application client, and the application client may include, for example, an instant session program client, a shopping program client, a learning program client, a banking program client, an information sending program client, and the like, which is not limited in this example.
In step S120, matching a target timeslot and a target sub-timeslot corresponding to the target client in a flexible ethernet group according to the target program identifier; and the target time slot and the target sub-time slot are configured according to the service class of the target client.
In this exemplary embodiment, after the target program identifier is obtained, the target timeslot and the target sub-timeslot corresponding to the target client may be matched in the flexible ethernet group according to the target program identifier. Specifically, the method can be realized by the following steps: and matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier based on the original time slot and the mapping relation between the original sub-time slot and the original program identifier. It should be added that, because the target timeslot and the target sub-timeslot are configured according to the service class of the target client, the target client of the same service class can be allocated to the same target timeslot and the same target sub-timeslot, and thus the problem of low processing efficiency of data traffic due to the fact that the service traffic required by a certain service class is too large and the target timeslot and the target sub-timeslot are too small can be avoided; meanwhile, the problem of low utilization rate of bandwidth caused by overlarge target time slot and target sub-time slot due to small service flow required by a certain service class can be solved; that is, the method described in the exemplary embodiment of the present disclosure allocates the corresponding target timeslot and target sub-timeslot to the target client according to the service class, so as to improve the service processing efficiency and improve the bandwidth utilization rate on the basis of implementing service isolation.
In step S130, a traffic message to be transmitted is generated according to the traffic data to be transmitted, the coding sequence number of the flexible ethernet group, the target program identifier, the target timeslot, and the target sub-timeslot.
Specifically, since the same flexible ethernet group as that in the local network device is set in the peer network device, in order to achieve the same purpose, when sending the traffic packet to be transmitted to the peer network device, the flexible ethernet group needs to carry a coding sequence number of the flexible ethernet group, a target program identifier of the target client, and a target timeslot and a target sub-timeslot required by the target client.
In step S140, the traffic packet to be transmitted is transmitted to the peer network device based on the target timeslot and the target sub timeslot, so that the peer network device forwards the traffic data to be transmitted to the target client where the peer network device is located according to the coding sequence number and the target program identifier included in the traffic packet to be transmitted.
In this exemplary embodiment, first, the traffic packet to be transmitted is transmitted to the peer network device based on the target timeslot and the target sub timeslot. Specifically, the method can be realized by the following steps: and forwarding the traffic message to be transmitted to the target logic subinterface based on the target time slot, and transmitting the traffic message to be transmitted to the opposite-end network equipment through the target logic subinterface based on the target subinterface. Secondly, after the opposite-end network device receives the traffic message to be transmitted, the opposite-end network device forwards the traffic data to be transmitted to a target client where the opposite-end network device is located according to the coding sequence number and the target program identifier included in the traffic message to be transmitted. Specifically, the method can be realized by the following steps: firstly, the opposite terminal network equipment acquires a target time slot and a target sub-time slot which are included in the traffic message to be transmitted, and determines a target physical flexible Ethernet interface and a target logic sub-interface which correspond to the target time slot and the target sub-time slot according to a time slot scheduling rule; secondly, the opposite-end network equipment determines a flexible Ethernet group corresponding to a coding sequence number included in the traffic message to be transmitted based on a binding relationship between the flexible Ethernet group and an original physical flexible Ethernet interface; then, the opposite-end network device determines a target client corresponding to the target program identifier included in the traffic message to be transmitted in the flexible ethernet group based on a mapping relationship between an original physical flexible ethernet interface and an original program identifier, and transmits the traffic message to be transmitted to the target client.
In some example embodiments, referring to fig. 8, traffic of a client (where client _ id is c 1) c1 located on the local network device side first arrives at a time slot corresponding to PHY1 or PHY2 of the opposite network device through a physical interface PHY1 or PHY2 according to time slot scheduling, then arrives at G1 according to a group number (coding sequence number of a flexible ethernet group) in a traffic message to be transmitted, and finally arrives at c1 (target client) according to client _ id (target program identifier).
It should be added that, in the actual application process, as the local network device and the opposite network device are both provided with the flexible ethernet groups, the flexible ethernet groups may include one or more flexible ethernet groups; therefore, when the packet is transmitted, the target timeslot and the target sub timeslot which are included in the to-be-transmitted data packet are matched to the target timeslot and the target sub timeslot which are corresponding to the target physical flexible ethernet interface (for example, PHY1 or PHY 2) on the peer network device, and the to-be-transmitted data packet is processed through the target timeslot and the target sub timeslot on the peer network device, so that the to-be-transmitted data packet reaches the flexible ethernet group G1 of the peer network device, and a subsequent processing process is implemented. By the method, the bandwidth utilization rate of the local terminal network equipment can be improved, and the bandwidth utilization rate of the opposite terminal network equipment can be improved.
It should be further added that, because the flexible ethernet group is also configured with a logical interface service and a logical subinterface service corresponding to the target client, in a specific application process, the received data packet may be processed based on the logical interface service first, and then the corresponding logical subinterface service is allocated to the data packet according to the subinterface content included in the data packet, and then the processing is performed based on the logical subinterface service; in this embodiment, the logic sub-service may include a purchase sub-service, a collection sub-service, or a browse sub-service, and the like, which is not limited in this example.
The embodiment of the present disclosure further provides a device for processing traffic data, which is configured in the home network device. Specifically, as shown in fig. 9, the traffic data processing apparatus may include a traffic data obtaining module 910, a timeslot matching module 920, a traffic packet generating module 930, and a traffic packet transmitting module 940. Wherein:
a traffic data obtaining module 910, configured to obtain traffic data to be transmitted and a target program identifier of a target client that generates the traffic data to be transmitted;
a timeslot matching module 920, configured to match a target timeslot and a target sub-timeslot corresponding to the target client in a flexible ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client;
a traffic message generating module 930, configured to generate a traffic message to be transmitted according to the traffic data to be transmitted, the code number of the flexible ethernet group, the target program identifier, the target timeslot, and the target sub-timeslot;
the traffic packet transmission module 940 may be configured to transmit the traffic packet to be transmitted to the peer network device based on the target timeslot and the target sub-timeslot, so that the peer network device forwards the traffic data to be transmitted to a target client where the peer network device is located according to a coding sequence number and a target program identifier included in the traffic packet to be transmitted.
In an exemplary embodiment of the present disclosure, the processing apparatus of the traffic data further includes:
the flexible Ethernet group building module can be used for building the flexible Ethernet group on the local terminal network equipment and binding one or more original physical flexible Ethernet interfaces into the flexible Ethernet group;
an original client association module, configured to create one or more original clients with original program identifiers, and associate each original client with a program identifier into the flexible ethernet group;
a first time slot allocation module, configured to allocate, according to a service category of an original client included in the flexible ethernet group, an original time slot and an original sub-time slot of the original physical flexible ethernet interface to the original client, and establish a mapping relationship between the original time slot and the original sub-time slot and the original program identifier;
a logical interface service configuration module, configured to configure a logical interface service corresponding to the original client in a logical interface included in an original physically flexible ethernet interface allocated to the original client, and create an original logical sub-interface corresponding to the original client in the logical interface.
In an exemplary embodiment of the present disclosure, the processing apparatus of the traffic data further includes:
the second time slot allocation module may be configured to allocate an original time slot to the original physically flexible ethernet interface according to a time slot allocation mechanism included in a preset time slot allocator, and divide the original time slot allocated to the original physically flexible ethernet interface into a plurality of original sub-time slots based on the time slot allocation mechanism; the time slot granularity of the original physical flexible Ethernet interface is 5G, and the time slot granularity of the original sub-time slot is 1G.
In an exemplary embodiment of the present disclosure, the flexible ethernet group is an interface having a preset bandwidth;
the bandwidth of the flexible ethernet group is the sum of the bandwidths of all the original physical flexible ethernet interfaces bound in the flexible ethernet group.
In an exemplary embodiment of the present disclosure, matching a target timeslot and a target sub-timeslot corresponding to the target client in a flexible ethernet group according to the target program identifier includes:
and matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier based on the original time slot and the mapping relation between the original sub-time slot and the original program identifier.
In an exemplary embodiment of the present disclosure, transmitting the traffic packet to be transmitted to the peer network device based on the target timeslot and the target sub-timeslot includes:
and forwarding the traffic message to be transmitted to the target logic subinterface based on the target time slot, and transmitting the traffic message to be transmitted to the opposite-end network equipment through the target logic subinterface based on the target subinterface.
In an exemplary embodiment of the present disclosure, forwarding, by an opposite end network device, traffic data to be transmitted to a target client where the opposite end network device is located according to a coding sequence number and a target program identifier included in the traffic message to be transmitted, includes:
the opposite terminal network equipment acquires a target time slot and a target sub-time slot which are included in the traffic message to be transmitted, and determines a target physical flexible Ethernet interface and a target logical sub-interface which correspond to the target time slot and the target sub-time slot according to a time slot scheduling rule;
the opposite-end network equipment determines a flexible Ethernet group corresponding to a coding sequence number included in the flow message to be transmitted based on a binding relationship between the flexible Ethernet group and an original physical flexible Ethernet interface;
and the opposite-end network equipment determines a target client corresponding to the target program identifier included in the traffic message to be transmitted in the flexible Ethernet group based on the mapping relation between the original physical flexible Ethernet interface and the original program identifier, and transmits the traffic message to be transmitted to the target client.
The specific details of each module in the processing apparatus for traffic data have been described in detail in the corresponding processing method for traffic data, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken into multiple step executions, etc.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1000 according to this embodiment of the disclosure is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. The components of the electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, a bus 1030 connecting different system components (including the memory unit 1020 and the processing unit 1010), and a display unit 1040.
Wherein the storage unit stores program code that is executable by the processing unit 1010 to cause the processing unit 1010 to perform steps according to various exemplary embodiments of the present disclosure described in the above section "exemplary methods" of the present specification. For example, the processing unit 1010 may execute step S110 as shown in fig. 1: acquiring traffic data to be transmitted and a target program identifier of a target client generating the traffic data to be transmitted; step S120: matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client; step S130: generating a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible Ethernet group, the target program identifier, the target time slot and the target sub-time slot; step S140: and transmitting the traffic message to be transmitted to opposite-end network equipment based on the target time slot and the target sub-time slot, so that the opposite-end network equipment forwards the traffic data to be transmitted to a target client where the opposite-end network equipment is located according to the coding sequence number and the target program identifier included in the traffic message to be transmitted.
The storage unit 1020 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 10201 and/or a cache memory unit 10202, and may further include a read-only memory unit (ROM) 10203.
The memory unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1030 may be any one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, and a local bus using any of a variety of bus architectures.
The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interfaces 1050. Also, the electronic device 1000 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1060. As shown, the network adapter 1060 communicates with the other modules of the electronic device 1000 over the bus 1030. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
According to the program product for implementing the above method of the embodiments of the present disclosure, it may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described drawings are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for processing traffic data, configured in a home network device, the method for processing traffic data includes:
acquiring traffic data to be transmitted and a target program identifier of a target client generating the traffic data to be transmitted;
matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client;
generating a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible Ethernet group, the target program identifier, the target time slot and the target sub-time slot;
and transmitting the traffic message to be transmitted to opposite-end network equipment based on the target time slot and the target sub-time slot, so that the opposite-end network equipment forwards the traffic data to be transmitted to a target client where the opposite-end network equipment is located according to the coding sequence number and the target program identifier included in the traffic message to be transmitted.
2. The method for processing traffic data according to claim 1, further comprising:
building the flexible Ethernet group on the home terminal network equipment, and binding one or more original physical flexible Ethernet interfaces in the flexible Ethernet group;
creating one or more original clients with original program identifications, and associating each original client with a program identification into the flexible Ethernet group;
according to the service category of an original client included in the flexible Ethernet group, distributing an original time slot and an original sub-time slot of the original physical flexible Ethernet interface for the original client, and establishing a mapping relation between the original time slot and the original sub-time slot and the original program identifier;
configuring a logic interface service corresponding to the original client in a logic interface included in an original physical flexible Ethernet interface distributed to the original client, and creating an original logic sub-interface corresponding to the original client in the logic interface.
3. The method for processing traffic data according to claim 2, further comprising:
distributing original time slots for the original physical flexible Ethernet interfaces according to a time slot distribution mechanism included in a preset time slot distributor, and dividing the original time slots distributed for the original physical flexible Ethernet interfaces into a plurality of original sub-time slots based on the time slot distribution mechanism; the time slot granularity of the original physical flexible Ethernet interface is 5G, and the time slot granularity of the original sub-time slot is 1G.
4. The traffic data processing method according to claim 2 or 3, wherein the flexible Ethernet group is an interface having a preset bandwidth;
the bandwidth of the flexible ethernet group is the sum of the bandwidths of all the original physical flexible ethernet interfaces bound in the flexible ethernet group.
5. The method of claim 2, wherein matching a target timeslot and a target sub-timeslot corresponding to the target client in a flexible ethernet group according to the target program identifier comprises:
and matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier based on the original time slot and the mapping relation between the original sub-time slot and the original program identifier.
6. The traffic data processing method according to claim 5, wherein transmitting the traffic packet to be transmitted to an opposite-end network device based on the target timeslot and the target sub-timeslot comprises:
and forwarding the traffic message to be transmitted to the target logic subinterface based on the target time slot, and transmitting the traffic message to be transmitted to the opposite-end network equipment through the target logic subinterface based on the target subinterface.
7. The method for processing traffic data according to claim 1, wherein forwarding, by the peer network device, the traffic data to be transmitted to the target client where the peer network device is located according to the coding sequence number and the target program identifier included in the traffic packet to be transmitted, includes:
the opposite terminal network equipment acquires a target time slot and a target sub-time slot which are included in the traffic message to be transmitted, and determines a target physical flexible Ethernet interface and a target logic sub-interface which correspond to the target time slot and the target sub-time slot according to a time slot scheduling rule;
the opposite-end network equipment determines a flexible Ethernet group corresponding to a coding sequence number included in the traffic message to be transmitted based on a binding relationship between the flexible Ethernet group and an original physical flexible Ethernet interface;
and the opposite-end network equipment determines a target client corresponding to the target program identifier included in the traffic message to be transmitted in the flexible Ethernet group based on the mapping relation between the original physical flexible Ethernet interface and the original program identifier, and transmits the traffic message to be transmitted to the target client.
8. A traffic data processing apparatus, configured to a home network device, the traffic data processing apparatus comprising:
the traffic data acquisition module is used for acquiring traffic data to be transmitted and a target program identifier of a target client generating the traffic data to be transmitted;
the time slot matching module is used for matching a target time slot and a target sub-time slot corresponding to the target client in a flexible Ethernet group according to the target program identifier; the target time slot and the target sub-time slot are configured according to the service class of the target client;
a traffic message generating module, configured to generate a traffic message to be transmitted according to the traffic data to be transmitted, the coding sequence number of the flexible ethernet group, the target program identifier, the target timeslot, and the target sub-timeslot;
and the traffic message transmission module is used for transmitting the traffic message to be transmitted to the opposite-end network device based on the target time slot and the target sub-time slot, so that the opposite-end network device forwards the traffic data to be transmitted to a target client where the opposite-end network device is located according to the coding sequence number and the target program identifier included in the traffic message to be transmitted.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of processing flow data according to any one of claims 1 to 7.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of processing traffic data of any of claims 1-7 via execution of the executable instructions.
CN202211111553.5A 2022-09-13 2022-09-13 Flow data processing method and device, storage medium and electronic equipment Pending CN115460704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211111553.5A CN115460704A (en) 2022-09-13 2022-09-13 Flow data processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211111553.5A CN115460704A (en) 2022-09-13 2022-09-13 Flow data processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115460704A true CN115460704A (en) 2022-12-09

Family

ID=84302226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211111553.5A Pending CN115460704A (en) 2022-09-13 2022-09-13 Flow data processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115460704A (en)

Similar Documents

Publication Publication Date Title
WO2017156987A1 (en) Method and apparatus for establishing flexible ethernet (flexe) path
CN107438028B (en) Method and equipment for processing customer service
WO2022022263A1 (en) Data transmission method, and device
EP3562080B1 (en) Method and device for data transmission of front-haul transport network, and computer storage medium
EP3641237A1 (en) Transmission network system, and data exchange and transmission method, device and apparatus
CN113452623B (en) Method and device for transmitting service flow based on FlexE
US11438098B2 (en) Data transmission method, sending apparatus, and receiving apparatus
Benzaoui et al. Deterministic dynamic networks (DDN)
EP3468097B1 (en) Generating a forwarding table in a forwarding device
CN110493132A (en) A kind of satellite network variable-length label design method suitable for multi-service type
CN109936781B (en) Data transmission method, equipment and system
CN113973381A (en) Resource management method and device for flexible Ethernet Flexe
CN115460704A (en) Flow data processing method and device, storage medium and electronic equipment
CN107995082B (en) Service card management method, master control card and distributed gateway
JP7167345B2 (en) DATA TRANSMISSION METHOD, COMMUNICATION DEVICE, AND STORAGE MEDIUM
CN113163276A (en) Method, device and system for issuing routing information
CN109150747B (en) Method and device for changing service bandwidth and computer readable storage medium
CN100438496C (en) Network transmission method for multi-protocol label exchange VPN
CN114124285B (en) PCM multiplexing equipment for bearing multiple services and communication system
WO2023116284A1 (en) Slot negotiation and device for fine-grained service in flexible ethernet (flexe)
WO2023138390A1 (en) Timeslot allocation method, network device, and system
US20050213599A1 (en) Distributed LAN bridging system and process
CN102388582A (en) Transmission method for adding idle bit, transmitter and network system
CN115551096A (en) Time slot table generation method and device, nonvolatile storage medium and computer equipment
CN115277309A (en) Message forwarding method and device, storage medium and electronic equipment

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