CN115551096A - Time slot table generation method and device, nonvolatile storage medium and computer equipment - Google Patents

Time slot table generation method and device, nonvolatile storage medium and computer equipment Download PDF

Info

Publication number
CN115551096A
CN115551096A CN202211215691.8A CN202211215691A CN115551096A CN 115551096 A CN115551096 A CN 115551096A CN 202211215691 A CN202211215691 A CN 202211215691A CN 115551096 A CN115551096 A CN 115551096A
Authority
CN
China
Prior art keywords
time slot
sub
overhead
slot
service data
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
CN202211215691.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 CN202211215691.8A priority Critical patent/CN115551096A/en
Publication of CN115551096A publication Critical patent/CN115551096A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a time slot table generation method and device, a nonvolatile storage medium and computer equipment. Wherein, the method comprises the following steps: determining at least one time slot for transmitting traffic data, wherein each time slot of the at least one time slot comprises a plurality of subslots; generating an overhead entry corresponding to the at least one time slot one to one, wherein the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relationship between a plurality of sub-time slots included in the corresponding time slot and the service data; and generating a first time slot table according to the overhead entries corresponding to the at least one time slot one by one. The invention solves the technical problem of control information redundancy caused by excessive overhead entries in the time slot table in the related technology.

Description

Time slot table generation method and device, nonvolatile storage medium and computer equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for generating a slot table applied in a flexible ethernet, a non-volatile storage medium, and a computer device.
Background
Flexible Ethernet (FlexE) is an interface technology for bearer networks to implement service isolation and network slicing. By breaking the one-to-one mapping relation of the strong binding of the MAC layer and the PHY layer, the Flexe realizes the flexible and fine management of interface resources, solves the problem of unbalance between different customer service requirements and networks, and enables the hard pipeline isolation and bandwidth allocation according to requirements of partial industries to be satisfied. Some researchers at home and abroad propose finer bandwidth granularity, and the granularity of the slice is refined from 5G to 1G, even 500M, so as to support the small-particle service bearer. However, when the refined bandwidth granularity technology is used for carrying large-granule services, such as services carrying 5G, 10G or greater bandwidths, the number of time slots occupied by the services is increased, which leads to increased overhead and thus causes redundancy of control information.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a time slot table, a nonvolatile storage medium and computer equipment, which are used for at least solving the technical problem of redundant control information caused by excessive cancel entries in the time slot table in the related technology.
According to an aspect of the embodiments of the present invention, there is provided a method for generating a slot table, including: determining at least one time slot for transmitting the traffic data, wherein each time slot of the at least one time slot comprises a plurality of subslots; generating an overhead entry corresponding to at least one time slot one to one, wherein the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relationship between a plurality of sub-time slots included in the corresponding time slot and the service data; and generating a first time slot table according to the overhead entries corresponding to the at least one time slot one by one.
According to an aspect of the embodiments of the present invention, there is provided a method for generating a slot table, including: receiving an overhead entry in a first time slot table transmitted by a communication transmitting end, wherein the overhead entry corresponds to at least one time slot for transmitting service data one to one, each time slot in the at least one time slot comprises a plurality of sub-time slots, and the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relation between the plurality of sub-time slots included in the corresponding time slot and the service data; and generating a second time slot table according to the overhead entry.
According to another aspect of the embodiments of the present invention, there is also provided a timeslot table generating device, including: a determining module, configured to determine at least one time slot for transmitting traffic data, where each time slot of the at least one time slot includes a plurality of sub-time slots; the device comprises a first generation module, a second generation module and a third generation module, wherein the first generation module is used for generating overhead items which are in one-to-one correspondence with at least one time slot, and the overhead items which are in one-to-one correspondence with the at least one time slot are used for respectively representing the correspondence between a plurality of sub-time slots and service data, which are included in the corresponding time slot; and the second generating module is used for generating the first time slot table according to the overhead entries corresponding to the at least one time slot one to one.
According to another aspect of the embodiments of the present invention, there is also provided a timeslot table generating device, including: the receiving module is used for receiving overhead entries in a first time slot table transmitted by a communication transmitting end, wherein each overhead entry is used for representing the corresponding relation between a plurality of sub time slots and service data, and each sub time slot is a time slot for transmitting the service data; and the configuration module is used for configuring the second time slot table according to the overhead entry.
According to another aspect of the embodiments of the present invention, there is also provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored program, and a device in which the nonvolatile storage medium is located is controlled to execute any one of the above methods for generating a time slot table when the program runs.
According to still another aspect of the embodiments of the present invention, there is further provided a computer device, where the computer device includes a processor, and the processor is configured to execute a program, where the program executes any one of the above methods for generating a slot table.
In the embodiment of the invention, at least one time slot for transmitting the service data is determined, wherein each time slot of the at least one time slot comprises a plurality of subslots; generating overhead entries corresponding to at least one time slot one to one, wherein the overhead entries corresponding to the at least one time slot one to one are used for respectively representing the corresponding relation between a plurality of sub-time slots included in the corresponding time slot and the service data; the first time slot table is generated according to the overhead entries corresponding to at least one time slot one to one, and the purpose of simplifying a plurality of overhead entries corresponding to sub-time slots which transmit the same service data and belong to the same time slot into one overhead entry is achieved, so that the technical effect of reducing the overhead entries under the condition of using a refined bandwidth granularity technology to bear large-granule services is achieved, and the technical problem of control information redundancy caused by excessive overhead entries in the time slot table in the related technology is 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 shows a block diagram of a hardware structure of a computer terminal for implementing a slot table generation method;
fig. 2 is a flowchart illustrating a first method for generating a timeslot table according to an embodiment of the present invention;
FIG. 3 is a representation of time slots of different bandwidth granularity provided in accordance with an alternative embodiment of the present invention;
fig. 4 is a flowchart illustrating a second method for generating a timeslot table according to an embodiment of the present invention;
fig. 5 is a block diagram of a first timeslot table generation apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of a second timeslot table generation 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, partial terms or terms appearing in the description of the embodiments of the present application are applied to the following explanations:
flexible Ethernet (FlexE for short) is an interface technology for bearer network to implement service isolation and network slicing.
The Media Access Control (MAC) sublayer controls the physical medium to be connected to the physical layer in the lower half of the data link layer.
A port Physical layer (PHY) is short for a model Physical layer, and an ethernet PHY is a chip and can transmit and receive data frames of the ethernet.
In accordance with an embodiment of the present invention, there is provided a method embodiment of data transmission, it being noted that the steps illustrated in the flowchart of the figure 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 flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Fig. 1 shows a block diagram of a hardware structure of a computer terminal for implementing the slot table generation method. As shown in fig. 1, the computer terminal 10 may include one or more processors (shown in the figures as 102a, 102b, … …,102 n) (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data. In addition, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computer terminal 10. As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the time slot table generation method in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the time slot table generation method of the application program is implemented. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with the user interface of the computer terminal 10.
Fig. 2 is a flowchart illustrating a first method for generating a timeslot table according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S202, determining at least one time slot for transmitting the traffic data, wherein each time slot of the at least one time slot includes a plurality of sub-time slots.
It should be noted that the communication process involved in the present invention may be a communication activity using FlexE flexible ethernet technology. The service data waiting to be transmitted in step S202 may be service data from a service in the network where the communication transmitting end is located.
Step S204, generating an overhead entry corresponding to at least one timeslot, where the overhead entry corresponding to the at least one timeslot is used to respectively characterize a corresponding relationship between a plurality of sub-timeslots included in the corresponding timeslot and the service data.
In the above steps, the communication sending end first determines at least one time slot for transmitting certain service data, where each time slot of the at least one time slot includes multiple sub-time slots, and each time slot for transmitting the service data corresponds to an overhead entry. The overhead entry is used for representing the corresponding relationship between a plurality of sub-slots in the corresponding time slot and the service data, wherein the corresponding relationship between the plurality of sub-slots and the service data, that is, whether each sub-slot in the time slot is allocated to transmit the service data. It should be noted that, the communication sending end may transmit one or more sets of service data from one or more services to the communication receiving end at the same time, and when transmitting multiple sets of service data at the same time, the multiple sets of service data may be allocated to respective sub-slots of multiple slots at the same time for transmission. The method in this embodiment may be implemented in the process of transmitting one set of service data, and for the case of simultaneously transmitting multiple sets of service data of multiple services between two communicating parties, the method in this embodiment may also be applied to the multiple sets of service data, respectively, to achieve the technical effect of reducing the number of overhead of the slot table.
In this step, the time slot for transmitting data between the communication transmitting end and the receiving end has a fixed time slot bandwidth, and the value of the bandwidth of the minimum time slot or the sub-time slot for transmitting data may be referred to as a bandwidth granularity. For example, if the total bandwidth for transmitting data is 100GE (Gigabit Ethernet, GE for short), the bandwidth of each timeslot is 5GE when the data is divided into 20 timeslots for transmitting the traffic data. In the related art, if the sub-slots are not divided on the basis of the slots, when the bandwidth required for transmitting the service data is less than 5GE, one slot must be used for transmission, and the bandwidth granularity at this time is 5GE, which may cause waste of the transmission bandwidth. Therefore, each timeslot can be subdivided into a plurality of sub-timeslots, for example, a timeslot with a bandwidth of 5GE can be subdivided into 5 sub-timeslots with a bandwidth of 1GE, each sub-timeslot can be used for transmitting a part of the service data separately, at this time, the bandwidth granularity of the entire link is 1GE, which can solve the problem of bandwidth waste in the process of transmitting the service data, or a timeslot with a bandwidth of 5GE can be subdivided into 10 sub-timeslots with a bandwidth of 500M, at this time, the bandwidth granularity of the entire link is 500M. However, in order to record whether a sub-slot in each time slot is allocated to transmit data and which service data is allocated to be transmitted, it is necessary to record the correspondence between a plurality of sub-slots and transmitted service data in the time slot table in the related art. At this time, the corresponding relationship between each sub-slot and the service data needs to be recorded by a single entry in the slot table, that is, for the same service data, different bandwidth granularity brings different overhead configuration information, and the finer the bandwidth granularity is, the more the number of entries in the slot table is, the more the number of overheads for transmitting the slot table to the communication receiving end is, the more the number of overheads for transmitting the slot table is increased, which results in redundancy of control information.
Step S206, generating a first time slot table according to the overhead entries corresponding to the at least one time slot one to one.
In this step, the overhead entries generated in the previous step for each timeslot in the at least one timeslot are filled in the timeslot table, so as to generate a first timeslot table. It should be noted that, the communication sending end has two time slot tables, where one of the time slot tables is used to record the corresponding relationship between the currently sent service data and the time slot and the sub-time slot in the link. Before the transmission is completed, if new service data needs to be transmitted, another time slot table records the newly added and transmitted service data and the corresponding relation between the time slot and the sub-time slot in the link, and after the other time slot table is updated according to the newly added service data, the physical transmission link can transmit the other time slot table to the communication receiving end. The communication receiving end also has two time slot tables, the communication receiving end can fill the received new time slot table into the spare time slot table of the two time slot tables, after the spare time slot table is updated, the spare time slot table is used for analyzing the service data transmitted in the physical link, the spare time slot table becomes the main time slot table at this moment, and the former main time slot table is converted into the spare time slot table. In this embodiment, a time slot table that needs to be generated by a communication sending end for transmitting service data is a first time slot table, the first time slot table is a standby time slot table of the service sending end before the service data is transmitted, and after the first time slot table is completely sent to a communication receiving end, the sending end converts the first time slot table into a main time slot table and transmits the service data to the receiving end according to a sub-time slot allocation rule in the first time slot table.
Through the steps, the purpose of simplifying a plurality of overhead entries corresponding to sub-time slots which transmit the same service data and belong to the same time slot into one overhead entry can be achieved, so that the technical effect of reducing the overhead entries under the condition of using a refined bandwidth granularity technology to bear large-particle services is achieved, and the technical problem of redundant control information caused by excessive overhead entries in a time slot table in the related technology is solved.
As an alternative embodiment, generating the overhead entry corresponding to at least one timeslot in a one-to-one manner may be implemented by: generating a target overhead entry corresponding to a target time slot by adopting the following mode for each target time slot in at least one time slot: acquiring a target corresponding relation between the service data and a plurality of sub-time slots included in a target time slot; configuring a sub-time slot mapping field according to the target corresponding relation, wherein the sub-time slot mapping field represents whether a plurality of sub-time slots included in the target time slot are occupied by service data or not; and generating a target overhead entry according to the sub-time slot mapping field, the time slot sequence number of the target time slot and the service number of the service data.
Optionally, for the target service data, at least one time slot is used for transmitting the determined service data, and a corresponding overhead entry is generated for a target time slot in the at least one time slot, first, a target correspondence between the target service data and a sub-time slot in the target time slot needs to be obtained, where the target correspondence is whether multiple sub-time slots in the target time slot are occupied by the target service data, a sub-time slot mapping field representing the target correspondence may be generated according to the target correspondence, and a target overhead entry may be generated according to the sub-time slot mapping field, a time slot number of the target time slot, and a service number of the target service data. It should be noted that, an overhead entry can be used to characterize: when there are multiple service data, there may be multiple service data transmitted on multiple sub-slots of a target time slot, and because multiple service data are present, multiple overhead entries with the same number as that of the multiple service data are needed to represent the corresponding relationship between the target time slot and the multiple service data.
Fig. 3 is a Slot representation intention of different bandwidth granularities provided according to an alternative embodiment of the present invention, as shown in fig. 3 (a), taking PHY of 100GE and bandwidth granularity of 500M as an example, when each of 20 slots is expanded to 10 Sub-slots in the time dimension, the Slot numbers of the 20 slots from left to right are 0 to 19, the Sub-Slot number corresponding to each Slot is 0 to 9, each overhead entry is used to describe a correspondence between one piece of traffic data in one Slot and a plurality of Sub-slots for transmitting the traffic data, at this time, the traffic data with the traffic numbers of 100 and 101 are transmitted, respectively, where the bandwidth required by the traffic data 100 is 5GE, the bandwidth required by the traffic data 101 is 10GE, the first overhead entry in the Slot table describes a correspondence between the traffic data 100 and a Slot indicated by the Slot number 0, the Sub-Slot Map field describes a correspondence between the traffic data 100 and a plurality of Sub-slots included by the Slot number, the PHY indicates a correspondence between the physical channels used for transmitting the plurality of slots, and the chip ID is 1 to chip Group, and the chip ID is referred to FlexE 1. The service data 101 occupies two slots with slot numbers 3 and 4, so two overhead entries are needed to describe the correspondence between the service data 101 and the sub-slots in the two slots respectively.
As shown in fig. 3 (b), for the overhead entries of the slot tables for transmitting the service data 100 and 101 under the same condition in the prior art, each sub-slot needs an overhead entry to represent the corresponding relationship between the sub-slot and the service data, and by comparing fig. 3 (a) and (b), it can be found that the method of the present invention brings the technical effect of greatly reducing the number of overhead entries.
The optional embodiment redefines the OH frame defined by the OIF standard on the basis of the standard FlexE technology, and is used to divide the time slots (Slot 0 to Slot19, 20 time slots) under the OIF standard to obtain redefined sub-time slots. It should be noted that, in the related art, in the communication process based on the FlexE protocol, special OH (overhard) code blocks are inserted through a fixed period, and further, each 8 OH code blocks form an OH frame, the OH frame forms an OH multiframe, and complete control information is carried by the OH multiframe. In the embodiment of the application, an OH frame can be redefined, and a Slot Number field (Slot Number, number range 0-19, 5 bits) can be added into an overhead OH frame field to represent 20 slots (Slot 0-Slot 19) in the standard Flexe technology; and adding a Sub-Slot mapping field (Sub-Slot Map,10 bits) into the OH field, wherein the Sub-Slot mapping field represents the mapping relation between the Sub-Slot (Sub-Slot) expanded under each Slot (Slot 0-Slot 19) and the Flexe service data (Client).
In addition, the optional embodiment modifies and redefines the Slot table used by the current FlexE technology, and a header of the redefined Slot table is as shown in table 1, and includes a Slot Number field, a Sub-Slot Map field, a Client ID field, a service Number field, a PHY ID, and a Group ID.
TABLE 1
Slot Number Sub-Slot Map Client ID PHY ID Group ID
The relationship between the Slot Number field (Slot Number,5 bits) and the Slot is shown in table 2.
TABLE 2
Figure BDA0003876593300000071
Figure BDA0003876593300000081
As an optional embodiment, configuring the sub-slot mapping field according to the target correspondence may be implemented by the following steps: determining the bit number of a plurality of effective bits of a sub-slot mapping field, wherein the plurality of effective bits correspond to a plurality of sub-slots included in a target time slot one by one; determining values of a plurality of valid bits according to the target corresponding relation; and configuring a sub-time slot mapping field according to the digit and the value.
Optionally, configuring the sub-slot mapping field may determine a significant bit in the sub-slot mapping field by the number of sub-slots of the time slot, determine a value of a significant bit in the sub-slot mapping field by a corresponding relationship between the target service data and a plurality of sub-slots included in the target time slot, and configure the sub-slot mapping field according to the significant bit and the value. The total number of bits of the sub-slot mapping field may be artificially defined, and may be a fixed value, and after the number of sub-slots is determined, the number of significant bits of the sub-slot mapping field is determined. Alternatively, the number of significant bits of the sub-slot map field may be the first few bits of the sub-slot map field. As shown in fig. 3 (a), the sub-slot mapping field may be 10bits, and in the case of a PHY of 100GE and a bandwidth granularity of 500M, the number of sub-slots corresponding to each slot is 10, and at this time, all field bits in the sub-slot mapping field may be determined to be valid bits.
Specifically, the Sub-Slot Map field (Sub-Slot Map) is in the format of Bit Map, and the specific format is shown in table 3.
TABLE 3
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 Bit 9
(1) Taking 100GE PHY and 5GE bandwidth granularity as an example, at this time, 20 slots (Slot 0 to Slot 19) are not widened in the time dimension, so that only Bit 0 in Sub-Slot Map is valid, as shown in table 4.
TABLE 4
Bit 0 -- -- -- -- -- -- -- -- --
(2) Taking 100GE PHY and bandwidth granularity of 1GE as an example, at this time, 20 slots (Slot 0 to Slot 19) are widened to 5 Sub-slots in the time dimension, so the first 5Bit bits in Sub-Slot Map are valid, as shown in table 5.
TABLE 5
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 -- -- -- -- --
(3) Taking 100GE PHY and 500M bandwidth granularity as an example, at this time, 20 slots (Slot 0 to Slot 19) are widened to 10 Sub-slots in the time dimension, so that 10bits in Sub-Slot Map are all valid, as shown in table 6.
TABLE 6
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 Bit 9
As an optional embodiment, when the sub-slot mapping field is a binary string, the values of the plurality of valid bits are determined according to the target correspondence, and the method may be implemented by the following steps: determining the value of a valid bit corresponding to a sub-time slot occupied by service data in a plurality of sub-time slots included in a target time slot as a first number; and determining the value of the valid bit corresponding to the sub-time slot which is not occupied by the service data in the plurality of sub-time slots included in the target time slot as a second number.
Optionally, when it is determined that the sub-slot mapping field is a binary character string, a value of a valid bit corresponding to a sub-slot occupied by service data in a plurality of sub-slots included in the target time slot may be a first number, and preferably, the first number may be 1, which indicates that the sub-slot is occupied by the target service data; meanwhile, the value of the valid bit corresponding to the sub-slot not occupied by the service data in the plurality of sub-slots included in the target time slot may be a second number, and preferably, the second number may be 0, which indicates that the sub-slot is not occupied by the target service data. As shown in fig. 3 (a), the service data with the service number of 100 occupies all 10 sub-slots under the slot with the slot number of 0, so that the valid bits of the sub-slot mapping field in the first overhead entry are all 10bits, and all the valid bits take on the value of 1.
Specifically, a Sub-Slot Map field (Sub-Slot Map) is in a Bit Map format, indicates FlexE service data (Client) contained in the Sub-Slot (Sub-Slot), and a corresponding Bit of "1" indicates that the FlexE service data is allocated on the Sub-Slot; a corresponding bit of "0" indicates that no FlexE service data is allocated on this sub-slot.
As an alternative embodiment, the method further comprises: storing the overhead entries in the first time slot table into overhead code blocks, wherein the overhead entries correspond to the overhead code blocks one to one; the overhead code blocks are transmitted to a communication receiving end.
Optionally, the communication sending end stores the overhead entries into overhead code blocks respectively, and then sends the overhead code blocks to the communication receiving end in sequence. When the same service data stream occupies a plurality of continuous sub-time slots, the invention redefines the overhead OH frame, adds the fields of the time slot number and the sub-time slot number, integrates and merges the control information of the services occupying a plurality of continuous sub-time slots, and simultaneously aggregates the entries of the time slot table into one, and only one overhead code block needs to be sent to one aggregated entry of the time slot. Therefore, the invention realizes the technical effects of reducing the overhead quantity and avoiding the overhead redundancy of the control information. After the communication sending end sends the simplified overhead items to the communication receiving end, the technical effect of reducing the number of overhead code blocks in the transmission process can be achieved.
Fig. 4 is a flowchart illustrating a second method for generating a slot table according to an embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
step S402, receiving an overhead entry in a first time slot table transmitted by a communication transmitting end, where the overhead entry corresponds to at least one time slot for transmitting service data one to one, each time slot in the at least one time slot includes a plurality of sub-time slots, and the overhead entry corresponding to the at least one time slot one to one is used to respectively represent a corresponding relationship between the plurality of sub-time slots included in the corresponding time slot and the service data.
In this step, the communication receiving end receives the overhead entry transmitted by the communication transmitting end, and compared with the prior art, in a plurality of sub-time slots included in the same time slot, as long as at least two adjacent sub-time slots transmit the same service data, the technical effect of simplifying the overhead entry can be achieved.
Step S404, generating a second time slot table according to the overhead entry.
In this step, the communication receiving end fills the empty second slot table of the communication receiving end according to the received overhead entry, and generates a second slot table. Specifically, the overhead code block transmitted by the communication sending end may be received, and the overhead entries in the overhead code block are analyzed to generate the second slot table.
Through the steps, the purpose of simplifying a plurality of overhead entries corresponding to sub-time slots which transmit the same service data and belong to the same time slot into one overhead entry is achieved, so that the technical effect of reducing the overhead entries under the condition of using a refined bandwidth granularity technology to bear large-particle services is achieved, and the technical problem of redundant control information caused by excessive overhead entries in a time slot table in the related technology is solved.
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.
Through the above description of the embodiments, those skilled in the art can clearly understand that the slot table generation method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
According to an embodiment of the present invention, a device for implementing the first timeslot table generation method is further provided, and fig. 5 is a block diagram of a first timeslot table generation device provided according to an embodiment of the present invention, as shown in fig. 5, the timeslot table generation device includes: the determination module 52, the first generation module 54 and the second generation module 56, which will be described below, are the slot table generation apparatus.
A determining module 52, configured to determine at least one time slot for transmitting the traffic data, where each time slot of the at least one time slot includes a plurality of sub-time slots.
The first generating module 54 is connected to the determining module 52, and is configured to generate overhead entries corresponding to at least one timeslot in a one-to-one manner, where the overhead entries corresponding to at least one timeslot in the one-to-one manner are used to respectively characterize a corresponding relationship between a plurality of sub-timeslots included in the corresponding timeslot and the service data.
And a second generating module 56, connected to the first generating module 54, for generating the first slot table according to the overhead entries corresponding to the at least one slot one to one.
It should be noted here that the determining module 52, the first generating module 54 and the second generating module 56 correspond to steps S202 to S206 in the embodiment, and the three modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in the embodiment. It should be noted that the above modules as a part of the apparatus may be operated in the computer terminal 10 provided in the embodiment.
According to an embodiment of the present invention, there is further provided a device for implementing the second timeslot table generation method, and fig. 6 is a block diagram of a structure of the second timeslot table generation device according to an embodiment of the present invention, as shown in fig. 6, the second timeslot table generation device includes: the configuration module 62 and the receiving module 64 will be described below with reference to the slot table generating apparatus.
A receiving module 62, configured to receive overhead entries in a first time slot table transmitted by a communication sending end, where each overhead entry is used to characterize a corresponding relationship between a plurality of sub time slots included in a corresponding time slot and service data, and a time slot is a time slot for transmitting the service data.
A configuration module 64, connected to the receiving module 62, is configured to configure the second slot table according to the overhead entry.
It should be noted here that the configuration module 62 and the receiving module 64 correspond to steps S402 to S404 in the embodiment, and the two modules are the same as the example and the application scenario realized by the corresponding steps, but are not limited to what is disclosed in the above embodiment. It should be noted that the above modules as a part of the apparatus may be run in the computer terminal 10 provided in the embodiment.
An embodiment of the present invention may provide a computer device, and optionally, in this embodiment, the computer device may be located in at least one network device of a plurality of network devices of a computer network. The computer device includes a memory and a processor.
The memory may be configured to store software programs and modules, such as program instructions/modules corresponding to the time slot table generation method and apparatus in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implements the time slot table generation method. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the computer terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: determining at least one time slot for transmitting the traffic data, wherein each time slot of the at least one time slot comprises a plurality of subslots; generating an overhead entry corresponding to at least one time slot one to one, wherein the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relationship between a plurality of sub-time slots included in the corresponding time slot and the service data; and generating a first time slot table according to the overhead entries corresponding to the at least one time slot one by one.
Optionally, the processor may further execute the program code of the following steps: generating an overhead entry corresponding one-to-one to the at least one slot, comprising: generating a target overhead entry corresponding to a target time slot by adopting the following mode for each target time slot in at least one time slot: acquiring a target corresponding relation between the service data and a plurality of sub-time slots included in a target time slot; configuring a sub-time slot mapping field according to the target corresponding relation, wherein the sub-time slot mapping field represents whether a plurality of sub-time slots included in the target time slot are occupied by service data or not; and generating a target overhead entry according to the sub-time slot mapping field, the time slot sequence number of the target time slot and the service number of the service data.
Optionally, the processor may further execute the program code of the following steps: configuring a sub-slot mapping field according to the target corresponding relation, comprising: determining the bit number of a plurality of effective bits of a sub-slot mapping field, wherein the plurality of effective bits correspond to a plurality of sub-slots included in a target time slot one by one; determining values of a plurality of valid bits according to the target corresponding relation; and configuring a sub-time slot mapping field according to the digit and the value.
Optionally, the processor may further execute the program code of the following steps: under the condition that the sub-slot mapping field is a binary character string, determining values of a plurality of effective bits according to the target corresponding relation, wherein the values comprise: determining the value of a valid bit corresponding to a sub-time slot occupied by service data in a plurality of sub-time slots included in a target time slot as a first number; and determining the value of the valid bit corresponding to the sub-time slot which is not occupied by the service data in the plurality of sub-time slots included in the target time slot as a second number.
Optionally, the processor may further execute the program code of the following steps: storing the overhead entries in the first time slot table into overhead code blocks, wherein the overhead entries correspond to the overhead code blocks one to one; the overhead code blocks are transmitted to a communication receiving end.
The processor can call the information and application program stored in the memory through the transmission device to execute the following steps: receiving an overhead entry in a first time slot table transmitted by a communication transmitting end, wherein the overhead entry corresponds to at least one time slot for transmitting service data one to one, each time slot in the at least one time slot comprises a plurality of sub-time slots, and the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relationship between the plurality of sub-time slots included in the corresponding time slot and the service data; and generating a second time slot table according to the overhead entry.
The embodiment of the invention provides a data transmission scheme. Determining at least one time slot for transmitting service data, wherein each time slot of the at least one time slot comprises a plurality of subslots; generating overhead entries corresponding to at least one time slot one to one, wherein the overhead entries corresponding to the at least one time slot one to one are used for respectively representing the corresponding relation between a plurality of sub-time slots included in the corresponding time slot and the service data; the first time slot table is generated according to the overhead entries corresponding to at least one time slot one to one, and the purpose of simplifying a plurality of overhead entries corresponding to sub-time slots which transmit the same service data and belong to the same time slot into one overhead entry is achieved, so that the technical effect of reducing the overhead entries under the condition of using a refined bandwidth granularity technology to bear large-granule services is achieved, and the technical problem of control information redundancy caused by excessive overhead entries in the time slot table in the related technology is solved.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a non-volatile storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present invention also provide a non-volatile storage medium. Optionally, in this embodiment, the nonvolatile storage medium may be configured to store a program code executed by the timeslot table generation method provided in the foregoing embodiment.
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.
Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: determining at least one time slot for transmitting the traffic data, wherein each time slot of the at least one time slot comprises a plurality of subslots; generating overhead entries corresponding to at least one time slot one to one, wherein the overhead entries corresponding to the at least one time slot one to one are used for respectively representing the corresponding relation between a plurality of sub-time slots included in the corresponding time slot and the service data; and generating a first time slot table according to the overhead entries corresponding to the at least one time slot one by one.
Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: generating an overhead entry corresponding one-to-one to the at least one slot, comprising: generating a target overhead entry corresponding to a target time slot by adopting the following mode for each target time slot in at least one time slot: acquiring a target corresponding relation between the service data and a plurality of sub-time slots included in a target time slot; configuring a sub-time slot mapping field according to the target corresponding relation, wherein the sub-time slot mapping field represents whether a plurality of sub-time slots included in the target time slot are occupied by service data or not; and generating a target overhead entry according to the sub-time slot mapping field, the time slot sequence number of the target time slot and the service number of the service data.
Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: configuring a sub-slot mapping field according to the target corresponding relation, comprising: determining the bit number of a plurality of effective bits of a sub-slot mapping field, wherein the plurality of effective bits correspond to a plurality of sub-slots included in a target time slot one by one; determining values of a plurality of valid bits according to the target corresponding relation; and configuring a sub-time slot mapping field according to the digit and the value.
Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: under the condition that the sub-slot mapping field is a binary character string, determining values of a plurality of effective bits according to the target corresponding relation, wherein the values comprise: determining the value of a valid bit corresponding to a sub-time slot occupied by service data in a plurality of sub-time slots included in a target time slot as a first number; and determining the value of the valid bit corresponding to the sub-time slot which is not occupied by the service data in the plurality of sub-time slots included in the target time slot as a second number.
Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: further comprising: storing overhead entries in the first time slot table into overhead code blocks, wherein the overhead entries correspond to the overhead code blocks one to one; the overhead code blocks are transmitted to a communication receiving end.
Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: receiving an overhead entry in a first time slot table transmitted by a communication transmitting end, wherein the overhead entry corresponds to at least one time slot for transmitting service data one to one, each time slot in the at least one time slot comprises a plurality of sub-time slots, and the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relation between the plurality of sub-time slots included in the corresponding time slot and the service data; and generating a second time slot table according to the overhead entry.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages 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 division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units 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 an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a non-volatile memory 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 storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for generating a slot table, comprising:
determining at least one time slot for transmitting traffic data, wherein each time slot of the at least one time slot comprises a plurality of subslots;
generating an overhead entry corresponding to the at least one time slot one to one, wherein the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relationship between a plurality of sub-time slots included in the corresponding time slot and the service data;
and generating a first time slot table according to the overhead entries corresponding to the at least one time slot one by one.
2. The method of claim 1, wherein generating an overhead entry corresponding to the at least one slot in a one-to-one manner comprises:
generating a target overhead entry corresponding to each target time slot of the at least one time slot by adopting the following mode:
acquiring a target corresponding relation between the service data and a plurality of sub-time slots included in a target time slot;
configuring a sub-slot mapping field according to the target corresponding relation, wherein the sub-slot mapping field represents whether a plurality of sub-slots included in a target slot are occupied by the service data or not;
and generating the target overhead entry according to the sub-time slot mapping field, the time slot sequence number of the target time slot and the service number of the service data.
3. The method of claim 2, wherein the configuring the sub-slot mapping field according to the target correspondence comprises:
determining the number of bits of a plurality of effective bits of the sub-slot mapping field, wherein the plurality of effective bits correspond to a plurality of sub-slots included in the target slot one by one;
determining values of the multiple effective bits according to the target corresponding relation;
and configuring the sub-time slot mapping field according to the digit and the value.
4. The method of claim 3, wherein the determining the values of the plurality of valid bits according to the target correspondence, in case that the sub-slot mapping field is represented by a binary string, comprises:
determining the value of the valid bit corresponding to the sub-time slot occupied by the service data in a plurality of sub-time slots included in the target time slot as a first number;
and determining the value of the valid bit corresponding to the sub-time slot which is not occupied by the service data in the plurality of sub-time slots included in the target time slot as a second number.
5. The method of any of claims 1 to 4, further comprising:
storing the overhead entries in the first slot table into overhead code blocks, wherein the overhead entries correspond to the overhead code blocks one to one;
and transmitting the overhead code block to a communication receiving end.
6. A method for generating a slot table, comprising:
receiving an overhead entry in a first time slot table transmitted by a communication transmitting end, wherein the overhead entry corresponds to at least one time slot for transmitting service data one to one, each time slot in the at least one time slot comprises a plurality of sub-time slots, and the overhead entry corresponding to the at least one time slot one to one is used for respectively representing the corresponding relationship between the plurality of sub-time slots included in the corresponding time slot and the service data;
and generating a second time slot table according to the overhead entry.
7. A slot table generating apparatus, comprising:
a determining module, configured to determine at least one time slot for transmitting traffic data, where each of the at least one time slot includes a plurality of sub-time slots;
a first generating module, configured to generate an overhead entry corresponding to the at least one timeslot one to one, where the overhead entry corresponding to the at least one timeslot one to one is used to respectively characterize a correspondence between a plurality of sub-timeslots included in a corresponding timeslot and the service data;
and a second generating module, configured to generate the first timeslot table according to the overhead entries corresponding to the at least one timeslot in a one-to-one manner.
8. A slot table generating apparatus, comprising:
a receiving module, configured to receive overhead entries in a first time slot table transmitted by a communication sending end, where each overhead entry is used to characterize a corresponding relationship between a plurality of sub time slots included in a corresponding time slot and service data, and the time slot is a time slot for transmitting the service data;
and the configuration module is used for configuring a second time slot table according to the overhead entry.
9. A non-volatile storage medium, comprising a stored program, wherein when the program runs, a device in which the non-volatile storage medium is located is controlled to execute the timeslot table generation method according to any one of claims 1 to 6.
10. A computer device, comprising: a memory and a processor, wherein the processor is capable of,
the memory stores a computer program;
the processor is configured to execute a computer program stored in the memory, and when the computer program runs, the processor is configured to execute the slot table generating method according to any one of claims 1 to 6.
CN202211215691.8A 2022-09-30 2022-09-30 Time slot table generation method and device, nonvolatile storage medium and computer equipment Pending CN115551096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211215691.8A CN115551096A (en) 2022-09-30 2022-09-30 Time slot table generation method and device, nonvolatile storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211215691.8A CN115551096A (en) 2022-09-30 2022-09-30 Time slot table generation method and device, nonvolatile storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN115551096A true CN115551096A (en) 2022-12-30

Family

ID=84731208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211215691.8A Pending CN115551096A (en) 2022-09-30 2022-09-30 Time slot table generation method and device, nonvolatile storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN115551096A (en)

Similar Documents

Publication Publication Date Title
CN108632886B (en) Service processing method and device
EP3694274B1 (en) Service data transmission method and apparatus
CN110266612B (en) Data transmission method and device, network equipment and storage medium
CN111865887B (en) Data transmission method and device in optical transport network
CN100589365C (en) Method for time slot partition and overhead processing of optical payload unit in light transmission network
US11405703B2 (en) Method and apparatus for transmission using interface, and device
CN112584259B (en) Method, device and system for processing service in optical transport network
CN115632751A (en) Data transmission method and device, nonvolatile storage medium and computer equipment
CN108616402B (en) Management method and system of remote equipment
CN111727589A (en) Method and device for configuring Flex Ethernet node
US11910135B2 (en) Optical signal transmission method and related apparatus
EP3920620A1 (en) Client service transmission method, apparatus and system, and computer-readable storage medium
US4885741A (en) Data communication arrangement with embedded matrix switch
EP4145788A1 (en) Service data processing, exchange and extraction methods, devices, and computer-readable medium
CN109672560A (en) Flexible ethernet management channel extended method and equipment
US11412508B2 (en) Data transmission method and device
CN109802742B (en) Method, equipment and system for transmitting data
CN112865911A (en) Customer service bearing method and device
US4928273A (en) Time division multiplexer/demultiplexer with deterministic time slot assignment
US20220149973A1 (en) Service data transmission method and communication apparatus
CN110138498B (en) Data interleaving method, data de-interleaving method, storage medium and processor
CN115551096A (en) Time slot table generation method and device, nonvolatile storage medium and computer equipment
WO2023134508A1 (en) Service processing method, apparatus and system in optical transport network
CN109510716B (en) Signal processing device and method
CN110932999A (en) Service processing method and 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