Signal processing method, signal transmission apparatus, electronic device and storage medium

By dividing the variable time slot length in the service signal and selecting a reasonable time slot length according to the hardware capabilities of the sender and receiver, the problem of hardware implementation difficulty and delay when the service signal rate is high is solved, and hardware resource saving and delay are achieved. of minimization.

WO2024193046A1PCT designated stage expired Publication Date: 2024-09-26ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/129360
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-21
Filing Date
2023-11-02
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

When the service signal rate is very high, it is difficult for the existing technology to reduce the hardware implementation difficulty and delay while maintaining a balance in hardware implementation. The fixed value of the time slot length will lead to an increase in hardware implementation difficulty or delay.

Method used

By dividing the service signal into N time slots, each time slot has a length of L bits, L=2c×b, N is an integer greater than 0, b is a preset fixed value, and the value of c is based on the relationship between the sending end and the receiving end. The hardware capabilities are determined, and multiple slot length options are implemented to reduce hardware implementation difficulty and minimize delays.

Benefits of technology

It achieves a balance between reducing hardware implementation difficulty and hardware processing delay when the service signal rate is high, saving hardware resources, reducing delay, and adapting to the needs of different hardware bus lengths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023129360_26092024_PF_FP
    Figure CN2023129360_26092024_PF_FP
Patent Text Reader

Abstract

Disclosed in the present application are a signal processing method, a signal transmission apparatus, an electronic device and a storage medium. The method comprises: a sending end dividing a service signal into N slots, wherein the length of each slot is L bits, L=2c×b, N is an integer greater than 0, b is a preset fixed value and is an integer greater than 1, c is an integer greater than or equal to 0, and the value of c is determined according to a slot length supported by the sending end and a receiving end; and the sending end loading client signals into the slots of the service signal, and sending the service signal to the receiving end, such that the receiving end takes out the client signals from the slots of the service signal according to the value of c after receiving the service signal.
Need to check novelty before this filing date? Find Prior Art

Description

Signal processing method, signal transmission device, electronic device and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on and claims the priority of Chinese patent application with application number 2023103047988 and application date March 21, 2023. The entire contents of the Chinese patent application are hereby incorporated into this application as a reference. Technical Field

[0003] The present application relates to the field of communication technology, and in particular to a signal processing method, a signal transmission device, an electronic device, and a computer-readable storage medium. Background Art

[0004] The service signal can be loaded with multiple client signals by dividing the time slots. The service signal here is a fixed-length frame signal, that is, the service signal consists of a signal frame of fixed length, and the signal frame consists of a fixed number of bit blocks, and the number of bits in each bit block is fixed. The bit blocks in the signal frame can be divided into overhead bit blocks and payload bit blocks, and the number of overhead bit blocks and payload bit blocks is also a fixed value. Common fixed-length frame signals include Optical Data Unit (ODU) signals, Flexible Optical Transport Network (FlexO) signals, Flexible Ethernet Group (FlexE Group) signals, etc. The payload of the signal frame of some fixed-length frame signals can be divided into multiple time slots, and multiple client signals with lower rates can be loaded into these time slots.

[0005] Generally speaking, the time slot length of a service signal is equal to the number of bits corresponding to one time slot. When multiple client signals are loaded into a single service signal, if there are a large number of client signals and multiple service signals, and the sum of the rates of these service signals is high, the time slot length will affect the difficulty of hardware implementation. The higher the sum of the service signal rates, the greater the hardware implementation difficulty. While increasing the time slot length can reduce hardware implementation difficulty, a larger time slot length introduces greater latency, and latency is a critical performance metric. Furthermore, if the sum of the service signal rates of a hardware implementation is limited, or if improvements in hardware implementation technology have reduced the length of the internal hardware bus, increasing the time slot length will not reduce hardware implementation difficulty, but will instead increase latency. Therefore, the time slot length should not be indiscriminately set to a very large value.

[0006] In the existing technology, in order to reduce the delay introduced by hardware processing, the time slot length is generally not too large, and the time slot length of the service signal is fixed. This will result in great difficulty in hardware implementation when the rate of a single service signal is very high, or when the rate of a single service signal is not high but there are many service signals causing the sum of the rates of the service signals to be very high.

[0007] To summarize, reducing the difficulty of hardware implementation requires a larger time slot length, while low latency requires a smaller time slot length. Therefore, there is an urgent need for a signal processing method that can reduce the difficulty of hardware implementation when the sum of the rates of service signals implemented by a hardware is very high, while minimizing the delay introduced by hardware processing.

[0008] Summary of the Invention

[0009] The embodiments of the present application provide a signal processing method, a signal transmission device, an electronic device, and a computer-readable storage medium, which are used to achieve a balance between reducing the difficulty of hardware implementation and reducing the delay introduced by hardware processing when the service signal rate is very high.

[0010] In a first aspect, an embodiment of the present application provides a signal processing method, the method comprising:

[0011] The transmitting end divides the service signal into N time slots, each of which has a length of L bits, where L=2 c × b, where N is an integer greater than 0, b is a preset fixed value and an integer greater than 1, and c is an integer greater than or equal to 0, and the value of c is determined according to the length of the time slot supported by the transmitting end and the receiving end;

[0012] The transmitting end loads the client signal into the time slot of the service signal and sends it to the receiving end, so that after receiving the service signal, the receiving end determines the length of the time slot according to the value of c, and extracts the client signal from the time slot of the service signal according to the length of the time slot.

[0013] In a second aspect, an embodiment of the present application provides a signal transmission device, which is used to implement the signal processing method described in the first aspect above, including:

[0014] The transmitting end is used to divide the service signal into N time slots, each of which has a length of L bits, where L=2 c × b, where N is an integer greater than 0, b is a preset fixed value and an integer greater than 1, c is an integer greater than or equal to 0, and the value of c is determined according to the lengths of the time slots supported by the transmitting end and the receiving end. The client signal is loaded into the time slot of the service signal and sent to the receiving end;

[0015] The receiving end is used to receive the service signal, determine the length of the time slot according to the value of c, and extract the client signal from the time slot of the service signal according to the length of the time slot.

[0016] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0017] at least one processor;

[0018] at least one memory for storing at least one program;

[0019] When at least one of the programs is executed by at least one of the processors, the signal processing method as described in the first aspect above is implemented.

[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a program executable by a processor, wherein the program executable by the processor is used to implement the signal processing method described in the first aspect above when executed by the processor.

[0021] In this embodiment of the present application, the transmitting end divides the service signal into N time slots, each of which has a length of L bits, L=2 c ×b, where N is an integer greater than 0, b is a preset fixed value and an integer greater than 1, and c is an integer greater than or equal to 0. The value of c is determined based on the lengths of the time slots supported by the transmitting end and the receiving end. The transmitting end loads the client signal into the time slot of the service signal and sends it to the receiving end. After receiving the service signal, the receiving end extracts the client signal from the time slot of the service signal based on the value of c. According to the solution of the embodiment of the present application, the transmitting end and the receiving end can provide multiple selectable time slot lengths based on their hardware capabilities, and implementing multiple time slot lengths does not significantly increase the hardware implementation cost. The most reasonable value of c is selected from the multiple time slot lengths supported by the transmitting end and the receiving end to achieve minimum delay. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG1 is a schematic diagram of a signal frame payload divided into time slots;

[0023] FIG2 is a flow chart of a signal processing method provided in an embodiment of the present application;

[0024] Figures 3a-3c are schematic diagrams of time slot division when c takes different values;

[0025] FIG4 is a schematic diagram of another type of signal frame payload divided into time slots;

[0026] FIG5 is a schematic diagram of yet another type of signal frame payload divided into time slots;

[0027] FIG6 is a schematic structural diagram of a signal processing device provided in an embodiment of the present application;

[0028] FIG7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The present application is further described below in conjunction with the accompanying drawings and specific embodiments. The described embodiments should not be considered as limiting the present application. All other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0030] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0031] Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the embodiments of this application are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0032] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the situation where A exists alone, A and B exist at the same time, or B exists alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a exists alone, b exists alone, c exists alone, a and b exist at the same time, a and c exist at the same time, b and c exist at the same time, or a, b and c exist at the same time, wherein a, b, c can be single or multiple.

[0033] In addition, the technical features involved in each embodiment of the present application described below can be combined with each other as long as they do not conflict with each other.

[0034] The embodiments described herein may be implemented in a communication system, such as at least one of the following: a Global System for Mobile Communications (GSM) or any other second generation cellular communication system, a Universal Mobile Telecommunications System (UMTS, 3G) based on basic Wideband Code Division Multiple Access (W-cDMA), a High Speed ​​Packet Access (HSPA), a Long Term Evolution (LTE), an Advanced LTE, a system based on the IEEE 802.11 specification, a system based on the IEEE 802.15 specification, and / or a fifth generation (5G) mobile or cellular communication system. However, the embodiments of the present application are not limited to the systems given as examples above, but those skilled in the art may apply the solutions to other communication systems having the necessary properties.

[0035] The above-mentioned communication system can be used to support fourth generation (4G) access technology, such as long term evolution (LTE) access technology; alternatively, the communication system can also support fifth generation (5G) access technology, such as new radio (NR) access technology; and future mobile communication systems.

[0036] It can be understood that the communication system described in the embodiment of the present application is for the purpose of more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.

[0037] In order to facilitate understanding of the solutions of the present application, the concepts involved in the embodiments of the present application are first explained below.

[0038] The service signal can be divided into time slots to accommodate multiple client signals. The service signal is a fixed-length frame signal, meaning it consists of a fixed-length signal frame, which consists of a fixed number of bit blocks, each with a fixed number of bits. The bit blocks in a signal frame can be divided into overhead bit blocks and payload bit blocks, and the number of overhead bit blocks and payload bit blocks is also fixed.

[0039] Common fixed-length frame signals include optical channel data unit (OCDU) signals, flexible optical transport network (FOTN) signals, and flexible Ethernet group signals. The payload of some fixed-length frame signals can be divided into multiple time slots to carry multiple lower-rate client signals. For example, an OCD signal can be divided into time slots to carry multiple lower-rate OCD signals, and a flexible Ethernet group signal can be divided into time slots to carry multiple flexible Ethernet client signals.

[0040] In the embodiments of the present application, a time slot refers to a bit block of fixed length. Hereinafter, the time slot length is used to represent the number of bits contained in the bit block corresponding to the time slot, and the unit of the time slot length is bits. A signal frame of a fixed-length frame signal is composed of a fixed number of bit blocks. Hereinafter, the bit blocks comprising the signal frame are referred to as frame units, and the number of bits contained in the bit blocks comprising the signal frame is referred to as frame unit length, and the unit is bits. The time slot length is typically an integer number of frame units. Although the time slot length is typically expressed in bits, in some cases, the number of frame units may be used as the unit for simplicity of description.

[0041] It is understandable that the purpose of dividing fixed-length frame signals into time slots is to accommodate multiple low-speed signals. The method of dividing fixed-length frame signals into time slots is usually to divide the payload of the fixed-length frame signal frame into U bit blocks, and then group the U bit blocks into N time slots according to N consecutive bit blocks. Each time slot is assigned a time slot number, and the time slot number definition starts from 0, and the maximum time slot number is N-1. The method is to traverse the U bit blocks one by one, and assign time slot numbers 0 to N-1 to each consecutive N bit blocks. In this way, the payload of a signal frame can be divided into N time slots. Referring to Figure 1, the payload of the signal frame in Figure 1 contains U bit blocks, and N=8 is set, and U is divisible by 8, that is, every 8 bit blocks are set as a time slot. 8 time slots are divided in the payload of the signal frame. The numbers in Figure 1 represent the time slot numbers.

[0042] In common service signals, the payload of a signal frame contains an integer number of bit blocks, and the number of bit blocks U in the payload of the signal frame is divisible by the number of time slots N. For example, for optical data unit 4 (ODU 4, ODU4) signal, the frame unit of its signal frame is 1 byte, the frame unit length is 8 bits, the signal frame consists of 15296 frame units, the time slot length of the optical channel data unit 4 signal is 8, that is, the time slot corresponds to 1 byte; the optical channel data unit cn signal, where n is an integer greater than 1, n represents its rate is n*100G bits per second, for example, the optical channel data unit c4 signal represents its rate is 400G bits per second, the frame unit of the optical channel data unit cn signal is byte, the frame unit length is 8, the signal frame consists of 15296*n frame units, and the time slot length of the optical channel data unit cn signal is 128 bits, that is, 16 bytes; the flexible Ethernet group signal with a rate of 100G bits per second, the frame unit is a 64B / 66B coding block, the frame unit length is 66 bits, the signal frame consists of 20461 frame units, the time slot length of the flexible Ethernet group signal with a rate of 100G bits per second is 66 bits, that is, the time slot corresponds to 1 64B / 66B coding block. Generally, the time slot length is greater than or equal to the frame unit length, and the time slot length is often an integer multiple of the frame unit length.

[0043] Currently, the time slot length of service signals is fixed. When fitting multiple client signals into a service signal's time slot, the service signal time slot length can impact hardware implementation difficulty if there are a large number of client signals, the service signal rates are high, and there are multiple service signals. Hardware implementations for multiple client and service signals define a hardware bus to represent all service signals or all client signals. This hardware bus has a specific length, measured in bits. The length is equal to the sum of the service signal rates divided by the clock rate. The clock rate is determined by the hardware implementation technology. For example, for field programmable gate arrays (FPGAs), the clock rate is typically 200 Mbps to 300 Mbps, while for application-specific chips, the clock rate is typically 800 Mbps to 1 Gbps. The hardware bus length is equal to the sum of the service signal rates divided by the clock rate. For example, if the sum of all service signal rates is 400 Gbps and the clock rate is 1 Gbps, the hardware bus length is 400 bits. The hardware bus length is typically adjusted to an integer multiple of the time slot length. For example, if the service signal is an optical channel data unit (OCDU) C4 signal, with a time slot length of 128 bits and a clock rate of 1 Gbit / s, the calculated hardware bus length is 400 bits. However, 400 is not divisible by 128, so the hardware bus length is 512 bits, and the clock rate is reduced. A clock rate of 1 Gbit / s is the upper limit of the clock rate. The clock rate can be reduced as needed, but it cannot exceed 1 Gbit / s.

[0044] For hardware implementation, if the hardware bus length is many times longer than the time slot length, the resources required for hardware implementation will increase significantly. Let E = hardware bus length / time slot length. The resources required for hardware implementation are related to the square of E, meaning that as E increases, the resources required for hardware implementation will increase at a greater rate. At the same time, when the hardware bus length is greater than the time slot length, the delay introduced by hardware processing is related to the hardware bus length, not the time slot length. The actual hardware bus length and clock rate are the key factors in hardware-induced processing delays. Only when the hardware bus length is less than the time slot length does the time slot length become a key factor in hardware-induced processing delays. Therefore, when the hardware bus length is very large, reducing the time slot length does not reduce hardware processing delays. Instead, it may cause the difficulty of hardware implementation to increase exponentially.

[0045] Service signals correspond to communication devices. Based on application scenarios, communication devices are divided into two categories: edge devices and backbone devices. Edge devices have a lower sum of service signal rates, which offers the advantages of low hardware cost and low power consumption. Backbone devices have a higher sum of service signal rates. While the hardware cost and power consumption are high, they still offer the advantages of low cost and low power consumption per unit service signal rate. Therefore, different hardware implementations are required for edge and backbone devices, with different hardware corresponding to different sums of service signal rates. Therefore, the hardware bus length cannot be fixed. If the slot length is set to a fixed value, the hardware implementation difficulty increases dramatically when the hardware bus length is much larger than the slot length. Furthermore, processing delay does not decrease with a smaller slot length; instead, it increases due to increased hardware complexity. However, if the slot length is increased, the hardware implementation difficulty is very low when the hardware bus length is smaller than the slot length, but the delay introduced by the slot length is significant. Therefore, a fixed slot length cannot achieve optimal latency and hardware implementation difficulty for different hardware bus lengths.

[0046] In view of this, embodiments of the present application provide a signal processing method, a signal transmission device, an electronic device, and a computer-readable storage medium for achieving a balance between reducing the difficulty of hardware implementation and reducing the delay introduced by hardware processing when the service signal rate is very high.

[0047] In a first aspect, an embodiment of the present application provides a signal processing method. As shown in FIG2 , the signal processing method provided by the embodiment of the present application includes the following steps:

[0048] Step S101: The transmitter divides the service signal into N time slots, each time slot is L bits long, L=2 c ×b, where N is an integer greater than 0, b is a preset fixed value and an integer greater than 1, and c is an integer greater than or equal to 0. The value of c is determined by the time slot lengths supported by the transmitting and receiving ends.

[0049] Step S102: The transmitting end loads the client signal into the time slot of the service signal and sends it to the receiving end;

[0050] Step S103: After receiving the service signal, the receiving end determines the length of the time slot according to the value of c, and extracts the client signal from the time slot of the service signal according to the length of the time slot.

[0051] It is understandable that in order to reduce the implementation difficulty of the service signal for different hardware bus lengths and still maintain the advantage of low latency when the hardware bus length is low, the embodiment of the present application sets the time slot length to a variable value, and the time slot length must comply with the following rules: a basic time slot length b is set, and the time slot length is set to 2 c ×b, where 2c Represents 2 to the power of c, where c is an integer greater than or equal to 0, and the value of c is [c min , c max ], where c min is an integer greater than or equal to 0, c max is greater than or equal to c min integer, [c min , c max ] means greater than or equal to c min and less than or equal to c max For example, set c min is 0, c max If the length of the hardware bus is 7, then the value of c is 0-7, that is, the slot length corresponds to b, 2*b, 4*b, 8*b, 16*b, 32*b, 64*b, and 128*b respectively. For a certain hardware implementation, the hardware bus length is fixed. If the hardware bus length is greater than c min The corresponding time slot length can be obtained by reasonably choosing c min Reduce the difficulty of hardware implementation. For example, if the hardware bus length is 16*b, supporting a time slot length of b is very difficult to implement in hardware. However, supporting a time slot length of 16*b is the easiest. Although supporting time slot lengths of 32*b, 64*b, and 128*b is more difficult than supporting 16*b, the added difficulty is lower because the time slot length is greater than the hardware bus length and its multiple is a power of 2, at least much lower than supporting a time slot length of 8*b. Therefore, the minimum supported time slot length is 16*b, which is the simplest to implement in hardware. If possible, consider supporting a minimum slot length of 8*b. This increases hardware complexity but helps reduce latency when communicating with other hardware.

[0052] When two hardwares with different hardware bus lengths need to send and receive service signals to each other, they only need to choose the smallest c value that both hardwares can support. At this time, the hardware processing delay can be minimized. Although the above solution will increase the difficulty of hardware implementation for all hardware implementations due to supporting different time slot lengths, the increased hardware implementation difficulty is limited. In the original fixed time slot solution, when the hardware bus length is much larger than the time slot length, a lot of hardware resources need to be added. In this case, the short time slot length does not actually reduce the delay. On the contrary, due to the increased hardware complexity, additional delay is introduced, resulting in the actual delay being greater than the delay when the time slot length and the hardware bus length are the same. In this way, the above solution can greatly save hardware resources, greatly reduce the difficulty of hardware implementation, and by selecting the appropriate c value, the delay introduced by hardware processing can be minimized. For example, a certain hardware supports c minWhen c is set to 0, the minimum supported time slot length is b. When two such hardware devices communicate with each other, c can be set to 0. At this time, the actual time slot lengths of the two such hardware devices are both b, thus achieving the lowest delay.

[0053] In the embodiment of the present application, the value of c is determined according to the time slot lengths supported by the transmitting end and the receiving end, and specifically includes the following steps:

[0054] Step S201: Determine c1 corresponding to the sending end min The transmitter supports a variety of different time slot lengths. The specific supported time slot length is determined by the value of c1. The value range of c1 is [c1 min , c max ],c1 min Indicates the minimum value of c supported by the sender, c max is greater than c1 min The preset fixed value of c1 min Determined by the hardware capabilities of the sending end;

[0055] Step S202: Determine c2 corresponding to the receiving end min The receiving end supports a variety of different time slot lengths. The specific supported time slot length is determined by the value of c2. The value range of c2 is [c2 min , c max ],c2 min Indicates the minimum value of c supported by the receiving end, C max is greater than c2 min The preset fixed value of c2 min Determined by the hardware capabilities of the receiving end;

[0056] Step S203: c1 min and c2 min The maximum value in is determined as the value of c, and the length of the time slot at the transmitting end and the receiving end is determined according to the value of c. The length of the time slot is L bits.

[0057] 3a-3c, which are schematic diagrams of time slot division when c takes different values. The squares with numbers represent 1 bit block, each bit block is b bits long, b is an integer greater than 1, and the numbers in the squares are time slot numbers. 3a is a schematic diagram of time slot division when c=0. When c=0, each bit block is regarded as a time slot, the length of each time slot is b bits, and N=4 is assumed. Every four time slots are regarded as a time slot cycle. Within a time slot cycle, each time slot is numbered in sequence from 0 to 3. FIG3b is a schematic diagram of time slot division when c=1. When c=1, every two bit blocks are regarded as a time slot, the length of each time slot is 2b bits, and N=4 is assumed. Every four time slots are regarded as a time slot cycle. Within a time slot cycle, each time slot is numbered in sequence from 0 to 3. FIG3c is a schematic diagram of time slot division when c=2. When c=2, every four bit blocks are regarded as a time slot, the length of each time slot is 4b bits, and N=4 is assumed. Every four time slots are regarded as a time slot cycle. Within a time slot cycle, each time slot is numbered in sequence from 0 to 3.

[0058] For example, in the optical channel data unit cn signal, the frame unit is byte, the frame length is 15296*n frame units, wherein the frame payload length is 15232*n frame units, the frame payload is divided into 20*n time slots, the bit block length is b, b=128 bits, and the time slot length can be set to 2 as needed. c ×b, where c is [0,7]. When a certain hardware is used to implement the optical path data unit cn signal, the value of c is selected according to the hardware bus length of the hardware. min ,7], where c min Determines the difficulty of hardware implementation and converts the hardware bus length into c min , which can minimize the difficulty of hardware implementation. For example, a hardware A can support a maximum rate of 400G bits per second for the optical path data unit cn signal, which can support 1 optical path data unit c4 signal, 4 optical path data unit c1 signals, or 2 optical path data unit c2 signals, or 1 optical path data unit c3 signal plus 1 optical path data unit c1 signal. According to its hardware capabilities, its hardware bus length is 512 bits. Compared with the bit block length b, 512=2 2 ×b, select c min If the value is 2, all time slot lengths with c greater than or equal to 2 are supported. This means that the time slot lengths supported by this hardware include 512, 1024, 2048, 4096, 8192, and 16384 bits. This hardware has the lowest implementation difficulty. If necessary, you can also consider selecting cmin as 1. This will make implementation more difficult than selecting c. minWhen it is 2, it is slightly improved, but it is beneficial to get lower latency when communicating with other hardware. The maximum rate of the optical channel data unit cn signal supported by a hardware B is 100G bits per second, which can support 1 optical channel data unit c1 signal. According to its hardware capabilities, its hardware bus length is 128 bits. Compared with the bit block length b, 128=2 0 ×b, select c min If c is set to 0, all timeslot lengths greater than or equal to 0 are supported. This means that this hardware supports timeslot lengths of 128, 256, 512, 1024, 2048, 4096, 8192, and 16384 bits. When hardware A and hardware B interoperate, the minimum timeslot length supported by both, 512, is selected, setting c to 2. Eight specific values ​​are added to the payload type overhead of the optical channel data unit (cn) signal to represent the eight timeslot lengths.

[0059] It should be understood that the service signal is a fixed-length frame signal, and the signal frame of the service signal includes overhead and payload. Accordingly, in step S101, the transmitting end divides the service signal into N time slots, including: the transmitting end divides the payload of the signal frame of the service signal into N time slots.

[0060] Specifically, the payload of the signal frame of the service signal is divided into N time slots, which is achieved by merging the payloads of K consecutive signal frames of the service signal to obtain a payload of K×W bits, where W is the number of bits in the payload of the signal frame of the service signal, and K is an integer greater than 0.

[0061] K is obtained as follows: consecutive L bits form a time slot, consecutive N×L bits form a time slot period, Z is set to the least common multiple of N×L and W, K is set to Z / W, the K×W bit payload contains an integer number of time slot periods, and within each time slot period, each time slot is assigned a time slot number in the order from 0 to N-1.

[0062] For example, assume that the number of bits corresponding to the payload of each signal frame is 112 (i.e., W = 112), N = 4, and L = 16. Let Z be the least common multiple of N × L and W. Then, Z here is 448, and K is equal to Z / W, i.e., K = 448 / 112 = 4. Referring to Figure 4 , there are four consecutive signal frames in Figure 4 , where each numbered square corresponds to 16 bits, and the numbers in the squares are time slot numbers. The number of bits corresponding to the payload of each signal frame is 112, and the four signal frames can be combined to obtain 448 payload bits. Based on N = 4 and L = 16, the payloads of the four signal frames are divided into time slots so that the number of payload bits of the K signal frames is exactly divisible by N * L.

[0063] In the embodiment of the present application, the transmitting end loads the client signal into the time slot of the service signal, specifically including the following steps:

[0064] Step S301, determining the number of client signal time slots M based on the fixed rate of the client signal and the payload rate of the signal frame of the service signal, where M is an integer less than or equal to N;

[0065] Step S302: Select M time slots from N time slots and load the client signals into the M time slots.

[0066] It will be appreciated that the value of M is determined based on the fixed rate of the client signal and the rate of the payload of the service signal frame. The fixed rate of the client signal is less than or equal to the rate of the M time slots in the payload of the service signal frame. After the value of M is determined, M time slots are selected from the previously allocated N time slots to carry the client signal. It should be noted that the M time slots can be any M time slots within the N time slots, and the M time slots can be evenly or unevenly distributed within the N time slots.

[0067] It is understood that the signal frame overhead of the service signal includes a frame alignment overhead. The method of the embodiment of the present application further includes the following steps: the transmitting end writes fixed bit information into the frame alignment overhead, and the receiving end determines the specific location of the signal frame overhead and payload of the service signal based on the frame alignment overhead.

[0068] Among them, the receiving end determines the specific position of the overhead and payload of the signal frame of the service signal based on the frame positioning overhead, specifically including: determining the frame header position of the signal frame of the service signal based on the fixed bit information contained in the frame positioning overhead and the signal frame length of the service signal, and determining the position of the overhead and payload of the signal frame of the service signal based on the frame header position.

[0069] It is understood that the overhead of the signal frame of the service signal includes a time slot indication overhead. The method of the embodiment of the present application further includes the following steps: the transmitting end writes the location information of the specific bit of the specific time slot and the time slot number of the specific time slot into the time slot indication overhead, and the receiving end determines the specific location and time slot number of each time slot based on the time slot indication overhead.

[0070] It can be understood that if the total number of time slots U divided in the payload of the signal frame of the service signal cannot be divided by the number of time slots N corresponding to one time slot period, that is, the payload of the signal frame contains a non-integer number of time slot periods, a time slot indication overhead can be added to the service signal to facilitate the receiving end to identify the starting position of each time slot period and the time slot number of each time slot based on the time slot indication overhead when receiving the service signal.

[0071] Referring to FIG5 , the payload length of the signal frame shown in FIG5 is 58 bits. Each time slot in the signal frame corresponds to one byte, and every four time slots constitute a time slot cycle. The time slots in each time slot cycle are numbered sequentially in the order of 0, 1, 2, and 3. The payload of the signal frame in FIG5 includes a non-integer number of time slot cycles. The overhead of the signal frame includes a time slot indication overhead. The time slot indication overhead includes two pieces of information: the position information of a specific bit in a specific time slot and the time slot number corresponding to the specific time slot. For example, the time slot where the first bit in the payload of the current signal frame is located is regarded as the specific time slot, the first bit in the payload of the current signal frame is regarded as the specific bit, and the bit offset of the specific bit relative to the specific time slot is regarded as the position information of the specific bit in the specific time slot. For signal frame -1 in Figure 5, the specific time slot is the time slot where the first bit in the payload of signal frame -1 is located, the specific bit is the first bit in the payload of signal frame -1, and the time slot indication overhead consists of 8 bits, of which the first 4 bits represent the bit offset of the specific bit relative to the specific time slot. In signal frame -1, since the first bit in the payload of signal frame -1 is located at the first bit of a time slot, the bit offset is 0. It is assumed here that the first bit in the payload of the signal frame is located at the Yth bit of a time slot, and Y ranges from 1 to 8. The bit offset is Y-1, so the first 4 bits of the time slot indication overhead of signal frame -1 are 0. The last 4 bits of the time slot indication overhead represent the time slot number corresponding to the specific time slot. In signal frame-1, the time slot number of the specific time slot is 0, so the last 4 bits of the time slot indication overhead of signal frame-1 are 0, so the content of the time slot indication overhead of signal frame-1 is 0x00 (0x represents hexadecimal); for signal frame-2 in Figure 5, the first bit in the payload of signal frame-2 is located at the third bit of a time slot, that is, the time slot numbered 3 has 2 bits located at the end of the payload of signal frame-1, and 6 bits located at the beginning of the payload of signal frame-2, so the bit offset is 2. Since this time slot corresponds to time slot number 3, the content of the time slot indication overhead of signal frame-2 is 0x23.

[0072] It is understandable that after sending the service signal, it is necessary to receive the service signal, determine the length of the time slot according to the value of c, and extract the client signal from the time slot of the service signal according to the length of the time slot.

[0073] In the embodiment of the present application, the receiving end determines the length of the time slot according to the value of c, and extracts the client signal from the time slot of the service signal according to the length of the time slot, specifically including the following steps:

[0074] Step S401: The receiving end determines the length of each time slot according to the value of c;

[0075] Step S402: The receiving end obtains the position and time slot number of each time slot of the payload of the signal frame of the service signal according to the position of the payload of the signal frame of the service signal, the time slot indication overhead, and the length of each time slot;

[0076] Step S403 : The receiving end determines M time slots from the N time slots of the payload of the signal frame of the service signal, and extracts the client signal from the M time slots, where M is an integer less than or equal to N.

[0077] In an embodiment of the present application, before the receiving end extracts the client signal from the time slot of the service signal according to the value of c, it may also include the following steps: determining the frame header position of the signal frame of the service signal based on the fixed bit information contained in the frame positioning overhead and the signal frame length of the service signal, and determining the position of the overhead and payload of the signal frame of the service signal based on the frame header position.

[0078] It is understandable that if the total number of time slots U divided in the payload of the signal frame of the service signal cannot be divided by the number of time slots N corresponding to a time slot period, that is, the payload of the signal frame contains a non-integer number of time slot periods, then the division method of the N time slots of each signal frame of the service signal may not be exactly the same. At this time, the position information of the specific bit of the specific time slot can be obtained through the time slot indication overhead in the overhead of the signal frame. Specifically, the time slot where the first bit in the payload of the current signal frame is located is taken as the specific time slot, and the time slot number of the specific time slot can be determined according to the time slot number of the specific time slot saved in the time slot indication overhead. According to the bit number of the specific time slot to which the first bit in the payload of the current signal frame saved in the time slot indication overhead belongs, the specific position of the first bit of the specific time slot can be determined, so that the time slot numbers and specific positions of all subsequent time slots can be determined.

[0079] In specific implementation, the value of c can be pre-set at the transmitting end and the receiving end, so that the transmitting end divides N time slots in the payload of the signal frame according to the value of c, and the receiving end determines the length of each time slot according to the value of c, and then extracts the client signal from the time slot.

[0080] The receiving end needs to determine M time slots from the N time slots in the payload of the service signal frame. The specific time slot numbers of these M time slots are set by the controller. The controller can simultaneously configure the hardware of the transmitting and receiving ends. Before loading the client signal into the M time slots of the service signal, the specific time slot numbers of the M idle time slots must be determined. Once determined, the controller assigns these M time slot numbers to the transmitting and receiving ends respectively. The receiving end then only needs to identify the specific positions and time slot numbers of the N time slots to determine the M time slots from the N time slots based on the configuration information.

[0081] It should be noted that since the time slot length affects the intercommunication of service signals, when sending service signals, the current time slot length must be indicated by the specific overhead of the service signal. For example, for the optical path data unit signal or the optical path data unit cn signal, the current time slot length can be indicated by the payload type (PT, Payload Type) overhead. When receiving the service signal, it is necessary to compare whether the currently set expected time slot length is consistent with the time slot length indicated by the specific overhead. If they are inconsistent, a time slot length mismatch alarm will be reported.

[0082] In a second aspect, referring to FIG6 , an embodiment of the present application provides a signal transmission device for implementing the above-mentioned signal processing method. The signal transmission device 800 includes:

[0083] The transmitter 801 is used to divide the service signal into N time slots, each time slot has a length of L bits, L = 2 c ×b, where N is an integer greater than 0, b is a preset fixed value and an integer greater than 1, and c is an integer greater than or equal to 0. The value of c is determined based on the time slot lengths supported by the transmitting and receiving ends. The client signal is loaded into the time slot of the service signal and sent to the receiving end.

[0084] The receiving end 802 is used to receive the service signal and extract the client signal from the time slot of the service signal according to the value of c.

[0085] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of this application. Their specific functions and technical effects can be found in the method embodiment section and will not be repeated here.

[0086] In a third aspect, referring to FIG. 7 , an electronic device provided in an embodiment of the present application is shown. The electronic device 900 includes but is not limited to:

[0087] at least one processor 910;

[0088] at least one memory 920, for storing at least one program;

[0089] When the at least one program is executed by the at least one processor 910 , the signal processing method described in any of the above embodiments is performed.

[0090] It should be understood that the processor 910 and the memory 920 may be connected via a bus or other means.

[0091] It should be understood that the processor 910 can be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. Alternatively, the processor 910 uses one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0092] Memory 920, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the signal processing method executed by the electronic device described in any embodiment of this application. Processor 910 implements the aforementioned signal processing method by executing the non-transitory software program and instructions stored in memory 920.

[0093] The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data for executing the above-mentioned signal processing method. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 920 may optionally include a memory remotely located relative to the processor 910, and these remote memories may be connected to the processor 910 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0094] The non-transient software programs and instructions required to implement the above-mentioned signal processing method are stored in the memory 920. When executed by one or more processors 910, the signal processing method provided by any embodiment of the present application is executed.

[0095] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor. When the program executable by the processor is executed by the processor, it is used to implement the signal processing method described in any of the above embodiments.

[0096] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media.Computer-readable media can be computer-readable signal media or computer-readable storage media.Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or components, or any combination thereof.More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (cD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.In this document, computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0097] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0098] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0099] The computer program code for performing the operations of the present application can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (such as through the Internet using an Internet service provider).

[0100] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Technical personnel familiar with the field can also make various equivalent modifications or substitutions under the sharing conditions that do not violate the essence of the present application. These equivalent modifications or substitutions are all included in the scope defined by the present application.

Claims

1. A signal processing method, comprising: The transmitting end divides the service signal into N time slots, each of which has a length of L bits, L = 2 c × b, N is an integer greater than 0, b is a preset fixed value and an integer greater than 1, c is an integer greater than or equal to 0, and the value of c is determined according to the length of the time slot supported by the transmitting end and the receiving end; The transmitting end loads the client signal into the time slot of the service signal and sends it to the receiving end, so that after receiving the service signal, the receiving end determines the length of the time slot according to the value of c, and takes out the client signal from the time slot of the service signal according to the length of the time slot.

2. The method according to claim 1, wherein: The service signal is a fixed-length frame signal. The service signal is composed of a signal frame with a fixed length. The signal frame of the service signal includes an overhead and a payload.

3. The method according to claim 2, wherein: The transmitting end dividing the service signal into N time slots includes: the transmitting end dividing the payload of the signal frame of the service signal into N time slots.

4. The method according to claim 3, wherein: Dividing the payload of the signal frame of the service signal into N time slots specifically includes: The payloads of K consecutive signal frames of the service signal are merged to obtain a payload of K×W bits, where W is the number of bits in the payload of the signal frame of the service signal, and K is an integer greater than 0. K is obtained in the following manner: the consecutive L bits form one time slot, and consecutive N×L bits form a time slot period, Z is set to be the least common multiple of N×L and W, and K is set to be equal to Z / W. The payload of K×W bits contains an integer number of time slot periods, and within each time slot period, a time slot number is assigned to each time slot in sequence from 0 to N-1.

5. The method according to claim 4, wherein: The transmitting end loads the client signal into the time slot of the service signal, comprising: The transmitting end determines the number of time slots M corresponding to the client signal according to the rate of the client signal and the rate of the payload of the signal frame of the service signal, where M is an integer less than or equal to N, so that the rate of the M time slots of the payload of the signal frame of the service signal is greater than or equal to the rate of the client signal; The transmitting end selects M time slots from the N time slots and loads the client signals into the M time slots.

6. The method according to claim 5, further comprising: The overhead of the signal frame of the service signal includes a frame alignment overhead, the transmitting end writes fixed bit information into the frame alignment overhead, and the receiving end determines the specific position of the overhead and payload of the signal frame of the service signal according to the frame alignment overhead; The overhead of the signal frame of the service signal includes a time slot indication overhead. The transmitting end writes the position information of the specific bit of the specific time slot and the time slot number of the specific time slot in the time slot indication overhead. The receiving end determines the specific position and the time slot number of each time slot based on the time slot indication overhead.

7. The method according to claim 6, wherein: The receiving end determines the specific location of the overhead and payload of the signal frame of the service signal according to the frame alignment overhead, including: The frame header position of the signal frame of the service signal is determined according to the fixed bit information contained in the frame positioning overhead and the signal frame length of the service signal, and the positions of the overhead and payload of the signal frame of the service signal are determined according to the frame header position.

8. The method according to claim 7, wherein: The receiving end extracts the client signal from the time slot of the service signal according to the length of the time slot, including: The receiving end obtains the position of each time slot of the payload of the signal frame of the service signal and the time slot number according to the position of the payload of the signal frame of the service signal, the time slot indication overhead and the length of each time slot; M time slots are determined from the N time slots of the payload of the signal frame of the service signal, and the client signal is taken out from the M time slots.

9. The method according to claim 1, wherein: The value of c is determined according to the length of the time slot supported by the transmitting end and the receiving end, including: The transmitting end supports multiple different values ​​of the time slot length. The specific supported time slot length is determined by the value of c1. The value range of c1 is [c1 min , c max ], the c1 min Indicates the minimum value of c supported by the sender, where c max is greater than c1 min The preset fixed value of c1 min Determined according to the hardware capability of the sending end; The receiving end supports multiple different values ​​of the time slot length, and the specific supported time slot length is determined by the value of c2, and the value range of c2 is [c2 min , c max ], the c2 min Indicates the minimum value of c supported by the receiving end, where c max is greater than c2 min The preset fixed value of c2 min Determined according to the hardware capability of the receiving end; The c1 min and c2 min The maximum value in is determined as the value of c, and the length of the time slot of the transmitting end and the receiving end is determined according to the value of c, and the length of the time slot is L bits.

10. A signal transmission device, used to implement the signal processing method according to any one of claims 1 to 9, the device comprising: The transmitting end is used to divide the service signal into N time slots, each of which has a length of L bits, L = 2 c × b, N is an integer greater than 0, b is a preset fixed value and an integer greater than 1, c is an integer greater than or equal to 0, the value of c is determined according to the length of the time slot supported by the transmitting end and the receiving end, the client signal is loaded into the time slot of the service signal, and sent to the receiving end; The receiving end is used to receive the service signal, determine the length of the time slot according to the value of c, and extract the client signal from the time slot of the service signal according to the length of the time slot.

11. An electronic device, comprising: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the signal processing method according to any one of claims 1 to 9 is implemented.

12. A computer-readable storage medium storing a program executable by a processor, wherein the program executable by the processor is used to implement the signal processing method according to any one of claims 1 to 9 when executed by the processor.

Citation Information

Patent Citations

  • Fixed-length time slot based dynamic channel allocation method for time division duplex / time division multiple access

    CN103023822A

  • Time slot time division multiplexing method and device as well as information transmission method and device

    CN107888349A

  • Service data transmission method and device

    CN109729588A

  • Method and device for flexe low-speed service processing

    WO2022016831A1