Customer signal rate regeneration method and device
By using time and bit number to represent the rate of client signals in the optical transport network, and performing jitter filtering processing, the problem of complex physical clocks and phase-locked loop hardware in the existing technology is solved, and efficient processing of multiple client signals is achieved. Rate regeneration simplifies hardware resource requirements.
Patent Information
- Application Number
- CN202310481377.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2024-10-29
AI Technical Summary
In the existing technology, the rate recovery of client signals requires the use of physical clocks and phase-locked loop hardware, which is complex to implement and cannot be simplified by time division multiplexing technology, resulting in a limited number of supported client signals.
By extracting the rate information of the client signal from the first service signal, using time and number of bits to represent the rate of the client signal, and performing jitter filtering processing, the second rate information is generated and carried in the second service signal, avoiding the need for a physical clock and the use of phase-locked loop hardware.
It greatly simplifies the hardware implementation and can support the rate regeneration of thousands of client signals, reducing hardware resource requirements and maintaining the rate recovery effect.
Smart Images

Figure CN118869397A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communications, and in particular, to a method and device for regenerating a client signal rate. Background Art
[0002] The rate recovery technology is the core technology of the Optical Transport Network (OTN). The most commonly used rate recovery technology in OTN is Generic Mapping Procedure (GMP) mapping. In the GMP implementation process, the most complex processing process is the regeneration of rate information, that is, demapping the client signal from the service signal 1 through GMP, and then re-GMP-mapping the client signal to the service signal 2. In the above process, it is first necessary to demap the client signal rate from the service signal 1 according to the GMP overhead, and the client signal rate obtained by demapping according to the GMP overhead corresponds to the rate of the restored client signal. The GMP overhead here contains the rate information of the client signal. The prior art uses a physical clock to represent the rate of the restored client signal, and it is necessary to filter the jitter of the physical clock representing the rate of the restored client signal obtained by demapping. Generally, a phase-locked loop with a low-pass filter (Low Pass Filter) is used, and then the GMP mapping overhead is regenerated according to the physical clock and service signal 2 after the jitter is filtered out. The hardware implementation of the physical clock and phase-locked loop required in the above process is relatively complex, and the hardware implementation cannot be simplified through time division multiplexing technology. When there are a large number of client signals that require rate regeneration, each client signal needs to correspond to a separate physical clock and a phase-locked loop. However, the implementation of the phase-locked loop is relatively complex, so the number of client signals that can be supported simultaneously and require rate recovery generally cannot exceed 1,000.
[0003] In the related art, the rate recovery of the client signal requires the use of physical clock and phase-locked loop hardware, which is complex to implement and cannot be simplified by time division multiplexing technology. No solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a method and device for regenerating the rate of a client signal, so as to at least solve the problem that the rate recovery of the client signal in the related art requires the use of physical clock and phase-locked loop hardware, which is complex to implement and cannot be simplified by time division multiplexing technology.
[0005] According to an embodiment of the present application, a rate regeneration method for a client signal is provided, the method comprising:
[0006] extracting a client signal from a first service signal, wherein the first service signal carries first rate information of the client signal;
[0007] Recovering the rate of the client signal according to the first rate information, wherein the rate of the client signal is represented by time and number of bits;
[0008] By performing jitter filtering on the time and the bit number, the rate of the restored client signal is filtered out;
[0009] The client signal is loaded into a second service signal, and second rate information of the client signal is generated according to the time and the bit after jitter filtering, wherein the second service signal carries the second rate information.
[0010] According to another embodiment of the present application, a rate regeneration device for a client signal is also provided, the device comprising:
[0011] An extraction module, configured to extract a client signal from a first service signal, wherein the first service signal carries first rate information of the client signal;
[0012] A recovery module, configured to recover the rate of the client signal according to the first rate information, wherein the rate of the client signal is represented by time and number of bits;
[0013] A jitter filtering processing module, used for filtering jitter processing on the time and the bit number to filter jitter processing on the rate of the restored client signal;
[0014] The generating module is used to load the client signal into a second service signal, and generate second rate information of the client signal according to the time and the bit after jitter filtering, wherein the second service signal carries the second rate information.
[0015] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0016] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0017] In the embodiment of the present application, a client signal is extracted from a first service signal; the rate of the client signal is recovered according to the first rate information of the client signal, and the rate of the client signal is represented by time and number of bits; the rate of the recovered client signal is filtered out by using time and number of bits for jitter removal; the client signal is loaded into a second service signal, and second rate information of the client signal is generated according to the time and bit after the jitter removal processing. This can solve the problem that the rate recovery of the client signal in the related art requires the use of physical clock and phase-locked loop hardware, which is complex to implement and cannot be simplified by time division multiplexing technology. The rate of the client signal is represented by a numerical value, and the jitter can be filtered out and the second rate information can be generated by using calculation, thereby greatly simplifying the hardware implementation, so that even if the number of client signals is large, only very few hardware resources are required to achieve rate regeneration of all client signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a hardware structure block diagram of a computer device of a method for regenerating a client signal rate according to an embodiment of the present application;
[0019] Figure 2 is a flow chart of a method for regenerating a client signal rate according to an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of rate information of regenerated client signals according to this embodiment;
[0021] Figure 4 The process of the rate regeneration method of the client signal according to the optional embodiment of the present application is as follows Figure 1 ;
[0022] Figure 5 The process of the rate regeneration method of the client signal according to the optional embodiment of the present application is as follows Figure 2 ;
[0023] Figure 6 is a block diagram of a rate regeneration device for a client signal according to an embodiment of the present application;
[0024] Figure 7 It is a block diagram of a rate regeneration device for a client signal according to an optional embodiment of the present application. DETAILED DESCRIPTION
[0025] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0027] The method embodiments provided in the embodiments of the present application can be executed in a computer device or a similar computing device. Taking running on a computer device as an example, Figure 1 is a hardware structure block diagram of a computer device of a method for regenerating a client signal rate according to an embodiment of the present application, such as Figure 1 As shown, the computer device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device) and a memory 104 for storing data, wherein the above-mentioned computer device may also include a transmission device 106 for communication functions and an input and output device 108. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the rate regeneration method of the client signal in the embodiment of the present application. The processor 102 executes various functional applications and single board matching by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer device 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.
[0029] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0030] In this embodiment, a rate regeneration method for a client signal running on the above-mentioned computer device is provided. Figure 2 is a flow chart of a method for regenerating a client signal rate according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0031] Step S202, extracting a client signal from a first service signal, where the first service signal carries first rate information of the client signal;
[0032] Step S204, recovering the rate of the client signal according to the first rate information, where the rate of the client signal is represented by time and number of bits;
[0033] Step S206, filtering out jitter on the time and the number of bits, so as to filter out jitter on the rate of the restored client signal;
[0034] Step S208: Load the client signal into the second service signal, and generate second rate information of the client signal according to the time and bits after jitter filtering, the second service signal carries the second rate information.
[0035] Through the above steps S202 to S208, the problem in the related art that the rate recovery of the client signal requires the use of physical clock and phase-locked loop hardware, which is complex to implement and cannot be simplified by time division multiplexing technology can be solved. The rate of the client signal is represented by a numerical value, and the jitter can be filtered out and the second rate information can be generated by calculation, thereby greatly simplifying the hardware implementation, so that even if the number of client signals is large, only very few hardware resources are needed to achieve rate regeneration of all client signals.
[0036] Figure 3 FIG. 4 is a schematic diagram of the rate information of the regenerated client signal according to the present embodiment. Figure 3As shown, the client signal is recovered from the first service signal, the rate of the client signal is recovered according to the first rate information carried in the first service signal, and then the client signal is loaded into the second service signal, and the rate of the recovered client signal is filtered to remove jitter, and the second rate information of the client signal is regenerated according to the rate of the recovered client signal after the jitter is filtered, and carried in the second service signal. Specifically, the GMP mapping in the OTN can use this embodiment. In the GMP implementation method of the related art, in the process of de-GMP mapping the first service signal to recover the client signal and the rate of the client signal, and then loading the client signal into the second service signal according to the GMP mapping, and regenerating the GMP rate information overhead, according to the related art, a physical clock is required to represent the rate of the client signal, and a phase-locked loop is required to implement the jitter filtering of the rate of the recovered client signal, and the hardware implementation cost of the physical clock and the phase-locked loop is very high, and when there are many client signals to be processed, the physical clock and the phase-locked loop cannot reduce the hardware resource requirements through time division multiplexing, which ultimately leads to the inability to implement after the number of client signals exceeds 1,000 due to too many hardware resources required. The present embodiment uses two values (time and number of bits) to represent the rate of the recovered client signal, and implements jitter filtering on the rate of the recovered client signal through simple calculation. While achieving the same rate recovery effect as the related art, the hardware implementation cost is greatly reduced, so that the rate information regeneration processing of multiple client signals can be implemented in a time division multiplexing manner, and the hardware resources such as hardware adders, multipliers and dividers required for calculation can be used by multiple client signals at the same time. In this way, the rate recovery processing of more than 1,000 client signals can be implemented with very few hardware resources.
[0037] Figure 4 The process of the rate regeneration method of the client signal according to the optional embodiment of the present application is as follows Figure 1 ,like Figure 4 As shown, the above step S204 may specifically include:
[0038] Step S402, counting the number C of cycles of the local clock in a first time period, the first rate information includes the number B of bits of the client signal in the first time period, B is an integer greater than or equal to 0, the start and end time points of the first time period are determined by specific bits of the first service signal, the local clock has a fixed frequency, and C is an integer greater than 0;
[0039] Step S404: Use the number of cycles C to represent the time of the rate of the recovered client signal, and use the number of bits B to represent the number of bits of the rate of the recovered client signal.
[0040] The rate of the client signal can be recovered through the above processing. Because the rate of the client signal is equal to the number of bits per unit time, the rate of the client signal can be represented by two numerical values, the number of bits and the time, where the time is represented by the number of cycles C of the local clock, so that the time can also be represented by a numerical value, and the number of bits B and the number of cycles C are obtained, that is, the number of bits and the time are represented respectively, then the number of bits B and the number of cycles C are the recovered client signal rate. In the related art, a physical clock is obtained based on the number of bits B and the first time, in which the local clock may not be used, but the clock represented by the first service signal rate is needed. The clock of the first service signal is more difficult to process than the local clock, that is, the physical clock is used to represent the rate of the recovered client signal. Compared with the solutions in the related art, this embodiment does not use a physical clock to represent the rate, but directly uses two numerical values (i.e., the number of bits B and the number of cycles C) to represent the rate. In this way, rate regeneration only requires a simple calculation of the number of bits B and the number of cycles C. The solutions in the related art need to generate a physical clock based on B and the rate of the service signal, and then filter the physical clock through a physical phase-locked loop, and regenerate new rate information based on the filtered physical clock. Among them, the implementation of generating the physical clock and the physical phase-locked loop is more complicated than the calculation.
[0041] In this embodiment, the specific bits of the first service signal include bits where the frame alignment overhead is located, and the first time period corresponds to the frame period of the first service signal.
[0042] The specific implementation of this embodiment is described below using GMP demapping processing. When an Optical Data Unit 4 (ODU4) signal is received, the payload of the Optical Data Unit 4 includes an Optical Data Unit 2 (ODU2) signal. The Optical Data Unit 2 signal is loaded into the Optical Data Unit 4 signal through GMP mapping. The Optical Data Unit 4 signal carries a GMP overhead. The GMP overhead includes rate information of the Optical Data Unit 2 signal. In the GMP overhead, the rate information corresponds to the number of bits of the client signal within a period of time. In this embodiment, the rate information of the Optical Data Unit 2 is the number of bits B of the Optical Data Unit 2 within 80 Optical Data Unit 4 frame periods, wherein the 80 Optical Data Unit 4 frame periods correspond to a period of time, and the start and end time points of this period of time are determined by the specific frame alignment overhead of the Optical Data Unit 4. The number of bits B of the Optical Data Unit 2 can be obtained according to the Cm and ΣCnd overheads in the GMP overhead. For specific definitions of the Cm and ΣCnd overheads, see Annex D in the ITU-T G.709 standard. The number of cycles C of the local clock is used to represent the frame period of 80 optical path data units 4, wherein the local clock has a fixed frequency. The local clock only needs to maintain a stable frequency, and its frequency does not need to be synchronized with the rate of the optical path data unit 2 signal or the optical path data unit 4 signal. The number of cycles C of the local clock is counted within the frame period of 80 optical path data units 4, and the two values C and B are used to represent the rate of the recovered optical path data unit 2 signal.
[0043] Figure 5 The process of the rate regeneration method of the client signal according to the optional embodiment of the present application is as follows Figure 2 ,like Figure 5 As shown, the above step S206 may specifically include:
[0044] Step S502: After acquiring the first rate information from the first service signal each time, the number of bits B and the number of cycles C are obtained, the number of bits B plus the value of the bit accumulator Bsum is used as the new value of the bit accumulator Bsum, and the number of cycles C plus the value of the time accumulator Csum is used as the new value of the time accumulator Csum, so as to filter out jitter on the time and the number of bits;
[0045] Step S504, the rate of the client signal after the jitter processing is filtered out is represented by the new value of the bit accumulator Bsum and the new value of the time accumulator Csum, that is, the rate of the client signal after the jitter processing is filtered out is represented by the time and the number of bits after the jitter processing is filtered out.
[0046] The specific implementation of this embodiment is described below using GMP demapping processing. When the optical path data unit 4 signal is received, the optical path data unit 4 payload includes the optical path data unit 2 signal, and the optical path data unit 2 signal is loaded into the optical path data unit 4 signal through GMP mapping. According to the above embodiment, B and C are used to represent the rate of the recovered optical path data unit 2 signal, wherein C is the number of cycles of the local clock within the frame period of 80 optical path data units 4, and B is obtained according to the Cm and ΣCnd overheads in the GMP overhead. In order to filter the jitter processing of the rate of the recovered client signal, two variables are used to represent the rate after the jitter processing is filtered out, wherein the first variable is Bsum and the second variable is Csum. Since Bsum is the result of accumulating B, the variable Bsum actually corresponds to the value of an accumulator, so the specific value of the variable Bsum can also be called the value of the bit accumulator Bsum. Similarly, since the variable Csum is the result of accumulating C, the variable Csum actually corresponds to the value of an accumulator, so the specific value of the variable Csum can also be called the value of the time accumulator Csum. When the optical path data unit 4 signal is received, the GMP overhead is received regularly, that is, the GMP overhead is received once every 80 optical path data units 4 frame periods. Each time the GMP overhead is received, the value B and the value C are obtained. Each time B and C are received, B and the first variable Bsum are added to obtain a new value of the first variable Bsum, and C and the second variable Csum are added to obtain a new value of the second variable Csum. The variables Bsum and Csum are used to represent the rate of filtering out jitter processing on the recovered client signal.
[0047] In an embodiment of the present invention, the above-mentioned step S208 may specifically include: performing rate information processing on the time and bit number after the jitter filtering process to generate second rate information, wherein the second rate information includes the bit number Bnew of the client signal in the second time period, and further, counting the number of cycles Cnew of the local clock in the second time period, Cnew is an integer greater than 0, and the start and end time points of the second time period are determined by specific bits of the second service signal; determining the second rate information according to the value of the bit accumulator Bsum, the value of the time accumulator Csum and the number of cycles Cnew, specifically, determining the bit number Bnew of the client signal in the second time period by the following formula: bit number Bnew=value of the bit accumulator Bsum / value of the time accumulator Csum*number of cycles Cnew; then determining the bit number Bnew as the second rate information, the second rate information includes the above-mentioned bit number Bnew, that is, the bit number Bnew is carried in the second rate information, and Bnew is an integer greater than or equal to 0. The second rate information actually corresponds to the number of client signal bits in the second time period, but the overhead only needs to transmit the number of bits, so the rate information in the overhead only has the number of bits Bnew. The second time period has been agreed in advance, and the frame period can be directly determined based on the frame positioning overhead. The second time period can be obtained based on the frame period, so the rate information overhead does not need to specifically transmit the specific time information of the second time period.
[0048] The specific bits of the second service signal in this embodiment include bits where the frame alignment overhead is located, and the second time period corresponds to the frame period of the second service signal.
[0049] In an optional embodiment, the method further includes: while determining the bit number Bnew as the second rate information, subtracting the bit number Bnew from the value of the bit accumulator Bsum as the new value of the bit accumulator Bsum, and subtracting the number of cycles Cnew from the value of the time accumulator Csum as the new value of the time accumulator Csum, so as to prepare for determining the number of bits of the client signal in the next time period, thereby improving the accuracy of the number of bits of the client signal in the next time period.
[0050] The specific implementation of this embodiment is described below using the GMP demapping process. When the optical path data unit 4 signal is received, the optical path data unit 4 payload contains the optical path data unit 2 signal, and the optical path data unit 2 signal is loaded into the optical path data unit 4 signal through GMP mapping. According to the above embodiment, B and C are used to represent the rate of the recovered optical path data unit 2 signal, and the first variable Bsum and the second variable Csum are used to represent the rate of filtering the jitter processing of the recovered client signal rate. The client signal is loaded into the locally generated optical path data unit 4 signal through GMP mapping, and the GMP overhead is generated at the same time. When the CMP overhead is generated, Bnew needs to be obtained, where Bnew represents the number of bits of the optical path data unit 2 signal within the frame period of 80 locally generated optical path data unit 4 signals. According to Bnew, Cm and ΣCnd in the GMP overhead can be obtained, thereby completing the regeneration of the rate information. In order to obtain accurate Bnew, Bnew can be calculated by the following formula: Bnew = first variable Bsum / second variable Csum*Cnew, where Cnew is equal to the number of cycles of the local clock within the frame period of the 80 optical channel data unit 4 signals generated locally. Note that the local clock here must be the same as the local clock when C is obtained, and the second variable Csum comes from the accumulation of C. After each calculation to obtain Bnew, it is necessary to subtract Bnew from the first variable Bsum to obtain a new value of the first variable Bsum, and subtract Cnew from the second variable Csum to obtain a new value of the second variable Csum.
[0051] In the present embodiment, the rate recovery of the client signal is realized by taking out the client signal from the service signal 1 (corresponding to the first service signal mentioned above), recovering the rate of the client signal according to the rate information of the client signal, filtering the jitter of the recovered client signal, and then loading the client signal into the service signal 2 (corresponding to the second service signal mentioned above), and in the process of generating the rate information of the new client signal, a numerical value is used to represent the rate information of the client signal, and the jitter is filtered out by calculation, thereby greatly simplifying the hardware implementation, so that even if the number of client signals exceeds 1,000, only very few hardware resources are needed to realize the regeneration of the rate information of all client signals, and the rate recovery effect is consistent with the original solution. The rate of the recovered client signal is represented by a numerical value, and the rate filtering of the recovered client signal is realized by simple calculation, thereby greatly simplifying the rate recovery processing of the client signal, so that the rate recovery processing of multiple client signals can be realized through time division multiplexing, and the rate recovery processing and rate information regeneration of thousands of client signals can be realized with very few hardware resources.
[0052] In one embodiment, the rate of the client signal is represented by the number of local clocks and the number of bits of the client signal, wherein the number of local clocks refers to the number of clock cycles of a physical clock of a specific frequency, and the number of local clocks actually corresponds to the length of time. The clock cycle of a physical clock of a specific frequency is used as a time measurement unit, and the number of clock cycles is used to represent the length of time. For the physical clock of the specific frequency mentioned above, there is no special requirement for its specific frequency value, but the frequency must be stable. The frequency stability of the clock affects the final rate recovery effect. The more stable the clock, the better the rate recovery effect. The client signal rate can be represented by the number of bits of the client signal within a certain period of time, so the client signal rate can be represented by two values, one of which is the number of cycles of the local clock corresponding to a certain period of time, and the other is the number of bits of the client signal within a certain period of time.
[0053] In another embodiment, a client signal is extracted from a first service signal, and the rate of the client signal is restored according to the first rate information, the rate of the restored client signal is filtered, and then the client signal is loaded into a second service signal, and second rate information is generated according to the rate of the restored client signal after the filtering, wherein the first rate information includes the number of client signal bits within a first statistical time, the first statistical time is determined according to the rate of the first service signal, for example, a plurality of consecutive frame periods of the first service signal are used as the first statistical time, and the second rate information includes the number of client signal bits within a second statistical time, the second statistical time is determined according to the rate of the second service signal, for example, a plurality of consecutive frame periods of the second service signal are used as the second statistical time. In order to obtain the second rate information according to the first statistical time, the first rate information and the second statistical time, the following method can be used to specifically implement the following: at the end of each first statistical time, the number C of local clocks contained in the first statistical time (that is, the number C of cycles mentioned above) is counted, C and the current value of the time accumulator Csum are added as the new value of the time accumulator Csum, and B and the current value of the bit accumulator Bsum are added as the new value of the bit accumulator Bsum, wherein B is the number of bits of the client signal in the first statistical time, and B is obtained from the rate information carried by the first service signal; At the end of each second statistical time, the number Cnew of local clocks contained in the second statistical time is counted, and Bnew is set to be Cnew*current value of bit accumulator Bsum / current value of time accumulator Csum, where * represents multiplication operation, and / represents division operation. Bnew is used as the second rate information corresponding to the current second statistical time, and the current value of time accumulator Csum minus Cnew is used as the new value of time accumulator Csum, and the current value of bit accumulator Bsum minus Bnew is used as the new value of bit accumulator Bsum. In the above process, the value of time accumulator Csum changes at the end of each first statistical time or second statistical time, but the average value of the value of time accumulator Csum is a stable value, and the size of this value is equivalent to the bandwidth of the low-pass filter of the phase-locked loop used to filter out jitter of the physical clock in the related technical solution. The larger this value is, the lower the bandwidth of the low-pass filter of the phase-locked loop is. This value can be adjusted to obtain a suitable equivalent bandwidth of the low-pass filter of the phase-locked loop.In order to adjust the average value of the time accumulator Csum, you can wait for different times when you get Bnew for the first time. For example, you can start getting Cnew and calculating Bnew immediately after getting C and B for the first time. In this way, the final value of the time accumulator Csum may be positive or negative. At this time, it is equivalent to not doing any jitter filtering on the recovery rate of the client signal. You can also start getting Cnew and calculating Bnew for the first time after getting C and B for N consecutive times. The larger N is, the more time it takes to filter out jitter, which is equivalent to using a lower bandwidth for the phase-locked loop low-pass filter.
[0054] This embodiment can be used to simplify the hardware implementation of GMP, and is also effective for mappings similar to GMP, such as the simplified GMP mapping promoted in the Optical Service Unit (OSU), and can greatly reduce the hardware implementation resources of GMP mapping in the existing chip implementation.
[0055] Another aspect of the embodiment of the present application further provides a rate regeneration device for a client signal. Figure 6 is a block diagram of a rate regeneration device for a client signal according to an embodiment of the present application, such as Figure 6 As shown, the device comprises:
[0056] An extraction module 62, configured to extract a client signal from a first service signal, wherein the first service signal carries first rate information of the client signal;
[0057] A recovery module 64, configured to recover the rate of the client signal according to the first rate information, wherein the rate of the client signal is represented by time and number of bits;
[0058] A jitter filtering processing module 66, configured to filter jitter processing on the time and the number of bits, so as to filter jitter processing on the rate of the restored client signal;
[0059] The generating module 68 is used to load the client signal into a second service signal, and generate second rate information of the client signal according to the time and the bit after jitter filtering, wherein the second service signal carries the second rate information.
[0060] In one embodiment, the recovery module 64 is further used for the first rate information including the number of bits B of the client signal in a first time period, wherein B is an integer greater than or equal to 0, the start and end time points of the first time period are determined by specific bits of the first service signal, counting the number of cycles C of the local clock in the first time period, wherein the local clock has a fixed frequency, and C is an integer greater than 0; using the number of cycles C to represent the time of the recovered rate of the client signal, and using the number of bits B to represent the number of bits of the recovered rate of the client signal.
[0061] In one embodiment, the specific bits of the first service signal include bits where frame alignment overhead is located, and the first time period corresponds to a frame period of the first service signal.
[0062] In one embodiment, the jitter filtering processing module 66 is further used to obtain the bit number B and the cycle number C each time after acquiring the first rate information from the first service signal, and use the bit number B plus the value of the bit accumulator Bsum as the new value of the bit accumulator Bsum, and use the cycle number C plus the value of the time accumulator Csum as the new value of the time accumulator Csum; the new value of the bit accumulator Bsum and the new value of the time accumulator Csum represent the rate of the client signal after the jitter filtering is performed on the rate of the recovered client signal.
[0063] In one embodiment, the generating module 68 is further used to generate rate information processing for the time and the bit number after the jitter filtering process to generate the second rate information, wherein the second rate information includes the bit number Bnew of the client signal in the second time period.
[0064] Figure 7 is a block diagram of a rate regeneration device for a client signal according to an optional embodiment of the present application, such as Figure 7 As shown, the generating module 68 includes:
[0065] A counting submodule 72, configured to count the number of cycles Cnew of the local clock in a second time period, wherein Cnew is an integer greater than 0, and the start and end time points of the second time period are determined by a specific bit of the second service signal;
[0066] The determination submodule 74 is used to determine the second rate information according to the value of the bit accumulator Bsum, the value of the time accumulator Csum and the number of cycles Cnew.
[0067] In one embodiment, the determination submodule 74 is further configured to determine the number of bits Bnew of the client signal in the second time period by using the following formula:
[0068] The number of bits Bnew=the value of the bit accumulator Bsum / the value of the time accumulator Csum*the number of cycles Cnew;
[0069] The bit number Bnew is determined as the second rate information, wherein the second rate information includes the bit number Bnew, and Bnew is an integer greater than or equal to 0.
[0070] In one embodiment, the specific bits of the second service signal include bits where frame alignment overhead is located, and the second time period corresponds to a frame period of the second service signal.
[0071] In one embodiment, the device further comprises:
[0072] An updating module is used to, while determining the bit number Bnew as the second rate information, take the value of the bit accumulator Bsum minus the bit number Bnew as the new value of the bit accumulator Bsum, and take the value of the time accumulator Csum minus the number of cycles Cnew as the new value of the time accumulator Csum.
[0073] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0074] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0075] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0076] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0077] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0078] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0079] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for regenerating a client signal rate, characterized in that: The method comprises: extracting a client signal from a first service signal, wherein the first service signal carries first rate information of the client signal; Recovering the rate of the client signal according to the first rate information, wherein the rate of the client signal is represented by time and number of bits; By performing jitter filtering on the time and the bit number, the rate of the restored client signal is filtered out; The client signal is loaded into a second service signal, and second rate information of the client signal is generated according to the time and the bit after jitter filtering, wherein the second service signal carries the second rate information.
2. The method according to claim 1, characterized in that Recovering the rate of the client signal according to the first rate information includes: The first rate information includes the number of bits B of the client signal in a first time period, where B is an integer greater than or equal to 0, the start and end time points of the first time period are determined by specific bits of the first service signal, and the number of cycles C of the local clock is counted in the first time period, where the local clock has a fixed frequency and C is an integer greater than 0; The number of cycles C is used to represent the time of the restored rate of the client signal, and the number of bits B is used to represent the number of bits of the restored rate of the client signal.
3. The method according to claim 2, characterized in that The specific bits of the first service signal include bits where the frame alignment overhead is located, and the first time period corresponds to a frame period of the first service signal.
4. The method according to claim 2, characterized in that: The step of filtering out jitter on the time and the number of bits to filter out jitter on the rate of the recovered client signal includes: After acquiring the first rate information from the first service signal each time, the number of bits B and the number of cycles C are obtained, the number of bits B plus the value of the bit accumulator Bsum is used as a new value of the bit accumulator Bsum, and the number of cycles C plus the value of the time accumulator Csum is used as a new value of the time accumulator Csum; The new value of the bit accumulator Bsum and the new value of the time accumulator Csum represent the rate of the client signal after the jitter processing is performed on the rate of the restored client signal.
5. The method according to claim 4, characterized in that Generating the second rate information of the client signal according to the time and the number of bits after the jitter processing is filtered out includes: The time and the bit number after the jitter filtering process are processed to generate rate information to generate the second rate information, wherein the second rate information includes the bit number Bnew of the client signal in the second time period.
6. The method according to claim 5, characterized in that The step of performing rate information processing on the time and the number of bits after the jitter filtering process is performed to generate the second rate information comprises: Counting the number of cycles Cnew of the local clock in the second time period, where Cnew is an integer greater than 0, and the start and end time points of the second time period are determined by specific bits of the second service signal; The second rate information is determined according to the value of the bit accumulator Bsum, the value of the time accumulator Csum and the number of cycles Cnew.
7. The method according to claim 6, characterized in that The specific bits of the second service signal include bits where the frame alignment overhead is located, and the second time period corresponds to a frame period of the second service signal.
8. The method according to claim 6, characterized in that Determining the second rate information according to the value of the bit accumulator Bsum, the value of the time accumulator Csum, and the number of cycles Cnew includes: The number of bits Bnew of the client signal in the second time period is determined by the following formula: The number of bits Bnew=the value of the bit accumulator Bsum / the value of the time accumulator Csum*the number of cycles Cnew; The bit number Bnew is determined as the second rate information, and the bit number Bnew is carried in the second service signal, where Bnew is an integer greater than or equal to 0.
9. The method according to claim 8, characterized in that The method further comprises: While determining the bit number Bnew as the second rate information, the value of the bit accumulator Bsum minus the bit number Bnew is used as the new value of the bit accumulator Bsum, and the value of the time accumulator Csum minus the number of cycles Cnew is used as the new value of the time accumulator Csum.
10. A rate regeneration device for a client signal, characterized in that: The device comprises: An extraction module, configured to extract a client signal from a first service signal, wherein the first service signal carries first rate information of the client signal; A recovery module, configured to recover the rate of the client signal according to the first rate information, wherein the rate of the client signal is represented by time and number of bits; A jitter filtering processing module, used for filtering jitter processing on the time and the bit number to filter jitter processing on the rate of the restored client signal; The generating module is used to load the client signal into a second service signal, and generate second rate information of the client signal according to the time and the bit after jitter filtering, wherein the second service signal carries the second rate information.
11. A computer-readable storage medium, wherein a computer program is stored in the storage medium, wherein: The computer program is configured to execute the method according to any one of claims 1 to 9 when executed.
12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 9.
