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

By adopting a data processing method in the communication device, mapping service data to the physical transmission channel and performing appropriate processing, the problems of complex clock schemes and unstable transmission delay in the prior art are solved, and more efficient data transmission and More reliable business processing.

WO2025025988A1PCT designated stage expired Publication Date: 2025-02-06SANECHIPS TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/104006
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-31
Filing Date
2024-07-05
Publication Date
2025-02-06

AI Technical Summary

Technical Problem

The existing RF interface transmission technologies, including JESD204 and DigRF V4, have problems with complex clock solutions and unstable transmission delays under service addition and deletion or reconfiguration conditions.

Method used

By adopting a data processing method in the communication device, the service data of the carrier unit is composed of a first data frame and mapped to the activated physical transmission channel to perform high-speed serial communication encoding, bit width conversion and physical layer processing . When the number of data converted after the cached bit width reaches the preset threshold, the data frames are composed and mapped, clock management is simplified, and delay jitter is limited to one layout period during service reconfiguration.

Benefits of technology

This method simplifies clock management, reduces power consumption, and ensures controllability and predictability of transmission delays in the case of service redistribution or addition and deletion of services, and improves the quality and reliability of service transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024104006_06022025_PF_FP_ABST
    Figure CN2024104006_06022025_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a data processing method, a data processing apparatus, a communication device, and a computer readable storage medium. The data processing method comprises: forming a first data frame on the basis of service data of a component carrier; mapping the first data frame to M activated physical transmission channels, wherein M is an integer greater than or equal to 1; respectively performing high-speed serial communications encoding on data mapped to each activated physical transmission channel; respectively performing bit width conversion on the data having undergone the high-speed serial communications encoding on each activated physical transmission channel; respectively caching the data having undergone the bit width conversion on each activated physical transmission channel; respectively performing first physical layer processing on the data having undergone the bit width conversion on each activated physical transmission channel; determining whether the number of the cached data having undergone the bit width conversion on each activated physical transmission channel is greater than a first preset threshold; and when the numbers of the cached data having undergone the bit width conversion on all the activated physical transmission channels are all greater than the first preset threshold, stopping forming the first data frame on the basis of the service data of the component carrier.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing method and device, communication equipment, and computer-readable storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310967592.3 filed on July 31, 2023, the contents of which are incorporated herein by reference in their entirety. Technical Field

[0003] The embodiments of the present application relate to the field of communication technology, and in particular to a data processing method, a data processing apparatus, a communication device, and a computer-readable storage medium. Background Art

[0004] Existing RF (Radio Frequency) interface transmission technologies primarily include stream transmission, such as JESD204, and packet transmission, such as DigRF V4 of the Mobile Industry Processor Interface (MIPI). Both transmission methods suffer from complex clock schemes.

[0005] Public content

[0006] In the first aspect, an embodiment of the present application provides a data processing method, including: forming a first data frame according to the business data of a carrier unit; mapping the first data frame to M activated physical transmission channels; M is an integer greater than or equal to 1; performing high-speed serial communication encoding on the data mapped to each activated physical transmission channel; performing bit width conversion on the data after the high-speed serial communication encoding on each activated physical transmission channel; caching the bit width converted data on each activated physical transmission channel; performing first physical layer processing on the bit width converted data on each activated physical transmission channel; determining whether the amount of bit width converted data cached on each activated physical transmission channel is greater than a first preset threshold; and stopping the formation of the first data frame according to the business data of the carrier unit when the amount of bit width converted data cached on all activated physical transmission channels is greater than the first preset threshold.

[0007] In the second aspect, an embodiment of the present application provides a data processing device, including: a framing unit, configured to compose a first data frame according to the business data of a carrier unit; a mapping unit, configured to map the first data frame to M activated physical transmission channels; M is an integer greater than or equal to 1; high-speed serial communication encoding is performed on the data mapped to each activated physical transmission channel respectively; a bit width conversion unit, configured to perform bit width conversion on the data after high-speed serial communication encoding on the corresponding physical transmission channel; cache the bit width converted data on the corresponding physical transmission channel; a physical sending unit, configured to perform first physical layer processing on the bit width converted data on each activated physical transmission channel respectively; send the corresponding first physical layer processed data through the activated physical transmission channel; a back pressure control unit, configured to determine whether the amount of bit width converted data cached on each activated physical transmission channel is greater than a first preset threshold; when the amount of bit width converted data cached on all activated physical transmission channels is greater than the first preset threshold, control the framing unit to stop composing the first data frame according to the business data of the carrier unit.

[0008] In a third aspect, an embodiment of the present application provides a communication device, including: the above-mentioned data processing device.

[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor so that the processor implements the above-mentioned data processing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] FIG1 is a flow chart of a data processing method provided in an embodiment of the present application;

[0011] FIG2 is a schematic diagram of the composition of a data frame according to an embodiment of the present application;

[0012] FIG3 is a schematic diagram showing the composition of a payload of a data frame according to an embodiment of the present application;

[0013] FIG4 is a flow chart of a data processing method provided in an embodiment of the present application;

[0014] FIG5 is a block diagram of a data processing device according to an embodiment of the present application;

[0015] FIG6 is a block diagram of the data processing device according to an embodiment of the present application. DETAILED DESCRIPTION

[0016] In order to enable those skilled in the art to better understand the technical solution of the present application, the data processing method, data processing device, communication equipment, and computer-readable storage medium provided in the present application are described in detail below with reference to the accompanying drawings.

[0017] Some example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms, and this application should not be construed as limited to the embodiments set forth herein. These embodiments are provided to make this application more thorough and complete and to enable those skilled in the art to fully understand the scope of this application.

[0018] In the absence of conflict, the various embodiments of the present application and the various features therein may be combined with each other.

[0019] As used herein, the term "and / or" includes any and all combinations of at least one of the associated listed items.

[0020] The terms used herein are used only to describe specific embodiments and do not limit this application. As used herein, the singular forms "a," "an," and "the" also 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, they specify the presence of a particular feature, whole, step, operation, element, and / or component, but do not exclude the presence or addition of at least one other feature, whole, step, operation, element, component, and / or group thereof.

[0021] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled 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 defined as such herein.

[0022] Streaming transmission methods like JESD204, once established, prohibit service configuration changes, the addition of new service connections, or the deletion of existing ones. This poses a challenge to the flexible service scheduling of terminal chips. If a terminal uses the JESD204 interface as the RF interface between the digital baseband (DBB) chip and the RF chip, the RF interface must be configured to the maximum service mix expected throughout the lifecycle of the current application scenario during system initialization. The transmission connection between the DBB chip and the RF chip is then established at a fixed sampling rate and transmission rate. When changes in the service mix cause service traffic to decrease, the RF interface must send invalid data to continue receiving and transmitting data at the maximum rate. Therefore, the smaller the service traffic, the greater the waste of RF interface bandwidth, ultimately resulting in a lack of competitiveness between the DBB chip and the RF chip in terms of power consumption and flexibility. 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 supporting control information transmission interface in addition to the RF interface, such as the Serial Peripheral Interface (SPI). Although this interface is small in scale, it still has an adverse impact on chip area and input and output (IO).

[0023] The advantage of packet transmission methods like DigRF V4 is that they can adaptively match RF interface bearer bandwidth with service bandwidth through energy-saving modes, and they also support shared lane transmission for data and control information. Furthermore, because all transmissions share the underlying high-speed, high-bandwidth lane resources, this significantly improves the utilization efficiency of physical (PHY) transmission bandwidth. However, a major problem currently is that they cannot address the issue of fixed transmission delay after link restoration or new link creation, even when services are added, deleted, or reconfigured.

[0024] In addition, both of the above two transmission modes have the problem of complex clock schemes.

[0025] The data processing method provided in the embodiments of the present application can be applied to two chips in a communication device that needs to perform data transmission. The communication device can be a terminal, a base station, or other communication devices. Chip types can include BB chips, RF chips, RF front-end (RFFE) chips, power management chips (PMIC, Power Management Integrated Circuit), etc.

[0026] The DBB chip mainly completes the protocol stack and physical layer baseband signal processing of modems of various wireless standards.

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

[0028] FIG1 is a flow chart of a data processing method provided in an embodiment of the present application.

[0029] In the first aspect, referring to Figure 1, an embodiment of the present 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 above chips.

[0030] The data processing method may include steps 100 and 101 .

[0031] Step 100: compose a first data frame according to the service data of a component carrier (CC); map the first data frame to M activated physical transmission channels; M is an integer greater than or equal to 1; perform high-speed serial communication encoding on the data mapped to each activated physical transmission channel; perform bit width conversion on the high-speed serial communication encoded data on each activated physical transmission channel; cache the bit width converted data on each activated physical transmission channel; and perform first physical layer processing on the bit width converted data on each activated physical transmission channel.

[0032] In some embodiments, forming a first data frame based on the service data of the carrier unit includes: obtaining the service data of the k currently activated CCs; k is an integer greater than or equal to 1; forming a data pattern of an arrangement period according to the service data of the k currently activated CCs; the data pattern of the arrangement period includes at least part of the service data of the k currently activated CCs; forming a first data frame based on the data pattern of the arrangement period; the payload of the first data frame includes: data patterns of N arrangement periods; N is an integer greater than or equal to 1.

[0033] In some implementations, obtaining the service data of the currently activated k CCs includes: receiving service data of all CCs; buffering the service data of the currently activated k CCs in the service data of all CCs; and obtaining the service data of the currently activated k CCs from the buffered service data.

[0034] In some implementations, when the first chip is a DBB chip, service data of all CCs may be received from a modem in the first chip.

[0035] In some embodiments, at least part of the service data of the k currently activated CCs is interleaved proportionally within a data pattern of an arrangement period. As shown in FIG3 , at least part of the service data of the three currently activated CCs, i.e., the service data of CC0, the service data of CC1, and the service data of CC2, is interleaved proportionally within a data pattern of an arrangement period.

[0036] In some implementations, the ratio of the service data volumes of the k CCs included in the periodic data pattern is determined according to the air interface throughputs of the k CCs.

[0037] In some implementations, when a CC transmits through B antennas, the air interface throughput of the CC is B times the service sampling rate of the CC, where B is an integer greater than or equal to 1.

[0038] In some implementations, the periodically arranged data pattern includes a ratio of service data volumes of k CCs that is a ratio of air interface throughputs of the k CCs.

[0039] For example, three CCs are currently activated. The service data of the first CC (i.e., CC0) is transmitted through two antennas, and the service sampling rate is 122.88 MHz. The service data of the second CC (i.e., CC1) is transmitted through four antennas, and the service sampling rate is 30.72 MHz. The service data of the third CC (i.e., CC2) is transmitted through four antennas, and the service sampling rate is 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 CC1 is 4×15.36. D_CC0:D_CC1:D_CC2=4:2:1, 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.

[0040] Then, a data pattern in a single periodic arrangement 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 in a single periodic arrangement 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 service data amounts of the k CCs included in the data pattern in the single periodic arrangement is the ratio of the air interface throughputs of the k CCs, it will be sufficient.

[0041] In some embodiments, as shown in FIG2 , the first data frame includes a start of frame (SOF), a header, a payload (PayLoad), a cyclic redundancy check (CRC), and an end of frame (EOF).

[0042] In some implementations, SOF indicates the start of a frame.

[0043] In some implementations, the Header is used to identify characteristics of the current frame.

[0044] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.

[0045] In some implementations, EOF indicates the end of a frame.

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

[0047] In some implementations, as shown in FIG3 , when N data patterns arranged in cycles are insufficient to fill the payload of the first data frame, A padding bytes may be added to the payload of the first data frame to complete the framing.

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

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

[0050] In some implementations, bit width conversion refers to converting the bit width of data encoded for high-speed serial communication into a bit width required for subsequent processing.

[0051] In some implementations, the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.

[0052] Step 101, determine whether the amount of data after bit width conversion cached on each activated physical transmission channel is greater than a first preset threshold; when the amount of data after bit width conversion cached on all activated physical transmission channels is greater than the first preset threshold, stop composing the first data frame according to the service data of the carrier unit.

[0053] In some embodiments, after caching the bit-width-converted data on each activated physical transmission channel respectively, and before performing the first physical layer processing on the bit-width-converted data on each activated physical transmission channel respectively, the data processing method further includes: determining whether the amount of bit-width-converted data cached on each activated physical transmission channel is greater than a first preset threshold; when the amount of bit-width-converted data cached on all activated physical transmission channels is greater than the first preset threshold, stopping composing the first data frame according to the service data of the carrier unit, for example, stopping composing the first data frame according to the periodically arranged data pattern.

[0054] In some embodiments, when the amount of data after bit width conversion cached on at least one activated physical transmission channel is less than or equal to a first preset threshold, no processing is performed, and the data processing process of the original process is continued, that is, the composition of the first data frame according to the business data of the carrier unit is continued, for example, the composition of the first data frame according to the data pattern with a periodic arrangement is continued, as well as subsequent data processing steps.

[0055] In some embodiments, after stopping composing the first data frame according to the data pattern arranged in a periodic manner, the data processing method further includes: separately determining whether the amount of data after bit width conversion cached on each activated physical transmission channel is less than a second preset threshold; when the amount of data after bit width conversion cached on all activated physical transmission channels is less than the second preset threshold, continuing to compose the first data frame according to the service data of the carrier unit, for example, continuing to compose the first data frame according to the data pattern arranged in a periodic manner.

[0056] In some embodiments, when the amount of bit-width-converted data cached on at least one activated physical transmission channel is greater than or equal to a second preset threshold, no processing is performed and the data processing process of the original flow is continued, that is, the composition of the first data frame according to the business data of the carrier unit and subsequent data processing steps are continued to be stopped, for example, the composition of the first data frame according to the data pattern of the arrangement period and subsequent data processing steps are continued to be stopped.

[0057] In some embodiments, before mapping the first data frame to the M activated physical transmission channels, the data processing method further includes: caching the first data frame, and determining whether the number of cached first data frames is less than or equal to a third preset threshold; and stopping mapping the first data frame to the M activated physical transmission channels if the number of cached first data frames is less than or equal to the third preset threshold.

[0058] After separately caching the bit-width-converted data on each activated physical transmission channel, and before separately performing first physical layer processing on the bit-width-converted data on each activated physical transmission channel, the data processing method further includes: separately determining whether the bit-width-converted data cached on each activated physical transmission channel are all empty; when the number of cached first data frames is less than or equal to the third preset threshold and the bit-width-converted data cached on all activated physical transmission channels are all empty, stopping separately performing first physical layer processing on the bit-width-converted data on each activated physical transmission channel; and controlling entry into a power-saving mode.

[0059] In some embodiments, when the number of cached first data frames is greater than a third preset threshold, no processing is performed and the data processing process of the original flow is continued, that is, the first data frame is continued to be mapped to the activated M physical transmission channels, as well as subsequent data processing steps.

[0060] In some embodiments, when the data after bit width conversion cached on at least one activated physical transmission channel is not empty, no processing is performed and the data processing process of the original flow continues to be executed, that is, the first physical layer processing of the data after bit width conversion on each activated physical transmission channel is continued.

[0061] In some embodiments, after stopping the first physical layer processing of the data after bit width conversion on each activated physical transmission channel, the data processing method further includes: determining whether the number of cached first data frames is greater than a fourth preset threshold; if the number of cached first data frames is greater than the fourth preset threshold, continuing to map the first data frame to the M activated physical transmission channels; and controlling the exit from the power saving mode.

[0062] In some embodiments, when the number of cached first data frames is less than or equal to a fourth preset threshold, no processing is performed and the data processing process of the original process continues to be executed, that is, mapping the first data frame to the activated M physical transmission channels continues to be stopped, and control continues to be in power saving mode.

[0063] The data processing method provided in the embodiment of the present application monitors the amount of data after the bit width conversion of the cache. When the amount of data after the bit width conversion of the cache is large, the framing, mapping, encoding and other processes are stopped, thereby simplifying the clock problem.

[0064] In some embodiments, by monitoring the number of cached first data frames, when the number of cached first data frames is small, the first data frames are stopped from being mapped to the M activated physical transmission channels, and when the cached data after bit width conversion are all empty, the control enters the power saving mode, thereby reducing power consumption.

[0065] In some embodiments, by including at least part of the service data of all currently activated carrier units in a data pattern of an arrangement period, and then forming a first data frame based on the data pattern of the arrangement period, in the case of service reconfiguration or addition or deletion of services, the delay jitter is limited to one arrangement period, making the transmission delay controllable and predictable, and effectively improving the quality and reliability of service transmission.

[0066] FIG4 is a flow chart of a data processing method provided in an embodiment of the present application.

[0067] In the second aspect, referring to Figure 4, an embodiment of the present 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 above chips.

[0068] The data processing method may include steps 400 to 403 .

[0069] Step 400: Acquire a second data frame; the payload of the second data frame includes: N periodically arranged data patterns; N is an integer greater than or equal to 1.

[0070] In some implementations, the ratio of the service data amounts of the k component carriers included in the periodic data pattern is determined according to the air interface throughputs of the k component carriers.

[0071] In some implementations, when a CC transmits through B antennas, the air interface throughput of the CC is B times the service sampling rate of the CC, where B is an integer greater than or equal to 1.

[0072] In some implementations, the periodically arranged data pattern includes a ratio of service data volumes of k component carriers, which is a ratio of air interface throughputs of the k component carriers.

[0073] For example, three CCs are currently activated. The service data of the first CC (i.e., CC0) is transmitted through two antennas, and the service sampling rate is 122.88 MHz. The service data of the second CC (i.e., CC1) is transmitted through four antennas, and the service sampling rate is 30.72 MHz. The service data of the third CC (i.e., CC2) is transmitted through four antennas, and the service sampling rate is 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 CC1 is 4×15.36. D_CC0:D_CC1:D_CC2=4:2:1, 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.

[0074] Then, a data pattern in a single periodic arrangement 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 in a single periodic arrangement 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 service data amounts of the k CCs included in the data pattern in the single periodic arrangement is the ratio of the air interface throughputs of the k CCs, it will be sufficient.

[0075] In some implementations, as shown in FIG2 , the second data frame includes SOF, Header, PayLoad, CRC, and EOF.

[0076] In some implementations, SOF indicates the start of a frame.

[0077] In some implementations, the Header is used to identify characteristics of the current frame.

[0078] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.

[0079] In some implementations, EOF indicates the end of a frame.

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

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

[0082] In some implementations, inverse bit width conversion refers to converting the bit width of data processed by the second physical layer into a bit width required for subsequent processing.

[0083] In some implementations, the purpose of performing channel alignment is mainly to eliminate the delay jitter problem between different channels. Here, the delay jitter problem between different channels may be caused by the difference in board-level routing.

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

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

[0086] Step 401: demodulate the second data frame to obtain N periodic data patterns; and buffer the demodulated N periodic data patterns.

[0087] In some embodiments, when the second data frame is demodulated to obtain N periodic data patterns, a CRC check result is also obtained. If the CRC check fails, an alarm message is generated to the local main control CPU for subsequent processing. If the check succeeds, subsequent processing continues.

[0088] Step 402, determine whether the number of data patterns of the cached arrangement period is greater than or equal to a fifth preset threshold; if the number of data patterns of the cached arrangement period is greater than or equal to the fifth preset threshold, obtain the data patterns of the cached arrangement period.

[0089] In some implementations, 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.

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

[0091] Step 403: Separate the service data of all activated CCs from the obtained data pattern of the arrangement period.

[0092] In some implementations, the service data of the k currently activated CCs may be separated from the data pattern of the arrangement period according to the ratio of the service data amounts of the k currently activated CCs in the data pattern of the arrangement period.

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

[0094] The data processing method provided in the embodiment of the present application includes at least part of the service data of all currently activated carrier units in a data pattern of an arrangement period, and then composes a first data frame based on the data pattern of the arrangement period, so that in the case of service reconfiguration or addition and deletion of services, the delay jitter is limited to one arrangement period, making the transmission delay controllable and predictable, thereby effectively improving the quality and reliability of service transmission.

[0095] FIG5 is a block diagram of the data processing device according to an embodiment of the present application.

[0096] In a third aspect, referring to FIG5 , an embodiment of the present application provides a data processing device, which may be a first interface module provided in a first chip, and the first chip may be any chip that requires data transmission, such as any of the above chips.

[0097] The data processing device includes: a framing unit 501, configured to compose a first data frame according to the service data of the carrier unit; a mapping unit 502, configured to map the first data frame to M activated physical transmission channels, where M is an integer greater than or equal to 1; and performing high-speed serial communication encoding on the data mapped to each activated physical transmission channel respectively; a bit width conversion unit 503, configured to perform bit width conversion on the data after the high-speed serial communication encoding on the corresponding physical transmission channel; and cache the bit width converted data on the corresponding physical transmission channel; a physical sending unit 504, configured to perform first physical layer processing on the bit width converted data on each activated physical transmission channel respectively; and send the corresponding first physical layer processed data through the activated physical transmission channel; a back pressure control unit 505, configured to determine whether the amount of bit width converted data cached on each activated physical transmission channel is greater than a first preset threshold; and when the amount of bit width converted data cached on all activated physical transmission channels is greater than the first preset threshold, control the framing unit 501 to stop composing the first data frame according to the service data of the CC.

[0098] In some implementations, controlling the framing unit 501 to stop composing the first data frame according to the service data of the carrier unit means controlling the data buffer unit 507 to stop outputting the periodically arranged data pattern to the framing unit 501 .

[0099] In some embodiments, the back pressure control unit 505 is further configured to: when the amount of data after bit width conversion cached on at least one activated physical transmission channel is less than or equal to a first preset threshold, no processing is performed, and the data processing process of the original flow is continued, that is, the framing unit 501 is controlled to continue to execute the composition of the first data frame according to the service data of the CC, for example, the data cache unit 507 is continued to output the periodically arranged data pattern to the framing unit 501.

[0100] In some embodiments, the back pressure control unit 505 is further configured to: determine whether the amount of data after bit width conversion cached on each bit width conversion unit 503 is less than a second preset threshold; when the amount of data after bit width conversion cached on all bit width conversion units 503 is less than the second preset threshold, control the framing unit 501 to continue to execute the composition of the first data frame according to the CC's business data, for example, control the data cache unit 507 to continue to output the periodically arranged data pattern to the framing unit 501.

[0101] In some embodiments, the back pressure control unit 505 is further configured to: when the amount of data after bit width conversion cached on at least one activated physical transmission channel is greater than or equal to a second preset threshold, no processing is performed, and the data processing process of the original flow is continued, that is, the framing unit 501 is controlled to continue to stop composing the first data frame according to the service data of the CC, for example, the data cache unit 507 is controlled to stop outputting the periodically arranged data pattern to the framing unit 501.

[0102] In some embodiments, the back-voltage control unit 505 can control the data buffer unit 507 to continue outputting the periodic data pattern to the framing unit 501 or to stop outputting the periodic data pattern to the framing unit 501 via the back-voltage signal pdata_en. For example, when the back-voltage signal pdata_en is pulled low, the back-voltage control unit 505 controls the data buffer unit 507 to stop outputting the periodic data pattern to the framing unit 501. At this time, all units between the framing unit 501 and the bit-width conversion unit 503 are in a clock-gated state due to the lack of data drive. When the back-voltage signal pdata_en is pulled high, the back-voltage control unit 505 controls the data buffer unit 507 to continue outputting the periodic data pattern to the framing unit 501.

[0103] In some embodiments, when the first chip is a DBB chip, the M activated physical transmission channels at the input of the physical sending unit 504 are each connected to one bit width conversion unit 503, and the output is connected to M groups of differential signal pins corresponding to the M activated physical transmission channels on the DDB chip.

[0104] In some embodiments, it also includes: a power saving control unit 506, configured to cache the first data frame, determine whether the number of cached first data frames is less than or equal to a third preset threshold; when the number of cached first data frames is less than or equal to the third preset threshold, stop outputting the cached first data frames to the mapping unit 502; determine whether the bit-width converted data cached on each activated physical transmission channel is empty; when the number of cached first data frames is less than or equal to the third preset threshold, and the bit-width converted data cached on all activated physical transmission channels is empty, control each bit-width conversion unit 503 to stop outputting the cached bit-width converted data to the physical sending unit 504, and control the mapping unit 502, the bit-width conversion unit 503 and the physical sending unit 504 to enter a power saving mode.

[0105] In some embodiments, the power saving control unit 506 is further configured to: when the number of cached first data frames is greater than a third preset threshold, do not perform any processing and continue to execute the data processing process of the original flow, that is, continue to output the cached first data frames to the mapping unit 502.

[0106] In some embodiments, the power saving control unit 506 is further configured to: when the data after bit width conversion cached on at least one activated physical transmission channel is not empty, do not perform any processing, and continue to execute the data processing process of the original process, that is, continue to control the bit width conversion unit 503 to output the cached bit width conversion data to the physical sending unit 504, and control the mapping unit 502, the bit width conversion unit 503 and the physical sending unit 504 to exit the power saving mode.

[0107] In some embodiments, the power saving control unit 506 is further configured to: determine whether the number of cached first data frames is greater than a fourth preset threshold; if the number of cached first data frames is greater than the fourth 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 sending unit 504 to exit the power saving mode.

[0108] In some embodiments, the power saving control unit 506 is further configured to: when the number of cached first data frames is less than or equal to a fourth preset threshold, not perform any processing, and continue to execute the data processing process of the original process, that is, continue to stop outputting the cached first data frame to the mapping unit 502, and continue to control the mapping unit 502, the bit width conversion unit 503 and the physical sending unit 504 to be in power saving mode.

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

[0110] In some embodiments, the data processing device also includes: a data cache unit 507, configured to obtain the service data of the currently activated k CCs; k is an integer greater than or equal to 1; a data pattern of an arrangement period is formed according to the service data of the currently activated k CCs; the data pattern of the arrangement period includes at least part of the service data of the currently activated k CCs; the framing unit 501 is specifically configured to implement the following method to form a first data frame according to the service data of the carrier unit: the first data frame is formed according to the data pattern of the arrangement period; the payload of the first data frame includes: N data patterns of the arrangement period; N is an integer greater than or equal to 1.

[0111] In some embodiments, the data cache unit 507 is specifically configured to obtain the service data of the currently activated k CCs in the following manner: receiving the service data of all CCs; caching the service data of the currently activated k CCs in the service data of all CCs; and obtaining the service data of the currently activated k CCs from the cached service data.

[0112] In some implementations, when the first chip is a DBB chip, the data cache unit 507 may receive service data of all CCs from the Modem in the first chip.

[0113] In some embodiments, the data cache unit 507 can interleave at least part of the service data of the currently activated k CCs in proportion within the data pattern of the arrangement period. As shown in Figure 3, at least part of the service data of the currently activated three CCs, namely, the service data of CC0, the service data of CC1, and the service data of CC2, are interleave in proportion within the data pattern of one arrangement period.

[0114] In some implementations, the ratio of the service data volumes of the k CCs included in the periodic data pattern is determined according to the air interface throughputs of the k CCs.

[0115] In some implementations, when a CC transmits through B antennas, the air interface throughput of the CC is B times the service sampling rate of the CC, where B is an integer greater than or equal to 1.

[0116] In some implementations, the periodically arranged data pattern includes a ratio of service data volumes of k CCs that is a ratio of air interface throughputs of the k CCs.

[0117] For example, three CCs are currently activated. The service data of the first CC (i.e., CC0) is transmitted through two antennas, and the service sampling rate is 122.88 MHz. The service data of the second CC (i.e., CC1) is transmitted through four antennas, and the service sampling rate is 30.72 MHz. The service data of the third CC (i.e., CC2) is transmitted through four antennas, and the service sampling rate is 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 CC1 is 4×15.36. D_CC0:D_CC1:D_CC2=4:2:1, 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.

[0118] Then, a data pattern in a single periodic arrangement 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 in a single periodic arrangement 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 service data amounts of the k CCs included in the data pattern in the single periodic arrangement is the ratio of the air interface throughputs of the k CCs, it will be sufficient.

[0119] In some implementations, as shown in FIG2 , the first data frame includes SOF, Header, PayLoad, CRC, and EOF.

[0120] In some implementations, SOF indicates the start of a frame.

[0121] In some implementations, the Header is used to identify characteristics of the current frame.

[0122] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.

[0123] In some implementations, EOF indicates the end of a frame.

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

[0125] In some implementations, as shown in FIG3 , when N data patterns arranged in cycles are insufficient to fill the payload of the first data frame, A padding bytes may be added to the payload of the first data frame to complete the framing.

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

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

[0128] In some implementations, each activated physical transmission channel corresponds to a bit width conversion unit 503 .

[0129] In some implementations, bit width conversion refers to converting the bit width of the data encoded by the high-speed serial communication into the bit width required by the physical sending unit 504 .

[0130] In some implementations, the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.

[0131] The specific implementation process of the above-mentioned data processing device is the same as the specific implementation process of the aforementioned data processing method, and will not be repeated here.

[0132] FIG6 is a block diagram of the data processing device according to an embodiment of the present application.

[0133] In a fourth aspect, referring to FIG6 , an embodiment of the present application provides a data processing device. The data processing device may be a second interface module provided in a second chip. The first chip may be any chip that requires data transmission, such as any of the above chips.

[0134] The data processing device includes: a deframing unit 601, configured to obtain a second data frame; the payload of the second data frame includes: data patterns of N arrangement periods; N is an integer greater than or equal to 1; demodulating the second data frame to obtain data patterns of N arrangement periods; a de-jitter unit 602, configured to cache the demodulated data patterns of N arrangement periods; judging whether the number of cached data patterns of the arrangement periods is greater than or equal to a fifth preset threshold; if the number of cached data patterns of the arrangement periods is greater than or equal to the fifth preset threshold, obtaining the cached data patterns of the arrangement periods; and separating the service data of all activated CCs from the obtained data patterns of the arrangement periods.

[0135] In some implementations, the ratio of the service data amounts of the k component carriers included in the periodic data pattern is determined according to the air interface throughputs of the k component carriers.

[0136] In some implementations, when a CC transmits through B antennas, the air interface throughput of the CC is B times the service sampling rate of the CC, where B is an integer greater than or equal to 1.

[0137] In some implementations, the periodically arranged data pattern includes a ratio of service data volumes of k component carriers, which is a ratio of air interface throughputs of the k component carriers.

[0138] For example, three CCs are currently activated. The service data of the first CC (i.e., CC0) is transmitted through two antennas, and the service sampling rate is 122.88 MHz. The service data of the second CC (i.e., CC1) is transmitted through four antennas, and the service sampling rate is 30.72 MHz. The service data of the third CC (i.e., CC2) is transmitted through four antennas, and the service sampling rate is 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 CC1 is 4×15.36. D_CC0:D_CC1:D_CC2=4:2:1, 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.

[0139] Then, a data pattern in a single periodic arrangement 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 in a single periodic arrangement 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 service data amounts of the k CCs included in the data pattern in the single periodic arrangement is the ratio of the air interface throughputs of the k CCs, it will be sufficient.

[0140] In some implementations, as shown in FIG2 , the second data frame includes SOF, Header, PayLoad, CRC, and EOF.

[0141] In some implementations, SOF indicates the start of a frame.

[0142] In some implementations, the Header is used to identify characteristics of the current frame.

[0143] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.

[0144] In some implementations, EOF indicates the end of a frame.

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

[0146] In some implementations, 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.

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

[0148] In some implementations, the de-jitter unit 602 may separate the service data of the k currently activated CCs from the periodic data pattern according to the ratio of the service data amounts of the k currently activated CCs in the periodic data pattern.

[0149] In some embodiments, when the deframing unit 601 demodulates the second data frame to obtain data patterns of N arrangement periods, it also obtains a CRC check result. If the CRC check fails, an alarm message is generated to the local main control CPU for subsequent processing. If the check is successful, the data patterns of N arrangement periods are output to the de-jitter unit 602 for subsequent processing.

[0150] In some embodiments, the deframing unit 601 further includes: a physical receiving unit 603, configured to perform second physical layer processing on data received from each activated physical transmission channel respectively; 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 activated 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 activated physical transmission channels to obtain a second data frame.

[0151] In some embodiments, when the second chip is an RF chip, the input of the physical receiving unit 603 is connected to M groups of differential signal pins corresponding to M activated physical transmission channels on the RF chip, and the output M activated physical transmission channels are each connected to one reverse bit width conversion unit 604.

[0152] In some implementations, each activated channel corresponds to one inverse bit-width conversion unit 604 .

[0153] In some implementations, 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 lane alignment unit 605 .

[0154] In some implementations, the channel alignment unit 605 performs channel alignment primarily to eliminate delay jitter issues between different physical transmission channels. Here, the delay jitter issues between different physical transmission channels may be caused by differences in board-level routing.

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

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

[0157] In some embodiments, the data processing device also includes: a control unit 607, configured to cache the business data of all activated CCs separated, and separately determine whether the amount of business data of each cached CC is greater than or equal to a sixth preset threshold; when the amount of business data of all cached CCs is greater than or equal to the sixth preset threshold, notify subsequent units to read the business data of the cached CC for subsequent processing.

[0158] The specific implementation process of the above-mentioned data processing device is the same as the specific implementation process of the aforementioned data processing method, and will not be repeated here.

[0159] [Corrected 23.07.2024 according to Rule 91] In the fifth aspect, an embodiment of the present application provides a communication device, including: the above-mentioned data processing device.

[0160] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which is executed by a processor so that the processor implements the above-mentioned data processing method.

[0161] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description 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 by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor (such as a central processing unit, a digital signal processor, or a microprocessor), or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is known to those skilled in the art, the term computer storage medium 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 includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0162] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly stated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.

Claims

1. A data processing method, comprising: A first data frame is formed according to the service data of the carrier unit; the first data frame is mapped to M activated physical transmission channels; wherein M is an integer greater than or equal to 1; high-speed serial communication encoding is performed on the data mapped to each activated physical transmission channel; bit width conversion is performed on the data after high-speed serial communication encoding on each activated physical transmission channel; the data after bit width conversion on each activated physical transmission channel is cached; and the first physical layer processing is performed on the data after bit width conversion on each activated physical transmission channel; Determine respectively whether the amount of data after bit width conversion cached on each activated physical transmission channel is greater than a first preset threshold; when the amount of data after bit width conversion cached on all activated physical transmission channels is greater than the first preset threshold, stop forming the first data frame according to the service data of the carrier unit.

2. The data processing method according to claim 1, further comprising: After the composing of the first data frame according to the service data of the carrier unit is stopped, determining whether the amount of data after bit width conversion cached on each activated physical transmission channel is less than a second preset threshold; When the amount of data after bit width conversion buffered on all activated physical transmission channels is less than the second preset threshold, the step of composing the first data frame according to the service data of the carrier unit continues to be executed.

3. A data processing device, comprising: a framing unit, configured to compose a first data frame according to the service data of the carrier unit; A mapping unit, configured to map the first data frame to M activated physical transmission channels; wherein M is an integer greater than or equal to 1; and perform high-speed serial communication encoding on the data mapped to each activated physical transmission channel respectively; A bit width conversion unit is configured to perform bit width conversion on the data encoded by the high-speed serial communication on the corresponding physical transmission channel; and cache the bit width converted data on the corresponding physical transmission channel; A physical transmission unit, configured to perform first physical layer processing on the data after bit width conversion on each activated physical transmission channel respectively; and transmit the corresponding first physical layer processed data through the activated physical transmission channel; The back pressure control unit is configured to determine whether the amount of data after bit width conversion cached on each activated physical transmission channel is greater than a first preset threshold; when the amount of data after bit width conversion cached on all activated physical transmission channels is greater than the first preset threshold, control the framing unit to stop composing the first data frame according to the service data of the carrier unit.

4. A communication device, comprising: The data processing device as claimed in claim 3.

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

Citation Information

Patent Citations

  • Data bit width conversion method and device

    CN113094309A

  • Multi-rate and multi-mode satellite-borne transmitting device

    CN113872730A

  • Data processing method and device, communication equipment and computer readable medium

    CN116980084A

  • NLOS wireless backhaul uplink communication

    US20140365848A1