Data processing method and apparatus, communication device, and computer readable medium

By monitoring the data frame and the amount of data after bit width conversion, a power-saving mode is entered, solving the problems of high power consumption and insufficient flexibility in RF interface transmission technology, and achieving efficient data transmission and improved reliability.

CN117097445BActive Publication Date: 2026-05-19SANECHIPS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SANECHIPS TECH CO LTD
Filing Date
2023-07-31
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing RF interface transmission technologies suffer from high power consumption and insufficient flexibility. Especially when service traffic decreases, the bandwidth carried by the RF interface is wasted significantly. Furthermore, the JESD204 interface does not allow data and control information to be transmitted on the same physical transmission channel, and the DigRF V4 interface cannot solve the problem of fixed transmission delay under the conditions of service addition, deletion, or reconfiguration.

Method used

By assembling data frames based on the service data of the carrier unit, caching and mapping them onto the activated physical transmission channel, high-speed serial communication encoding and bit-width conversion are performed. The amount of data in the data frame and the bit-width converted data is monitored to determine whether it is less than a preset threshold so as to enter the power-saving mode and reduce unnecessary data processing.

Benefits of technology

It effectively reduces power consumption, improves the quality and reliability of service transmission, ensures that transmission delay is controllable and predictable in the case of service reconfiguration or addition/removal, and reduces chip power consumption and clock issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117097445B_ABST
    Figure CN117097445B_ABST
Patent Text Reader

Abstract

The application provides a data processing method and device, a communication device and a computer readable medium. The data processing method comprises the following steps: forming a first data frame according to service data of a carrier unit and buffering; mapping the first data frame to M activated physical transmission channels; performing high-speed serial communication coding on the data mapped to the activated physical transmission channels; performing bit width conversion on the high-speed serial communication coded data; buffering the bit width converted data; performing first physical layer processing on the bit width converted data; stopping the step of mapping the first data frame to the M activated channels in the case that the number of buffered first data frames is less than or equal to a first preset threshold; judging whether the buffered bit width converted data on the activated physical transmission channels are all empty; stopping the step of performing first physical layer processing on the bit width converted data in the case that the buffered bit width converted data are all empty; and controlling to enter a power saving mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to data processing methods and apparatus, communication devices, and computer-readable media. Background Technology

[0002] Existing radio frequency (RF) interface transmission technologies mainly include streaming transmission, represented by JESD204, and packet transmission, represented by DigRF V4 of the Mobile Industry Processor Interface (MIPI). Both of these transmission methods suffer from high power consumption. Summary of the Invention

[0003] This application provides a data processing method and apparatus, a communication device, and a computer-readable medium.

[0004] In a first aspect, embodiments of this application provide a data processing method, comprising: composing a first data frame based on service data from a carrier unit; buffering the first data frame; mapping the first data frame onto M active physical transmission channels; wherein M is an integer greater than or equal to 1; performing high-speed serial communication encoding on the data mapped to each active physical transmission channel; performing bit-width conversion on the high-speed serial communication encoded data on each active physical transmission channel; buffering the bit-width converted data on each active physical transmission channel; and performing first physical layer processing on the bit-width converted data on each active physical transmission channel. ; Determine whether the number of cached first data frames is less than or equal to a first preset threshold; If the number of cached first data frames is less than or equal to the first preset threshold, stop the step of mapping the first data frames to the M active physical transmission channels; Determine whether the bit-width converted data cached on each active physical transmission channel is empty; If the number of cached first data frames is less than or equal to the first preset threshold, and the bit-width converted data cached on all active physical transmission channels is empty, stop the step of performing first physical layer processing on the bit-width converted data on each active physical transmission channel.

[0005] In some exemplary embodiments, after caching the bit-width converted data on each active physical transmission channel, before performing the first physical layer processing on the bit-width converted data on each active physical transmission channel, the method further includes: determining whether the number of bit-width converted data cached on each active physical transmission channel is greater than a third preset threshold; and stopping the step of composing a first data frame based on the service data of the carrier unit if the number of bit-width converted data cached on all active physical transmission channels is greater than the third preset threshold.

[0006] In some exemplary embodiments, after stopping the step of composing the first data frame based on the service data of the carrier unit, the method further includes: determining whether the number of bit-width converted data buffered on each active physical transmission channel is less than a fourth preset threshold; and continuing to execute the step of composing the first data frame based on the service data of the carrier unit if the number of bit-width converted data buffered on all active physical transmission channels is less than the fourth preset threshold.

[0007] In some exemplary embodiments, composing a first data frame based on the service data of the carrier units includes: acquiring service data of k currently active carrier units; where k is an integer greater than or equal to 1; composing a data pattern for a scheduling period based on the service data of the k currently active carrier units; where the data pattern for the scheduling period includes at least a portion of the service data of the k currently active carrier units; and composing a first data frame based on the data pattern for the scheduling period; where the payload of the first data frame includes: data patterns for N scheduling periods; where N is an integer greater than or equal to 1.

[0008] In some exemplary embodiments, the ratio of the service data volume of the k carrier units included in the data pattern of the arrangement period is determined based on the air interface throughput of the k carrier units.

[0009] In some exemplary embodiments, the ratio of the service data volume of the k carrier units included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k carrier units.

[0010] In some exemplary embodiments, the payload of the first data frame further includes: A padding bytes; wherein A is an integer greater than or equal to 0.

[0011] Secondly, embodiments of this application provide a data processing apparatus, comprising: a framing unit, configured to assemble a first data frame based on service data from a carrier unit; a mapping unit, configured to map the first data frame onto M active physical transmission channels; wherein M is an integer greater than or equal to 1; performing high-speed serial communication encoding on the data mapped to each active physical transmission channel; a bit-width conversion unit, configured to perform bit-width conversion on the high-speed serial communication encoded data on the corresponding physical transmission channel; buffering the bit-width converted data on the corresponding physical transmission channel; and a physical transmission unit, configured to perform a first... A physical layer processing unit; a power-saving control unit, used to buffer the first data frame, determine whether the number of buffered first data frames is less than or equal to a first preset threshold; if the number of buffered first data frames is less than or equal to the first preset threshold, stop outputting the buffered first data frames to the mapping unit; determine whether the bit-width converted data buffered on each active physical transmission channel is empty; if the number of buffered first data frames is less than or equal to the first preset threshold, and the bit-width converted data buffered on all active physical transmission channels is empty, control the mapping unit, the bit-width conversion unit, and the physical transmission unit to enter a power-saving mode.

[0012] Thirdly, embodiments of this application provide a communication device, including any of the above-described data processing devices.

[0013] Fourthly, embodiments of this application provide a computer-readable medium storing a computer program, which, when executed by a processor, implements any of the above-described data processing methods.

[0014] The data processing method provided in this application monitors the number of cached first data frames. When the number of cached first data frames is small, it stops mapping the first data frames to the M active physical transmission channels and enters a power-saving mode when the data after the bit width conversion of the cache is empty, thereby reducing power consumption. Attached Figure Description

[0015] Figure 1 A flowchart illustrating a data processing method provided in one embodiment of this application;

[0016] Figure 2 This is a schematic diagram illustrating the composition of a data frame in an embodiment of this application;

[0017] Figure 3 This is a schematic diagram illustrating the composition of the payload of a data frame in an embodiment of this application;

[0018] Figure 4A flowchart illustrating a data processing method provided in another embodiment of this application;

[0019] Figure 5 A block diagram of a data processing apparatus provided in another embodiment of this application;

[0020] Figure 6 This is a block diagram of a data processing apparatus provided in another embodiment of this application. Detailed Implementation

[0021] To enable those skilled in the art to better understand the technical solutions of this application, the data processing methods and apparatus, communication devices, and computer-readable media provided in this application will be described in detail below with reference to the accompanying drawings.

[0022] Exemplary embodiments will be described more fully below with reference to the accompanying drawings; however, these exemplary embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete, and will enable those skilled in the art to fully understand the scope of this application.

[0023] Where there is no conflict, the various embodiments of this application and the features thereof may be combined with each other.

[0024] As used herein, the term “and / or” includes any and all combinations of at least one related enumerated entry.

[0025] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application. As used herein, the singular forms “a” and “the” are also intended to include the plural forms unless the context clearly indicates otherwise. It will also be understood that when the terms “comprising” and / or “made of” are used in this specification, the presence of the stated feature, integral, step, operation, element, and / or component is specified, but the presence or addition of at least one other feature, integral, step, operation, element, component, and / or group thereof is not excluded.

[0026] Unless otherwise specified, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined herein.

[0027] JESD204 and similar streaming transmission methods, once established, do not allow changes to service configurations or the addition or deletion of new service connections, posing a challenge to the flexible scheduling of services by terminal chips. If the terminal uses the JESD204 interface as the RF interface between the digital baseband (DBB) chip and the RF chip, then during system initialization, the RF interface must be configured to its maximum capacity based on the maximum possible service combination throughout the entire lifecycle of the current application scenario. Then, a transmission connection is established between the DBB chip and the RF chip with a fixed sampling rate and a fixed transmission rate. When service combinations change, resulting in reduced service traffic, the RF interface must still transmit / receive data at maximum capacity by sending invalid data. Therefore, the smaller the service traffic, the more severe the wastage of the RF interface's bandwidth, ultimately resulting in a lack of competitiveness in power consumption and flexibility for self-developed DBB and RF chips. In addition, the JESD204 interface does not allow data and control information to be transmitted on the same physical transmission channel (Lane). This requires a matching control information transmission interface in addition to the RF interface, such as a Serial Peripheral Interface (SPI). Although this interface is small in scale, it will still have an adverse impact on chip area and input / output (IO).

[0028] The advantage of packet transmission methods like DigRF V4 is that it can adaptively match the RF interface carrying bandwidth and service bandwidth through energy-saving modes, and it also supports the transmission of data and control information on the same lane. Furthermore, since all transmissions share the underlying high-bandwidth, high-speed lane resources, it maximizes the utilization efficiency of physical (PHY) transmission bandwidth. However, the biggest problem at present is the inability to resolve the issue of fixed transmission latency after restoring or establishing a link under conditions of service addition, deletion, or reconfiguration.

[0029] In addition, both of the above transmission methods have the problem of high power consumption.

[0030] The data processing method of this application embodiment can be applied to two chips in a communication device that need to transmit data. The communication device can be a terminal, a base station, or other communication equipment. The chip can be a DBB chip, an RF chip, an RF front end (RFFE) chip, or a power management integrated circuit (PMIC).

[0031] The DBB chip primarily handles the protocol stack and physical layer baseband signal processing for various wireless modems.

[0032] The RF chip mainly performs functions such as filtering and amplifying wireless signals, distributing antenna data, and controlling radio frequency switches.

[0033] Figure 1 A flowchart of a data processing method provided in one embodiment of this application.

[0034] Firstly, referring to Figure 1 This application provides a data processing method, which can be executed by a first interface module in a first chip in a communication device. The first chip can be any chip that needs to transmit data, such as any of the chips mentioned above.

[0035] The method may include:

[0036] Step 100: A first data frame is formed based on the service data of the component carrier (CC), and the first data frame is buffered; the first data frame is mapped to M active physical transmission channels, where M is an integer greater than or equal to 1; high-speed serial communication encoding is performed on the data mapped to each active physical transmission channel; bit-width conversion is performed on the high-speed serial communication encoded data on each active physical transmission channel; the bit-width converted data on each active physical transmission channel is buffered; and first physical layer processing is performed on the bit-width converted data on each active physical transmission channel.

[0037] In some exemplary embodiments, composing a first data frame based on the service data of the carrier units includes: acquiring service data of the currently active k CCs; where k is an integer greater than or equal to 1; composing a data pattern for a scheduling period based on the service data of the currently active k CCs; where the data pattern for the scheduling period includes at least a portion of the service data of the currently active k CCs; and composing a first data frame based on the data pattern for the scheduling period; where the payload of the first data frame includes: data patterns for N scheduling periods; where N is an integer greater than or equal to 1.

[0038] In some exemplary embodiments, obtaining the service data of the currently active k CCs includes: receiving the service data of all CCs; caching the service data of the currently active k CCs from the service data of all CCs; and obtaining the service data of the currently active k CCs from the cached service data.

[0039] In some exemplary embodiments, when the first chip is a DBB chip, all CC service data can be received from the Modem in the first chip.

[0040] In some exemplary embodiments, at least a portion of the service data of the currently active k CCs is interleaved proportionally within the data pattern of the scheduling period, such as... Figure 3 As shown, within a data pattern of a layout cycle, at least a portion of the business data of the three currently active CCs, namely the business data of CC0, the business data of CC1, and the business data of CC2, are interleaved proportionally.

[0041] In some exemplary embodiments, the ratio of the service data volume of k CCs included in the data pattern of the scheduling period is determined based on the air interface throughput of the k CCs.

[0042] In some exemplary embodiments, when CC is transmitted through B antennas, the air interface throughput of CC is B times the service sampling rate of CC, where B is an integer greater than or equal to 1.

[0043] In some exemplary embodiments, the ratio of the service data volume of k CCs included in the data pattern of the scheduling period is the ratio of the air interface throughput of k CCs.

[0044] For example, if three CCs are currently active, the service data of the first CC (CC0) is transmitted through two antennas at a sampling rate of 122.88 MHz, the service data of the second CC (CC1) is transmitted through four antennas at a sampling rate of 30.72 MHz, and the service data of the third CC (CC2) is transmitted through four antennas at a sampling rate of 15.36 MHz. Then, the air interface throughput of CC0 is 2 × 122.88, the air interface throughput of CC1 is 4 × 30.72, and the air interface throughput of CC2 is 4 × 15.36. Therefore, D_CC0 : D_CC1 : D_CC2 = 4 : 2 : 1, where D_CC0 is the air interface throughput of CC0, D_CC1 is the air interface throughput of CC1, and D_CC2 is the air interface throughput of CC2.

[0045] Therefore, a data pattern for one deployment cycle can include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. Alternatively, a data pattern for one deployment cycle can include 8 bytes of CC0 service data, 4 bytes of CC1 service data, and 2 bytes of CC2 service data. And so on, as long as the ratio of the amount of service data for the k CCs included in the data pattern of the deployment cycle is equal to the ratio of the air interface throughput of the k CCs.

[0046] In some exemplary embodiments, such as Figure 2 As shown, the first data frame includes Start of Frame (SOF), Header, Payload, Cyclic Redundancy Check (CRC), and End of Frame (EOF).

[0047] In some exemplary embodiments, SOF represents the start position of a frame.

[0048] In some exemplary embodiments, the Header is used to identify the characteristics of the current frame.

[0049] In some exemplary embodiments, the CRC is a CRC check bit generated based on the Header and Payload.

[0050] In some exemplary embodiments, EOF indicates the end position of the frame.

[0051] In some exemplary embodiments, the payload of the first data frame further includes: A padding bytes; wherein A is an integer greater than or equal to 0.

[0052] In some exemplary embodiments, such as Figure 3 As shown, when the data pattern of N arrangement cycles is insufficient to fill the payload of the first data frame, A padding bytes can be added to the payload of the first data frame to complete the framing.

[0053] In some exemplary embodiments, the mapping method for mapping the first data frame to the M active physical transmission channels, and the encoding method for performing high-speed serial communication encoding on the data mapped to each active physical transmission channel, can refer to the mapping method and encoding method in the MIPI DigRF V4 interface specification.

[0054] In some exemplary embodiments, the high-speed serial communication encoding may be, for example, 8B / 10B encoding, 64B / 66B encoding, or 128B / 132B encoding.

[0055] In some exemplary embodiments, bit width conversion refers to converting the bit width of the data encoded by high-speed serial communication into the bit width required for subsequent processing.

[0056] In some exemplary embodiments, the first physical layer processing includes parallel-to-serial conversion, transmission filtering, and de-emphasis.

[0057] Step 101: Determine whether the number of cached first data frames is less than or equal to a first preset threshold; if the number of cached first data frames is less than or equal to the first preset threshold, stop the step of mapping the first data frames to the M active physical transmission channels.

[0058] In some exemplary embodiments, if the cached first data frame is greater than a first preset threshold, no processing is performed, and the original data processing procedure continues to be executed, that is, the step of mapping the first data frame to the M active physical transmission channels continues, as well as subsequent data processing steps.

[0059] Step 102: Determine whether the bit-width converted data cached on each active physical transmission channel is empty; if the number of cached first data frames is less than or equal to the first preset threshold, and the bit-width converted data cached on all active physical transmission channels is empty, stop the first physical layer processing of the bit-width converted data on each active physical transmission channel; and control the system to enter power saving mode.

[0060] In some exemplary embodiments, if the bit-width converted data cached on at least one active physical transmission channel is not empty, no processing is performed, and the original data processing procedure continues to be executed, that is, the step of performing the first physical layer processing on the bit-width converted data on each active physical transmission channel continues to be executed.

[0061] In some exemplary embodiments, after stopping the first physical layer processing of the bit-width converted data on each active physical transmission channel, the method further includes: determining whether the number of cached first data frames is greater than a second preset threshold; if the number of cached first data frames is greater than the second preset threshold, continuing to execute the step of mapping the first data frames to the M active physical transmission channels; and controlling the exit from the power-saving mode.

[0062] In some exemplary embodiments, if the number of cached first data frames is less than or equal to a second preset threshold, no processing is performed, and the original data processing procedure continues to be executed, that is, the step of mapping the first data frames to the M active physical transmission channels is stopped, and the power-saving mode is maintained.

[0063] In some exemplary embodiments, after caching the bit-width converted data on each active physical transmission channel, before performing the first physical layer processing on the bit-width converted data on each active physical transmission channel, the method further includes: determining whether the number of bit-width converted data cached on each active physical transmission channel is greater than a third preset threshold; if the number of bit-width converted data cached on all active physical transmission channels is greater than the third preset threshold, stopping the step of assembling the first data frame based on the CC service data, for example stopping the step of assembling the first data frame based on the data pattern of the arrangement period.

[0064] In some exemplary embodiments, if the amount of bit-width converted data buffered on at least one active physical transmission channel is less than or equal to a third preset threshold, no processing is performed, and the original data processing procedure continues to be executed, that is, the step of forming a first data frame based on the service data of the carrier unit continues to be executed, for example, the step of forming a first data frame based on the data pattern of the arrangement period continues to be executed, as well as subsequent data processing steps.

[0065] In some exemplary embodiments, after stopping the step of composing the first data frame based on the data pattern of the arrangement period, the method further includes: determining whether the number of bit-width converted data buffered on each active physical transmission channel is less than a fourth preset threshold; if the number of bit-width converted data buffered on all active physical transmission channels is less than the fourth preset threshold, continuing to execute the step of composing the first data frame based on the service data of the carrier unit, for example, continuing to execute the step of composing the first data frame based on the data pattern of the arrangement period.

[0066] In some exemplary embodiments, if the amount of bit-width converted data buffered on at least one active physical transmission channel is greater than or equal to a fourth preset threshold, no processing is performed, and the original data processing procedure continues to be executed. That is, the step of assembling the first data frame based on the service data of the carrier unit and subsequent data processing steps are stopped. For example, the step of assembling the first data frame based on the data pattern of the arrangement period and subsequent data processing steps are stopped.

[0067] The data processing method provided in this application monitors the number of cached first data frames. When the number of cached first data frames is small, the mapping of the first data frames to the active M channels is stopped. When the data after the bit width conversion of the cache is empty, the method controls the entry into a power saving mode, thereby reducing power consumption.

[0068] In some exemplary embodiments, by including at least a portion of the service data of all currently active carrier units within a data pattern of a scheduling period, and then composing a first data frame based on the data pattern of the scheduling period, the delay jitter is limited to a scheduling period in the event of service reconfiguration or addition / removal of services, making the transmission delay controllable and predictable, and effectively improving the quality and reliability of service transmission.

[0069] In some exemplary embodiments, by monitoring the amount of data after the bit width conversion of the cache, if the amount of data after the bit width conversion of the cache is large, the framing, mapping, and encoding processes are stopped, which simplifies the clock problem.

[0070] Figure 4 A flowchart of a data processing method provided in another embodiment of this application.

[0071] Secondly, referring to Figure 4 This application provides a data processing method, which can be executed by a second interface module in a second chip in a communication device. The second chip can be any chip that needs to transmit data, such as any of the chips mentioned above.

[0072] The method may include:

[0073] Step 400: Obtain the second data frame; wherein the payload of the second data frame includes: data patterns of N arrangement cycles; N is an integer greater than or equal to 1.

[0074] In some exemplary embodiments, the ratio of the service data volume of the k carrier units included in the data pattern of the arrangement period is determined based on the air interface throughput of the k carrier units.

[0075] In some exemplary embodiments, when CC is transmitted through B antennas, the air interface throughput of CC is B times the service sampling rate of CC, where B is an integer greater than or equal to 1.

[0076] In some exemplary embodiments, the ratio of the service data volume of the k carrier units included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k carrier units.

[0077] For example, if three CCs are currently active, the service data of the first CC (CC0) is transmitted through two antennas at a sampling rate of 122.88 MHz, the service data of the second CC (CC1) is transmitted through four antennas at a sampling rate of 30.72 MHz, and the service data of the third CC (CC2) is transmitted through four antennas at a sampling rate of 15.36 MHz. Then, the air interface throughput of CC0 is 2 × 122.88, the air interface throughput of CC1 is 4 × 30.72, and the air interface throughput of CC2 is 4 × 15.36. Therefore, D_CC0 : D_CC1 : D_CC2 = 4 : 2 : 1, where D_CC0 is the air interface throughput of CC0, D_CC1 is the air interface throughput of CC1, and D_CC2 is the air interface throughput of CC2.

[0078] Therefore, a data pattern for one deployment cycle can include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. Alternatively, a data pattern for one deployment cycle can include 8 bytes of CC0 service data, 4 bytes of CC1 service data, and 2 bytes of CC2 service data. And so on, as long as the ratio of the amount of service data for the k CCs included in the data pattern of the deployment cycle is equal to the ratio of the air interface throughput of the k CCs.

[0079] In some exemplary embodiments, such as Figure 2 As shown, the second data frame includes SOF, Header, PayLoad, CRC, and EOF.

[0080] In some exemplary embodiments, SOF represents the start position of a frame.

[0081] In some exemplary embodiments, the Header is used to identify the characteristics of the current frame.

[0082] In some exemplary embodiments, the CRC is a CRC check bit generated based on the Header and Payload.

[0083] In some exemplary embodiments, EOF indicates the end position of the frame.

[0084] In some exemplary embodiments, the payload of the second data frame further includes: A padding bytes; wherein A is an integer greater than or equal to 0.

[0085] In some exemplary embodiments, obtaining the second data frame includes: performing second physical layer processing on the data received from each active physical transmission channel; performing inverse bit-width conversion on the second physical layer processed data on each active channel; performing channel alignment on the inverse bit-width converted data on all active physical transmission channels; performing symbol boundary search and high-speed serial communication decoding on the channel-aligned data; and performing dephysical transmission channel mapping on the decoded data on all active physical transmission channels to obtain the second data frame.

[0086] In some exemplary embodiments, inverse bit-width conversion refers to converting the bit width of the data processed by the second physical layer into the bit width required for subsequent processing.

[0087] In some exemplary embodiments, the purpose of channel alignment is primarily to eliminate latency jitter between different channels, which can be caused by differences in board-level routing.

[0088] In some exemplary embodiments, high-speed serial communication decoding may be, for example, 8B / 10B decoding, 64B / 66B decoding, or 128B / 132B decoding.

[0089] In some exemplary embodiments, the second physical layer processing includes equalization processing, clock recovery processing, receive filtering, and serial-to-parallel conversion.

[0090] Step 401: Demodulate the second data frame to obtain data patterns for N arrangement cycles; buffer the data patterns for N arrangement cycles obtained from the demodulation.

[0091] In some exemplary embodiments, when demodulating the second data frame to obtain a data pattern of N arrangement cycles, a CRC check result is also obtained. If the CRC check fails, an alarm message is generated and sent to the local main control CPU for further processing. If the check succeeds, further processing continues.

[0092] Step 402: Determine whether the number of data patterns in the cached arrangement period is greater than or equal to the fifth preset threshold; if the number of data patterns in the cached arrangement period is greater than or equal to the fifth preset threshold, obtain the data patterns in the cached arrangement period.

[0093] In some exemplary embodiments, the fifth preset threshold is determined based on the maximum transmission delay that the system can currently tolerate. For example, the fifth preset threshold is the amount of data that can be transmitted with the maximum transmission delay that the system can currently tolerate.

[0094] In some exemplary embodiments, the maximum transmission delay that the system can currently tolerate is less than or equal to the length of one scheduling cycle.

[0095] Step 403: Extract the business data of all active CCs from the obtained data pattern of the arrangement cycle.

[0096] In some exemplary embodiments, the service data of the currently active k CCs can be separated from the data pattern of the scheduling period according to the ratio of the service data volume of the currently active k CCs in the data pattern of the scheduling period.

[0097] In some exemplary embodiments, after separating the service data of all active CCs from the obtained data pattern of the arrangement period, the method further includes: caching the service data of all active CCs separated, and determining whether the amount of service data of each cached CC is greater than or equal to a sixth preset threshold; if the amount of service data of all cached CCs is greater than or equal to the sixth preset threshold, reading the service data of the cached CCs for subsequent processing.

[0098] The data processing method provided in this application includes at least a portion of the service data of all currently active carrier units within a data pattern of a scheduling period, and then forms a first data frame based on the data pattern of the scheduling period. This allows the delay jitter to be limited to a scheduling period in the event of service reconfiguration or addition / deletion of services, making the transmission delay controllable and predictable, and effectively improving the quality and reliability of service transmission.

[0099] Figure 5 This is a block diagram of a data processing apparatus provided in another embodiment of this application.

[0100] Thirdly, referring to Figure 5 This application provides a data processing device, which may be a first interface module disposed in a first chip. The first chip may be any chip that needs to perform data transmission, such as any of the chips mentioned above.

[0101] The data processing apparatus includes: a framing unit 501, used to assemble a first data frame based on the service data of a carrier unit; a mapping unit 502, used to map the first data frame onto M active physical transmission channels, where M is an integer greater than or equal to 1; performing high-speed serial communication encoding on the data mapped to each active physical transmission channel; a bit-width conversion unit 503, used to perform bit-width conversion on the high-speed serial communication encoded data on the corresponding physical transmission channel; and buffering the bit-width converted data on the corresponding physical transmission channel; and a physical transmission unit 504, used to perform first physical layer processing on the bit-width converted data on each active physical transmission channel. The power-saving control unit 505 is used to buffer the first data frame and determine whether the number of buffered first data frames is less than or equal to a first preset threshold. If the number of buffered first data frames is less than or equal to the first preset threshold, the power-saving control unit 505 stops outputting the buffered first data frames to the mapping unit 502. The power-saving control unit 505 determines whether the bit-width converted data buffered on each active physical transmission channel is empty. If the number of buffered first data frames is less than or equal to the first preset threshold and the bit-width converted data buffered on all active physical transmission channels is empty, the power-saving control unit 502, bit-width conversion unit 503, and physical transmission unit 504 are controlled to enter the power-saving mode.

[0102] In some exemplary embodiments, the power-saving control unit 505 is further configured to: if the number of cached first data frames is greater than a first preset threshold, perform no processing and continue to execute the original data processing process, that is, continue to output the cached first data frames to the mapping unit 502.

[0103] In some exemplary embodiments, the power-saving control unit 505 is further configured to: if the bit-width converted data cached on at least one active physical transmission channel is not empty, perform no processing and continue to execute the original data processing process, that is, continue to control the mapping unit 502, the bit-width conversion unit 503, and the physical transmission unit 504 to exit the power-saving mode.

[0104] In some exemplary embodiments, the system further includes: a data buffer unit 506, configured to acquire service data of the currently active k CCs; wherein k is an integer greater than or equal to 1; and to compose a data pattern for a scheduling period based on the service data of the currently active k CCs; wherein the data pattern for the scheduling period includes at least a portion of the service data of the currently active k CCs; the framing unit 501 is specifically configured to compose a first data frame based on the service data of the carrier units in the following manner: compose a first data frame based on the data pattern for the scheduling period; wherein the payload of the first data frame includes: data patterns for N scheduling periods; N is an integer greater than or equal to 1.

[0105] In some exemplary embodiments, the data caching unit 506 is specifically configured to acquire the service data of the currently active k CCs in the following manner: receiving the service data of all CCs; caching the service data of the currently active k CCs from the service data of all CCs; and acquiring the service data of the currently active k CCs from the cached service data.

[0106] In some exemplary embodiments, when the first chip is a DBB chip, the data cache unit 506 can receive all CC service data from the Modem in the first chip.

[0107] In some exemplary embodiments, the data caching unit 506 can proportionally interpolate at least a portion of the service data of the currently active k CCs within the data pattern of the scheduling period, such as... Figure 3 As shown, within a data pattern of a layout cycle, at least a portion of the business data of the three currently active CCs, namely the business data of CC0, the business data of CC1, and the business data of CC2, are interleaved proportionally.

[0108] In some exemplary embodiments, the ratio of the service data volume of k CCs included in the data pattern of the scheduling period is determined based on the air interface throughput of the k CCs.

[0109] In some exemplary embodiments, when CC is transmitted through B antennas, the air interface throughput of CC is B times the service sampling rate of CC, where B is an integer greater than or equal to 1.

[0110] In some exemplary embodiments, the ratio of the service data volume of k CCs included in the data pattern of the scheduling period is the ratio of the air interface throughput of k CCs.

[0111] For example, if three CCs are currently active, the service data of the first CC (CC0) is transmitted through two antennas at a sampling rate of 122.88 MHz, the service data of the second CC (CC1) is transmitted through four antennas at a sampling rate of 30.72 MHz, and the service data of the third CC (CC2) is transmitted through four antennas at a sampling rate of 15.36 MHz. Then, the air interface throughput of CC0 is 2 × 122.88, the air interface throughput of CC1 is 4 × 30.72, and the air interface throughput of CC2 is 4 × 15.36. Therefore, D_CC0 : D_CC1 : D_CC2 = 4 : 2 : 1, where D_CC0 is the air interface throughput of CC0, D_CC1 is the air interface throughput of CC1, and D_CC2 is the air interface throughput of CC2.

[0112] Therefore, a data pattern for one deployment cycle can include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. Alternatively, a data pattern for one deployment cycle can include 8 bytes of CC0 service data, 4 bytes of CC1 service data, and 2 bytes of CC2 service data. And so on, as long as the ratio of the amount of service data for the k CCs included in the data pattern of the deployment cycle is equal to the ratio of the air interface throughput of the k CCs.

[0113] In some exemplary embodiments, such as Figure 2 As shown, the first data frame includes SOF, Header, PayLoad, CRC, and EOF.

[0114] In some exemplary embodiments, SOF represents the start position of a frame.

[0115] In some exemplary embodiments, the Header is used to identify the characteristics of the current frame.

[0116] In some exemplary embodiments, the CRC is a CRC check bit generated based on the Header and Payload.

[0117] In some exemplary embodiments, EOF indicates the end position of the frame.

[0118] In some exemplary embodiments, the payload of the first data frame further includes: A padding bytes; wherein A is an integer greater than or equal to 0.

[0119] In some exemplary embodiments, such as Figure 3 As shown, when the data pattern of N arrangement cycles is insufficient to fill the payload of the first data frame, A padding bytes can be added to the payload of the first data frame to complete the framing.

[0120] In some exemplary embodiments, the mapping method by which the mapping unit 502 maps the first data frame to the M active physical transmission channels, and the encoding method by which the data mapped to each active physical transmission channel is encoded using high-speed serial communication, can refer to the mapping method and encoding method in the MIPI DigRF V4 interface specification.

[0121] In some exemplary embodiments, the high-speed serial communication encoding may be, for example, 8B / 10B encoding, 64B / 66B encoding, or 128B / 132B encoding.

[0122] In some exemplary embodiments, each active physical transmission channel corresponds to a bit-width conversion unit 503.

[0123] In some exemplary embodiments, bit width conversion refers to converting the bit width of the data encoded by high-speed serial communication into the bit width required by the physical transmission unit 504.

[0124] In some exemplary embodiments, the first physical layer processing includes parallel-to-serial conversion, transmission filtering, and de-emphasis.

[0125] In some exemplary embodiments, the power-saving control unit 505 is further configured to: determine whether the number of cached first data frames is greater than a second preset threshold; if the number of cached first data frames is greater than the second preset threshold, continue to output the cached first data frames to the mapping unit 502; and control the mapping unit 502, the bit width conversion unit 503, and the physical transmission unit 504 to exit the power-saving mode.

[0126] In some exemplary embodiments, the power-saving control unit 505 is further configured to: when the number of cached first data frames is less than or equal to a second preset threshold, perform no processing and continue to execute the original data processing process, that is, continue to stop outputting the cached first data frames to the mapping unit 502, and continue to control the mapping unit 502, the bit width conversion unit 503, and the physical transmission unit 504 to be in power-saving mode.

[0127] In some exemplary embodiments, the power-saving control unit 505 can control the mapping unit 502, bit-width conversion unit 503, and physical transmission unit 504 to enter or exit power-saving mode via the stall_en signal. For example, when the stall_en signal is high, the mapping unit 502, bit-width conversion unit 503, and physical transmission unit 504 are controlled to enter power-saving mode; when the stall_en signal is low, the mapping unit 502, bit-width conversion unit 503, and physical transmission unit 504 are controlled to exit power-saving mode.

[0128] In some exemplary embodiments, it further includes: a back pressure control module 507, which is used to determine whether the number of bit-width converted data buffered on each active physical transmission channel is greater than a third preset threshold; and when the number of bit-width converted data buffered on all active physical transmission channels is greater than the third preset threshold, it controls the data buffer unit 506 to stop outputting the data pattern of the arrangement period to the framing unit 501.

[0129] In some exemplary embodiments, the backpressure control module 507 is further configured to: when the number of bit-width converted data buffered on at least one active physical transmission channel is less than or equal to a third preset threshold, perform no processing and continue to execute the original data processing process, that is, continue to control the data buffer unit 506 to output the data pattern of the arrangement period to the framing unit 501.

[0130] In some exemplary embodiments, the backpressure control module 507 is further configured to: determine whether the number of bit-width converted data buffered on each bit-width conversion unit 503 is less than a fourth preset threshold; and, if the number of bit-width converted data buffered on all bit-width conversion units 503 is less than the fourth preset threshold, control the data buffer unit 506 to continue outputting the data pattern of the arrangement period to the framing unit 501.

[0131] In some exemplary embodiments, the backpressure control module 507 is further configured to: if the number of bit-width converted data buffered on at least one active physical transmission channel is greater than or equal to a fourth preset threshold, perform no processing and continue to execute the original data processing process, that is, continue to control the data buffer unit 506 to stop outputting the data pattern of the arrangement period to the framing unit 501.

[0132] In some exemplary embodiments, the backpressure control module 507 can control the data buffer unit 506 to continue outputting the data pattern of the arrangement period to the framing unit 501, or to stop outputting the data pattern of the arrangement period to the framing unit 501, through the backpressure signal pdata_en. For example, when the backpressure signal pdata_en is pulled low, the backpressure control module 507 controls the data buffer unit 506 to stop outputting the data pattern of the arrangement period to the framing unit 501. At this time, all units after the framing unit 501 and between the bit width conversion unit 503 are in a clock-gated state because there is no data drive. When the backpressure signal pdata_en is pulled high, the backpressure control module 507 controls the data buffer unit 506 to continue outputting the data pattern of the arrangement period to the framing unit 501.

[0133] In some exemplary embodiments, when the first chip is a DBB chip, the M active physical transmission channels of the physical transmission unit 504 are each connected to a bit width conversion unit 503, and the output is connected to the M sets of differential signal pins corresponding to the M active physical transmission channels on the DDB chip.

[0134] The specific implementation process of the above-mentioned data processing device is the same as that of the data processing method in the foregoing embodiments, and will not be repeated here.

[0135] Figure 6 This is a block diagram of a data processing apparatus provided in another embodiment of this application.

[0136] Fourthly, refer to Figure 6 This application provides a data processing device, which may be a second interface module disposed in a second chip. The first chip may be any chip that needs to perform data transmission, such as any of the chips mentioned above.

[0137] The data processing device includes: a frame demodulation unit 601, used to acquire a second data frame; wherein the payload of the second data frame includes: data patterns of N arrangement cycles; N is an integer greater than or equal to 1; demodulating the second data frame to obtain data patterns of N arrangement cycles; a jitter removal unit 602, used to buffer the data patterns of the N arrangement cycles obtained by demodulation; determine whether the number of buffered data patterns of arrangement cycles is greater than or equal to a fifth preset threshold; if the number of buffered data patterns of arrangement cycles is greater than or equal to the fifth preset threshold, acquire the buffered data patterns of arrangement cycles; and separate the service data of all active CCs from the acquired data patterns of arrangement cycles.

[0138] In some exemplary embodiments, the ratio of the service data volume of the k carrier units included in the data pattern of the arrangement period is determined based on the air interface throughput of the k carrier units.

[0139] In some exemplary embodiments, when CC is transmitted through B antennas, the air interface throughput of CC is B times the service sampling rate of CC, where B is an integer greater than or equal to 1.

[0140] In some exemplary embodiments, the ratio of the service data volume of the k carrier units included in the data pattern of the arrangement period is the ratio of the air interface throughput of the k carrier units.

[0141] For example, if three CCs are currently active, the service data of the first CC (CC0) is transmitted through two antennas at a sampling rate of 122.88 MHz, the service data of the second CC (CC1) is transmitted through four antennas at a sampling rate of 30.72 MHz, and the service data of the third CC (CC2) is transmitted through four antennas at a sampling rate of 15.36 MHz. Then, the air interface throughput of CC0 is 2 × 122.88, the air interface throughput of CC1 is 4 × 30.72, and the air interface throughput of CC2 is 4 × 15.36. Therefore, D_CC0 : D_CC1 : D_CC2 = 4 : 2 : 1, where D_CC0 is the air interface throughput of CC0, D_CC1 is the air interface throughput of CC1, and D_CC2 is the air interface throughput of CC2.

[0142] Therefore, a data pattern for one deployment cycle can include 4 bytes of CC0 service data, 2 bytes of CC1 service data, and 1 byte of CC2 service data. Alternatively, a data pattern for one deployment cycle can include 8 bytes of CC0 service data, 4 bytes of CC1 service data, and 2 bytes of CC2 service data. And so on, as long as the ratio of the amount of service data for the k CCs included in the data pattern of the deployment cycle is equal to the ratio of the air interface throughput of the k CCs.

[0143] In some exemplary embodiments, such as Figure 2 As shown, the second data frame includes SOF, Header, PayLoad, CRC, and EOF.

[0144] In some exemplary embodiments, SOF represents the start position of a frame.

[0145] In some exemplary embodiments, the Header is used to identify the characteristics of the current frame.

[0146] In some exemplary embodiments, the CRC is a CRC check bit generated based on the Header and Payload.

[0147] In some exemplary embodiments, EOF indicates the end position of the frame.

[0148] In some exemplary embodiments, the payload of the second data frame further includes: A padding bytes; wherein A is an integer greater than or equal to 0.

[0149] In some exemplary embodiments, the fifth preset threshold is determined based on the maximum transmission delay that the system can currently tolerate. For example, the fifth preset threshold is the amount of data that can be transmitted with the maximum transmission delay that the system can currently tolerate.

[0150] In some exemplary embodiments, the maximum transmission delay that the system can currently tolerate is less than or equal to the length of one scheduling cycle.

[0151] In some exemplary embodiments, the de-jitter unit 602 can separate the service data of the currently active k CCs from the data pattern of the arrangement period according to the ratio of the service data amount of the currently active k CCs in the data pattern of the arrangement period.

[0152] In some exemplary embodiments, when the deframe unit 601 demodulates the second data frame to obtain the data pattern of N arrangement cycles, it also obtains the CRC check result. If the CRC check fails, an alarm message is generated and sent to the local main control CPU for further processing. If the check succeeds, the data pattern of N arrangement cycles is output to the dejitter unit 602 for further processing.

[0153] In some exemplary embodiments, the system further includes: a physical receiving unit 603, configured to perform second physical layer processing on the data received from each active physical transmission channel; an inverse bit-width conversion unit 604, configured to perform inverse bit-width conversion on the data processed by the second physical layer; a channel alignment unit 605, configured to perform channel alignment on the inverse bit-width converted data on all active physical transmission channels; perform symbol boundary search and high-speed serial communication decoding on the channel-aligned data; and a demapping unit 606, configured to demap the decoded data on all active physical transmission channels to obtain a second data frame.

[0154] In some exemplary embodiments, when the second chip is an RF chip, the input of the physical receiving unit 603 is connected to the M sets of differential signal pins corresponding to the M active physical transmission channels on the RF chip, and the output of the M active physical transmission channels is each connected to an inverted bit-width conversion unit 604.

[0155] In some exemplary embodiments, each active physical transmission channel corresponds to an inverse bit-width conversion unit 604.

[0156] In some exemplary embodiments, the inverse bit-width conversion is to convert the bit width of the data processed by the second physical layer output by the physical receiving unit 603 into the bit width required by the inverse bit-width conversion unit 604.

[0157] In some exemplary embodiments, the purpose of the channel alignment unit 605 in performing channel alignment is mainly to eliminate the delay jitter problem between different physical transmission channels, which may be caused by the different board-level traces.

[0158] In some exemplary embodiments, high-speed serial communication decoding may be, for example, 8B / 10B decoding, 64B / 66B decoding, or 128B / 132B decoding.

[0159] In some exemplary embodiments, the second physical layer processing includes equalization processing, clock recovery processing, receive filtering, and serial-to-parallel conversion.

[0160] In some exemplary embodiments, the system further includes: a control unit 607, configured to cache the service data of all activated CCs separated from the system, and determine whether the amount of service data of each cached CC is greater than or equal to a sixth preset threshold; if the amount of service data of all cached CCs is greater than or equal to the sixth preset threshold, the system notifies the subsequent unit to read the service data of the cached CCs for subsequent processing.

[0161] The specific implementation process of the above-mentioned data processing device is the same as that of the data processing method in the foregoing embodiments, and will not be repeated here.

[0162] Fifthly, another embodiment of this application provides a communication device, including any of the above-described data processing apparatuses.

[0163] Sixthly, another embodiment of this application provides a computer-readable medium storing a computer program that, when executed by a processor, implements any of the above-described data processing methods.

[0164] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0165] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in connection with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in connection with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of this application as set forth by the appended claims.

Claims

1. A data processing method, comprising: The first data frame is composed based on the service data of the carrier unit, and the first data frame is cached. The first data frame is mapped onto M active physical transmission channels, where M is an integer greater than or equal to 1; high-speed serial communication encoding is performed on the data mapped onto each active physical transmission channel; bit-width conversion is performed on the high-speed serial communication encoded data on each active physical transmission channel; bit-width converted data on each active physical transmission channel is buffered; and first physical layer processing is performed on the bit-width converted data on each active physical transmission channel. Determine whether the number of cached first data frames is less than or equal to a first preset threshold; if the number of cached first data frames is less than or equal to the first preset threshold, stop the step of mapping the first data frames to the M active physical transmission channels; Determine whether the bit-width converted data cached on each active physical transmission channel is empty; if the number of cached first data frames is less than or equal to the first preset threshold, and the bit-width converted data cached on all active physical transmission channels is empty, stop the step of performing first physical layer processing on the bit-width converted data on each active physical transmission channel; and control the system to enter power-saving mode.

2. The data processing method according to claim 1, after stopping the step of mapping the first data frame to the M active physical transmission channels, the method further includes: Determine whether the number of the first data frames in the cache is greater than the second preset threshold; If the number of cached first data frames exceeds the second preset threshold, continue executing the step of mapping the first data frames to the M active physical transmission channels; control the exit from power saving mode.

3. A data processing apparatus, comprising: A framing unit is used to assemble a first data frame based on the service data of the carrier unit. A mapping unit is used to map the first data frame onto M active physical transmission channels; where M is an integer greater than or equal to 1; and to perform high-speed serial communication encoding on the data mapped to each active physical transmission channel respectively. The bit-width conversion unit is used to convert the bit-width of the data encoded by high-speed serial communication on the corresponding physical transmission channel; and to buffer the bit-width converted data on the corresponding physical transmission channel. The physical transmission unit is used to perform first physical layer processing on the bit-width converted data on each active physical transmission channel; and to transmit the corresponding first physical layer processed data through the active physical transmission channel. A power-saving control unit is used to buffer the first data frame and determine whether the number of buffered first data frames is less than or equal to a first preset threshold. If the number of buffered first data frames is less than or equal to the first preset threshold, the unit stops outputting the buffered first data frames to the mapping unit. The unit also determines whether the bit-width converted data buffered on each active physical transmission channel is empty. If the number of buffered first data frames is less than or equal to the first preset threshold and the bit-width converted data buffered on all active physical transmission channels is empty, the unit controls the mapping unit, the bit-width conversion unit, and the physical transmission unit to enter a power-saving mode.

4. A communication device, comprising: The data processing apparatus according to claim 3.

5. A computer-readable medium storing a computer program that, when executed by a processor, implements the data processing method according to any one of claims 1-2.