CN115632753A - Data processing method, device and nonvolatile storage medium - Google Patents

Data processing method, device and nonvolatile storage medium Download PDF

Info

Publication number
CN115632753A
CN115632753A CN202211218029.8A CN202211218029A CN115632753A CN 115632753 A CN115632753 A CN 115632753A CN 202211218029 A CN202211218029 A CN 202211218029A CN 115632753 A CN115632753 A CN 115632753A
Authority
CN
China
Prior art keywords
code blocks
data
overhead
data code
code block
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
CN202211218029.8A
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.)
Network Communication and Security Zijinshan Laboratory
Original Assignee
Network Communication and Security Zijinshan Laboratory
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 Network Communication and Security Zijinshan Laboratory filed Critical Network Communication and Security Zijinshan Laboratory
Priority to CN202211218029.8A priority Critical patent/CN115632753A/en
Publication of CN115632753A publication Critical patent/CN115632753A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0078Timing of allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The invention discloses a data processing method, a data processing device and a nonvolatile storage medium. Wherein, the method comprises the following steps: determining a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; transmitting a second number of target data code blocks to forwarding equipment based on the first data transmission channel, wherein a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots. The invention solves the technical problems of low alignment efficiency and overlarge expense and high time delay caused by the fact that the expense code block is not associated with the alignment mark and time-sharing proofreading is needed in the related technology.

Description

Data processing method, device and nonvolatile storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data processing method and apparatus, and a nonvolatile storage medium.
Background
At present, the flexible ethernet technology has been widely applied to a communication system, taking an interaction between a communication device PE1 and a communication device PE2 as an example, as shown in fig. 1, when a sending device PE1 sends a signal to a receiving device PE2, the sending device PE1 generates a signal and sends the signal to a forwarding device P, the forwarding device P receives and forwards the signal and transmits the signal to the receiving device PE2, and the receiving device PE2 analyzes the received signal to obtain data in the signal. The signal transceiving flows of the transmitting device PE1, the receiving device PE2 and the forwarding device P are shown in fig. 2 to 4.
It can be seen that the current data processing method based on the flexible ethernet technology has at least the following problems: overhead code block insertion is unrelated to alignment mark insertion, so that the extraction processing of the overhead by a receiving end is complex, and the time delay is high; the forwarding device P has repetitive operations in the process of descrambling and scrambling, resulting in high time delay.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a data processing device and a nonvolatile storage medium, which are used for at least solving the technical problems of low alignment efficiency, overlarge expenditure and high delay caused by the fact that overhead code blocks and alignment marks are not related in the related technology and time-sharing proofreading is needed.
According to an aspect of an embodiment of the present invention, there is provided a data processing method including: determining a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; transmitting a second number of target data code blocks to forwarding equipment based on the first data transmission channel, wherein a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots.
According to an aspect of an embodiment of the present invention, there is provided another data processing method including: obtaining a second number of target data code blocks, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to first time slots; processing the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth; transmitting a second number of second data code blocks to the receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where the second alignment mark is fixed to an interval between the first number of second overhead code blocks, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot.
According to an aspect of an embodiment of the present invention, there is provided another data processing method including: obtaining a second number of second data code blocks, where the second data code blocks are transmitted based on a second data transmission channel, and a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are used to store configuration information corresponding to a second timeslot; and obtaining the restored data to be transmitted based on the second data code block.
According to another aspect of the embodiments of the present invention, there is provided another data processing method, including: the method comprises the steps that a sending device determines a first time slot and a first data transmission channel corresponding to the first time slot on the basis of a first bandwidth; the sending device transmits a second number of target data code blocks to the forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots; the forwarding equipment processes the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth; the forwarding device transmits a second number of second data code blocks to the receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot; the receiving device acquires a second number of second data code blocks; and obtaining the restored data to be transmitted based on the second data code block.
According to another aspect of the embodiments of the present invention, there is also provided a data processing system, including: the device comprises a sending device and a receiving device, wherein the sending device is used for determining a first time slot and a first data transmission channel corresponding to the first time slot on the basis of a first bandwidth; transmitting a second number of target data code blocks to forwarding equipment based on the first data transmission channel, wherein a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots; the forwarding device is connected with the sending device and is used for processing the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth; transmitting a second number of second data code blocks to the receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot; the receiving device is connected with the forwarding device and is used for acquiring a second number of second data code blocks; and obtaining the restored data to be transmitted based on the second data code block.
According to another aspect of the embodiments of the present invention, there is also provided a data processing apparatus, including: a first determining module, configured to determine a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; a first forwarding module, configured to transmit a second number of target data code blocks to a forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform any one of the above data processing methods.
In the embodiment of the invention, data to be transmitted is acquired; determining a target data code block corresponding to the data to be transmitted; acquiring a first bandwidth corresponding to the target data code block; determining a first time slot and a first data transmission channel corresponding to the first time slot based on the first bandwidth; based on the first data transmission channel, a first preset transmission mode is adopted to transmit a second number of the target data code blocks to forwarding equipment, wherein the first preset transmission mode is as follows: the method comprises the steps of sequentially transmitting a first pair Ji Biaoshi, a first number of overhead code blocks and a second number of target data code blocks, wherein the first number of overhead code blocks are used for storing configuration information corresponding to the first time slot, and the purpose of inserting the overhead code blocks and the alignment marks in an associated manner is achieved, so that the technical effects of simplifying a processing flow, improving data transmission efficiency and reducing time delay and overhead complexity are achieved, and the technical problems of low alignment efficiency and overlarge cost and high time delay caused by the fact that the overhead code blocks and the alignment marks are not associated in the related technology and time-sharing correction is needed are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a communication system architecture according to the prior art;
FIG. 2 is a schematic data processing flow diagram of a transmitting device according to the prior art;
fig. 3 is a schematic data processing flow diagram of a receiving device according to the prior art;
fig. 4 is a schematic data processing flow diagram of a forwarding device according to the prior art;
fig. 5 is a schematic diagram of an overhead code block insertion mechanism according to the prior art;
fig. 6 is a schematic diagram of a data storage form of an overhead code block according to the prior art;
FIG. 7 is a schematic diagram of an alignment marker insertion mechanism according to the prior art;
FIG. 8 is a schematic diagram of a form of data transmission according to the prior art;
FIG. 9 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of an alternative data transmission scheme according to an embodiment of the present invention;
FIG. 11 is a schematic data processing flow diagram of an alternative transmitting device according to an embodiment of the present invention;
fig. 12 is a schematic data processing flow diagram of an alternative forwarding device according to an embodiment of the present invention;
FIG. 13 is a data processing flow diagram of an alternative receiving device according to an embodiment of the invention;
FIG. 14 is a block diagram of a data processing system according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, in order to facilitate understanding of the embodiments of the present invention, some terms or nouns referred to in the present invention will be explained as follows:
the Medium Access Control (MAC) sublayer is a specific sublayer on the data link layer of the ethernet network, and is used to solve the problem of allocation of the shared channel.
The Physical Layer (PHY) defines electrical and optical signals, line states, clock baselines, data codes and circuits, etc. required for data transmission and reception, and provides a standard interface to the data link Layer, mainly for processing analog signals in communication.
Flexible Ethernet (FlexE Ethernet, referred to as FlexE for short) is proposed by the optical internetworking forum, and a core processing logic layer (FlexE Shim layer) is added between a media access control sublayer (namely, an MAC layer) and a physical layer (namely, a PHY layer) of a standard Ethernet interface to realize rate decoupling of the MAC layer and the PHY layer, so that the mapping relationship between an entity of the MAC layer and the PHY layer is changed from 1 to m to n, and Flexible rate matching is realized. The Flexe general architecture comprises a service interface layer Flexe Client, a core processing logic layer Flexe Shim and a physical interface integration layer Flexe Group.
The Flexe clients correspond to various service interfaces observed outside the network, each Flexe Client can be flexibly configured according to broadband requirements, support Ethernet MAC data streams with various rates, and transmit the data streams to a Flexe Shim layer through a 64B/66B coding mode. The Flexe Shim is used as a logic layer inserted between an MAC layer and a PHY layer, and a time slot distribution mechanism based on a time slot distributor Calendar is used for realizing a core framework of a flexible Ethernet technology. The FlexE Group, essentially various ethernet PHY layers, defaults to pooling the bandwidth of the PHY layer to resources of 5G bandwidth granularity.
The FlexE technology realizes user service flow forwarding based on a physical layer through a time slot crossing technology, and lays a foundation for bearing ultra-low delay service, however, the low delay technology of the current FlexE technology still needs to be optimized. Taking fig. 1 as an example, fig. 1 is a schematic structural diagram of a communication system. The communication system may include a communication device PE1, a communication device P, and a communication device PE2. Take the interaction between the communication device PE1 and the communication device PE2 as an example. When a communication device PE1 (hereinafter, referred to as a transmitting device PE 1) transmits a signal to a communication device PE2 (hereinafter, referred to as a receiving device PE 2), the transmitting device PE1 generates a signal and transmits the signal to a communication device P (hereinafter, referred to as a forwarding device P), the forwarding device P receives and forwards the signal and transmits the signal to the receiving device PE2, and the receiving device PE2 analyzes the received signal to acquire data in the signal.
In the conventional flexible ethernet solution, a signal sending flow of the sending device PE1 is shown in fig. 2; the received signal flow of the receiving device PE2 is shown in fig. 3; the forwarding signal processing flow of the forwarding device P is shown in fig. 4, wherein each module in fig. 2 to fig. 4 corresponds to a program execution step. It can be easily found that two main problems exist in the current timeslot distribution mechanism based on Calendar Calendar in the flexible Ethernet (Flexe) technology:
(1) The overhead insertion is not related to the alignment mark insertion, so that the extraction processing of the overhead by the receiving end is complex and the time delay is high.
Taking a physical interface set FlexE Group composed of physical interfaces PHY with bandwidth of 100GE as an example, the flexible ethernet FlexE uniformly divides the bandwidth PHY of each physical interface into 20 5GE timeslots, and allocates available timeslots (slots) in the FlexE Group according to the bandwidth required by each service interface (FlexE Client) to form mapping from the service data stream (FlexE Client) to one or more timeslots.
The mechanism for inserting overhead is specifically: one 66B Overhead code block is inserted every 20 × 1023 66B (bits, binary) data code blocks, 8 consecutive Overhead code blocks form one Overhead Frame (Overhead Frame), and 32 Overhead frames form one Overhead MultiFrame (Overhead MultiFrame), thereby carrying a complete set of flexible ethernet FlexE control information. The specific insertion form is shown in fig. 5; the overhead code stores configuration information corresponding to each time slot, and a specific storage form is shown in fig. 6.
The insertion mechanism of the alignment mark is specifically as follows: a physical interface PHY with the bandwidth of 100GE distributes signals to 20 PCS data channels in a PCS layer, and inserts a 66B alignment mark code block into each 16383 data code blocks of 66B on each PCS data channel of a physical coding sublayer. A specific insertion pattern is shown in fig. 7, in which black code blocks are alignment mark code blocks and white code blocks are data code blocks. The overhead code blocks originally appearing in an Ethernet 100GE physical interface appear on 20 physical coding sublayer PCS data channels in turn according to a certain rule. The distribution of overhead code blocks over 20 physical coding sublayer PCS data channels is shown in fig. 8. As can be seen from fig. 8, the insertion position of the alignment mark is not associated with the insertion position of the overhead code block, so that when the receiving device PE2 receives the signal sent by the sending device PE1, after the alignment mark locking module processes the position of the 1 st overhead code block in the 256 overhead code blocks of the flexible ethernet FlexE is further locked, all data code blocks before the overhead code block is locked are invalid, and therefore, the added overhead code block locking module will have two negative effects: one is to add delay, which depends on the relative position of the 1 st overhead code block and the alignment mark code block. Secondly, the resources are wasted, and a large number of variables and logic processing units need to be added to the overhead code block locking module. The above-described problems also exist for the forwarding device P.
(2) The forwarding device P has repetitive operations in the process of descrambling and scrambling, resulting in high time delay.
As can be seen from fig. 4, when receiving the data code block D, the forwarding device P first performs a descrambling operation to form a data code block D', and performs a scrambling operation when transmitting data to restore the data code block D. It is easy to find that this descrambling and scrambling operation is redundant and brings about two negative effects as well: firstly, the time delay is increased, and secondly, the resource is wasted.
In view of the foregoing, it should be noted that the steps illustrated in the flowchart of the accompanying figures may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than presented herein.
Fig. 9 is a flowchart of a data processing method according to an embodiment of the present invention, as shown in fig. 9, the method including the steps of:
step S902, determining a first time slot and a first data transmission channel corresponding to the first time slot based on the first bandwidth.
Optionally, before step S902, data to be transmitted needs to be acquired, and a target data code block corresponding to the data to be transmitted and a first bandwidth corresponding to the target data code block are determined. The first bandwidth corresponding to the target data code block may be determined to be obtained according to the type of data to be transmitted. For example, when the first bandwidth is determined to be 40GB, 8 unoccupied standard slots are selected from the 20 standard slots as the first slot corresponding to the target data code block, and the data transmission channel corresponding to the selected 8 unoccupied standard slots is used as the first data transmission channel corresponding to the target data code block. The target data code block is a data code block in the form of binary bits, which may be, but is not limited to, a 66B data code block, where the first two bits are alignment identification bits corresponding to the data code block, and the last 64 bits correspond to data to be transmitted.
Step S904, transmitting a second number of target data code blocks to a forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots.
Optionally, the specific transmission form of the target data code block and the corresponding first transmission packet in step S904 may be: and sequentially transmitting the first alignment mark, the first overhead code blocks of the first number, and the target data code blocks of the second number to the forwarding device based on the first data transmission channel. And after the transmission of the last target data code block of the second number of target data code blocks is completed, completing the transmission of a group of complete flexible ethernet control information and the second number of target data code blocks. And at this time, the operation of sequentially transmitting the first alignment mark, the first overhead code blocks of the first quantity and the target data code blocks of the second quantity is executed again, and the operation is repeated in a circulating way until all the data code blocks corresponding to the band transfer data are completely transmitted. The first overhead code blocks of the first number are used to store configuration information corresponding to the first time slot, that is, the first overhead code blocks of the first number may carry a group of complete flexible ethernet control information.
It should be noted that, when there are a plurality of first data transmission channels corresponding to data to be transmitted, there may be a difference between the data transmission speed and the data transmission sequence of each data transmission channel, which causes a sequence deviation of the data received by the receiving device or the forwarding device. Therefore, an alignment mark (i.e. the above-mentioned first alignment mark) is inserted into the first transmission message corresponding to the data code block, and is used for performing consistency synchronization on the target data code blocks in the plurality of first data transmission channels, so as to ensure consistency of data transmission. The specific insertion format ensures that the interval between the target first pair Ji Biaoshi and the first number of first overhead code blocks is fixed, for example, the first overhead code blocks are fixedly inserted in the next clock cycle of the first alignment mark. Specific insertion mechanisms may be, but are not limited to: inserting a first alignment mark at intervals of a preset number of code blocks (data code blocks or overhead code blocks); the insertion mechanism of the first overhead code block may be, but is not limited to: the code blocks with the preset number are inserted into a first overhead code block with a first number which is continuous, the first overhead code block insertion position is adjacent to the first alignment mark and is positioned in the next clock period of the first alignment mark. Taking the example that the physical transmission channel with the bandwidth of 100GE is divided into 20 standard time slots, the insertion mechanism of the first alignment mark may be, but is not limited to, inserting a first alignment mark for code blocks (data code blocks or overhead code blocks) spaced by 16383 times 66B; the first number may be, but is not limited to, 20, and the insertion mechanism of the first overhead code block may be, but is not limited to: the code blocks (data code blocks or first alignment marks) spaced 16383 by 66B are inserted into 20 consecutive first overhead code blocks. The first overhead code block is inserted in a next clock cycle of the first alignment mark. A specific data transmission form is shown in fig. 10.
It should be noted that in the embodiment of the present invention, the overhead code blocks are inserted in the next clock cycle of the insertion of the alignment mark, since the alignment marks of 20 PCS data channels are 16383 66B code blocks apart. Therefore, the insertion interval of the overhead code blocks is also improved to 16383 66B (for example, with PHY of 100GE and 5G bandwidth granularity), and 256 complete overhead code blocks are optimized to 20 code blocks, and complete control information is improved to be sent at one time. The advantages are that: firstly, an alignment mark and an overhead code block can be simultaneously inserted at a sending end, two processing modules (an overhead insertion module and an alignment mark insertion module) are not needed to be respectively used in a traditional flexible Ethernet mechanism, and two processing links which are not related to each other are adopted for inserting the alignment mark and the overhead code block. Secondly, when the receiving end locks the alignment mark, the overhead code block is also locked. Thereby saving the time delay caused by the processing of overhead code blocks by the receiving end.
It is understood that the execution subject of the above steps S902 to S910 is a transmitting device. The ethernet based on IEEE802.3 can be applied to a physical transmission channel with a bandwidth of 100GE, and the physical transmission channel with a bandwidth of 100GE is divided into 20 standard time slots, and a bandwidth corresponding to each time slot is 5GB, that is, a bandwidth of a data transmission channel corresponding to each time slot is 5GB. Through the steps S902 to S910, the purpose of inserting the overhead code block and the alignment identifier in association can be achieved, so that the technical effects of simplifying the processing flow, improving the data transmission efficiency and reducing the time delay and the overhead complexity are achieved, and the technical problems of low alignment efficiency and excessive overhead and high time delay caused by the fact that the overhead code block and the alignment identifier are not associated and need time-sharing calibration in the related art are solved.
In an optional embodiment, before the transmitting a second number of target data code blocks to a forwarding device based on the first data transmission channel, the method further includes: acquiring data to be transmitted; coding the data to be transmitted to obtain a first data code block; and disturbing the first data code block to obtain the target data code block, wherein descrambling corresponding to the disturbing is performed by a receiving device.
It should be noted that, in the related art, the encoding processing and scrambling (i.e. perturbation processing) steps of the data to be transmitted are not continuously performed, and as shown in fig. 2, the insertion process of the overhead code block and the alignment mark in the transmitting device is not continuously performed, and the scrambling processing process is located between the insertion process of the overhead code block and the insertion process of the alignment mark. Different from the prior art, the scrambling processing process is advanced, after the first data code block is obtained through the coding processing of the data to be transmitted, the scrambling processing is directly carried out on the first data code block to obtain the target data code block, and on the basis, the first alignment mark and the related insertion of the first overhead code block are carried out on the obtained target data code block. The data processing flow of the sending device after adjustment is shown in fig. 11, which is equivalent to moving up the scrambling module in the sending device of fig. 2 between the flexible ethernet Calendar module (i.e., the FlexE Calendar module) and the encoding module. Through the adjustment of the processes, the data processing result of the sending equipment is not influenced, but the scrambling processing and descrambling processing flows of the data code block in the forwarding equipment are omitted in the subsequent data processing process, so that the data processing time is shortened, and the data processing efficiency of the forwarding equipment is improved.
According to an embodiment of the present invention, there is provided another data processing method, including:
step S911, a second number of target data code blocks are acquired.
Optionally, the first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots.
Step S912, processes the target data code block to obtain a second data code block.
In an optional embodiment, the processing the target data code block to obtain a second data code block includes: acquiring the first alignment mark corresponding to the target data code block and the first overhead code blocks of the first number; and performing alignment processing on the target data code block based on the first alignment mark and the first overhead code blocks of the first number to obtain the second data code block.
Optionally, the aligning, performed on the target data code block based on the first alignment mark and the first number of first overhead code blocks to obtain the second data code block, includes: and performing alignment processing on the target data code block to obtain a third data code block, and performing reduction processing on the third data code block to remove related time slot information to obtain the second data code block.
It should be noted that, when there are a plurality of first data transmission channels corresponding to the target data code block, there may be a difference between the data transmission speed and the data transmission order of each data transmission channel, which causes a deviation in the order of the data received by the forwarding device. Therefore, after the forwarding device acquires the target data code blocks, the target data code blocks are aligned based on the first alignment marks and the first overhead code blocks of the first number, so that consistency synchronization of the target data code blocks from the plurality of first data transmission channels is guaranteed, and consistency of data transmission is guaranteed.
Optionally, fig. 12 is a schematic diagram of a data processing flow of an optional forwarding device according to an embodiment of the present invention, and as shown in fig. 12, in the embodiment of the present invention, compared with the data processing flow of the forwarding device in the prior art shown in fig. 4, the associated transmission of the second pair of Ji Biaoshi and the second overhead code block is implemented, and meanwhile, scrambling processing and descrambling processing flows of the data code block inside are omitted, so that the effects of reducing data processing time and improving data processing efficiency of the forwarding device are achieved.
Step S913, determining a second time slot and a second data transmission channel corresponding to the second time slot based on the second bandwidth.
It is to be understood that the second bandwidth is a transmission bandwidth corresponding to the second data code block. The second bandwidth corresponding to the second data code block may be the same as or different from the first bandwidth corresponding to the target data code block. For example, when it is determined that the second bandwidth is the same as the first bandwidth and 40GB, 8 unoccupied standard slots are selected from the 20 standard slots as the second slots corresponding to the second data code block, and the data transmission channels corresponding to the selected 8 unoccupied standard slots are used as the second data transmission channels corresponding to the second data code block.
Step S914, based on the second data transmission channel, transmits a second number of second data code blocks to the receiving device, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where the second alignment mark is fixed to an interval between the first number of second overhead code blocks, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot.
Optionally, the second transmission packet includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, the second alignment mark and the first number of second overhead code blocks having a fixed interval therebetween, for example, the second overhead code blocks are fixedly inserted into a next clock cycle of the second alignment mark. The first number of overhead code blocks is used to store configuration information corresponding to the second timeslot, that is, the first number of overhead code blocks may carry a group of complete flexible ethernet control information. The insertion mechanism and the insertion process of the second alignment mark and the second overhead code block are the same as those of the first alignment mark and the first overhead code block, and are not described herein again.
It is understood that the execution subjects of the above steps S911 to S915 are forwarding devices. The ethernet based on IEEE802.3 can be applied to a physical transmission channel with a bandwidth of 100GE, and the physical transmission channel with a bandwidth of 100GE is divided into 20 standard time slots, and a bandwidth corresponding to each time slot is 5GB, that is, a bandwidth of a data transmission channel corresponding to each time slot is 5GB. Through the steps S911 to S915, the purpose of associating and locking the overhead code block and the alignment mark and further simultaneously checking the overhead code block and the alignment mark can be achieved, so that the technical effects of simplifying the processing flow, improving the data transmission efficiency and reducing the time delay and the overhead complexity are achieved, and the technical problems of low alignment efficiency and overlarge overhead caused by the fact that the overhead code block and the alignment mark are not associated and need time-sharing checking in the related technology are solved.
According to an embodiment of the present invention, there is provided another data processing method, including:
in step S921, a second number of second data code blocks are obtained.
Optionally, the second data code block is transmitted based on a second data transmission channel, where a second transmission packet corresponding to the second data code blocks in the second number includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where the second alignment mark has a fixed interval with the first number of second overhead code blocks, and the first number of second overhead code blocks are used to store configuration information corresponding to a second timeslot.
And step S922, obtaining the restored data to be transmitted based on the second data code block.
In an optional embodiment, the obtaining the reduced data to be transmitted based on the second data code block includes: acquiring the second alignment mark corresponding to the second data code block and the first number of second overhead code blocks; aligning the second data code blocks based on the second alignment marks and the first number of second overhead code blocks to obtain fourth data code blocks; performing descrambling processing on the fourth data code block to obtain a sixth data code block, wherein the scrambling processing corresponding to the descrambling processing is performed through sending equipment; and decoding the sixth data code block to obtain the restored data to be transmitted.
It should be noted that, in the case that there are a plurality of second data transmission channels corresponding to the second data code block, there may be a difference between the data transmission speed and the data transmission order of each data transmission channel, which results in a deviation of the order of the data received by the receiving device. Therefore, after receiving the second data code blocks, the receiving device performs alignment processing on the second data code blocks based on the second pairs Ji Biaoshi and the first number of second overhead code blocks, so as to ensure consistency synchronization on the second data code blocks from the plurality of second data transmission channels and ensure consistency of data transmission.
Optionally, the performing descrambling on the fourth data code block to obtain a sixth data code block specifically includes: firstly, the fourth data code block is subjected to reduction processing (namely, relevant time slot division information is removed) to obtain a fifth data code block; and carrying out descrambling processing on the fifth data code block on the basis to obtain a sixth data code block. The reduction processing is used for reducing and merging the time-slotted fourth data code blocks from the plurality of second data transmission channels to obtain a time-slotted sixth data code block.
It should be noted that, in the related art, the scrambling and descrambling steps of the data to be transmitted are not performed continuously, and as shown in fig. 3, the insertion process of the overhead code block and the alignment mark in the receiving device is not performed continuously, and the descrambling process is located between the overhead locking process and the alignment locking process. Different from the prior art, in the present application, the disturbance processing corresponding to the descrambling processing is performed by the sending device, and the descrambling processing and the decoding processing are sequentially performed after the second data code block is aligned based on the second pair Ji Biaoshi and the second overhead code block by moving the descrambling processing process backward. Corresponding to moving up the descrambling module in the receiving device of fig. 3 between the FlexE callback module and the decoding module. Through the adjustment of the above process, the data processing result of the receiving device is not affected, but the internal disturbance processing and descrambling processing flow of the data code block in the subsequent data processing process of the forwarding device is omitted, so that the data processing time is reduced, and the data processing efficiency of the forwarding device is improved.
It is to be understood that the execution subject of the above steps S921 to S922 is a receiving device. Through the steps S921 to S922, the overhead code block and the alignment identifier can be locked in association, and then the overhead code block and the alignment identifier can be simultaneously corrected, so that the technical effects of simplifying the processing flow, improving the data transmission efficiency, and reducing the time delay and the overhead complexity are achieved, and the technical problems of low alignment efficiency and excessive overhead caused by time-sharing correction due to the fact that the overhead code block and the alignment identifier are not associated in the related art are solved.
According to an embodiment of the present invention, there is provided another data processing method, including:
step S931, the sending device determines a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth;
step S932, the sending device transmits a second number of target data code blocks to a forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have a fixed interval therebetween, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots;
step S933, the forwarding device processes the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth;
step S934, the forwarding device transmits a second number of second data code blocks to the receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot;
step S935, the receiving device acquires a second number of second data code blocks; and obtaining the restored data to be transmitted based on the second data code block.
It is to be understood that the execution subject of the above steps S931 to S932 is a sending device, the execution subject of the above steps S933 to S934 is a forwarding device, and the execution subject of the above step S935 is a receiving device. The sending device, the forwarding device and the receiving device may be, but not limited to, a router device, a terminal device, etc. Through the steps, the purposes of inserting and locking the overhead code block and the alignment mark in an associated mode can be achieved, the technical effects of simplifying the processing flow, improving the data transmission efficiency and reducing the time delay and the overhead complexity are achieved, and the technical problems that in the related technology, the overhead code block and the alignment mark are not associated, time-sharing insertion and correction are needed, the alignment efficiency is low, and the overhead is too large are solved.
Based on the foregoing embodiment and the alternative embodiment, the present invention provides an alternative implementation manner, and fig. 11 is a schematic diagram of a data processing flow of an alternative sending device according to the embodiment of the present invention; fig. 12 is a schematic data processing flow diagram of an alternative forwarding device according to an embodiment of the present invention; fig. 13 is a schematic data processing flow diagram of an alternative receiving device according to an embodiment of the present invention. As shown in fig. 11 to 13, the data processing method specifically includes:
the sending device PE1 obtains data to be transmitted through a media access control sending module (i.e., MAC sending module). In a flexible Ethernet processing module (namely a Flexe module), a coding module is adopted to code the data to be transmitted to obtain a first data code block; and disturbing the first data code block by adopting a scrambling module to obtain the target data code block. In the Physical Coding Sublayer module (i.e., PCS module, physical Coding Sublayer). And sequentially inserting a first alignment mark and a first number of continuous first overhead code blocks for the target data code block by adopting an alignment mark and an overhead insertion module. And sending the target data code block, the first alignment mark and the first overhead code blocks of the first number to a forwarding device through a Physical medium adaptation layer (namely a PMA module) according to a first preset transmission mode.
The forwarding device P receives the target data code block from the sending device sequentially through the receiving module and the physical medium adaptation layer (i.e. the PMA module). In a physical coding sublayer module (namely a PCS module), a target data code block is subjected to block synchronization processing through a block synchronization module to obtain a synchronized target data code block; and the physical layer PHY channel alignment module aligns the synchronized target data code blocks to obtain a third data code block. And adopting a Flexe Calendar module to perform reduction processing on the third data code block to obtain a second data code block. And sequentially inserting a second pair Ji Biaoshi and a first number of continuous second overhead code blocks for the second data code block by adopting an alignment identifier and an overhead insertion module. And sending the target data code block, the second pair Ji Biaoshi and the first number of second overhead code blocks to a receiving device through a physical medium adaptation layer (namely, a PMA module) according to a second preset transmission mode.
After receiving the second data code block from the forwarding device through the receiving module and the physical medium adaptation layer (i.e., PMA module), the receiving device receives the target data code block from the transmitting device through the receiving module and the physical medium adaptation layer (i.e., PMA module). In the physical coding sublayer module (namely PCS module), the second data code block is subjected to block synchronization processing through a block synchronization module to obtain a synchronized second data code block; and the physical layer PHY channel alignment module aligns the synchronized second data code block to obtain a fourth data code block. In a flexible Ethernet module (namely a Flexe module), a flexible Ethernet Calendar module (namely a Flexe Calendar module) is adopted to carry out reduction processing on the fourth data code block to obtain a fifth data code block; descrambling module is adopted to perform descrambling processing to the fifth data code block to obtain a sixth data code block; and decoding the sixth data code block by using a decoding module to obtain the restored data to be transmitted, transmitting the restored data to be transmitted to a media access control receiving module (namely an MAC receiving module), and finishing the whole data transmission process.
It should be noted that, the embodiments of the present invention mainly solve the following two problems: the method comprises the steps that firstly, an associated overhead insertion module and an alignment mark insertion module are used for reducing the processing time delay of sending and receiving; and secondly, the scrambling module and the descrambling module are moved upwards, and the flexible Ethernet Flexe module of the 1.5 layer is further sunk, so that the data forwarding delay is reduced.
Compared with the prior art, the embodiment of the invention moves the scrambling module of the sending equipment between the Flexe Call terminal module and the coding module, and moves the descrambling module of the receiving equipment between the Flexe Call terminal module and the decoding module, thus the movement has no influence on the time delay of the sending equipment and the receiving equipment. However, for the forwarding device between the sending device and the receiving device, a scrambling module and a descrambling module for data code blocks in the forwarding device can be omitted, so that the data processing time is reduced, and the data processing efficiency of the forwarding device is improved. Compared with the prior art, the receiving and sending processes of the forwarding device P omit scrambling and descrambling operations, however, the data code block received by the receiving device is D, the data code block received in the sending module is still D, and the data code block does not bring influence, so that the time delay is reduced.
Also, in the embodiment of the present invention, the overhead code blocks are all inserted in the next clock cycle of the insertion of the alignment mark, since the alignment marks of 20 PCS data channels are 16383 66B code blocks apart. Therefore, the insertion interval of the overhead code blocks is also improved to 16383 (for example, with PHY of 100GE and 5G bandwidth granularity), and 256 complete overhead code blocks are optimized to 20 code blocks, and complete control information is improved to be sent at one time. The advantages are that: firstly, an alignment mark and an overhead code block can be simultaneously inserted at a sending end, two processing modules (an overhead insertion module and an alignment mark insertion module) are not needed to be respectively used in a traditional flexible Ethernet mechanism, and two processing links which are not related to each other are adopted to insert the alignment mark and the overhead code block. Secondly, when the receiving end locks the alignment mark, the overhead code block is also locked. Thereby saving the time delay brought by the processing of overhead code blocks by the receiving end.
It should be noted that for simplicity of description, the above-mentioned method embodiments are shown as a series of combinations of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to an embodiment of the present invention, there is further provided a system embodiment for implementing the data processing method, and fig. 14 is a schematic structural diagram of a data processing system according to an embodiment of the present invention, and as shown in fig. 14, the data processing system includes: a sending device 1400, a forwarding device 1402, a receiving device 1404, wherein: a sending device 1400, configured to determine a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; transmitting a second number of target data code blocks to forwarding equipment based on the first data transmission channel, wherein a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots; a forwarding device 1402 connected to the sending device and configured to process the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth; transmitting a second number of second data code blocks to the receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are configured to store configuration information corresponding to the second timeslot; a receiving device 1404, connected to the forwarding device, configured to obtain a second number of second data code blocks; and obtaining the restored data to be transmitted based on the second data code block.
In the embodiment of the present invention, by setting the sending device 1400, the forwarding device 1402, and the receiving device 1404, the purpose of inserting and locking the overhead code block and the alignment identifier in association is achieved, thereby achieving the technical effects of simplifying the processing flow, improving the data transmission efficiency, and reducing the time delay and the overhead complexity, and further solving the technical problems of low alignment efficiency and excessive overhead, and further high time delay, which are caused by the fact that the overhead code block and the alignment identifier are not associated and need to be inserted and corrected in a time-sharing manner in the related art.
It should be noted that the specific structure of the data processing system shown in fig. 14 in this application is only an illustration, and in a specific application, the data processing system in this application may have more or less structures than the transmitting device 1400, the forwarding device 1402, and the receiving device 1404 shown in fig. 14. It should be noted that any optional or preferred data processing system method in the foregoing embodiments may be executed or implemented in the sending device 1400, the forwarding device 1402, and the receiving device 1404 provided in this embodiment. In addition, it should be noted that, for alternative or preferred embodiments of the present embodiment, reference may be made to the relevant description in the embodiments, and details are not described herein again.
In this embodiment, a data processing apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used hereinafter, the terms "module" and "apparatus" may refer to a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
According to an embodiment of the present invention, an apparatus embodiment for implementing the data processing method is further provided, and fig. 15 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention, and as shown in fig. 15, the data processing apparatus includes: a first obtaining module 1500, a first forwarding module 1502, wherein: the first determining module 1500 is configured to determine a first timeslot and a first data transmission channel corresponding to the first timeslot based on a first bandwidth; the first forwarding module 1502, connected to the first determining module 1500, is configured to transmit a second number of target data code blocks to a forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots.
In this embodiment of the present invention, the first determining module 1500 is configured to determine a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; the first forwarding module 1502, connected to the first determining module 1500, is configured to transmit a second number of target data code blocks to a forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark, and the first spending code block of first quantity, the interval between above-mentioned first alignment mark and the first spending code block of above-mentioned first quantity is fixed, the first spending code block of above-mentioned first quantity is used for storing the configuration information that above-mentioned first time slot corresponds, reached and linked the purpose of inserting spending code block and alignment mark, thereby realized simplifying the processing procedure, solved because the spending code block is not linked with the alignment mark in the correlation technique, need timesharing proofreading, the alignment inefficiency that causes and the cost is too big, and then cause the high technical problem of time delay, and then reach and reduce time delay and spending complexity, promote the technological effect of data transmission efficiency.
According to an embodiment of the present invention, there is provided another embodiment of an apparatus for implementing the data processing method, where the apparatus includes: a first obtaining module, configured to obtain a second number of target data code blocks, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to first time slots; a first processing module, configured to process the target data code block to obtain a second data code block; a second determining module, configured to determine a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth; a first transmission module, configured to transmit a second number of second data code blocks to a receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where the second alignment mark is fixed to an interval between the first number of second overhead code blocks, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot.
According to an embodiment of the present invention, there is provided another embodiment of an apparatus for implementing the data processing method, where the apparatus includes: a second obtaining module, configured to obtain a second number of second data code blocks, where the second data code blocks are transmitted based on a second data transmission channel, and a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are used to store configuration information corresponding to a second timeslot; and the third acquisition module is used for acquiring the restored data to be transmitted based on the second data code block.
According to an embodiment of the present invention, another embodiment of an apparatus for implementing the data processing method is further provided, where the apparatus includes: a third determining module, configured to determine, by a sending device, a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; a second transmission module, configured to transmit, by the sending device, a second number of target data code blocks to a forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots; a second processing module, configured to process, by the forwarding device, the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth; a third transmission module, configured to transmit, by the forwarding device, a second number of second data code blocks to a receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot; a fourth obtaining module, configured to obtain, by the receiving device, a second number of second data code blocks; and obtaining the restored data to be transmitted based on the second data code block.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
The data processing apparatus may further include a processor and a memory, where the first obtaining module 1500, the first forwarding module 1502, and the like are stored in the memory as program modules, and the processor executes the program modules stored in the memory to implement corresponding functions. The processor comprises a kernel, and the kernel calls corresponding program modules from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to an embodiment of the present application, there is also provided an embodiment of a non-volatile storage medium. Optionally, in this embodiment, the nonvolatile storage medium includes a stored program, and the apparatus in which the nonvolatile storage medium is located is controlled to execute any one of the data processing methods when the program runs.
Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the nonvolatile storage medium includes a stored program. There is further provided, according to an embodiment of the present application, an embodiment of a computer program product, which, when executed on a data processing device, is adapted to execute a program that initializes the steps of the data processing method of any of the above.
An embodiment of the present invention provides an electronic device, where the electronic device includes a processor, a memory, and a program stored in the memory and capable of running on the processor, and the processor executes the program according to any one of the steps of the data processing method described above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described modules may be divided into one logical function, and may be implemented in another way, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, modules or indirect coupling or communication connection of modules, and may be in an electrical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one position, or may be distributed on a plurality of modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer-readable non-volatile storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a non-volatile storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned nonvolatile storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A data processing method, comprising:
determining a first time slot based on a first bandwidth and a first data transmission channel corresponding to the first time slot;
transmitting a second number of target data code blocks to a forwarding device based on the first data transmission channel, wherein a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots.
2. The method of claim 1, wherein prior to the transmitting a second number of target data code blocks to a forwarding device based on the first data transmission channel, the method further comprises:
acquiring data to be transmitted;
coding the data to be transmitted to obtain a first data code block;
and performing disturbance processing on the first data code block to obtain the target data code block, wherein descrambling processing corresponding to the disturbance processing is performed through receiving equipment.
3. A data processing method, comprising:
obtaining a second number of target data code blocks, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to first time slots;
processing the target data code block to obtain a second data code block;
determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth;
transmitting a second number of second data code blocks to a receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, where an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are used to store configuration information corresponding to the second timeslot.
4. The method of claim 3, wherein the processing the target data code block to obtain a second data code block comprises:
acquiring the first alignment mark corresponding to the target data code block and the first overhead code blocks of the first number;
and performing alignment processing on the target data code block based on the first alignment mark and the first overhead code blocks of the first number to obtain the second data code block.
5. A data processing method, comprising:
obtaining a second number of second data code blocks, where the second data code blocks are transmitted based on a second data transmission channel, and a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, the second alignment mark having a fixed interval with the first number of second overhead code blocks, the first number of second overhead code blocks being used to store configuration information corresponding to a second timeslot;
and obtaining the restored data to be transmitted based on the second data code block.
6. The method of claim 5, wherein obtaining the reduced data to be transmitted based on the second data code block comprises:
acquiring the second alignment mark corresponding to the second data code block and the first number of second overhead code blocks;
aligning the second data code blocks based on the second alignment marks and the first number of second overhead code blocks to obtain fourth data code blocks;
performing descrambling processing on the fourth data code block to obtain a sixth data code block, wherein the scrambling processing corresponding to the descrambling processing is performed through sending equipment;
and decoding the sixth data code block to obtain the restored data to be transmitted.
7. A data processing method, comprising:
the method comprises the steps that a sending device determines a first time slot based on a first bandwidth and a first data transmission channel corresponding to the first time slot;
the sending device transmits a second number of target data code blocks to the forwarding device based on the first data transmission channel, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots;
the forwarding device processes the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth;
the forwarding device transmits a second number of second data code blocks to the receiving device based on the second data transmission channel, where a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, wherein an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are configured to store configuration information corresponding to the second timeslot;
the receiving device obtains a second number of second data code blocks; and obtaining the restored data to be transmitted based on the second data code block.
8. A data processing system, comprising:
the device comprises a sending device, a receiving device and a processing device, wherein the sending device is used for determining a first time slot based on a first bandwidth and a first data transmission channel corresponding to the first time slot; transmitting a second number of target data code blocks to a forwarding device based on the first data transmission channel, wherein a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots;
the forwarding device is connected with the sending device and is used for processing the target data code block to obtain a second data code block; determining a second time slot and a second data transmission channel corresponding to the second time slot based on a second bandwidth; transmitting a second number of second data code blocks to a receiving device based on the second data transmission channel, wherein a second transmission packet corresponding to the second number of second data code blocks includes: a second pair Ji Biaoshi, a first number of second overhead code blocks, wherein an interval between the second alignment mark and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks are configured to store configuration information corresponding to the second timeslot;
the receiving device is connected with the forwarding device and is used for acquiring a second number of second data code blocks; and obtaining the restored data to be transmitted based on the second data code block.
9. A data processing apparatus, comprising:
a first determining module, configured to determine a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth;
a first forwarding module, configured to transmit, based on the first data transmission channel, a second number of target data code blocks to a forwarding device, where a first transmission packet corresponding to the second number of target data code blocks includes: the first alignment mark and the first overhead code blocks of the first number have fixed intervals, and the first overhead code blocks of the first number are used for storing configuration information corresponding to the first time slots.
10. A non-volatile storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to execute the data processing method of any one of claims 1 to 7.
CN202211218029.8A 2022-09-30 2022-09-30 Data processing method, device and nonvolatile storage medium Pending CN115632753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211218029.8A CN115632753A (en) 2022-09-30 2022-09-30 Data processing method, device and nonvolatile storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211218029.8A CN115632753A (en) 2022-09-30 2022-09-30 Data processing method, device and nonvolatile storage medium

Publications (1)

Publication Number Publication Date
CN115632753A true CN115632753A (en) 2023-01-20

Family

ID=84905665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211218029.8A Pending CN115632753A (en) 2022-09-30 2022-09-30 Data processing method, device and nonvolatile storage medium

Country Status (1)

Country Link
CN (1) CN115632753A (en)

Similar Documents

Publication Publication Date Title
CN109729588B (en) Service data transmission method and device
US10931392B2 (en) Service processing method and apparatus
CN109600188B (en) Data transmission method, transmission equipment and transmission system
WO2017005121A1 (en) Method, device and system for sending and receiving code block data stream
CN107888516A (en) A kind of method, apparatus and system of bearer service
US10862612B2 (en) Data transmission method, data receiving method, and data sending and receiving system
US11843452B2 (en) Clock synchronization method and apparatus
US10951340B2 (en) Method and device for transmitting bit error rate information in FlexE overhead frame, and computer storage medium
CN115150020A (en) Method and device for configuring Flex Ethernet node
KR20190020129A (en) Service transmission method and apparatus, service receiving method and apparatus, and network system
CN101729940A (en) Method for sending data to multiple communication channels and method for receiving data
CN108183764B (en) Multiframe sending and receiving method, device, communication equipment and communication network system
WO2021244489A1 (en) Method and apparatus for transmitting encryption control overhead in optical transport network
CN109951750B (en) Data processing method and system based on FlexE layer cross architecture
US11412508B2 (en) Data transmission method and device
CN109802742B (en) Method, equipment and system for transmitting data
CN114125019A (en) Data transmission method and device, electronic equipment and computer readable medium
CN109428837A (en) Data transmission method and device
CN115632753A (en) Data processing method, device and nonvolatile storage medium
CN102422576A (en) System and method of using tdm variable frame lengths in a telecommunications network
CN107370688B (en) Data transmission method and device
KR101232782B1 (en) System and method for detection of multiple timing masters in a network
CN113141620A (en) Flexe service processing method and device
CN113993163B (en) Service processing method and device
CN115632752A (en) Data transmission method and device 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