CN117201434A - Ethernet data interaction method and system - Google Patents

Ethernet data interaction method and system Download PDF

Info

Publication number
CN117201434A
CN117201434A CN202311467940.7A CN202311467940A CN117201434A CN 117201434 A CN117201434 A CN 117201434A CN 202311467940 A CN202311467940 A CN 202311467940A CN 117201434 A CN117201434 A CN 117201434A
Authority
CN
China
Prior art keywords
ethernet
service flow
virtual
port
veth
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
CN202311467940.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.)
Hangzhou Cncr Information Technology Co ltd
Original Assignee
Hangzhou Cncr Information Technology 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 Hangzhou Cncr Information Technology Co ltd filed Critical Hangzhou Cncr Information Technology Co ltd
Priority to CN202311467940.7A priority Critical patent/CN117201434A/en
Publication of CN117201434A publication Critical patent/CN117201434A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to an Ethernet data interaction method and a system, wherein the data interaction in the uplink direction in the method comprises the following steps: receiving an Ethernet service flow carried by a small particle pipeline; based on a unique Vlan value of the small-particle pipeline under a physical port of the large-particle pipeline, adding a virtual port expansion tag Extvlan for the Ethernet service flow; mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the Extvlan, wherein Veth corresponds to the small particle pipeline; and encapsulating the Ethernet service flow into the corresponding small particle pipeline by fragments through Veth for data interaction. By the application, the Veth corresponding to the small particle pipeline is developed for the Ethernet service flow based on the Extvlan, and further the necessary two-layer Ethernet processing of the Ethernet service flow borne by the Veth small particle pipeline is realized based on the Veth small particle pipeline, so that the problem of how to improve the network bearing efficiency of the small bandwidth Ethernet service is solved.

Description

Ethernet data interaction method and system
Technical Field
The present application relates to the field of data communication technologies, and in particular, to an ethernet data interaction method and system.
Background
The OTN (Optical Transport Network optical transport network), SPN (Slicing Packet Network slice packet network) and other technologies provide a bearing channel which is hard-isolated by time slot division for various data services, and can meet the bearing requirements of the application in the initial 5G+ vertical industry. When carrying the ethernet service, the OTN and the SPN need to slice and encapsulate the ethernet service messages of different users into a certain independent hard pipeline for transmission, so that the user service data is isolated on a physical channel of a layer. It is often necessary at this point to use one or more two-layer ethernet ports on the switch chip to connect to a hard pipe to perform the necessary two-layer ethernet processing of the data that will enter the one-layer pipe.
With the advent of more complex application scenes and the emergence of high-value special line service in the 5G+ vertical industry, a great deal of bearing demands of small bandwidth, low time delay, high safety and high reliability are brought, but the hard pipeline bandwidth granularity provided by the Gbps-level large-particle pipeline bearing technology of OTN, SPN and the like is too large to accurately match the demands of small bandwidth service, so that the network bearing efficiency is low. On the basis, small-particle pipeline bearing technologies of Mbps levels such as OSU (Optical Service Unit optical service unit) and FGU (Fine Granularity Unit slice packet network fine particle unit) are respectively expanded and generated.
At present, no effective solution is proposed for the problem of how to improve the network bearing efficiency of the small bandwidth ethernet service in the related art.
Disclosure of Invention
The embodiment of the application provides an Ethernet data interaction method and system, which at least solve the problem of how to improve the network bearing efficiency of small-bandwidth Ethernet service in the related technology.
In a first aspect, an embodiment of the present application provides an ethernet data interaction method, where the method includes uplink data interaction and downlink data interaction, where the uplink data interaction includes:
receiving an Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline;
based on the unique Vlan value of the small-particle pipeline under the physical port of the large-particle pipeline, automatically adding a virtual port expansion tag Extvlan for the Ethernet service flow;
mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the virtual port expansion label Extvlan, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one;
and encapsulating the Ethernet service flow into corresponding small particle pipelines in a slicing way through the virtual Ethernet port Veth for data interaction.
In some of these embodiments, automatically adding a virtual port extension tag ExtVlan to the ethernet traffic stream based on the Vlan value unique to the small particle pipe under the physical port of the large particle pipe comprises:
and automatically acquiring a unique Vlan value of the small-particle pipeline under a physical port of the large-particle pipeline, and adding the Vlan value into the Ethernet service flow to serve as a virtual port expansion tag Extvlan.
In some embodiments, the encapsulating the ethernet traffic into the corresponding small particle pipeline through the virtual ethernet port Veth for data interaction includes:
scheduling the transmission sequence of the Ethernet service flow through a plurality of buffer queues in the virtual Ethernet port Veth based on the priority of the Ethernet service flow;
and encapsulating the scheduled Ethernet service flow into corresponding small particle pipelines in a slicing way for data interaction.
In some of these embodiments, mapping the ethernet traffic to the corresponding virtual ethernet port Veth based on the virtual port extension tag ExtVlan comprises:
analyzing the virtual port expansion tag Extvlan to obtain a Vlan value of the virtual port expansion tag Extvlan;
and mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the Vlan value.
In some of these embodiments, after mapping the ethernet traffic flow to the corresponding virtual ethernet port Veth based on the virtual port extension tag ExtVlan, the method comprises:
and stripping the virtual port expansion label Extvlan added in the Ethernet service flow to obtain the original Ethernet service flow.
In some embodiments, after the ethernet traffic is encapsulated into the corresponding small particle pipe for data interaction through the virtual ethernet port Veth, the method includes:
and converging the Ethernet service flow transmitted by the small-particle pipeline to the large-particle pipeline for transmission.
In some embodiments, the downstream data interaction includes:
receiving an Ethernet service flow, and analyzing and positioning the Ethernet service flow to obtain a small particle channel for bearing the Ethernet service flow;
adding a virtual port expansion tag Extvlan to the Ethernet service flow through a virtual Ethernet port Veth of the small particle pipeline;
and carrying out data interaction based on the virtual port expansion label Extvlan and the Ethernet service flow.
In some embodiments, the data interaction in the uplink direction further includes:
receiving an Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline;
automatically adding mpls labels to the Ethernet traffic stream based on multiprotocol label switching mpls;
mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the mpls label, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one;
and encapsulating the Ethernet service flow into corresponding small particle pipelines in a slicing way through the virtual Ethernet port Veth for data interaction.
In a second aspect, an embodiment of the present application provides an ethernet data interaction system, where the system is configured to perform the method of any one of the first aspect, and the system includes a switching chip and a programmable logic device FPGA;
the switching chip is used for receiving the Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline; based on the unique Vlan value of the small-particle pipeline under the physical port of the large-particle pipeline, automatically adding a virtual port expansion tag Extvlan for the Ethernet service flow;
the programmable logic device FPGA is used for mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth according to the virtual port expansion label Extvlan, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one; and encapsulating the Ethernet service flow into corresponding small particle pipelines in a slicing way through the virtual Ethernet port Veth for data interaction.
In some of these embodiments, the system comprises:
the FPGA is used for receiving the Ethernet service flow, analyzing and positioning the Ethernet service flow to obtain a small particle channel for bearing the Ethernet service flow; adding a virtual port expansion tag Extvlan to the Ethernet service flow through a virtual Ethernet port Veth of the small particle pipeline;
and the switching chip is used for carrying out data interaction according to the virtual port expansion label Extvlan and the Ethernet service flow.
Compared with the related art, the method and the system for data interaction of the Ethernet provided by the embodiment of the application have the advantages that the data interaction in the uplink direction in the method comprises the following steps: receiving an Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline; based on a unique Vlan value of the small-particle pipeline under the physical port of the large-particle pipeline, automatically adding a virtual port expansion tag Extvlan for the Ethernet service flow; mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on a virtual port expansion label Extvlan, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one; and the Ethernet service flow is packaged into the corresponding small particle pipeline in a slicing way through the virtual Ethernet port Veth for data interaction. According to the method, the virtual Ethernet ports which are in one-to-one correspondence with the small particle pipelines are expanded for the Ethernet service flows based on the virtual port expansion label Extvlan, and then the small particle pipelines realize necessary two-layer Ethernet processing of the Ethernet service flows borne by the virtual Ethernet ports, so that the problem of how to improve the network bearing efficiency of the small bandwidth Ethernet service is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flowchart of steps for uplink data interaction in an ethernet data interaction method according to an embodiment of the present application;
FIG. 2 is a schematic flow diagram of a small particle device carrying Ethernet traffic;
fig. 3 is a schematic flow chart of uplink data interaction in the ethernet data interaction method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating steps of downlink data interaction in an ethernet data interaction method according to an embodiment of the present application;
fig. 5 is a schematic flow chart of downlink data interaction in the ethernet data interaction method according to an embodiment of the present application;
fig. 6 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application.
Detailed Description
The present application will be described and illustrated with reference to the accompanying drawings and examples in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application. All other embodiments, which can be made by a person of ordinary skill in the art based on the embodiments provided by the present application without making any inventive effort, are intended to fall within the scope of the present application.
It is apparent that the drawings in the following description are only some examples or embodiments of the present application, and it is possible for those of ordinary skill in the art to apply the present application to other similar situations according to these drawings without inventive effort. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the described embodiments of the application can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "a," "an," "the," and similar referents in the context of the application are not to be construed as limiting the quantity, but rather as singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "connected," "coupled," and the like in connection with the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means two or more. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
The embodiment of the application provides an Ethernet data interaction method, which comprises data interaction in an uplink direction and data interaction in a downlink direction, wherein fig. 1 is a flow chart of steps of the uplink data interaction in the Ethernet data interaction method according to the embodiment of the application, and as shown in fig. 1, the data interaction in the uplink direction comprises the following steps:
step S102, receiving an Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline;
it should be noted that fig. 2 is a schematic flow chart of the small-particle device carrying the ethernet service, and as shown in fig. 2, when the small-particle device carries the ethernet service, one large-particle pipeline physical port on the network side is only connected with one network-side ethernet physical port of the switch chip inside the small-particle device. In order to implement independent two-layer processing of each small-particle pipeline service, multiple virtual two-layer ethernet ports (e.g., virtual ethernet ports Veth in the embodiment) need to be extended to correspond to the small-particle pipelines.
In step S102, specifically, fig. 3 is a schematic flow chart of uplink data interaction in the ethernet data interaction method according to an embodiment of the present application, as shown in fig. 3, in the small-particle device, ethernet traffic flows (such as traffic flow 1 and traffic flow 2) of different users are received through a user side port of the small-particle device, and the ethernet traffic flows are forwarded to a network side port of the small-particle device through a switching chip and a programmable logic device FPGA (Field Programmable Gate Array field programmable gate array). This process is data interaction in the upstream direction,
step S104, based on the unique Vlan value of the small particle pipeline under the physical port of the large particle pipeline, automatically adding a virtual port expansion label Extvlan for the Ethernet service flow;
in step S104, as shown in fig. 3, a virtual ethernet tag (vlan tag) is added as a virtual port extension tag ExtVlan in the ethernet traffic by the switch chip. Preferably, the Vlan value of the small-granule pipe unique under the physical port of the large-granule pipe is automatically acquired, and is added to the ethernet traffic flow as a virtual port extension tag ExtVlan (the Vlan value corresponds to the port number of the virtual ethernet port Veth). And then sent to the programmable logic device FPGA.
It should be noted that, a plurality of virtual ethernet ports Veth are virtualized in the programmable logic device FPGA in the subsequent step, and a layer of virtual port expansion label ExtVlan is expanded in step S104 to distinguish and identify, so as to finally realize the expansion of the virtual ethernet ports Veth of the small particle pipeline.
Step S106, mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on a virtual port expansion label Extvlan, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one;
in step S106, as shown in fig. 3, a plurality of virtual ethernet ports Veth are designed in the FPGA and correspond to the small particle channels. After receiving a message sent by the switching chip, analyzing the virtual port expansion tag Extvlan to obtain a Vlan value of the virtual port expansion tag Extvlan; the ethernet traffic stream is mapped to a corresponding virtual ethernet port Veth based on the Vlan value.
And stripping the virtual port expansion label Extvlan added in the Ethernet service flow to obtain the original Ethernet service flow.
It should be noted that, the hard pipeline provided by the OTN, SPN and other technologies is called a large-particle pipeline, and because the bandwidth granularity is too large (such as 2.5Gbps minimum in OTN and 5Gbps minimum in SPN), the network bearing efficiency is low because the requirements of small-bandwidth service cannot be precisely matched, so that on this basis, the small-particle pipeline bearing technologies of Mbps levels such as OSU (Optical Service Unit optical service unit), FGU (Fine Granularity Unit slice packet network fine particle unit) and the like are respectively expanded and generated. The service data of the clients are sliced and packaged into small particle pipelines, then converged into OTN and SPN large particle pipelines, and finally transmitted by the physical ports of the large particle pipelines, thereby providing a small particle bearing pipeline with low cost, refinement and hard isolation. Similar to large-particle pipeline technology, small-particle pipelines also require a corresponding two-layer port to implement the necessary two-layer ethernet processing for the traffic they carry. The virtual ethernet port Veth in step S106 is just to implement the necessary two-layer ethernet processing for the traffic carried by the small particle pipeline.
Further, the OTN (optical transport network ) has a high speed, and in OTN network transmission, clock synchronization is to be kept to ensure correct reception and analysis of data. In the mapping de-framing process AMP (Adaptive Mapping and Framing), BMP (BitTransparent apping) and GMP (GFP Mapping Protocol), etc., synchronization is very important on an end-to-end clock basis. Therefore, the clock consistency in the transmission process of the crossing board card or the device can be ensured, and the reliability and the accuracy of data transmission are ensured.
The SPN (Slicing Packet Network, slice packet network) described above inherits the functional characteristics of the PTN transmission scheme. SPNs are designed primarily for 5G transmission networks to meet the need for flexibly combined network slices in the 5G era. The network slicing refers to flexibly combining network elements of a core network to form a slicing network suitable for different service scenes. The SPN performs slice division of the transmission service at the transmission layer to realize the transmission of different services. By adopting FLEXE (Flex Ethernet) technology, physical particles with different sizes can be flexibly selected to bear service particles according to service requirements.
The IPRAN is an internet protocol based radio access network architecture aimed at providing efficient data transmission and access services for mobile communication systems. By employing an IPRAN, mobile network operators are able to implement data transmission at the radio access level using internet protocol technology. In the initial smoothed clock signal generated by the Fisher-Yates shuffle algorithm, each clock cycle corresponds to an element in the array. This initial smooth clock signal is used to read the data in the cache, ensuring that each data is read in a uniform time interval.
In addition, PTN (Packet Transport Network ) is a IP (Internet Protocol) packet transmission based network. The packet switching technology is adopted to divide data into small data packets and transmit the data packets through a network. The PTN has lower total use cost (TCO), has the traditional advantages of optical transmission, provides efficient and reliable data transmission service, and is suitable for various application scenes. PON (Passive Optical Network ) is a point-to-multipoint (P2 MP) based technology. "passive" means that the ODN (optical distribution network) does not contain any electronic components and electronic power sources, and the ODN is composed of passive components such as an optical Splitter, etc., without expensive active electronic equipment.
Step S108, the Ethernet service flow is packaged into the corresponding small particle pipeline in a slicing way through the virtual Ethernet port Veth for data interaction.
Step S108 specifically, as shown in fig. 3, the FPGA schedules the transmission sequence of the ethernet traffic flow through a plurality of buffer queues in the virtual ethernet port Veth based on the priority of the ethernet traffic flow; and encapsulating the scheduled Ethernet service flow into the corresponding small particle pipeline in a slicing way for data interaction.
It should be noted that, a plurality of queue caches are designed in the virtual ethernet port Veth, when the traffic flow exceeds the time slot configuration bandwidth of the small-granule channel, the ethernet data in the Veth can be scheduled according to priority, so as to ensure that the high-priority message (such as a protocol control message) cannot be discarded, and realize independent two-layer processing of each small-granule channel.
Through step S102 to step S108 in the embodiment of the application, virtual Ethernet ports corresponding to the small particle pipelines one by one are expanded for the Ethernet service flows based on the virtual port expansion label Extvlan, and then through the virtual Ethernet ports, the small particle pipelines realize necessary two-layer Ethernet processing of the Ethernet service flows borne by the small particle pipelines, so that the problem of how to improve the network bearing efficiency of the small bandwidth Ethernet service is solved.
In some embodiments, fig. 4 is a flowchart of steps of downlink data interaction in the ethernet data interaction method according to an embodiment of the present application, where, as shown in fig. 4, the downlink data interaction includes the following steps:
step S402, receiving the Ethernet service flow, analyzing and positioning the Ethernet service flow to obtain a small particle channel for bearing the Ethernet service flow;
specifically, in step S402, fig. 5 is a schematic flow chart of downlink data interaction in the ethernet data interaction method according to an embodiment of the present application, as shown in fig. 5, the FPGA receives an ethernet traffic data packet from a network side port of the small-particle device, analyzes and locates the data packet to obtain a corresponding small-particle pipeline, and then enters a virtual ethernet port Veth of the small-particle pipeline to perform two-layer ethernet processing.
Step S404, adding a virtual port expansion label Extvlan for the Ethernet service flow through a virtual Ethernet port Veth of the small particle pipeline;
in step S404, specifically, as shown in fig. 5, a layer of vlan tag is added to the service ethernet data packet by the virtual ethernet port Veth of the FPGA as a port expansion tag ExtVlan, and then the port expansion tag is sent to the switch chip.
Step S406, data interaction is performed based on the virtual port expansion label Extvlan and the Ethernet traffic.
In step S406, specifically, as shown in fig. 5, the switch chip parses the outermost vlan tag (i.e. ExtVlan) of the received ethernet traffic flow, and after adapting, strips off the ExtVlan to restore to the traffic ethernet packet, and then enters into corresponding forwarding in the downstream direction, and finally is sent out by the user side port of the small-particle device.
It should be noted that, when performing port-level ethernet two-layer processing (such as priority scheduling, traffic rate limiting) on service data entering a layer of hard pipes, in order not to affect the service of other hard pipes, an ethernet physical port needs to be used to interface with a layer of hard pipes. However, in applications such as OSU/FGU where there are many small particle hard pipes, there is a problem of insufficient physical ports of the ethernet.
The embodiment of the application uses a mode of adding a layer of standard Ethernet Vlan tag into the original Ethernet service flow as a port expansion tag, only a switching chip is required to provide the capability of adding a layer of Vlan tag at the forwarding position of the outlet service message, and a plurality of virtual two-layer Ethernet ports can be expanded on a limited Ethernet physical port to be in butt joint with a small particle pipeline by combining with the design of the FPGA. Because the format of the standard vlan tag is used as the port expansion tag, one Ethernet physical port can be expanded into 4095 virtual ports at most, and the technical application of a small particle pipeline can be well met.
In some embodiments, the data interaction in the uplink direction further includes:
receiving an Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline;
based on multiprotocol label switching mpls, automatically adding mpls labels to ethernet traffic;
mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the mpls label, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one;
and the Ethernet service flow is packaged into the corresponding small particle pipeline in a slicing way through the virtual Ethernet port Veth for data interaction.
It should be noted that, a manner of adding a layer of mpls (multiprotocol label switching) label in an original ethernet traffic stream in place of the ethernet vlan tag in the above embodiment may be used as a virtual port extension label of the ethernet traffic stream. Only the vlan tag added to the original data message forwarded between the switch chip and the FPGA in the above embodiment is replaced by an mpls tag, that is, the sender adds a layer of mpls tag in the original ethernet message, and the receiver parses the outermost mpls tag to identify the corresponding extended virtual port. The mpls label values used are allocated in small particle pipes (but cannot be the same as the mpls labels that might be used in an ethernet traffic stream).
It should be noted that the steps illustrated in the above-described flow or flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application provides an Ethernet data interaction system, which is used for executing the method of any one of the above embodiments, and comprises a switching chip and a programmable logic device FPGA;
the switching chip is used for receiving the Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline; based on a unique Vlan value of the small-particle pipeline under the physical port of the large-particle pipeline, automatically adding a virtual port expansion tag Extvlan for the Ethernet service flow;
the programmable logic device FPGA is used for mapping the Ethernet service flow to the corresponding virtual Ethernet ports Veth according to the virtual port expansion label Extvlan, wherein the virtual Ethernet ports Veth are in one-to-one correspondence with the small particle pipelines; and the Ethernet service flow is packaged into the corresponding small particle pipeline in a slicing way through the virtual Ethernet port Veth for data interaction.
In some of these embodiments, the system comprises:
the programmable logic device FPGA is used for receiving the Ethernet service flow, analyzing and positioning the Ethernet service flow and obtaining a small particle channel for bearing the Ethernet service flow; adding a virtual port expansion label Extvlan for the Ethernet service flow through a virtual Ethernet port Veth of the small particle pipeline;
and the switching chip is used for carrying out data interaction according to the virtual port expansion label Extvlan and the Ethernet service flow.
The above-mentioned system components (the switch chip and the programmable logic device FPGA) may be functional modules or program modules, and may be implemented by software or hardware. For modules implemented in hardware, the various modules described above may be located in the same processor; or the above modules may be located in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
It should be noted that, specific examples in this embodiment may refer to examples described in the foregoing embodiments and alternative implementations, and this embodiment is not repeated herein.
In addition, in combination with the ethernet data interaction method in the foregoing embodiment, the embodiment of the present application may be implemented by providing a storage medium. The storage medium has a computer program stored thereon; the computer program, when executed by a processor, implements any of the ethernet data interaction methods of the embodiments described above.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an ethernet data interaction method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In one embodiment, fig. 6 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 6, an electronic device, which may be a server, is provided, and an internal structure diagram thereof may be as shown in fig. 6. The electronic device includes a processor, a network interface, an internal memory, and a non-volatile memory connected by an internal bus, where the non-volatile memory stores an operating system, computer programs, and a database. The processor is used for providing computing and control capabilities, the network interface is used for communicating with an external terminal through a network connection, the internal memory is used for providing an environment for the operation of an operating system and a computer program, the computer program is executed by the processor to realize an Ethernet data interaction method, and the database is used for storing data.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the electronic device to which the present inventive arrangements are applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be understood by those skilled in the art that the technical features of the above-described embodiments may be combined in any manner, and for brevity, all of the possible combinations of the technical features of the above-described embodiments are not described, however, they should be considered as being within the scope of the description provided herein, as long as there is no contradiction between the combinations of the technical features.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. An ethernet data interaction method, which is characterized in that the method comprises uplink data interaction and downlink data interaction, wherein the uplink data interaction comprises:
receiving an Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline;
based on the unique Vlan value of the small-particle pipeline under the physical port of the large-particle pipeline, automatically adding a virtual port expansion tag Extvlan for the Ethernet service flow;
mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the virtual port expansion label Extvlan, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one;
and encapsulating the Ethernet service flow into corresponding small particle pipelines in a slicing way through the virtual Ethernet port Veth for data interaction.
2. The method of claim 1, wherein automatically adding a virtual port extension tag ExtVlan to the ethernet traffic stream based on a Vlan value unique to the small particle pipe under a physical port of the large particle pipe comprises:
and automatically acquiring a unique Vlan value of the small-particle pipeline under a physical port of the large-particle pipeline, and adding the Vlan value into the Ethernet service flow to serve as a virtual port expansion tag Extvlan.
3. The method of claim 1, wherein encapsulating the ethernet traffic in slices into corresponding small particle pipelines via the virtual ethernet port Veth for data interaction comprises:
scheduling the transmission sequence of the Ethernet service flow through a plurality of buffer queues in the virtual Ethernet port Veth based on the priority of the Ethernet service flow;
and encapsulating the scheduled Ethernet service flow into corresponding small particle pipelines in a slicing way for data interaction.
4. The method of claim 1, wherein mapping the ethernet traffic to a corresponding virtual ethernet port Veth based on the virtual port extension tag ExtVlan comprises:
analyzing the virtual port expansion tag Extvlan to obtain a Vlan value of the virtual port expansion tag Extvlan;
and mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the Vlan value.
5. The method according to claim 1, wherein after mapping the ethernet traffic flow to a corresponding virtual ethernet port Veth based on the virtual port extension tag ExtVlan, the method comprises:
and stripping the virtual port expansion label Extvlan added in the Ethernet service flow to obtain the original Ethernet service flow.
6. The method of claim 1, wherein after encapsulating the ethernet traffic in slices into corresponding small particle pipelines for data interaction through the virtual ethernet port Veth, the method comprises:
and converging the Ethernet service flow transmitted by the small-particle pipeline to the large-particle pipeline for transmission.
7. The method of claim 1, wherein the downstream data interaction comprises:
receiving an Ethernet service flow, and analyzing and positioning the Ethernet service flow to obtain a small particle channel for bearing the Ethernet service flow;
adding a virtual port expansion tag Extvlan to the Ethernet service flow through a virtual Ethernet port Veth of the small particle pipeline;
and carrying out data interaction based on the virtual port expansion label Extvlan and the Ethernet service flow.
8. The method of claim 1, wherein the uplink data interaction further comprises:
receiving an Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline;
automatically adding mpls labels to the Ethernet traffic stream based on multiprotocol label switching mpls;
mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth based on the mpls label, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one;
and encapsulating the Ethernet service flow into corresponding small particle pipelines in a slicing way through the virtual Ethernet port Veth for data interaction.
9. An ethernet data interaction system for performing the method of any of the preceding claims 1 to 8, the system comprising a switching chip and a programmable logic device FPGA;
the switching chip is used for receiving the Ethernet service flow, wherein the Ethernet service flow is carried through a small particle pipeline; based on the unique Vlan value of the small-particle pipeline under the physical port of the large-particle pipeline, automatically adding a virtual port expansion tag Extvlan for the Ethernet service flow;
the programmable logic device FPGA is used for mapping the Ethernet service flow to a corresponding virtual Ethernet port Veth according to the virtual port expansion label Extvlan, wherein the virtual Ethernet port Veth corresponds to the small particle pipeline one by one; and encapsulating the Ethernet service flow into corresponding small particle pipelines in a slicing way through the virtual Ethernet port Veth for data interaction.
10. The system according to claim 9, wherein the system comprises:
the FPGA is used for receiving the Ethernet service flow, analyzing and positioning the Ethernet service flow to obtain a small particle channel for bearing the Ethernet service flow; adding a virtual port expansion tag Extvlan to the Ethernet service flow through a virtual Ethernet port Veth of the small particle pipeline;
and the switching chip is used for carrying out data interaction according to the virtual port expansion label Extvlan and the Ethernet service flow.
CN202311467940.7A 2023-11-07 2023-11-07 Ethernet data interaction method and system Pending CN117201434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311467940.7A CN117201434A (en) 2023-11-07 2023-11-07 Ethernet data interaction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311467940.7A CN117201434A (en) 2023-11-07 2023-11-07 Ethernet data interaction method and system

Publications (1)

Publication Number Publication Date
CN117201434A true CN117201434A (en) 2023-12-08

Family

ID=88985422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311467940.7A Pending CN117201434A (en) 2023-11-07 2023-11-07 Ethernet data interaction method and system

Country Status (1)

Country Link
CN (1) CN117201434A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230421264A1 (en) * 2022-06-28 2023-12-28 Ciena Corporation Time-sliced GMP mapping with modified sigma-delta mapping function

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079809A (en) * 2007-06-12 2007-11-28 中兴通讯股份有限公司 An Ethernet service processing method in Gbit passive optical network
CN101425944A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Method for service bearing in G bit passive optical network system
CN102480652A (en) * 2010-11-29 2012-05-30 中兴通讯股份有限公司 Method for mapping service flow and ONT (Optical Network Termination)
CN108260032A (en) * 2018-01-11 2018-07-06 深圳市西迪特科技有限公司 The method that service virtual port is realized in GPON-OLT systems
CN112672236A (en) * 2019-10-15 2021-04-16 华为技术有限公司 Service signal processing method and device
CN113329276A (en) * 2020-02-28 2021-08-31 华为技术有限公司 Data transmission method, device, gateway, chip and storage medium
CN114339488A (en) * 2021-12-28 2022-04-12 北京格林威尔科技发展有限公司 Ethernet service protection method and device in optical transmission network
CN114363739A (en) * 2021-12-20 2022-04-15 北京华环电子股份有限公司 Service application method and device based on optical service unit
CN114554320A (en) * 2020-11-26 2022-05-27 中国移动通信有限公司研究院 Method, equipment and storage medium for transmitting and receiving optical network service
WO2022143046A1 (en) * 2020-12-30 2022-07-07 中兴通讯股份有限公司 Multi-service transmission method and system, and storage medium and electronic device
CN115208765A (en) * 2022-05-26 2022-10-18 中国信息通信研究院 Slice arranging method and system for power business
WO2022220854A1 (en) * 2021-06-28 2022-10-20 Futurewei Technologies, Inc. Granularity aware end-to-end bandwidth reservation and routing path selection
CN115604604A (en) * 2021-07-08 2023-01-13 中国移动通信有限公司研究院(Cn) Information processing method, device and equipment
CN115604603A (en) * 2021-07-07 2023-01-13 中国移动通信有限公司研究院(Cn) Information processing method, device and equipment
CN116156363A (en) * 2023-02-23 2023-05-23 烽火通信科技股份有限公司 Service link creation method, device, equipment and readable storage medium
CN116405438A (en) * 2023-04-21 2023-07-07 苏州浪潮智能科技有限公司 Service flow transmission method, system, computer equipment and storage medium
US20230232139A1 (en) * 2020-09-27 2023-07-20 Huawei Technologies Co., Ltd. Service Protection Method and Network Node

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079809A (en) * 2007-06-12 2007-11-28 中兴通讯股份有限公司 An Ethernet service processing method in Gbit passive optical network
CN101425944A (en) * 2007-10-30 2009-05-06 中兴通讯股份有限公司 Method for service bearing in G bit passive optical network system
CN102480652A (en) * 2010-11-29 2012-05-30 中兴通讯股份有限公司 Method for mapping service flow and ONT (Optical Network Termination)
CN108260032A (en) * 2018-01-11 2018-07-06 深圳市西迪特科技有限公司 The method that service virtual port is realized in GPON-OLT systems
CN112672236A (en) * 2019-10-15 2021-04-16 华为技术有限公司 Service signal processing method and device
CN113329276A (en) * 2020-02-28 2021-08-31 华为技术有限公司 Data transmission method, device, gateway, chip and storage medium
US20230232139A1 (en) * 2020-09-27 2023-07-20 Huawei Technologies Co., Ltd. Service Protection Method and Network Node
CN114554320A (en) * 2020-11-26 2022-05-27 中国移动通信有限公司研究院 Method, equipment and storage medium for transmitting and receiving optical network service
WO2022143046A1 (en) * 2020-12-30 2022-07-07 中兴通讯股份有限公司 Multi-service transmission method and system, and storage medium and electronic device
CN114765566A (en) * 2020-12-30 2022-07-19 中兴通讯股份有限公司 Multi-channel service transmission method, system, storage medium and electronic device
WO2022220854A1 (en) * 2021-06-28 2022-10-20 Futurewei Technologies, Inc. Granularity aware end-to-end bandwidth reservation and routing path selection
CN115604603A (en) * 2021-07-07 2023-01-13 中国移动通信有限公司研究院(Cn) Information processing method, device and equipment
CN115604604A (en) * 2021-07-08 2023-01-13 中国移动通信有限公司研究院(Cn) Information processing method, device and equipment
CN114363739A (en) * 2021-12-20 2022-04-15 北京华环电子股份有限公司 Service application method and device based on optical service unit
CN114339488A (en) * 2021-12-28 2022-04-12 北京格林威尔科技发展有限公司 Ethernet service protection method and device in optical transmission network
CN115208765A (en) * 2022-05-26 2022-10-18 中国信息通信研究院 Slice arranging method and system for power business
CN116156363A (en) * 2023-02-23 2023-05-23 烽火通信科技股份有限公司 Service link creation method, device, equipment and readable storage medium
CN116405438A (en) * 2023-04-21 2023-07-07 苏州浪潮智能科技有限公司 Service flow transmission method, system, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230421264A1 (en) * 2022-06-28 2023-12-28 Ciena Corporation Time-sliced GMP mapping with modified sigma-delta mapping function

Similar Documents

Publication Publication Date Title
CN113382442B (en) Message transmission method, device, network node and storage medium
US7412536B2 (en) Method and system for a network node for attachment to switch fabrics
US20040264472A1 (en) Method and system for open-loop congestion control in a system fabric
US9065764B2 (en) Method, apparatus and system for maintaining quality of service QoS
CN117201434A (en) Ethernet data interaction method and system
US8862768B2 (en) Method and system for packetizing data for servicing traffic end-to-end
WO2018013443A1 (en) Multiple core software forwarding
US20210037121A1 (en) Data transmission protection method, device, system, and computer readable storage medium
CN112769738A (en) DetNet data packet processing method and device
CN111917458B (en) Space data processing node device based on CCSDS specification
CN107483369B (en) Message processing method and virtual switch
US9363209B1 (en) Apparatus, system, and method for resequencing packets
CN111478880B (en) Data processing method and device
CN110677314A (en) Network interface testing method, system, electronic device and storage medium
CN107210973B (en) Message processing method, device and system
CN110224853B (en) Control system
CN103634213A (en) Message forwarding method
CN110557669B (en) Video data display method and device
CN114125881A (en) Interface data processing method, sending end equipment and receiving end equipment
KR100419281B1 (en) Transmitting Data Processor (TDP) and control method based on PMC in the Central Station for the Satellite Communication Systems
CN111224967B (en) Data processing method and device, electronic equipment and storage medium
CN111278059B (en) Message forwarding method and device
CN112235212B (en) Message forwarding method and programmable frame type switching equipment
US20220224989A1 (en) Multiple Core Software Forwarding
CN110971479B (en) Server detection method, device and system based on video network

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