Data processing method and apparatus, and communication device and computer-readable storage medium
By acquiring and forming the data patterns of the arrangement cycle, the transmission delay solidification problem caused by service redistribution or addition and deletion services in the prior art is solved, and the controllability of transmission delay and the improvement of service transmission quality is achieved.
Patent Information
- Application Number
- PCT/CN2024/103674
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-31
- Filing Date
- 2024-07-04
- Publication Date
- 2025-02-06
AI Technical Summary
The existing RF interface transmission technology cannot effectively solve the problem of solidification of transmission delays when service redistribution or addition and deletion services, resulting in the impact of the quality and reliability of service transmission.
By obtaining the service data of the currently activated k carrier units, a data pattern of the arrangement cycle is composed, and a data frame is composed based on this pattern, so that the transmission delay is controllable and predictable in the case of service redistribution or addition and deletion services.
In the case of service redistribution or addition and deletion, the delay jitter is limited to one arrangement cycle, which improves the quality and reliability of service transmission, and reduces power consumption by monitoring the amount of cached data.
Smart Images

Figure CN2024103674_06022025_PF_FP_ABST
Abstract
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. 202310962508.9 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 radio frequency (RF) interface transmission technologies primarily include stream transmission, represented by JESD204, and packet transmission, represented by the Mobile Industry Processor Interface (MIPI) Alliance's DigRF V4. Of these two transmission methods, the JESD204 interface cannot support service reconfiguration without a broken link. To avoid link breaks caused by service changes, the interface must be configured according to the maximum possible transmission bandwidth, resulting in significant power consumption waste in mobile terminals. While the related DigRF V4 interface can flexibly match transmission bandwidth to bearer bandwidth, significantly saving power in mobile terminals, it struggles to resolve the issue of fixed transmission delays after restoring or creating a new link when services are added, deleted, or reconfigured.
[0005] Public content
[0006] In a first aspect, an embodiment of the present application provides a data processing method, comprising: obtaining service data of k currently activated carrier units; 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 carrier units; the data pattern of the arrangement period includes at least part of the service data of the k currently activated carrier units; forming a first data frame according to 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.
[0007] In a second aspect, an embodiment of the present application provides a data processing method, comprising: obtaining a second data frame; the payload of the second data frame comprises: 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; caching the demodulated data patterns of N arrangement periods; determining 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 carrier units from the obtained data patterns of the arrangement periods.
[0008] In a third aspect, an embodiment of the present application provides a data processing device, comprising: a data cache unit, configured to obtain service data of k currently activated carrier units; 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 k currently activated carrier units; the data pattern of the arrangement period includes at least part of the service data of the k currently activated carrier units; and a framing unit, configured to form a first data frame according to 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.
[0009] In a fourth aspect, an embodiment of the present application provides a data processing device, comprising: a deframing unit, 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; and a de-jittering unit, 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; obtaining the cached data patterns of the arrangement periods when the number of cached data patterns of the arrangement periods is greater than or equal to the fifth preset threshold; and separating the service data of all activated carrier units from the obtained data patterns of the arrangement periods.
[0010] In a fifth aspect, an embodiment of the present application provides a communication device, comprising: at least one of the data processing device described in the third aspect and the data processing device described in the fourth aspect.
[0011] In a sixth 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
[0012] FIG1 is a flow chart of a data processing method provided in an embodiment of the present application;
[0013] FIG2 is a schematic diagram of the composition of a data frame according to an embodiment of the present application;
[0014] FIG3 is a schematic diagram showing the composition of a payload of a data frame according to an embodiment of the present application;
[0015] FIG4 is a flow chart of a data processing method provided in an embodiment of the present application;
[0016] FIG5 is a block diagram of a data processing device according to an embodiment of the present application;
[0017] FIG6 is a block diagram of the data processing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0018] 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.
[0019] 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.
[0020] In the absence of conflict, the various embodiments of the present application and the various features therein may be combined with each other.
[0021] As used herein, the term "and / or" includes any and all combinations of at least one of the associated listed items.
[0022] The terms used herein are only used to describe specific embodiments and do not limit the present 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 term "including" is used in this specification, the term "comprising" is also used in this specification.
[0023] and / or “made of…” specifies the existence of certain features, integers, steps, operations, elements and / or components, but does not preclude the existence or addition of at least one other feature, integer, step, operation, element, component and / or group thereof.
[0024] 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.
[0025] 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).
[0026] 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.
[0027] The data processing method provided in the embodiments of the present application can be applied to two chips in a communication device that need to perform data transmission. The communication device can be a communication device such as a terminal, a base station, or other communication devices. Chip types may include DBB chips, RF chips, RF front-end (RFFE) chips, power management chips (PMIC, Power Management Integrated Circuit), etc.
[0028] The DBB chip mainly completes the protocol stack and physical layer baseband signal processing of modems of various wireless standards.
[0029] The RF chip mainly performs functions such as filtering and amplifying wireless signals, distributing antenna data, and controlling RF switches.
[0030] FIG1 is a flow chart of a data processing method provided in an embodiment of the present application.
[0031] 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 of a communication device. The first chip can be any chip in the communication device that needs to perform data transmission, such as any of the above chips.
[0032] The data processing method may include: steps 100 to 102 .
[0033] Step 100: Obtain service data of k currently activated component carriers (CCs); k is an integer greater than or equal to 1.
[0034] 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.
[0035] 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.
[0036] Step 101: compose a data pattern of a periodic arrangement based on the service data of the k currently activated CCs; the data pattern of the periodic arrangement includes at least part of the service data of the k currently activated CCs.
[0037] 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] Step 102 : compose a first data frame according to the periodically arranged data patterns; the payload of the first data frame includes: N periodically arranged data patterns; N is an integer greater than or equal to 1.
[0044] 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).
[0045] In some implementations, SOF indicates the start of a frame.
[0046] In some implementations, the Header is used to identify characteristics of the current frame.
[0047] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.
[0048] In some implementations, EOF indicates the end of a frame.
[0049] 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.
[0050] 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.
[0051] In some embodiments, after forming a first data frame according to a periodically arranged data pattern (i.e., step 102), the data processing method further includes: 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, and performing first physical layer processing on the data after the bit width conversion on each activated physical transmission channel.
[0052] 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.
[0053] In some embodiments, the encoding may be, for example, 8B / 10B encoding, 64B / 66B encoding, 128B / 132B encoding, or the like.
[0054] 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.
[0055] In some implementations, the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.
[0056] In some embodiments, after forming the first data frame according to the periodically arranged data pattern (i.e., step 102), before mapping the first data frame to the M activated physical transmission channels, the data processing method further includes: caching the first data frame; determining whether the number of cached first data frames is less than or equal to a first 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 first preset threshold.
[0057] After the encoded data is bit-width converted, before the first physical layer processing is performed on the bit-width converted data, the data processing method further includes: separately caching the bit-width converted data on each activated physical transmission channel; separately determining 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 first preset threshold and the bit-width converted data cached on all activated physical transmission channels are empty, stopping the first physical layer processing of the bit-width converted data on each activated physical transmission channel and controlling the entry into a power saving mode.
[0058] In some embodiments, when the number of cached first data frames is greater than a first 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 and subsequent data processing steps continue to be executed.
[0059] 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.
[0060] In some embodiments, after stopping mapping the first data frame to the M activated physical transmission channels, the data processing 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 map the first data frame to the M activated physical transmission channels; and controlling exit from the power saving mode.
[0061] In some embodiments, when the number of cached first data frames is less than or equal to a second 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.
[0062] In some embodiments, after bit-width conversion is performed on the high-speed serial communication encoded data on each activated physical transmission channel, and before the first physical layer processing is performed on the bit-width converted data on each activated physical transmission channel, the data processing method further includes: caching 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 third preset threshold; and stopping composing the first data frame according to the data pattern of the arrangement period when the amount of bit-width converted data cached on all activated physical transmission channels is greater than the third preset threshold.
[0063] 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 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 formed according to the data pattern of the arrangement period, and subsequent data processing steps are continued.
[0064] In some embodiments, after stopping composing the first data frame according to the data pattern of the arrangement period, 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 fourth preset threshold; when the amount of data after bit width conversion cached on all activated physical transmission channels is less than the fourth preset threshold, continuing to compose the first data frame according to the data pattern of the arrangement period.
[0065] 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 fourth preset threshold, no processing is performed and the data processing process of the original flow is continued, that is, the formation of the first data frame according to the data pattern of the arrangement period and subsequent data processing steps are stopped.
[0066] 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.
[0067] In some embodiments, by monitoring the number of cached first data frames, when the number of cached first data frames is small, stopping mapping the first data frames to the activated M physical transmission channels, and entering a power saving mode when the number of cached data after bit width conversion is empty, thereby reducing power consumption.
[0068] In some implementations, by monitoring the amount of data after bit width conversion in the cache, when the amount of data after bit width conversion in the cache is large, the framing, mapping, encoding and other processes are stopped, thereby simplifying the clock problem.
[0069] FIG4 is a flow chart of a data processing method provided in an embodiment of the present application.
[0070] 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.
[0071] The data processing method may include: steps 400 to 403 .
[0072] 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.
[0073] In some implementations, the periodic data pattern includes at least a portion of the traffic data of the k currently activated CCs.
[0074] 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.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] In some implementations, as shown in FIG2 , the second data frame includes SOF, Header, PayLoad, CRC, and EOF.
[0080] In some implementations, SOF indicates the start of a frame.
[0081] In some implementations, the Header is used to identify characteristics of the current frame.
[0082] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.
[0083] In some implementations, EOF indicates the end of a frame.
[0084] 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.
[0085] In some embodiments, obtaining the second data frame (i.e., step 400) includes: performing second physical layer processing on the data received from each activated physical transmission channel respectively; performing inverse bit width conversion on the second physical layer processed data on each activated physical transmission channel respectively; 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.
[0086] 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.
[0087] 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.
[0088] In some implementations, the high-speed serial communication decoding may be, for example, 8B / 10B decoding or 64B / 66B decoding.
[0089] In some implementations, 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 N periodic data patterns; and buffer the demodulated N periodic data patterns.
[0091] 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.
[0092] 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.
[0093] 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.
[0094] 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.
[0095] Step 403: Separate the service data of all activated CCs from the obtained data pattern of the arrangement period.
[0096] 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.
[0097] 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.
[0098] 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.
[0099] FIG5 is a block diagram of the data processing device according to an embodiment of the present application.
[0100] 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.
[0101] The data processing device includes: a data cache unit 501, configured to obtain service data of k currently activated 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 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; a framing unit 502, configured to form a first data frame according to 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.
[0102] In some embodiments, the data cache unit 501 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.
[0103] In some implementations, when the first chip is a DBB chip, the data cache unit 501 may receive service data of all CCs from a modem in the first chip.
[0104] In some embodiments, the data cache unit 501 can interleave at least part of the service data of the currently activated k CCs in proportion within a data pattern of an 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 a data pattern of an arrangement period.
[0105] 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.
[0106] 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.
[0107] 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.
[0108] 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 service sampling rate of CC0 is 2×122.88, the service sampling rate of CC1 is 4×30.72, and the service sampling rate of CC1 is 4×15.36. D_CC0:D_CC1:D_CC2=4:2:1, D_CC0 is the service sampling rate of CC0, D_CC1 is the service sampling rate of CC1, and D_CC2 is the service sampling rate of CC2.
[0109] 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.
[0110] In some implementations, as shown in FIG2 , the first data frame includes SOF, Header, PayLoad, CRC, and EOF.
[0111] In some implementations, SOF indicates the start of a frame.
[0112] In some implementations, the Header is used to identify characteristics of the current frame.
[0113] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.
[0114] In some implementations, EOF indicates the end of a frame.
[0115] 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.
[0116] 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.
[0117] In some embodiments, the data processing device also includes: a mapping unit 503, 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; a bit width conversion unit 504, configured to perform bit width conversion on the data after high-speed serial communication encoding on the corresponding physical transmission channel; and a physical sending unit 505, configured to perform first physical layer processing on the data after bit width conversion on each activated physical transmission channel.
[0118] In some embodiments, the mapping method in which the mapping unit 503 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.
[0119] In some embodiments, the high-speed serial communication encoding may be, for example, 8B / 10B encoding, 64B / 66B encoding, or 128B / 132B encoding.
[0120] In some implementations, each activated physical transmission channel corresponds to a bit width conversion unit 504 .
[0121] 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 505 .
[0122] In some implementations, the first physical layer processing includes parallel-to-serial conversion, transmit filtering, and de-emphasis.
[0123] In some embodiments, the data processing device 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 first preset threshold; and stop outputting the cached first data frame to the mapping unit 503 when the number of cached first data frames is less than or equal to the first preset threshold.
[0124] The bit width conversion unit 504 is further configured to cache the data corresponding to the physical transmission channel after the bit width conversion.
[0125] The power saving control unit 506 is also configured to: 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 first preset threshold and the bit width converted data cached on all activated physical transmission channels are empty, control the bit width conversion unit 504 to stop outputting the cached bit width converted data to the physical sending unit 505, and control the mapping unit 503, the bit width conversion unit 504 and the physical sending unit 505 to enter the power saving mode.
[0126] In some embodiments, the power-saving control unit 505 is further configured to: when the number of cached first data frames is greater than a first preset threshold, no processing is performed, and the data processing process of the original process is continued, that is, the cached first data frame continues to be output to the mapping unit 502, so that the mapping unit 502 continues to map the first data frame to the activated M physical transmission channels.
[0127] In some embodiments, the power saving control unit 505 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 504 to output the cached bit width conversion data to the physical sending unit 505, and control the mapping unit 503, the bit width conversion unit 504 and the physical sending unit 505 to exit the power saving mode.
[0128] In some embodiments, when the power saving control unit 506 determines whether the cached bit width converted data is empty, it should determine whether the bit width converted data cached by all bit width conversion units 504 are empty. When the bit width converted data cached by all bit width conversion units 504 are empty, the bit width conversion unit 504 is controlled to stop outputting the cached bit width converted data to the physical sending unit 505, and the mapping unit 503, the bit width conversion unit 504 and the physical sending unit 505 are controlled to enter the power saving mode.
[0129] 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 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 503; and control the mapping unit 503, the bit width conversion unit 504, and the physical sending unit 505 to exit the power saving mode.
[0130] In some 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, 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 503, the bit width conversion unit 504 and the physical sending unit 504 to be in power saving mode.
[0131] In some embodiments, the power saving control unit 506 can control the mapping unit 503, the bit width conversion unit 504, and the physical transmission unit 505 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 503, the bit width conversion unit 504, and the physical transmission unit 505 are controlled to enter the power saving mode; when the stall_en signal is pulled low, the mapping unit 503, the bit width conversion unit 504, and the physical transmission unit 505 are controlled to exit the power saving mode.
[0132] In some implementations, the bit width conversion unit 504 is further configured to cache the data after the bit width conversion.
[0133] The data processing device also includes: a back pressure control unit 507, configured to determine whether the amount of data after bit width conversion cached on each activated physical transmission channel is greater than a third preset threshold; when the amount of data after bit width conversion cached on all activated physical transmission channels is greater than the third preset threshold, control the data cache unit 501 to stop outputting the periodic data pattern to the framing unit 502.
[0134] In some embodiments, the back pressure control unit 507 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 third preset threshold, no processing is performed, and the data processing process of the original flow is continued, that is, the data cache unit 506 is continued to be controlled to output the periodically arranged data pattern to the framing unit 502.
[0135] In some embodiments, the back pressure control unit 507 is further configured to: determine whether the amount of data after bit width conversion cached on each activated physical transmission channel is less than a fourth preset threshold; when the amount of data after bit width conversion cached on all activated physical transmission channels is less than the fourth preset threshold, control the data cache unit 501 to continue to output the periodic data pattern to the framing unit 502.
[0136] In some embodiments, the back pressure control unit 507 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 fourth preset threshold, no processing is performed and the data processing process of the original flow is continued, that is, the data cache unit 501 is continued to be controlled to stop outputting the periodic data pattern to the framing unit 502.
[0137] In some embodiments, the back-voltage control unit 507 can control the data buffer unit 501 to continue outputting the periodic data pattern to the framing unit 502, or to stop outputting the periodic data pattern to the framing unit 502, via the back-voltage signal pdata_en. For example, when the back-voltage signal pdata_en is pulled low, the back-voltage control unit 507 controls the data buffer unit 501 to stop outputting the periodic data pattern to the framing unit 502. At this time, all units between the framing unit 502 and the bit-width conversion unit 504 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 507 controls the data buffer unit 501 to continue outputting the periodic data pattern to the framing unit 502.
[0138] In some embodiments, when the first chip is a DBB chip, the M activated channels of the input of the physical sending unit 505 are each connected to one bit width conversion unit 504, and the output is connected to M groups of differential signal pins corresponding to the M activated channels on the DDB chip.
[0139] 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, which will not be repeated here.
[0140] FIG6 is a block diagram of the data processing device according to an embodiment of the present application.
[0141] 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.
[0142] 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.
[0143] 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.
[0144] 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.
[0145] 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.
[0146] 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.
[0147] 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.
[0148] In some implementations, as shown in FIG2 , the second data frame includes SOF, Header, PayLoad, CRC, and EOF.
[0149] In some implementations, SOF indicates the start of a frame.
[0150] In some implementations, the Header is used to identify characteristics of the current frame.
[0151] In some implementations, the CRC is a CRC checksum generated based on the header and the payload.
[0152] In some implementations, EOF indicates the end of a frame.
[0153] 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.
[0154] 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.
[0155] 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.
[0156] 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.
[0157] 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.
[0158] 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.
[0159] 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.
[0160] In some implementations, each activated physical transmission channel corresponds to one inverse bit width conversion unit 604 .
[0161] 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 .
[0162] 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.
[0163] In some implementations, the high-speed serial communication decoding may be, for example, 8B / 10B decoding, 64B / 66B decoding, or 128B / 132B decoding.
[0164] In some implementations, the second physical layer processing includes equalization processing, clock recovery processing, receive filtering, and serial-to-parallel conversion.
[0165] 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.
[0166] 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, which will not be repeated here.
[0167] In a fifth aspect, an embodiment of the present application provides a communication device, comprising: at least one of the data processing device described in the third aspect and the data processing device described in the fourth aspect.
[0168] 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.
[0169] 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.
[0170] 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: Obtaining service data of k currently activated carrier components; wherein k is an integer greater than or equal to 1; A data pattern of a periodic arrangement is formed according to the service data of the k currently activated carrier components; wherein the data pattern of the periodic arrangement includes at least part of the service data of the k currently activated carrier components; A first data frame is formed according to the periodically arranged data patterns; wherein the payload of the first data frame includes: N periodically arranged data patterns; N is an integer greater than or equal to 1.
2. The data processing method according to claim 1, wherein: The ratio of the service data amounts of the k carrier components included in the periodic data pattern is determined according to the air interface throughputs of the k carrier components.
3. The data processing method according to claim 2, wherein: The ratio of the service data volumes of the k carrier components included in the periodic data pattern is the ratio of the air interface throughputs of the k carrier components.
4. The data processing method according to claim 1, wherein the payload of the first data frame further comprises: A padding bytes; where A is an integer greater than or equal to 0.
5. A data processing method, comprising: Acquire a second data frame; wherein 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; and buffering the demodulated data patterns of N arrangement periods; Determine whether the number of data patterns in the cached arrangement period is greater than or equal to a fifth preset threshold; when the number of data patterns in the cached arrangement period is greater than or equal to the fifth preset threshold When the value is , obtain the data pattern of the cached arrangement period; The service data of all activated carrier units are separated from the obtained periodically arranged data pattern.
6. The data processing method according to claim 5, wherein: The ratio of the service data amounts of the k carrier components included in the periodic data pattern is determined according to the air interface throughputs of the k carrier components.
7. The data processing method according to claim 6, wherein: The ratio of the service data volumes of the k carrier components included in the periodic data pattern is the ratio of the air interface throughputs of the k carrier components.
8. The data processing method according to claim 5, wherein the payload of the second data frame further comprises: A padding bytes; where A is an integer greater than or equal to 0.
9. The data processing method according to any one of claims 5 to 8, wherein: The fifth preset threshold is determined according to the maximum transmission delay that the system can currently tolerate.
10. The data processing method according to any one of claims 5 to 8, wherein acquiring the second data frame comprises: Performing second physical layer processing on data received from each activated physical transmission channel respectively; Performing inverse bit width conversion on the data processed by the second physical layer on each activated physical transmission channel respectively; 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 channel-aligned data; Physical transmission channel mapping is performed on the decoded data on all activated physical transmission channels to obtain the second data frame.
11. A data processing device, comprising: A data cache unit is configured to obtain the service data of the currently activated k carrier units. According to; wherein k is an integer greater than or equal to 1; according to the service data of the currently activated k carrier units, a data pattern of the arrangement period is formed; wherein the data pattern of the arrangement period includes at least part of the service data of the currently activated k carrier units; A framing unit is configured to compose a first data frame according to the periodic data patterns; wherein the payload of the first data frame includes: N periodic data patterns; N is an integer greater than or equal to 1.
12. A data processing device, comprising: A deframing unit is configured to obtain a second data frame; wherein 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 is configured to cache data patterns of N arrangement periods obtained by demodulation; determine whether the number of data patterns of the cached arrangement periods is greater than or equal to a fifth preset threshold; if the number of data patterns of the cached arrangement periods is greater than or equal to the fifth preset threshold, obtain the data patterns of the cached arrangement periods; and separate the service data of all activated carrier units from the obtained data patterns of the arrangement periods.
13. A communication device, comprising: At least one of the data processing device according to claim 11 and the data processing device according to claim 12.
14. 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 to 10.
Citation Information
Patent Citations
Channel state information reporting resource allocation method and base station
CN102264130A
Component carrier (de) activation in communication systems using carrier aggregation
CN102870365A
Carrier activation method of multi-carrier system, equipment, and computer readable storage medium
CN109428705A
Communication method, device and system
CN113261320A
Data processing method and device, communication equipment and computer readable medium
CN116961846A